@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/videos/
|
||||
|
||||
# Locize settings
|
||||
.locize
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ohif/i18n",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"description": "OHIF extension for internationalization",
|
||||
"author": "OHIF",
|
||||
"license": "MIT",
|
||||
|
||||
@ -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
|
||||
|
||||
@ -39,4 +39,4 @@
|
||||
"Stop": "$t(Common:Stop)",
|
||||
"Themes": "Themes",
|
||||
"Zoom": "Zoom"
|
||||
}
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -5,4 +5,4 @@
|
||||
"Options": "Options",
|
||||
"Preferences": "Preferences",
|
||||
"Study list": "Study list"
|
||||
}
|
||||
}
|
||||
@ -6,4 +6,4 @@
|
||||
"NonTargets": "NonTargets",
|
||||
"Relabel": "Relabel",
|
||||
"Targets": "Targets"
|
||||
}
|
||||
}
|
||||
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"
|
||||
}
|
||||
@ -3,4 +3,4 @@
|
||||
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
|
||||
"Save": "$t(Buttons:Save)",
|
||||
"User Preferences": "User Preferences"
|
||||
}
|
||||
}
|
||||
@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
};
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
@ -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."
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
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)",
|
||||
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
|
||||
"Save": "$t(Buttons:Save)",
|
||||
"User Preferences": "Preferencias de usuario"
|
||||
}
|
||||
"User Preferences": "Preferencias de Usuario"
|
||||
}
|
||||
@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
};
|
||||
@ -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,
|
||||
};
|
||||
@ -3,4 +3,4 @@
|
||||
"More": "Meer",
|
||||
"Pan": "Pan",
|
||||
"Zoom": "Inzoomen"
|
||||
}
|
||||
}
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"More": "Meer"
|
||||
}
|
||||
}
|
||||
@ -4,4 +4,4 @@
|
||||
"Options": "Opties",
|
||||
"Preferences": "Voorkeuren",
|
||||
"Study list": "Studie Overzicht"
|
||||
}
|
||||
}
|
||||
@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
};
|
||||
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