replace lingui.config.ts with .linguirc

This commit is contained in:
Amruth Pillai
2023-11-19 10:15:14 +01:00
parent bb28de7571
commit 7c507052fd
2 changed files with 19 additions and 19 deletions

View File

@ -1,11 +1,11 @@
import type { LinguiConfig } from "@lingui/conf"; {
"format": "po",
const config: LinguiConfig = { "sourceLocale": "en-US",
format: "po", "compileNamespace": "es",
sourceLocale: "en-US", "fallbackLocales": {
compileNamespace: "es", "default": "en-US"
fallbackLocales: { default: "en-US" }, },
locales: [ "locales": [
"af-ZA", "af-ZA",
"am-ET", "am-ET",
"ar-SA", "ar-SA",
@ -51,14 +51,14 @@ const config: LinguiConfig = {
"uk-UA", "uk-UA",
"vi-VN", "vi-VN",
"zh-CN", "zh-CN",
"zh-TW", "zh-TW"
], ],
catalogs: [ "catalogs": [
{ {
include: ["<rootDir>/apps/client/src"], "include": [
path: "<rootDir>/apps/client/src/locales/{locale}/messages", "<rootDir>/apps/client/src"
}, ],
], "path": "<rootDir>/apps/client/src/locales/{locale}/messages"
}; }
]
export default config; }

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: hi\n" "Language: hi\n"
"Project-Id-Version: reactive-resume\n" "Project-Id-Version: reactive-resume\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-19 08:49\n" "PO-Revision-Date: 2023-11-19 09:14\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Hindi\n" "Language-Team: Hindi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -20,7 +20,7 @@ msgstr ""
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:169 #: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:169
msgid "You have enabled two-factor authentication successfully." msgid "You have enabled two-factor authentication successfully."
msgstr "" msgstr "आपने दो-कारक प्रमाणीकरण सफलतापूर्वक सक्षम कर लिया है।"
#: apps/client/src/pages/home/sections/features/index.tsx:56 #: apps/client/src/pages/home/sections/features/index.tsx:56
msgid "{templatesCount} resume templates to choose from" msgid "{templatesCount} resume templates to choose from"