From 6e295ba7c6ee84d0d97d3ec10f9bbff4ef9f340c Mon Sep 17 00:00:00 2001 From: romulo bordezani Date: Thu, 6 Jun 2019 19:13:16 -0300 Subject: [PATCH] i18n - Documentation for i18n --- docs/latest/essentials/translating.md | 4 ++++ .../ohif-i18n/src/locales/en/CineDialog.json | 2 +- .../ohif-i18n/src/locales/en/common.json | 4 +--- .../ohif-i18n/src/locales/es/common.json | 20 +------------------ 4 files changed, 7 insertions(+), 23 deletions(-) diff --git a/docs/latest/essentials/translating.md b/docs/latest/essentials/translating.md index 34d1b4432..45bfd4b5f 100644 --- a/docs/latest/essentials/translating.md +++ b/docs/latest/essentials/translating.md @@ -145,6 +145,10 @@ extendLanguage(myJsonFileWithLanguage); // TODO - This example is a working in progress ``` + +#Debugging translations +#TODO - WIP + ### Contributing with new languages This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) diff --git a/extensions/ohif-i18n/src/locales/en/CineDialog.json b/extensions/ohif-i18n/src/locales/en/CineDialog.json index ebd909e73..14877a857 100644 --- a/extensions/ohif-i18n/src/locales/en/CineDialog.json +++ b/extensions/ohif-i18n/src/locales/en/CineDialog.json @@ -1,5 +1,5 @@ { - "fps": "ingles fps", + "fps": "fps", "Skip to first image": "Skip to first image", "Previous image": "Previous, image", "Play / Stop": "Play, / Stop", diff --git a/extensions/ohif-i18n/src/locales/en/common.json b/extensions/ohif-i18n/src/locales/en/common.json index 18a5b4ea3..5fdbf7431 100755 --- a/extensions/ohif-i18n/src/locales/en/common.json +++ b/extensions/ohif-i18n/src/locales/en/common.json @@ -1,5 +1,3 @@ { - "Welcome to React": "Welcome to React and react-i18next", - "welcomeMsg": "welcome", - "test": "Lunch time" + "Welcome to React": "Welcome to React and react-i18next" } diff --git a/extensions/ohif-i18n/src/locales/es/common.json b/extensions/ohif-i18n/src/locales/es/common.json index 3cbc9da4b..ea3a56575 100755 --- a/extensions/ohif-i18n/src/locales/es/common.json +++ b/extensions/ohif-i18n/src/locales/es/common.json @@ -1,21 +1,3 @@ { - "Themes": "Temas", - "Previous": "Anterior", - "Next": "Próximo", - "Play": "Play", - "Stop": "Stop", - "Layout": "Esquema", - "More": "Más", - "Crosshairs": "Cruces", - "Magnify": "Lupa", - "ROI Window": "Ventana ROI", - "Probe": "Probar", - "Ellipse": "Elipse", - "Rectangle": "Rectángulo", - "Invert": "Invertido", - "Rotate Right": "Rotar ->", - "Flip H": "Espejo Hor.", - "Flip V": "Espejo Ver.", - "Clear": "Limpiar", - "Brush": "Escoba" + "Welcome to React": "Bienvenido a React" }