Skip to content

Commit

Permalink
πŸ‘·β€β™‚οΈ Only remove unused keys from en locale
Browse files Browse the repository at this point in the history
This is to avoid conflicts with Crowdin
  • Loading branch information
lukevella committed Mar 23, 2023
1 parent d513309 commit f858bcc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/web/i18n-unused.config.js
Original file line number Diff line number Diff line change
@@ -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,
};

0 comments on commit f858bcc

Please sign in to comment.