diff --git a/crowdin.yml b/crowdin.yml index 2f8349cdb4..fe1c8f6533 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,6 +1,6 @@ -"pull_request_title": "feat(localize): updated translation from Crowdin" -"pull_request_labels": ["crowdin"] +'pull_request_title': 'feat(localize): updated translation from Crowdin' +'pull_request_labels': ['crowdin'] files: - - source: /src/current/locales/en/*.json - translation: /src/current/locales/%locale%/%original_file_name% + - source: /src/shared/locales/en/*.json + translation: /src/shared/locales/%locale%/%original_file_name% diff --git a/src/current/i18n.js b/src/current/i18n.js index 283530d3e6..6857d7946f 100644 --- a/src/current/i18n.js +++ b/src/current/i18n.js @@ -1,6 +1,6 @@ import i18n from 'i18next'; import { initReactI18next } from 'react-i18next'; -import { LANGUAGE_LIST } from './locales/langList'; +import { LANGUAGE_LIST } from '../shared/locales/langList'; const resources = {}; diff --git a/src/current/locales/de-DE/source.json b/src/shared/locales/de-DE/source.json similarity index 100% rename from src/current/locales/de-DE/source.json rename to src/shared/locales/de-DE/source.json diff --git a/src/current/locales/de-DE/ui.json b/src/shared/locales/de-DE/ui.json similarity index 100% rename from src/current/locales/de-DE/ui.json rename to src/shared/locales/de-DE/ui.json diff --git a/src/current/locales/en/source.json b/src/shared/locales/en/source.json similarity index 100% rename from src/current/locales/en/source.json rename to src/shared/locales/en/source.json diff --git a/src/current/locales/en/ui.json b/src/shared/locales/en/ui.json similarity index 100% rename from src/current/locales/en/ui.json rename to src/shared/locales/en/ui.json diff --git a/src/current/locales/fr-FR/source.json b/src/shared/locales/fr-FR/source.json similarity index 100% rename from src/current/locales/fr-FR/source.json rename to src/shared/locales/fr-FR/source.json diff --git a/src/current/locales/fr-FR/ui.json b/src/shared/locales/fr-FR/ui.json similarity index 100% rename from src/current/locales/fr-FR/ui.json rename to src/shared/locales/fr-FR/ui.json diff --git a/src/current/locales/langList.js b/src/shared/locales/langList.js similarity index 100% rename from src/current/locales/langList.js rename to src/shared/locales/langList.js diff --git a/src/current/locales/mg-MG/source.json b/src/shared/locales/mg-MG/source.json similarity index 100% rename from src/current/locales/mg-MG/source.json rename to src/shared/locales/mg-MG/source.json diff --git a/src/current/locales/mg-MG/ui.json b/src/shared/locales/mg-MG/ui.json similarity index 100% rename from src/current/locales/mg-MG/ui.json rename to src/shared/locales/mg-MG/ui.json diff --git a/src/current/locales/mg-TND/source.json b/src/shared/locales/mg-TND/source.json similarity index 100% rename from src/current/locales/mg-TND/source.json rename to src/shared/locales/mg-TND/source.json diff --git a/src/current/locales/mg-TND/ui.json b/src/shared/locales/mg-TND/ui.json similarity index 100% rename from src/current/locales/mg-TND/ui.json rename to src/shared/locales/mg-TND/ui.json diff --git a/src/current/locales/mg-TNK/source.json b/src/shared/locales/mg-TNK/source.json similarity index 100% rename from src/current/locales/mg-TNK/source.json rename to src/shared/locales/mg-TNK/source.json diff --git a/src/current/locales/mg-TNK/ui.json b/src/shared/locales/mg-TNK/ui.json similarity index 100% rename from src/current/locales/mg-TNK/ui.json rename to src/shared/locales/mg-TNK/ui.json diff --git a/src/current/locales/mg-TTM/source.json b/src/shared/locales/mg-TTM/source.json similarity index 100% rename from src/current/locales/mg-TTM/source.json rename to src/shared/locales/mg-TTM/source.json diff --git a/src/current/locales/mg-TTM/ui.json b/src/shared/locales/mg-TTM/ui.json similarity index 100% rename from src/current/locales/mg-TTM/ui.json rename to src/shared/locales/mg-TTM/ui.json diff --git a/src/current/locales/mg-VZ/source.json b/src/shared/locales/mg-VZ/source.json similarity index 100% rename from src/current/locales/mg-VZ/source.json rename to src/shared/locales/mg-VZ/source.json diff --git a/src/current/locales/mg-VZ/ui.json b/src/shared/locales/mg-VZ/ui.json similarity index 100% rename from src/current/locales/mg-VZ/ui.json rename to src/shared/locales/mg-VZ/ui.json diff --git a/src/current/locales/pt-BR/source.json b/src/shared/locales/pt-BR/source.json similarity index 100% rename from src/current/locales/pt-BR/source.json rename to src/shared/locales/pt-BR/source.json diff --git a/src/current/locales/pt-BR/ui.json b/src/shared/locales/pt-BR/ui.json similarity index 100% rename from src/current/locales/pt-BR/ui.json rename to src/shared/locales/pt-BR/ui.json diff --git a/src/current/locales/uk-UA/source.json b/src/shared/locales/uk-UA/source.json similarity index 100% rename from src/current/locales/uk-UA/source.json rename to src/shared/locales/uk-UA/source.json diff --git a/src/current/locales/uk-UA/ui.json b/src/shared/locales/uk-UA/ui.json similarity index 100% rename from src/current/locales/uk-UA/ui.json rename to src/shared/locales/uk-UA/ui.json