Use Vue.Filter to deal with empty keys

by: @Fohlen

Vue.filter("t", value => {
  if (!value) return "";
  return i18n.t(value);
});

Usage:

{{ $t('some_text') }}
{{ 'some text' | t }}