From ee448205a0b05e1a4ae07231ca30b676471c43bd Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Sun, 28 Apr 2024 23:41:17 +0300 Subject: [PATCH] added first ally auto text extraction --- .vscode/settings.json | 8 +++++++- content/i18n/bg.json | 17 +++++++++-------- pages/_document.tsx | 2 +- pages/contactUs.tsx | 2 +- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e0ac1ae..14e7153 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -138,5 +138,11 @@ }, "[handlebars]": { "editor.defaultFormatter": "vscode.html-language-features" - } + }, + "i18n-ally.localesPaths": [ + "content/i18n", + "components/x-date-pickers/locales" + ], + "i18n-ally.keystyle": "nested", + "i18n-ally.sourceLanguage": "bg" } \ No newline at end of file diff --git a/content/i18n/bg.json b/content/i18n/bg.json index 84dfa1c..c0f041b 100644 --- a/content/i18n/bg.json +++ b/content/i18n/bg.json @@ -1,10 +1,11 @@ { - "common": { - "greeting": "Здравей", - "farewell": "Довиждане", - "changeTo": "Смени на", - "BG": "Български", - "EN": "Английски", - "RU": "Руски" - } + "common": { + "greeting": "Здравей", + "farewell": "Довиждане", + "changeTo": "Смени на", + "BG": "Български", + "EN": "Английски", + "RU": "Руски" + }, + "specialno-svidetelstvane-na-obshestveni-mesta-v-sofiya-kontakti": "Специално свидетелстване на обществени места в София - Контакти" } \ No newline at end of file diff --git a/pages/_document.tsx b/pages/_document.tsx index e498528..cdb83b8 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -13,7 +13,7 @@ class MyDocument extends Document { - + diff --git a/pages/contactUs.tsx b/pages/contactUs.tsx index 6fb5088..b26dabd 100644 --- a/pages/contactUs.tsx +++ b/pages/contactUs.tsx @@ -6,7 +6,7 @@ const ContactsPage = () => { return (
-

Специално свидетелстване на обществени места в София - Контакти

+

{t('specialno-svidetelstvane-na-obshestveni-mesta-v-sofiya-kontakti')}