From 897a1b95c735328320d6b9422ee5c8c62dad3546 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Fri, 5 Mar 2021 20:05:56 +0100 Subject: [PATCH] [yi] fix Fa'afafine --- plugins/globals.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/globals.js b/plugins/globals.js index 26c47aa56..165895219 100644 --- a/plugins/globals.js +++ b/plugins/globals.js @@ -9,7 +9,7 @@ export default ({ app, store }) => { Vue.prototype.$t = t; Vue.prototype.$translateForPronoun = (str, pronoun) => pronoun.format( - t(`flags.${str.replace(/ /g, '_').replace(/\*/g, `'`)}`, {}, false) || str + t(`flags.${str.replace(/ /g, '_').replace(/'/g, `*`)}`, {}, false) || str ); Vue.prototype.config = config; Vue.prototype.locales = buildDict(function* () {