From f858bcc5f493f2a9f3231cf0f8badb4293d4b75a Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Thu, 23 Mar 2023 11:07:35 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Only?= =?UTF-8?q?=20remove=20unused=20keys=20from=20en=20locale?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is to avoid conflicts with Crowdin --- apps/web/i18n-unused.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/i18n-unused.config.js b/apps/web/i18n-unused.config.js index ea53edb14..915236e6a 100644 --- a/apps/web/i18n-unused.config.js +++ b/apps/web/i18n-unused.config.js @@ -1,5 +1,6 @@ module.exports = { - localesPath: 'public/locales', - srcPath: 'src', - translationKeyMatcher: /(?:[$ .{=(](_|t|tc|i18nKey))\(.*?[\),]|i18nKey={?"(.*?)"/gi + localesPath: "public/locales/en", + srcPath: "src", + translationKeyMatcher: + /(?:[$ .{=(](_|t|tc|i18nKey))\(.*?[\),]|i18nKey={?"(.*?)"/gi, };