From 2d2da950b37201c1cbbfa5d04786c742343cac88 Mon Sep 17 00:00:00 2001 From: mweimerskirch <362092+mweimerskirch@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:18:48 +0100 Subject: [PATCH] Added $tc to the list of default gettext functions in Vue $tc is used by "vue-i18n". See: https://vue-i18n.intlify.dev/guide/essentials/pluralization.html --- src/constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/constants.js b/src/constants.js index 409694e..36c7863 100644 --- a/src/constants.js +++ b/src/constants.js @@ -14,6 +14,7 @@ exports.DEFAULT_FILTERS = [ exports.DEFAULT_VUE_GETTEXT_FUNCTIONS = { '_': ['msgid'], '$t': ['msgid'], + '$tc': ['msgid'], '$gettext': ['msgid'], '$ngettext': ['msgid', 'plural', null], '$pgettext': ['msgctxt', 'msgid'],