From 54b70e5fa4418db790238b4b46f7a98c6c8105a1 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Mon, 29 Jul 2019 09:08:36 +0200 Subject: [PATCH] @ohif/i18n: Update i18n locales from Locize source of truth (0.2.3) --- .gitignore | 3 ++ extensions/ohif-i18n/package.json | 2 +- extensions/ohif-i18n/pullTranslations.sh | 2 + .../ohif-i18n/src/locales/en-US/Buttons.json | 2 +- .../src/locales/en-US/CineDialog.json | 2 +- .../ohif-i18n/src/locales/en-US/Common.json | 9 +++- .../ohif-i18n/src/locales/en-US/Header.json | 2 +- .../src/locales/en-US/MeasurementTable.json | 2 +- .../src/locales/en-US/StudyList.json | 10 +++++ .../locales/en-US/UserPreferencesModal.json | 2 +- .../ohif-i18n/src/locales/en-US/index.js | 20 +++++---- .../ohif-i18n/src/locales/es/Buttons.json | 34 +++++++-------- .../ohif-i18n/src/locales/es/CineDialog.json | 14 +++---- .../ohif-i18n/src/locales/es/Common.json | 15 ++++--- .../ohif-i18n/src/locales/es/Header.json | 10 ++--- .../src/locales/es/MeasurementTable.json | 10 ++--- .../ohif-i18n/src/locales/es/StudyList.json | 10 +++++ .../src/locales/es/UserPreferencesModal.json | 4 +- extensions/ohif-i18n/src/locales/es/index.js | 22 +++++----- extensions/ohif-i18n/src/locales/index.js | 6 ++- .../ohif-i18n/src/locales/nl/Buttons.json | 2 +- .../ohif-i18n/src/locales/nl/Common.json | 2 +- .../ohif-i18n/src/locales/nl/Header.json | 2 +- extensions/ohif-i18n/src/locales/nl/index.js | 14 +++---- .../ohif-i18n/src/locales/pt-BR/Buttons.json | 42 +++++++++++++++++++ .../src/locales/pt-BR/CineDialog.json | 8 ++++ .../ohif-i18n/src/locales/pt-BR/Common.json | 10 +++++ .../ohif-i18n/src/locales/pt-BR/Header.json | 8 ++++ .../locales/pt-BR/UserPreferencesModal.json | 6 +++ .../ohif-i18n/src/locales/pt-BR/index.js | 15 +++++++ .../ohif-i18n/src/locales/zh/Buttons.json | 13 ++++++ .../ohif-i18n/src/locales/zh/Common.json | 3 ++ .../ohif-i18n/src/locales/zh/Header.json | 3 ++ extensions/ohif-i18n/src/locales/zh/index.js | 11 +++++ 34 files changed, 241 insertions(+), 79 deletions(-) create mode 100644 extensions/ohif-i18n/src/locales/en-US/StudyList.json create mode 100644 extensions/ohif-i18n/src/locales/es/StudyList.json create mode 100644 extensions/ohif-i18n/src/locales/pt-BR/Buttons.json create mode 100644 extensions/ohif-i18n/src/locales/pt-BR/CineDialog.json create mode 100644 extensions/ohif-i18n/src/locales/pt-BR/Common.json create mode 100644 extensions/ohif-i18n/src/locales/pt-BR/Header.json create mode 100644 extensions/ohif-i18n/src/locales/pt-BR/UserPreferencesModal.json create mode 100644 extensions/ohif-i18n/src/locales/pt-BR/index.js create mode 100644 extensions/ohif-i18n/src/locales/zh/Buttons.json create mode 100644 extensions/ohif-i18n/src/locales/zh/Common.json create mode 100644 extensions/ohif-i18n/src/locales/zh/Header.json create mode 100644 extensions/ohif-i18n/src/locales/zh/index.js diff --git a/.gitignore b/.gitignore index 988acb137..6f4083827 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,6 @@ docker/dcm4che/dcm4che-arc # Cypress test results cypress/videos/ + +# Locize settings +.locize \ No newline at end of file diff --git a/extensions/ohif-i18n/package.json b/extensions/ohif-i18n/package.json index 9525917bf..d308c63b3 100644 --- a/extensions/ohif-i18n/package.json +++ b/extensions/ohif-i18n/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/i18n", - "version": "0.2.2", + "version": "0.2.3", "description": "OHIF extension for internationalization", "author": "OHIF", "license": "MIT", diff --git a/extensions/ohif-i18n/pullTranslations.sh b/extensions/ohif-i18n/pullTranslations.sh index e13243d45..c22e6be53 100755 --- a/extensions/ohif-i18n/pullTranslations.sh +++ b/extensions/ohif-i18n/pullTranslations.sh @@ -1,4 +1,6 @@ rm -rf src/locales/ +mkdir -p src/locales/ cd src/locales/ npx locize --config-path ../../.locize download --ver latest +cd ../../ node ./writeLocaleIndexFiles.js diff --git a/extensions/ohif-i18n/src/locales/en-US/Buttons.json b/extensions/ohif-i18n/src/locales/en-US/Buttons.json index 21b38dc74..a4305acd5 100644 --- a/extensions/ohif-i18n/src/locales/en-US/Buttons.json +++ b/extensions/ohif-i18n/src/locales/en-US/Buttons.json @@ -39,4 +39,4 @@ "Stop": "$t(Common:Stop)", "Themes": "Themes", "Zoom": "Zoom" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/CineDialog.json b/extensions/ohif-i18n/src/locales/en-US/CineDialog.json index a7c4f151e..28b979384 100644 --- a/extensions/ohif-i18n/src/locales/en-US/CineDialog.json +++ b/extensions/ohif-i18n/src/locales/en-US/CineDialog.json @@ -5,4 +5,4 @@ "Skip to first image": "Skip to first $t(Common:Image)", "Skip to last image": "Skip, to last $t(Common:Image)", "fps": "fps" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/Common.json b/extensions/ohif-i18n/src/locales/en-US/Common.json index 347fc6eb1..00cf4f4af 100644 --- a/extensions/ohif-i18n/src/locales/en-US/Common.json +++ b/extensions/ohif-i18n/src/locales/en-US/Common.json @@ -1,10 +1,15 @@ { "Image": "Image", "Layout": "Layout", + "Measurements": "Measurements", "More": "More", "Next": "Next", "Play": "Play", "Previous": "Previous", "Reset": "Reset", - "Stop": "Stop" -} + "RowsPerPage": "rows per page", + "Series": "Series", + "Show": "Show", + "Stop": "Stop", + "StudyDate": "Study Date" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/Header.json b/extensions/ohif-i18n/src/locales/en-US/Header.json index 0e01b2e31..1347dae45 100644 --- a/extensions/ohif-i18n/src/locales/en-US/Header.json +++ b/extensions/ohif-i18n/src/locales/en-US/Header.json @@ -5,4 +5,4 @@ "Options": "Options", "Preferences": "Preferences", "Study list": "Study list" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/MeasurementTable.json b/extensions/ohif-i18n/src/locales/en-US/MeasurementTable.json index 9eb9b8d60..ab89cebcf 100644 --- a/extensions/ohif-i18n/src/locales/en-US/MeasurementTable.json +++ b/extensions/ohif-i18n/src/locales/en-US/MeasurementTable.json @@ -6,4 +6,4 @@ "NonTargets": "NonTargets", "Relabel": "Relabel", "Targets": "Targets" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/StudyList.json b/extensions/ohif-i18n/src/locales/en-US/StudyList.json new file mode 100644 index 000000000..cbc2ffe6d --- /dev/null +++ b/extensions/ohif-i18n/src/locales/en-US/StudyList.json @@ -0,0 +1,10 @@ +{ + "AccessionNumber": "Accession #", + "Empty": "Empty", + "MRN": "MRN", + "Modality": "Modality", + "PatientName": "Patient Name", + "StudyDate": "Study Date", + "StudyDescription": "Description", + "StudyList": "Study List" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/UserPreferencesModal.json b/extensions/ohif-i18n/src/locales/en-US/UserPreferencesModal.json index 03c472717..1b1b5f1d8 100644 --- a/extensions/ohif-i18n/src/locales/en-US/UserPreferencesModal.json +++ b/extensions/ohif-i18n/src/locales/en-US/UserPreferencesModal.json @@ -3,4 +3,4 @@ "Reset to Defaults": "$t(Buttons:Reset to Defaults)", "Save": "$t(Buttons:Save)", "User Preferences": "User Preferences" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/en-US/index.js b/extensions/ohif-i18n/src/locales/en-US/index.js index b9447498d..967d854a9 100644 --- a/extensions/ohif-i18n/src/locales/en-US/index.js +++ b/extensions/ohif-i18n/src/locales/en-US/index.js @@ -1,17 +1,19 @@ -import Buttons from './Buttons.json'; -import CineDialog from './CineDialog.json'; -import Common from './Common.json'; -import Header from './Header.json'; -import MeasurementTable from './MeasurementTable.json'; -import UserPreferencesModal from './UserPreferencesModal.json'; +import Buttons from "./Buttons.json"; +import CineDialog from "./CineDialog.json"; +import Common from "./Common.json"; +import Header from "./Header.json"; +import MeasurementTable from "./MeasurementTable.json"; +import StudyList from "./StudyList.json"; +import UserPreferencesModal from "./UserPreferencesModal.json"; -export default { +export default { 'en-US': { Buttons, CineDialog, Common, Header, MeasurementTable, + StudyList, UserPreferencesModal, - }, -}; + } +}; \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/Buttons.json b/extensions/ohif-i18n/src/locales/es/Buttons.json index b90945942..ae5e65841 100644 --- a/extensions/ohif-i18n/src/locales/es/Buttons.json +++ b/extensions/ohif-i18n/src/locales/es/Buttons.json @@ -1,27 +1,27 @@ { - "Acquired": "Acquired", + "Acquired": "Adquirido", "Angle": "Ángulo", "Axial": "Axial", - "Bidirectional": "Bidirectional", - "Brush": "Escoba", + "Bidirectional": "Bidireccional", + "Brush": "Cepillo", "CINE": "CINE", "Cancel": "Cancelar", - "Circle": "Circle", + "Circle": "Círculo", "Clear": "Limpiar", "Coronal": "Coronal", - "Crosshairs": "Cruces", + "Crosshairs": "Punto de mira", "Ellipse": "Elipse", - "Elliptical": "Elliptical", - "Flip H": "Espejo Hor.", - "Flip V": "Espejo Ver.", - "Freehand": "Freehand", - "Invert": "Invertido", + "Elliptical": "Elíptico", + "Flip H": "Espejo H", + "Flip V": "Espejo V", + "Freehand": "Mano alzada", + "Invert": "Invertir", "Layout": "$t(Common:Layout)", - "Length": "Medición", + "Length": "Longitud", "Levels": "Niveles", - "Magnify": "Lupa", + "Magnify": "Aumentar", "Manual": "Manual", - "Measurements": "Medidas", + "Measurements": "Mediciones", "More": "$t(Common:More)", "Next": "$t(Common:Next)", "Pan": "Mover", @@ -31,12 +31,12 @@ "ROI Window": "Ventana ROI", "Rectangle": "Rectángulo", "Reset": "$t(Common:Reset)", - "Reset to Defaults": "$t(Common:reset) por defectos", + "Reset to Defaults": "$t(Common:Reset) por defecto", "Rotate Right": "Rotar ->", - "Sagittal": "Sagittal", + "Sagittal": "Sagital", "Save": "Guardar", - "Stack Scroll": "Avance X slice", + "Stack Scroll": "Scroll en pila", "Stop": "$t(Common:Stop)", "Themes": "Temas", "Zoom": "Zoom" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/CineDialog.json b/extensions/ohif-i18n/src/locales/es/CineDialog.json index e084594ee..ba04b7e64 100644 --- a/extensions/ohif-i18n/src/locales/es/CineDialog.json +++ b/extensions/ohif-i18n/src/locales/es/CineDialog.json @@ -1,8 +1,8 @@ { - "Next image": "$t(Common:Play) $t(Common:Image)", - "Play / Stop": "$t(Common:Play) / $t(Common:Stop)", - "Previous image": "$t(Common:Previous) $t(Common:Image)", - "Skip to first image": "Avanza para la primera $t(Common:Image)", - "Skip to last image": "Pular para la ultima $t(Common:Image)", - "fps": "fps" -} + "Next image": " $t(Common:Image) $t(Common:Next)", + "Play / Stop": "$t(Common:Play) / Stop", + "Previous image": "$t(Common:Image) $t(Common:Previous)", + "Skip to first image": "Ir a la primera $t(Common:Image)", + "Skip to last image": "Ir a la última $t(Common:Image)", + "fps": "imágenes/seg." +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/Common.json b/extensions/ohif-i18n/src/locales/es/Common.json index 9fe60743b..3abea9491 100644 --- a/extensions/ohif-i18n/src/locales/es/Common.json +++ b/extensions/ohif-i18n/src/locales/es/Common.json @@ -1,10 +1,15 @@ { "Image": "Imagen", - "Layout": "Esquema", + "Layout": "Disposición", + "Measurements": "Medidas", "More": "Más", - "Next": "Próximo", + "Next": "Siguiente", "Play": "Play", "Previous": "Anterior", - "Reset": "Reiniciar", - "Stop": "Stop" -} + "Reset": "Resetear", + "RowsPerPage": "filas por página", + "Series": "Secuencia", + "Show": "Mostrar", + "Stop": "Detener", + "StudyDate": "Fecha de estudo" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/Header.json b/extensions/ohif-i18n/src/locales/es/Header.json index 0aa0a9482..d2c4bb596 100644 --- a/extensions/ohif-i18n/src/locales/es/Header.json +++ b/extensions/ohif-i18n/src/locales/es/Header.json @@ -1,8 +1,8 @@ { - "About": "Sobre", - "Back to Viewer": "Back to Viewer", - "INVESTIGATIONAL USE ONLY": "SOLO USO DE INVESTIGACIÓN", + "About": "Acerca de", + "Back to Viewer": "Volver al visor", + "INVESTIGATIONAL USE ONLY": "SOLO USO PARA INVESTIGACIÓN", "Options": "Opciones", "Preferences": "Preferencias", - "Study list": "Lista de estudio" -} + "Study list": "Lista de estudios" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/MeasurementTable.json b/extensions/ohif-i18n/src/locales/es/MeasurementTable.json index d753cdb9e..d00dce1d6 100644 --- a/extensions/ohif-i18n/src/locales/es/MeasurementTable.json +++ b/extensions/ohif-i18n/src/locales/es/MeasurementTable.json @@ -1,9 +1,9 @@ { - "Criteria nonconformities": "Criterios de no conformidades", + "Criteria nonconformities": "Criterios disconformes", "Delete": "Borrar", "Description": "Descripción", - "MAX": "máximo", - "NonTargets": "NonObjetivos", - "Relabel": "Reetiquetar", + "MAX": "Máximo", + "NonTargets": "No objetivos", + "Relabel": "Re-etiquetar", "Targets": "Objetivos" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/StudyList.json b/extensions/ohif-i18n/src/locales/es/StudyList.json new file mode 100644 index 000000000..8a8d40521 --- /dev/null +++ b/extensions/ohif-i18n/src/locales/es/StudyList.json @@ -0,0 +1,10 @@ +{ + "AccessionNumber": "Número de Adhesión", + "Empty": "vacío", + "MRN": "MRN", + "Modality": "Modalidad", + "PatientName": "Nombre del paciente", + "StudyDate": "Fetcha de estudio", + "StudyDescription": "Descripción", + "StudyList": "Lista de Estudio" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/UserPreferencesModal.json b/extensions/ohif-i18n/src/locales/es/UserPreferencesModal.json index 8defb1c75..ca4c77096 100644 --- a/extensions/ohif-i18n/src/locales/es/UserPreferencesModal.json +++ b/extensions/ohif-i18n/src/locales/es/UserPreferencesModal.json @@ -2,5 +2,5 @@ "Cancel": "$t(Buttons:Cancel)", "Reset to Defaults": "$t(Buttons:Reset to Defaults)", "Save": "$t(Buttons:Save)", - "User Preferences": "Preferencias de usuario" -} + "User Preferences": "Preferencias de Usuario" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/es/index.js b/extensions/ohif-i18n/src/locales/es/index.js index 6f7029c95..ece3896d2 100644 --- a/extensions/ohif-i18n/src/locales/es/index.js +++ b/extensions/ohif-i18n/src/locales/es/index.js @@ -1,17 +1,19 @@ -import Buttons from './Buttons.json'; -import CineDialog from './CineDialog.json'; -import Common from './Common.json'; -import Header from './Header.json'; -import MeasurementTable from './MeasurementTable.json'; -import UserPreferencesModal from './UserPreferencesModal.json'; +import Buttons from "./Buttons.json"; +import CineDialog from "./CineDialog.json"; +import Common from "./Common.json"; +import Header from "./Header.json"; +import MeasurementTable from "./MeasurementTable.json"; +import StudyList from "./StudyList.json"; +import UserPreferencesModal from "./UserPreferencesModal.json"; -export default { - es: { +export default { + 'es': { Buttons, CineDialog, Common, Header, MeasurementTable, + StudyList, UserPreferencesModal, - }, -}; + } +}; \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/index.js b/extensions/ohif-i18n/src/locales/index.js index a5f5703dc..909f053b8 100644 --- a/extensions/ohif-i18n/src/locales/index.js +++ b/extensions/ohif-i18n/src/locales/index.js @@ -1,9 +1,13 @@ import en_US from './en-US/'; import es from './es/'; import nl from './nl/'; +import pt_BR from './pt-BR/'; +import zh from './zh/'; export default { ...en_US, ...es, ...nl, -}; + ...pt_BR, + ...zh, +}; \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/nl/Buttons.json b/extensions/ohif-i18n/src/locales/nl/Buttons.json index 0443cffd1..6748f63f0 100644 --- a/extensions/ohif-i18n/src/locales/nl/Buttons.json +++ b/extensions/ohif-i18n/src/locales/nl/Buttons.json @@ -3,4 +3,4 @@ "More": "Meer", "Pan": "Pan", "Zoom": "Inzoomen" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/nl/Common.json b/extensions/ohif-i18n/src/locales/nl/Common.json index d35764a7f..5e64c6039 100644 --- a/extensions/ohif-i18n/src/locales/nl/Common.json +++ b/extensions/ohif-i18n/src/locales/nl/Common.json @@ -1,3 +1,3 @@ { "More": "Meer" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/nl/Header.json b/extensions/ohif-i18n/src/locales/nl/Header.json index 38995e7b6..482d3c72e 100644 --- a/extensions/ohif-i18n/src/locales/nl/Header.json +++ b/extensions/ohif-i18n/src/locales/nl/Header.json @@ -4,4 +4,4 @@ "Options": "Opties", "Preferences": "Voorkeuren", "Study list": "Studie Overzicht" -} +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/nl/index.js b/extensions/ohif-i18n/src/locales/nl/index.js index de42f561e..349eb9d44 100644 --- a/extensions/ohif-i18n/src/locales/nl/index.js +++ b/extensions/ohif-i18n/src/locales/nl/index.js @@ -1,11 +1,11 @@ -import Buttons from './Buttons.json'; -import Common from './Common.json'; -import Header from './Header.json'; +import Buttons from "./Buttons.json"; +import Common from "./Common.json"; +import Header from "./Header.json"; -export default { - nl: { +export default { + 'nl': { Buttons, Common, Header, - }, -}; + } +}; \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/pt-BR/Buttons.json b/extensions/ohif-i18n/src/locales/pt-BR/Buttons.json new file mode 100644 index 000000000..069669285 --- /dev/null +++ b/extensions/ohif-i18n/src/locales/pt-BR/Buttons.json @@ -0,0 +1,42 @@ +{ + "Acquired": "Adquirido", + "Angle": "Ângulo", + "Axial": "Axial", + "Bidirectional": "Bidirecional", + "Brush": "Pincel", + "CINE": "CINE", + "Cancel": "Cancelar", + "Circle": "Círculo", + "Clear": "Limpar", + "Coronal": "Coronal", + "Crosshairs": "Localizador", + "Ellipse": "Elipse", + "Elliptical": "Elíptico", + "Flip H": "Inverter H", + "Flip V": "Inverter V", + "Freehand": "Desenho livre", + "Invert": "Inverter", + "Layout": "Layout", + "Length": "Tamanho", + "Levels": "Níveis", + "Magnify": "Ampliar", + "Manual": "Manual", + "Measurements": "Medidas", + "More": "Mais", + "Next": "Próximo", + "Pan": "Arrastar", + "Play": "Tocar", + "Previous": "Anterior", + "Probe": "Prova", + "ROI Window": "Janela ROI", + "Rectangle": "Retângulo", + "Reset": "Resetar", + "Reset to Defaults": "Restaurar para o Padrão", + "Rotate Right": "Girar à direita", + "Sagittal": "Sagital", + "Save": "Salvar", + "Stack Scroll": "Navegar Stacks", + "Stop": "Parar", + "Themes": "Temas", + "Zoom": "Zoom" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/pt-BR/CineDialog.json b/extensions/ohif-i18n/src/locales/pt-BR/CineDialog.json new file mode 100644 index 000000000..edbf25be6 --- /dev/null +++ b/extensions/ohif-i18n/src/locales/pt-BR/CineDialog.json @@ -0,0 +1,8 @@ +{ + "Next image": "Próxima imagem", + "Play / Stop": "Tocar / Parar", + "Previous image": "Imagem Anterior", + "Skip to first image": "Pular para a primeira imagem", + "Skip to last image": "Pular para a última imagem", + "fps": "fps" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/pt-BR/Common.json b/extensions/ohif-i18n/src/locales/pt-BR/Common.json new file mode 100644 index 000000000..03de3c5eb --- /dev/null +++ b/extensions/ohif-i18n/src/locales/pt-BR/Common.json @@ -0,0 +1,10 @@ +{ + "Image": "Imagem", + "Layout": "Layout", + "More": "Mais", + "Next": "Próximo", + "Play": "Play", + "Previous": "Anterior", + "Reset": "Reset", + "Stop": "Stop" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/pt-BR/Header.json b/extensions/ohif-i18n/src/locales/pt-BR/Header.json new file mode 100644 index 000000000..fdd6f0d8f --- /dev/null +++ b/extensions/ohif-i18n/src/locales/pt-BR/Header.json @@ -0,0 +1,8 @@ +{ + "About": "Quem somos", + "Back to Viewer": "Voltar para o Viewer", + "INVESTIGATIONAL USE ONLY": "APENAS PARA USO INVESTIGATIVO", + "Options": "Opções", + "Preferences": "Preferências", + "Study list": "Lista de estudos" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/pt-BR/UserPreferencesModal.json b/extensions/ohif-i18n/src/locales/pt-BR/UserPreferencesModal.json new file mode 100644 index 000000000..156a13dfd --- /dev/null +++ b/extensions/ohif-i18n/src/locales/pt-BR/UserPreferencesModal.json @@ -0,0 +1,6 @@ +{ + "Cancel": "Cancelar", + "Reset to Defaults": "Restaurar Default", + "Save": "Salvar", + "User Preferences": "Preferências do Usuário" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/pt-BR/index.js b/extensions/ohif-i18n/src/locales/pt-BR/index.js new file mode 100644 index 000000000..d459b412e --- /dev/null +++ b/extensions/ohif-i18n/src/locales/pt-BR/index.js @@ -0,0 +1,15 @@ +import Buttons from "./Buttons.json"; +import CineDialog from "./CineDialog.json"; +import Common from "./Common.json"; +import Header from "./Header.json"; +import UserPreferencesModal from "./UserPreferencesModal.json"; + +export default { + 'pt-BR': { + Buttons, + CineDialog, + Common, + Header, + UserPreferencesModal, + } +}; \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/zh/Buttons.json b/extensions/ohif-i18n/src/locales/zh/Buttons.json new file mode 100644 index 000000000..7f5ae3b26 --- /dev/null +++ b/extensions/ohif-i18n/src/locales/zh/Buttons.json @@ -0,0 +1,13 @@ +{ + "Angle": "线角测量", + "CINE": "播放", + "Length": "长度测量", + "Levels": "窗宽/窗位", + "Measurements": "测量", + "More": "更多", + "Pan": "平移", + "Play": "播放", + "Reset": "重置", + "Rotate Right": "顺时针", + "Zoom": "缩放" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/zh/Common.json b/extensions/ohif-i18n/src/locales/zh/Common.json new file mode 100644 index 000000000..f87145a5b --- /dev/null +++ b/extensions/ohif-i18n/src/locales/zh/Common.json @@ -0,0 +1,3 @@ +{ + "Play": "播放" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/zh/Header.json b/extensions/ohif-i18n/src/locales/zh/Header.json new file mode 100644 index 000000000..5b82a525a --- /dev/null +++ b/extensions/ohif-i18n/src/locales/zh/Header.json @@ -0,0 +1,3 @@ +{ + "Study list": "检查" +} \ No newline at end of file diff --git a/extensions/ohif-i18n/src/locales/zh/index.js b/extensions/ohif-i18n/src/locales/zh/index.js new file mode 100644 index 000000000..e336fde3f --- /dev/null +++ b/extensions/ohif-i18n/src/locales/zh/index.js @@ -0,0 +1,11 @@ +import Buttons from "./Buttons.json"; +import Common from "./Common.json"; +import Header from "./Header.json"; + +export default { + 'zh': { + Buttons, + Common, + Header, + } +}; \ No newline at end of file