fix: Add syncTranslations script
This commit is contained in:
parent
2fff2d511f
commit
b161016edb
@ -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."
|
||||
}
|
||||
@ -1,7 +0,0 @@
|
||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||
|
||||
export default {
|
||||
'ar': {
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
@ -11,4 +11,4 @@
|
||||
"Value": "Wert",
|
||||
"Version Information": "Versionsinformation",
|
||||
"Visit the forum": "Das Forum besuchen"
|
||||
}
|
||||
}
|
||||
@ -40,4 +40,4 @@
|
||||
"Stop": "$t(Common:Stop)",
|
||||
"Themes": "Themes",
|
||||
"Zoom": "Zoom"
|
||||
}
|
||||
}
|
||||
@ -5,4 +5,4 @@
|
||||
"Skip to first image": "Zum ersten $t(Common:Image)",
|
||||
"Skip to last image": "Zum letzten $t(Common:Image)",
|
||||
"fps": "fps"
|
||||
}
|
||||
}
|
||||
@ -13,4 +13,4 @@
|
||||
"Show": "Zeigen",
|
||||
"Stop": "Stopp",
|
||||
"StudyDate": "Studien Datum"
|
||||
}
|
||||
}
|
||||
@ -2,4 +2,4 @@
|
||||
"Clear dates": "Zeiträume löschen",
|
||||
"End Date": "Bis",
|
||||
"Start Date": "Ab"
|
||||
}
|
||||
}
|
||||
@ -5,4 +5,4 @@
|
||||
"Options": "Optionen",
|
||||
"Preferences": "Einstellungen",
|
||||
"Study list": "Studienliste"
|
||||
}
|
||||
}
|
||||
@ -6,4 +6,4 @@
|
||||
"NonTargets": "NichtZiele",
|
||||
"Relabel": "Umbenennen",
|
||||
"Targets": "Ziele"
|
||||
}
|
||||
}
|
||||
@ -7,4 +7,4 @@
|
||||
"StudyDate": "Studiendatum",
|
||||
"StudyDescription": "Beschreibung",
|
||||
"StudyList": "Studienliste"
|
||||
}
|
||||
}
|
||||
@ -6,4 +6,4 @@
|
||||
"Save": "$t(Buttons:Save)",
|
||||
"SaveMessage": "Einstellungen gesichert",
|
||||
"User Preferences": "Benutzereinstellungen"
|
||||
}
|
||||
}
|
||||
@ -11,4 +11,4 @@
|
||||
"minHeightError": "Die minimale Höhe beträgt 100 Pixel.",
|
||||
"minWidthError": "Die minimale Breiete beträgt 100 Pixel.",
|
||||
"showAnnotations": "Annotationen anzeigen"
|
||||
}
|
||||
}
|
||||
@ -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,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/es/AboutModal.json
Normal file
1
platform/i18n/src/locales/es/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/es/DatePicker.json
Normal file
1
platform/i18n/src/locales/es/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/es/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/es/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/fr/AboutModal.json
Normal file
1
platform/i18n/src/locales/fr/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/fr/DatePicker.json
Normal file
1
platform/i18n/src/locales/fr/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/fr/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/fr/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/fr/StudyList.json
Normal file
1
platform/i18n/src/locales/fr/StudyList.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/fr/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/fr/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
@ -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,
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/ja-JP/AboutModal.json
Normal file
1
platform/i18n/src/locales/ja-JP/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ja-JP/DatePicker.json
Normal file
1
platform/i18n/src/locales/ja-JP/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ja-JP/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/ja-JP/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ja-JP/StudyList.json
Normal file
1
platform/i18n/src/locales/ja-JP/StudyList.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/nl/AboutModal.json
Normal file
1
platform/i18n/src/locales/nl/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/nl/CineDialog.json
Normal file
1
platform/i18n/src/locales/nl/CineDialog.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/nl/DatePicker.json
Normal file
1
platform/i18n/src/locales/nl/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/nl/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/nl/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/nl/StudyList.json
Normal file
1
platform/i18n/src/locales/nl/StudyList.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/nl/UserPreferencesModal.json
Normal file
1
platform/i18n/src/locales/nl/UserPreferencesModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/nl/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/nl/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/pt-BR/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/pt-BR/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/pt-BR/StudyList.json
Normal file
1
platform/i18n/src/locales/pt-BR/StudyList.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/ru/AboutModal.json
Normal file
1
platform/i18n/src/locales/ru/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/Buttons.json
Normal file
1
platform/i18n/src/locales/ru/Buttons.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/CineDialog.json
Normal file
1
platform/i18n/src/locales/ru/CineDialog.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/Common.json
Normal file
1
platform/i18n/src/locales/ru/Common.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/DatePicker.json
Normal file
1
platform/i18n/src/locales/ru/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/Header.json
Normal file
1
platform/i18n/src/locales/ru/Header.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/ru/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/StudyList.json
Normal file
1
platform/i18n/src/locales/ru/StudyList.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/UserPreferencesModal.json
Normal file
1
platform/i18n/src/locales/ru/UserPreferencesModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/ru/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/ru/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
25
platform/i18n/src/locales/ru/index.js
Normal file
25
platform/i18n/src/locales/ru/index.js
Normal file
@ -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,
|
||||
}
|
||||
};
|
||||
1
platform/i18n/src/locales/vi/AboutModal.json
Normal file
1
platform/i18n/src/locales/vi/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/vi/DatePicker.json
Normal file
1
platform/i18n/src/locales/vi/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/vi/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/vi/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/vi/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/vi/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
1
platform/i18n/src/locales/zh/AboutModal.json
Normal file
1
platform/i18n/src/locales/zh/AboutModal.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/zh/DatePicker.json
Normal file
1
platform/i18n/src/locales/zh/DatePicker.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
platform/i18n/src/locales/zh/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/zh/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
4
platform/i18n/syncTranslations.sh
Executable file
4
platform/i18n/syncTranslations.sh
Executable file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user