From b161016edb8808ff0d17ea637820837dca1ca3ce Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Mon, 30 Nov 2020 13:51:51 +0100 Subject: [PATCH] fix: Add syncTranslations script --- .../src/locales/ar/UserPreferencesModal.json | 3 --- platform/i18n/src/locales/ar/index.js | 7 ------ platform/i18n/src/locales/de/AboutModal.json | 2 +- platform/i18n/src/locales/de/Buttons.json | 2 +- platform/i18n/src/locales/de/CineDialog.json | 2 +- platform/i18n/src/locales/de/Common.json | 2 +- platform/i18n/src/locales/de/DatePicker.json | 2 +- platform/i18n/src/locales/de/Header.json | 2 +- .../i18n/src/locales/de/MeasurementTable.json | 2 +- platform/i18n/src/locales/de/StudyList.json | 2 +- .../src/locales/de/UserPreferencesModal.json | 2 +- .../src/locales/de/ViewportDownloadForm.json | 2 +- platform/i18n/src/locales/de/index.js | 6 ++--- platform/i18n/src/locales/es/AboutModal.json | 1 + platform/i18n/src/locales/es/DatePicker.json | 1 + .../src/locales/es/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/es/index.js | 6 +++++ platform/i18n/src/locales/fr/AboutModal.json | 1 + platform/i18n/src/locales/fr/DatePicker.json | 1 + .../i18n/src/locales/fr/MeasurementTable.json | 1 + platform/i18n/src/locales/fr/StudyList.json | 1 + .../src/locales/fr/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/fr/index.js | 10 ++++++++ platform/i18n/src/locales/index.js | 8 +++--- .../i18n/src/locales/ja-JP/AboutModal.json | 1 + .../i18n/src/locales/ja-JP/DatePicker.json | 1 + .../src/locales/ja-JP/MeasurementTable.json | 1 + .../i18n/src/locales/ja-JP/StudyList.json | 1 + .../locales/ja-JP/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/ja-JP/index.js | 10 ++++++++ platform/i18n/src/locales/nl/AboutModal.json | 1 + platform/i18n/src/locales/nl/CineDialog.json | 1 + platform/i18n/src/locales/nl/DatePicker.json | 1 + .../i18n/src/locales/nl/MeasurementTable.json | 1 + platform/i18n/src/locales/nl/StudyList.json | 1 + .../src/locales/nl/UserPreferencesModal.json | 1 + .../src/locales/nl/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/nl/index.js | 14 +++++++++++ .../src/locales/pt-BR/MeasurementTable.json | 1 + .../i18n/src/locales/pt-BR/StudyList.json | 1 + .../locales/pt-BR/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/pt-BR/index.js | 6 +++++ platform/i18n/src/locales/ru/AboutModal.json | 1 + platform/i18n/src/locales/ru/Buttons.json | 1 + platform/i18n/src/locales/ru/CineDialog.json | 1 + platform/i18n/src/locales/ru/Common.json | 1 + platform/i18n/src/locales/ru/DatePicker.json | 1 + platform/i18n/src/locales/ru/Header.json | 1 + .../i18n/src/locales/ru/MeasurementTable.json | 1 + platform/i18n/src/locales/ru/StudyList.json | 1 + .../src/locales/ru/UserPreferencesModal.json | 1 + .../src/locales/ru/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/ru/index.js | 25 +++++++++++++++++++ platform/i18n/src/locales/vi/AboutModal.json | 1 + platform/i18n/src/locales/vi/DatePicker.json | 1 + .../i18n/src/locales/vi/MeasurementTable.json | 1 + .../src/locales/vi/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/vi/index.js | 8 ++++++ platform/i18n/src/locales/zh/AboutModal.json | 1 + platform/i18n/src/locales/zh/DatePicker.json | 1 + .../src/locales/zh/ViewportDownloadForm.json | 1 + platform/i18n/src/locales/zh/index.js | 6 +++++ platform/i18n/syncTranslations.sh | 4 +++ 63 files changed, 146 insertions(+), 27 deletions(-) delete mode 100644 platform/i18n/src/locales/ar/UserPreferencesModal.json delete mode 100644 platform/i18n/src/locales/ar/index.js create mode 100644 platform/i18n/src/locales/es/AboutModal.json create mode 100644 platform/i18n/src/locales/es/DatePicker.json create mode 100644 platform/i18n/src/locales/es/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/fr/AboutModal.json create mode 100644 platform/i18n/src/locales/fr/DatePicker.json create mode 100644 platform/i18n/src/locales/fr/MeasurementTable.json create mode 100644 platform/i18n/src/locales/fr/StudyList.json create mode 100644 platform/i18n/src/locales/fr/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/ja-JP/AboutModal.json create mode 100644 platform/i18n/src/locales/ja-JP/DatePicker.json create mode 100644 platform/i18n/src/locales/ja-JP/MeasurementTable.json create mode 100644 platform/i18n/src/locales/ja-JP/StudyList.json create mode 100644 platform/i18n/src/locales/ja-JP/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/nl/AboutModal.json create mode 100644 platform/i18n/src/locales/nl/CineDialog.json create mode 100644 platform/i18n/src/locales/nl/DatePicker.json create mode 100644 platform/i18n/src/locales/nl/MeasurementTable.json create mode 100644 platform/i18n/src/locales/nl/StudyList.json create mode 100644 platform/i18n/src/locales/nl/UserPreferencesModal.json create mode 100644 platform/i18n/src/locales/nl/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/pt-BR/MeasurementTable.json create mode 100644 platform/i18n/src/locales/pt-BR/StudyList.json create mode 100644 platform/i18n/src/locales/pt-BR/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/ru/AboutModal.json create mode 100644 platform/i18n/src/locales/ru/Buttons.json create mode 100644 platform/i18n/src/locales/ru/CineDialog.json create mode 100644 platform/i18n/src/locales/ru/Common.json create mode 100644 platform/i18n/src/locales/ru/DatePicker.json create mode 100644 platform/i18n/src/locales/ru/Header.json create mode 100644 platform/i18n/src/locales/ru/MeasurementTable.json create mode 100644 platform/i18n/src/locales/ru/StudyList.json create mode 100644 platform/i18n/src/locales/ru/UserPreferencesModal.json create mode 100644 platform/i18n/src/locales/ru/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/ru/index.js create mode 100644 platform/i18n/src/locales/vi/AboutModal.json create mode 100644 platform/i18n/src/locales/vi/DatePicker.json create mode 100644 platform/i18n/src/locales/vi/MeasurementTable.json create mode 100644 platform/i18n/src/locales/vi/ViewportDownloadForm.json create mode 100644 platform/i18n/src/locales/zh/AboutModal.json create mode 100644 platform/i18n/src/locales/zh/DatePicker.json create mode 100644 platform/i18n/src/locales/zh/ViewportDownloadForm.json create mode 100755 platform/i18n/syncTranslations.sh diff --git a/platform/i18n/src/locales/ar/UserPreferencesModal.json b/platform/i18n/src/locales/ar/UserPreferencesModal.json deleted file mode 100644 index 06992c508..000000000 --- a/platform/i18n/src/locales/ar/UserPreferencesModal.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "No hotkeys found": "Nenhuma tecla de atalho está configurada para este aplicativo. As teclas de atalho podem ser configuradas no arquivo app-config.js do aplicativo." -} \ No newline at end of file diff --git a/platform/i18n/src/locales/ar/index.js b/platform/i18n/src/locales/ar/index.js deleted file mode 100644 index dda412a8f..000000000 --- a/platform/i18n/src/locales/ar/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import UserPreferencesModal from './UserPreferencesModal.json'; - -export default { - 'ar': { - UserPreferencesModal, - } -}; diff --git a/platform/i18n/src/locales/de/AboutModal.json b/platform/i18n/src/locales/de/AboutModal.json index 31c4a8294..f3c1e5819 100644 --- a/platform/i18n/src/locales/de/AboutModal.json +++ b/platform/i18n/src/locales/de/AboutModal.json @@ -11,4 +11,4 @@ "Value": "Wert", "Version Information": "Versionsinformation", "Visit the forum": "Das Forum besuchen" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/Buttons.json b/platform/i18n/src/locales/de/Buttons.json index 429735f85..848290893 100644 --- a/platform/i18n/src/locales/de/Buttons.json +++ b/platform/i18n/src/locales/de/Buttons.json @@ -40,4 +40,4 @@ "Stop": "$t(Common:Stop)", "Themes": "Themes", "Zoom": "Zoom" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/CineDialog.json b/platform/i18n/src/locales/de/CineDialog.json index 367ae8913..ae21df70b 100644 --- a/platform/i18n/src/locales/de/CineDialog.json +++ b/platform/i18n/src/locales/de/CineDialog.json @@ -5,4 +5,4 @@ "Skip to first image": "Zum ersten $t(Common:Image)", "Skip to last image": "Zum letzten $t(Common:Image)", "fps": "fps" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/Common.json b/platform/i18n/src/locales/de/Common.json index f617bc19e..d025d1841 100644 --- a/platform/i18n/src/locales/de/Common.json +++ b/platform/i18n/src/locales/de/Common.json @@ -13,4 +13,4 @@ "Show": "Zeigen", "Stop": "Stopp", "StudyDate": "Studien Datum" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/DatePicker.json b/platform/i18n/src/locales/de/DatePicker.json index 90f3e614b..46d12e6b4 100644 --- a/platform/i18n/src/locales/de/DatePicker.json +++ b/platform/i18n/src/locales/de/DatePicker.json @@ -2,4 +2,4 @@ "Clear dates": "Zeiträume löschen", "End Date": "Bis", "Start Date": "Ab" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/Header.json b/platform/i18n/src/locales/de/Header.json index e2584b2d0..3be2859af 100644 --- a/platform/i18n/src/locales/de/Header.json +++ b/platform/i18n/src/locales/de/Header.json @@ -5,4 +5,4 @@ "Options": "Optionen", "Preferences": "Einstellungen", "Study list": "Studienliste" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/MeasurementTable.json b/platform/i18n/src/locales/de/MeasurementTable.json index f8bb456b2..f19e5201b 100644 --- a/platform/i18n/src/locales/de/MeasurementTable.json +++ b/platform/i18n/src/locales/de/MeasurementTable.json @@ -6,4 +6,4 @@ "NonTargets": "NichtZiele", "Relabel": "Umbenennen", "Targets": "Ziele" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/StudyList.json b/platform/i18n/src/locales/de/StudyList.json index dd1f0cd33..524949eb1 100644 --- a/platform/i18n/src/locales/de/StudyList.json +++ b/platform/i18n/src/locales/de/StudyList.json @@ -7,4 +7,4 @@ "StudyDate": "Studiendatum", "StudyDescription": "Beschreibung", "StudyList": "Studienliste" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/UserPreferencesModal.json b/platform/i18n/src/locales/de/UserPreferencesModal.json index 863a4a9a5..c76d20414 100644 --- a/platform/i18n/src/locales/de/UserPreferencesModal.json +++ b/platform/i18n/src/locales/de/UserPreferencesModal.json @@ -6,4 +6,4 @@ "Save": "$t(Buttons:Save)", "SaveMessage": "Einstellungen gesichert", "User Preferences": "Benutzereinstellungen" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/ViewportDownloadForm.json b/platform/i18n/src/locales/de/ViewportDownloadForm.json index 9ac6b0984..8178aab12 100644 --- a/platform/i18n/src/locales/de/ViewportDownloadForm.json +++ b/platform/i18n/src/locales/de/ViewportDownloadForm.json @@ -11,4 +11,4 @@ "minHeightError": "Die minimale Höhe beträgt 100 Pixel.", "minWidthError": "Die minimale Breiete beträgt 100 Pixel.", "showAnnotations": "Annotationen anzeigen" -} +} \ No newline at end of file diff --git a/platform/i18n/src/locales/de/index.js b/platform/i18n/src/locales/de/index.js index a265fa42a..fb3d73bc7 100644 --- a/platform/i18n/src/locales/de/index.js +++ b/platform/i18n/src/locales/de/index.js @@ -9,8 +9,8 @@ import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; import ViewportDownloadForm from './ViewportDownloadForm.json'; -export default { - de: { +export default { + 'de': { AboutModal, Buttons, CineDialog, @@ -21,5 +21,5 @@ export default { StudyList, UserPreferencesModal, ViewportDownloadForm, - }, + } }; diff --git a/platform/i18n/src/locales/es/AboutModal.json b/platform/i18n/src/locales/es/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/es/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/es/DatePicker.json b/platform/i18n/src/locales/es/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/es/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/es/ViewportDownloadForm.json b/platform/i18n/src/locales/es/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/es/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/es/index.js b/platform/i18n/src/locales/es/index.js index 7a988b665..413a1a63e 100644 --- a/platform/i18n/src/locales/es/index.js +++ b/platform/i18n/src/locales/es/index.js @@ -1,19 +1,25 @@ +import AboutModal from './AboutModal.json'; import Buttons from './Buttons.json'; import CineDialog from './CineDialog.json'; import Common from './Common.json'; +import DatePicker from './DatePicker.json'; import Header from './Header.json'; import MeasurementTable from './MeasurementTable.json'; import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'es': { + AboutModal, Buttons, CineDialog, Common, + DatePicker, Header, MeasurementTable, StudyList, UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/src/locales/fr/AboutModal.json b/platform/i18n/src/locales/fr/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/fr/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/fr/DatePicker.json b/platform/i18n/src/locales/fr/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/fr/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/fr/MeasurementTable.json b/platform/i18n/src/locales/fr/MeasurementTable.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/fr/MeasurementTable.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/fr/StudyList.json b/platform/i18n/src/locales/fr/StudyList.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/fr/StudyList.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/fr/ViewportDownloadForm.json b/platform/i18n/src/locales/fr/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/fr/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/fr/index.js b/platform/i18n/src/locales/fr/index.js index 8af9acd97..107745e89 100644 --- a/platform/i18n/src/locales/fr/index.js +++ b/platform/i18n/src/locales/fr/index.js @@ -1,15 +1,25 @@ +import AboutModal from './AboutModal.json'; import Buttons from './Buttons.json'; import CineDialog from './CineDialog.json'; import Common from './Common.json'; +import DatePicker from './DatePicker.json'; import Header from './Header.json'; +import MeasurementTable from './MeasurementTable.json'; +import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'fr': { + AboutModal, Buttons, CineDialog, Common, + DatePicker, Header, + MeasurementTable, + StudyList, UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/src/locales/index.js b/platform/i18n/src/locales/index.js index 1e1625c6c..b912c7010 100644 --- a/platform/i18n/src/locales/index.js +++ b/platform/i18n/src/locales/index.js @@ -1,23 +1,23 @@ -import ar from './ar/'; +import de from './de/'; import en_US from './en-US/'; import es from './es/'; import fr from './fr/'; import ja_JP from './ja-JP/'; import nl from './nl/'; import pt_BR from './pt-BR/'; +import ru from './ru/'; import vi from './vi/'; import zh from './zh/'; -import de from './de/'; export default { - ...ar, + ...de, ...en_US, ...es, - ...de, ...fr, ...ja_JP, ...nl, ...pt_BR, + ...ru, ...vi, ...zh, }; diff --git a/platform/i18n/src/locales/ja-JP/AboutModal.json b/platform/i18n/src/locales/ja-JP/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ja-JP/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ja-JP/DatePicker.json b/platform/i18n/src/locales/ja-JP/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ja-JP/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ja-JP/MeasurementTable.json b/platform/i18n/src/locales/ja-JP/MeasurementTable.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ja-JP/MeasurementTable.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ja-JP/StudyList.json b/platform/i18n/src/locales/ja-JP/StudyList.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ja-JP/StudyList.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ja-JP/ViewportDownloadForm.json b/platform/i18n/src/locales/ja-JP/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ja-JP/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ja-JP/index.js b/platform/i18n/src/locales/ja-JP/index.js index b116df893..faa1442cd 100644 --- a/platform/i18n/src/locales/ja-JP/index.js +++ b/platform/i18n/src/locales/ja-JP/index.js @@ -1,15 +1,25 @@ +import AboutModal from './AboutModal.json'; import Buttons from './Buttons.json'; import CineDialog from './CineDialog.json'; import Common from './Common.json'; +import DatePicker from './DatePicker.json'; import Header from './Header.json'; +import MeasurementTable from './MeasurementTable.json'; +import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'ja-JP': { + AboutModal, Buttons, CineDialog, Common, + DatePicker, Header, + MeasurementTable, + StudyList, UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/src/locales/nl/AboutModal.json b/platform/i18n/src/locales/nl/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/CineDialog.json b/platform/i18n/src/locales/nl/CineDialog.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/CineDialog.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/DatePicker.json b/platform/i18n/src/locales/nl/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/MeasurementTable.json b/platform/i18n/src/locales/nl/MeasurementTable.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/MeasurementTable.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/StudyList.json b/platform/i18n/src/locales/nl/StudyList.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/StudyList.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/UserPreferencesModal.json b/platform/i18n/src/locales/nl/UserPreferencesModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/UserPreferencesModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/ViewportDownloadForm.json b/platform/i18n/src/locales/nl/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/nl/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/nl/index.js b/platform/i18n/src/locales/nl/index.js index fa22d5d06..5d2208ef9 100644 --- a/platform/i18n/src/locales/nl/index.js +++ b/platform/i18n/src/locales/nl/index.js @@ -1,11 +1,25 @@ +import AboutModal from './AboutModal.json'; import Buttons from './Buttons.json'; +import CineDialog from './CineDialog.json'; import Common from './Common.json'; +import DatePicker from './DatePicker.json'; import Header from './Header.json'; +import MeasurementTable from './MeasurementTable.json'; +import StudyList from './StudyList.json'; +import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'nl': { + AboutModal, Buttons, + CineDialog, Common, + DatePicker, Header, + MeasurementTable, + StudyList, + UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/src/locales/pt-BR/MeasurementTable.json b/platform/i18n/src/locales/pt-BR/MeasurementTable.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/pt-BR/MeasurementTable.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/pt-BR/StudyList.json b/platform/i18n/src/locales/pt-BR/StudyList.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/pt-BR/StudyList.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/pt-BR/ViewportDownloadForm.json b/platform/i18n/src/locales/pt-BR/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/pt-BR/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/pt-BR/index.js b/platform/i18n/src/locales/pt-BR/index.js index 8b1cef147..2a27b7ffc 100644 --- a/platform/i18n/src/locales/pt-BR/index.js +++ b/platform/i18n/src/locales/pt-BR/index.js @@ -4,7 +4,10 @@ import CineDialog from './CineDialog.json'; import Common from './Common.json'; import DatePicker from './DatePicker.json'; import Header from './Header.json'; +import MeasurementTable from './MeasurementTable.json'; +import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'pt-BR': { @@ -14,6 +17,9 @@ export default { Common, DatePicker, Header, + MeasurementTable, + StudyList, UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/src/locales/ru/AboutModal.json b/platform/i18n/src/locales/ru/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/Buttons.json b/platform/i18n/src/locales/ru/Buttons.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/Buttons.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/CineDialog.json b/platform/i18n/src/locales/ru/CineDialog.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/CineDialog.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/Common.json b/platform/i18n/src/locales/ru/Common.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/Common.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/DatePicker.json b/platform/i18n/src/locales/ru/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/Header.json b/platform/i18n/src/locales/ru/Header.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/Header.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/MeasurementTable.json b/platform/i18n/src/locales/ru/MeasurementTable.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/MeasurementTable.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/StudyList.json b/platform/i18n/src/locales/ru/StudyList.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/StudyList.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/UserPreferencesModal.json b/platform/i18n/src/locales/ru/UserPreferencesModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/UserPreferencesModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/ViewportDownloadForm.json b/platform/i18n/src/locales/ru/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/ru/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/ru/index.js b/platform/i18n/src/locales/ru/index.js new file mode 100644 index 000000000..9910dc194 --- /dev/null +++ b/platform/i18n/src/locales/ru/index.js @@ -0,0 +1,25 @@ +import AboutModal from './AboutModal.json'; +import Buttons from './Buttons.json'; +import CineDialog from './CineDialog.json'; +import Common from './Common.json'; +import DatePicker from './DatePicker.json'; +import Header from './Header.json'; +import MeasurementTable from './MeasurementTable.json'; +import StudyList from './StudyList.json'; +import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; + +export default { + 'ru': { + AboutModal, + Buttons, + CineDialog, + Common, + DatePicker, + Header, + MeasurementTable, + StudyList, + UserPreferencesModal, + ViewportDownloadForm, + } +}; diff --git a/platform/i18n/src/locales/vi/AboutModal.json b/platform/i18n/src/locales/vi/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/vi/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/vi/DatePicker.json b/platform/i18n/src/locales/vi/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/vi/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/vi/MeasurementTable.json b/platform/i18n/src/locales/vi/MeasurementTable.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/vi/MeasurementTable.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/vi/ViewportDownloadForm.json b/platform/i18n/src/locales/vi/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/vi/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/vi/index.js b/platform/i18n/src/locales/vi/index.js index a8e3c0175..0c22d0c87 100644 --- a/platform/i18n/src/locales/vi/index.js +++ b/platform/i18n/src/locales/vi/index.js @@ -1,17 +1,25 @@ +import AboutModal from './AboutModal.json'; import Buttons from './Buttons.json'; import CineDialog from './CineDialog.json'; import Common from './Common.json'; +import DatePicker from './DatePicker.json'; import Header from './Header.json'; +import MeasurementTable from './MeasurementTable.json'; import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'vi': { + AboutModal, Buttons, CineDialog, Common, + DatePicker, Header, + MeasurementTable, StudyList, UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/src/locales/zh/AboutModal.json b/platform/i18n/src/locales/zh/AboutModal.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/zh/AboutModal.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/zh/DatePicker.json b/platform/i18n/src/locales/zh/DatePicker.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/zh/DatePicker.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/zh/ViewportDownloadForm.json b/platform/i18n/src/locales/zh/ViewportDownloadForm.json new file mode 100644 index 000000000..9e26dfeeb --- /dev/null +++ b/platform/i18n/src/locales/zh/ViewportDownloadForm.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/platform/i18n/src/locales/zh/index.js b/platform/i18n/src/locales/zh/index.js index 049565bd6..1dca90637 100644 --- a/platform/i18n/src/locales/zh/index.js +++ b/platform/i18n/src/locales/zh/index.js @@ -1,19 +1,25 @@ +import AboutModal from './AboutModal.json'; import Buttons from './Buttons.json'; import CineDialog from './CineDialog.json'; import Common from './Common.json'; +import DatePicker from './DatePicker.json'; import Header from './Header.json'; import MeasurementTable from './MeasurementTable.json'; import StudyList from './StudyList.json'; import UserPreferencesModal from './UserPreferencesModal.json'; +import ViewportDownloadForm from './ViewportDownloadForm.json'; export default { 'zh': { + AboutModal, Buttons, CineDialog, Common, + DatePicker, Header, MeasurementTable, StudyList, UserPreferencesModal, + ViewportDownloadForm, } }; diff --git a/platform/i18n/syncTranslations.sh b/platform/i18n/syncTranslations.sh new file mode 100755 index 000000000..f05c2c671 --- /dev/null +++ b/platform/i18n/syncTranslations.sh @@ -0,0 +1,4 @@ +cd src/locales/ +npx locize --config-path ../../.locize sync --ver latest --update-values true --reference-language-only false +cd ../../ +node ./writeLocaleIndexFiles.js