@ohif/i18n: Update i18n locales from Locize source of truth (0.2.3)
This commit is contained in:
parent
5802cf18eb
commit
54b70e5fa4
3
.gitignore
vendored
3
.gitignore
vendored
@ -28,3 +28,6 @@ docker/dcm4che/dcm4che-arc
|
|||||||
|
|
||||||
# Cypress test results
|
# Cypress test results
|
||||||
cypress/videos/
|
cypress/videos/
|
||||||
|
|
||||||
|
# Locize settings
|
||||||
|
.locize
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ohif/i18n",
|
"name": "@ohif/i18n",
|
||||||
"version": "0.2.2",
|
"version": "0.2.3",
|
||||||
"description": "OHIF extension for internationalization",
|
"description": "OHIF extension for internationalization",
|
||||||
"author": "OHIF",
|
"author": "OHIF",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
rm -rf src/locales/
|
rm -rf src/locales/
|
||||||
|
mkdir -p src/locales/
|
||||||
cd src/locales/
|
cd src/locales/
|
||||||
npx locize --config-path ../../.locize download --ver latest
|
npx locize --config-path ../../.locize download --ver latest
|
||||||
|
cd ../../
|
||||||
node ./writeLocaleIndexFiles.js
|
node ./writeLocaleIndexFiles.js
|
||||||
|
|||||||
@ -1,10 +1,15 @@
|
|||||||
{
|
{
|
||||||
"Image": "Image",
|
"Image": "Image",
|
||||||
"Layout": "Layout",
|
"Layout": "Layout",
|
||||||
|
"Measurements": "Measurements",
|
||||||
"More": "More",
|
"More": "More",
|
||||||
"Next": "Next",
|
"Next": "Next",
|
||||||
"Play": "Play",
|
"Play": "Play",
|
||||||
"Previous": "Previous",
|
"Previous": "Previous",
|
||||||
"Reset": "Reset",
|
"Reset": "Reset",
|
||||||
"Stop": "Stop"
|
"RowsPerPage": "rows per page",
|
||||||
|
"Series": "Series",
|
||||||
|
"Show": "Show",
|
||||||
|
"Stop": "Stop",
|
||||||
|
"StudyDate": "Study Date"
|
||||||
}
|
}
|
||||||
10
extensions/ohif-i18n/src/locales/en-US/StudyList.json
Normal file
10
extensions/ohif-i18n/src/locales/en-US/StudyList.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"AccessionNumber": "Accession #",
|
||||||
|
"Empty": "Empty",
|
||||||
|
"MRN": "MRN",
|
||||||
|
"Modality": "Modality",
|
||||||
|
"PatientName": "Patient Name",
|
||||||
|
"StudyDate": "Study Date",
|
||||||
|
"StudyDescription": "Description",
|
||||||
|
"StudyList": "Study List"
|
||||||
|
}
|
||||||
@ -1,9 +1,10 @@
|
|||||||
import Buttons from './Buttons.json';
|
import Buttons from "./Buttons.json";
|
||||||
import CineDialog from './CineDialog.json';
|
import CineDialog from "./CineDialog.json";
|
||||||
import Common from './Common.json';
|
import Common from "./Common.json";
|
||||||
import Header from './Header.json';
|
import Header from "./Header.json";
|
||||||
import MeasurementTable from './MeasurementTable.json';
|
import MeasurementTable from "./MeasurementTable.json";
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import StudyList from "./StudyList.json";
|
||||||
|
import UserPreferencesModal from "./UserPreferencesModal.json";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'en-US': {
|
'en-US': {
|
||||||
@ -12,6 +13,7 @@ export default {
|
|||||||
Common,
|
Common,
|
||||||
Header,
|
Header,
|
||||||
MeasurementTable,
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
@ -1,27 +1,27 @@
|
|||||||
{
|
{
|
||||||
"Acquired": "Acquired",
|
"Acquired": "Adquirido",
|
||||||
"Angle": "Ángulo",
|
"Angle": "Ángulo",
|
||||||
"Axial": "Axial",
|
"Axial": "Axial",
|
||||||
"Bidirectional": "Bidirectional",
|
"Bidirectional": "Bidireccional",
|
||||||
"Brush": "Escoba",
|
"Brush": "Cepillo",
|
||||||
"CINE": "CINE",
|
"CINE": "CINE",
|
||||||
"Cancel": "Cancelar",
|
"Cancel": "Cancelar",
|
||||||
"Circle": "Circle",
|
"Circle": "Círculo",
|
||||||
"Clear": "Limpiar",
|
"Clear": "Limpiar",
|
||||||
"Coronal": "Coronal",
|
"Coronal": "Coronal",
|
||||||
"Crosshairs": "Cruces",
|
"Crosshairs": "Punto de mira",
|
||||||
"Ellipse": "Elipse",
|
"Ellipse": "Elipse",
|
||||||
"Elliptical": "Elliptical",
|
"Elliptical": "Elíptico",
|
||||||
"Flip H": "Espejo Hor.",
|
"Flip H": "Espejo H",
|
||||||
"Flip V": "Espejo Ver.",
|
"Flip V": "Espejo V",
|
||||||
"Freehand": "Freehand",
|
"Freehand": "Mano alzada",
|
||||||
"Invert": "Invertido",
|
"Invert": "Invertir",
|
||||||
"Layout": "$t(Common:Layout)",
|
"Layout": "$t(Common:Layout)",
|
||||||
"Length": "Medición",
|
"Length": "Longitud",
|
||||||
"Levels": "Niveles",
|
"Levels": "Niveles",
|
||||||
"Magnify": "Lupa",
|
"Magnify": "Aumentar",
|
||||||
"Manual": "Manual",
|
"Manual": "Manual",
|
||||||
"Measurements": "Medidas",
|
"Measurements": "Mediciones",
|
||||||
"More": "$t(Common:More)",
|
"More": "$t(Common:More)",
|
||||||
"Next": "$t(Common:Next)",
|
"Next": "$t(Common:Next)",
|
||||||
"Pan": "Mover",
|
"Pan": "Mover",
|
||||||
@ -31,11 +31,11 @@
|
|||||||
"ROI Window": "Ventana ROI",
|
"ROI Window": "Ventana ROI",
|
||||||
"Rectangle": "Rectángulo",
|
"Rectangle": "Rectángulo",
|
||||||
"Reset": "$t(Common:Reset)",
|
"Reset": "$t(Common:Reset)",
|
||||||
"Reset to Defaults": "$t(Common:reset) por defectos",
|
"Reset to Defaults": "$t(Common:Reset) por defecto",
|
||||||
"Rotate Right": "Rotar ->",
|
"Rotate Right": "Rotar ->",
|
||||||
"Sagittal": "Sagittal",
|
"Sagittal": "Sagital",
|
||||||
"Save": "Guardar",
|
"Save": "Guardar",
|
||||||
"Stack Scroll": "Avance X slice",
|
"Stack Scroll": "Scroll en pila",
|
||||||
"Stop": "$t(Common:Stop)",
|
"Stop": "$t(Common:Stop)",
|
||||||
"Themes": "Temas",
|
"Themes": "Temas",
|
||||||
"Zoom": "Zoom"
|
"Zoom": "Zoom"
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"Next image": "$t(Common:Play) $t(Common:Image)",
|
"Next image": " $t(Common:Image) $t(Common:Next)",
|
||||||
"Play / Stop": "$t(Common:Play) / $t(Common:Stop)",
|
"Play / Stop": "$t(Common:Play) / Stop",
|
||||||
"Previous image": "$t(Common:Previous) $t(Common:Image)",
|
"Previous image": "$t(Common:Image) $t(Common:Previous)",
|
||||||
"Skip to first image": "Avanza para la primera $t(Common:Image)",
|
"Skip to first image": "Ir a la primera $t(Common:Image)",
|
||||||
"Skip to last image": "Pular para la ultima $t(Common:Image)",
|
"Skip to last image": "Ir a la última $t(Common:Image)",
|
||||||
"fps": "fps"
|
"fps": "imágenes/seg."
|
||||||
}
|
}
|
||||||
@ -1,10 +1,15 @@
|
|||||||
{
|
{
|
||||||
"Image": "Imagen",
|
"Image": "Imagen",
|
||||||
"Layout": "Esquema",
|
"Layout": "Disposición",
|
||||||
|
"Measurements": "Medidas",
|
||||||
"More": "Más",
|
"More": "Más",
|
||||||
"Next": "Próximo",
|
"Next": "Siguiente",
|
||||||
"Play": "Play",
|
"Play": "Play",
|
||||||
"Previous": "Anterior",
|
"Previous": "Anterior",
|
||||||
"Reset": "Reiniciar",
|
"Reset": "Resetear",
|
||||||
"Stop": "Stop"
|
"RowsPerPage": "filas por página",
|
||||||
|
"Series": "Secuencia",
|
||||||
|
"Show": "Mostrar",
|
||||||
|
"Stop": "Detener",
|
||||||
|
"StudyDate": "Fecha de estudo"
|
||||||
}
|
}
|
||||||
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"About": "Sobre",
|
"About": "Acerca de",
|
||||||
"Back to Viewer": "Back to Viewer",
|
"Back to Viewer": "Volver al visor",
|
||||||
"INVESTIGATIONAL USE ONLY": "SOLO USO DE INVESTIGACIÓN",
|
"INVESTIGATIONAL USE ONLY": "SOLO USO PARA INVESTIGACIÓN",
|
||||||
"Options": "Opciones",
|
"Options": "Opciones",
|
||||||
"Preferences": "Preferencias",
|
"Preferences": "Preferencias",
|
||||||
"Study list": "Lista de estudio"
|
"Study list": "Lista de estudios"
|
||||||
}
|
}
|
||||||
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"Criteria nonconformities": "Criterios de no conformidades",
|
"Criteria nonconformities": "Criterios disconformes",
|
||||||
"Delete": "Borrar",
|
"Delete": "Borrar",
|
||||||
"Description": "Descripción",
|
"Description": "Descripción",
|
||||||
"MAX": "máximo",
|
"MAX": "Máximo",
|
||||||
"NonTargets": "NonObjetivos",
|
"NonTargets": "No objetivos",
|
||||||
"Relabel": "Reetiquetar",
|
"Relabel": "Re-etiquetar",
|
||||||
"Targets": "Objetivos"
|
"Targets": "Objetivos"
|
||||||
}
|
}
|
||||||
10
extensions/ohif-i18n/src/locales/es/StudyList.json
Normal file
10
extensions/ohif-i18n/src/locales/es/StudyList.json
Normal file
@ -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"
|
||||||
|
}
|
||||||
@ -2,5 +2,5 @@
|
|||||||
"Cancel": "$t(Buttons:Cancel)",
|
"Cancel": "$t(Buttons:Cancel)",
|
||||||
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
|
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
|
||||||
"Save": "$t(Buttons:Save)",
|
"Save": "$t(Buttons:Save)",
|
||||||
"User Preferences": "Preferencias de usuario"
|
"User Preferences": "Preferencias de Usuario"
|
||||||
}
|
}
|
||||||
@ -1,17 +1,19 @@
|
|||||||
import Buttons from './Buttons.json';
|
import Buttons from "./Buttons.json";
|
||||||
import CineDialog from './CineDialog.json';
|
import CineDialog from "./CineDialog.json";
|
||||||
import Common from './Common.json';
|
import Common from "./Common.json";
|
||||||
import Header from './Header.json';
|
import Header from "./Header.json";
|
||||||
import MeasurementTable from './MeasurementTable.json';
|
import MeasurementTable from "./MeasurementTable.json";
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import StudyList from "./StudyList.json";
|
||||||
|
import UserPreferencesModal from "./UserPreferencesModal.json";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
es: {
|
'es': {
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
Header,
|
Header,
|
||||||
MeasurementTable,
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
@ -1,9 +1,13 @@
|
|||||||
import en_US from './en-US/';
|
import en_US from './en-US/';
|
||||||
import es from './es/';
|
import es from './es/';
|
||||||
import nl from './nl/';
|
import nl from './nl/';
|
||||||
|
import pt_BR from './pt-BR/';
|
||||||
|
import zh from './zh/';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...en_US,
|
...en_US,
|
||||||
...es,
|
...es,
|
||||||
...nl,
|
...nl,
|
||||||
|
...pt_BR,
|
||||||
|
...zh,
|
||||||
};
|
};
|
||||||
@ -1,11 +1,11 @@
|
|||||||
import Buttons from './Buttons.json';
|
import Buttons from "./Buttons.json";
|
||||||
import Common from './Common.json';
|
import Common from "./Common.json";
|
||||||
import Header from './Header.json';
|
import Header from "./Header.json";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
nl: {
|
'nl': {
|
||||||
Buttons,
|
Buttons,
|
||||||
Common,
|
Common,
|
||||||
Header,
|
Header,
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
42
extensions/ohif-i18n/src/locales/pt-BR/Buttons.json
Normal file
42
extensions/ohif-i18n/src/locales/pt-BR/Buttons.json
Normal file
@ -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"
|
||||||
|
}
|
||||||
8
extensions/ohif-i18n/src/locales/pt-BR/CineDialog.json
Normal file
8
extensions/ohif-i18n/src/locales/pt-BR/CineDialog.json
Normal file
@ -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"
|
||||||
|
}
|
||||||
10
extensions/ohif-i18n/src/locales/pt-BR/Common.json
Normal file
10
extensions/ohif-i18n/src/locales/pt-BR/Common.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"Image": "Imagem",
|
||||||
|
"Layout": "Layout",
|
||||||
|
"More": "Mais",
|
||||||
|
"Next": "Próximo",
|
||||||
|
"Play": "Play",
|
||||||
|
"Previous": "Anterior",
|
||||||
|
"Reset": "Reset",
|
||||||
|
"Stop": "Stop"
|
||||||
|
}
|
||||||
8
extensions/ohif-i18n/src/locales/pt-BR/Header.json
Normal file
8
extensions/ohif-i18n/src/locales/pt-BR/Header.json
Normal file
@ -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"
|
||||||
|
}
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Cancel": "Cancelar",
|
||||||
|
"Reset to Defaults": "Restaurar Default",
|
||||||
|
"Save": "Salvar",
|
||||||
|
"User Preferences": "Preferências do Usuário"
|
||||||
|
}
|
||||||
15
extensions/ohif-i18n/src/locales/pt-BR/index.js
Normal file
15
extensions/ohif-i18n/src/locales/pt-BR/index.js
Normal file
@ -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,
|
||||||
|
}
|
||||||
|
};
|
||||||
13
extensions/ohif-i18n/src/locales/zh/Buttons.json
Normal file
13
extensions/ohif-i18n/src/locales/zh/Buttons.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"Angle": "线角测量",
|
||||||
|
"CINE": "播放",
|
||||||
|
"Length": "长度测量",
|
||||||
|
"Levels": "窗宽/窗位",
|
||||||
|
"Measurements": "测量",
|
||||||
|
"More": "更多",
|
||||||
|
"Pan": "平移",
|
||||||
|
"Play": "播放",
|
||||||
|
"Reset": "重置",
|
||||||
|
"Rotate Right": "顺时针",
|
||||||
|
"Zoom": "缩放"
|
||||||
|
}
|
||||||
3
extensions/ohif-i18n/src/locales/zh/Common.json
Normal file
3
extensions/ohif-i18n/src/locales/zh/Common.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Play": "播放"
|
||||||
|
}
|
||||||
3
extensions/ohif-i18n/src/locales/zh/Header.json
Normal file
3
extensions/ohif-i18n/src/locales/zh/Header.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"Study list": "检查"
|
||||||
|
}
|
||||||
11
extensions/ohif-i18n/src/locales/zh/index.js
Normal file
11
extensions/ohif-i18n/src/locales/zh/index.js
Normal file
@ -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,
|
||||||
|
}
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue
Block a user