chore(i18n): Pull latest translations from Locize to obtain French translation (thanks @salimkanoun!) (#1613)
* Pull latest translations from Locize to obtain French translation * Fix newlines
This commit is contained in:
parent
e5175bf3e6
commit
b5b851ac7c
1
platform/i18n/.gitignore
vendored
Normal file
1
platform/i18n/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.locize
|
||||
@ -1,7 +1,7 @@
|
||||
import UserPreferencesModal from "./UserPreferencesModal.json";
|
||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||
|
||||
export default {
|
||||
'ar': {
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@ -13,4 +13,4 @@
|
||||
"Show": "Show",
|
||||
"Stop": "Stop",
|
||||
"StudyDate": "Study Date"
|
||||
}
|
||||
}
|
||||
@ -9,7 +9,7 @@ import StudyList from './StudyList.json';
|
||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||
|
||||
export default {
|
||||
export default {
|
||||
'en-US': {
|
||||
AboutModal,
|
||||
Buttons,
|
||||
@ -21,5 +21,5 @@ export default {
|
||||
StudyList,
|
||||
UserPreferencesModal,
|
||||
ViewportDownloadForm,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
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";
|
||||
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': {
|
||||
@ -16,4 +16,4 @@ export default {
|
||||
StudyList,
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
42
platform/i18n/src/locales/fr/Buttons.json
Normal file
42
platform/i18n/src/locales/fr/Buttons.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"Acquired": "Acquis",
|
||||
"Angle": "Angle",
|
||||
"Axial": "Axial",
|
||||
"Bidirectional": "Bi-directionel",
|
||||
"Brush": "Brosse",
|
||||
"CINE": "Ciné",
|
||||
"Cancel": "Annuler",
|
||||
"Circle": "Cercle",
|
||||
"Clear": "Effacer",
|
||||
"Coronal": "Coronal",
|
||||
"Crosshairs": "Repère",
|
||||
"Ellipse": "Ellipse",
|
||||
"Elliptical": "Elliptique",
|
||||
"Flip H": "Flip H",
|
||||
"Flip V": "Flip V",
|
||||
"Freehand": "Main levée",
|
||||
"Invert": "Inverser",
|
||||
"Layout": "$t(Common:Layout)",
|
||||
"Length": "Longueur",
|
||||
"Levels": "Niveaux",
|
||||
"Magnify": "Agrandir",
|
||||
"Manual": "Manuel",
|
||||
"Measurements": "Mesures",
|
||||
"More": "$t(Common:More)",
|
||||
"Next": "$t(Common:Next)",
|
||||
"Pan": "Déplacer",
|
||||
"Play": "$t(Common:Play)",
|
||||
"Previous": "$t(Common:Previous)",
|
||||
"Probe": "Sonde",
|
||||
"ROI Window": "ROI fenêtrage",
|
||||
"Rectangle": "Rectangle",
|
||||
"Reset": "$t(Common:Reset)",
|
||||
"Reset to Defaults": "Valeurs d'usine",
|
||||
"Rotate Right": "Tourner à droite",
|
||||
"Sagittal": "Sagittal",
|
||||
"Save": "Sauvegarder",
|
||||
"Stack Scroll": "Défilement",
|
||||
"Stop": "$t(Common:Stop)",
|
||||
"Themes": "Themes",
|
||||
"Zoom": "Zoom"
|
||||
}
|
||||
8
platform/i18n/src/locales/fr/CineDialog.json
Normal file
8
platform/i18n/src/locales/fr/CineDialog.json
Normal file
@ -0,0 +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": "Retour à la première $t(Common:Image)",
|
||||
"Skip to last image": "Aller à la dernière $t(Common:Image)",
|
||||
"fps": "ips"
|
||||
}
|
||||
10
platform/i18n/src/locales/fr/Common.json
Normal file
10
platform/i18n/src/locales/fr/Common.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"Image": "Image",
|
||||
"Layout": "Disposition",
|
||||
"More": "Plus",
|
||||
"Next": "Suivant",
|
||||
"Play": "Play",
|
||||
"Previous": "Précédent",
|
||||
"Reset": "Reset",
|
||||
"Stop": "Stop"
|
||||
}
|
||||
8
platform/i18n/src/locales/fr/Header.json
Normal file
8
platform/i18n/src/locales/fr/Header.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"About": "A Propos",
|
||||
"Back to Viewer": "Retour au viewer",
|
||||
"INVESTIGATIONAL USE ONLY": "Seulement pour utilisation expérimentale",
|
||||
"Options": "Options",
|
||||
"Preferences": "Préférences",
|
||||
"Study list": "Liste d'études"
|
||||
}
|
||||
6
platform/i18n/src/locales/fr/UserPreferencesModal.json
Normal file
6
platform/i18n/src/locales/fr/UserPreferencesModal.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"Cancel": "$t(Buttons:Cancel)",
|
||||
"Reset to Defaults": "$t(Buttons:Reset to Defaults)",
|
||||
"Save": "$t(Buttons:Save)",
|
||||
"User Preferences": "Préférences utilisateur"
|
||||
}
|
||||
15
platform/i18n/src/locales/fr/index.js
Normal file
15
platform/i18n/src/locales/fr/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 {
|
||||
'fr': {
|
||||
Buttons,
|
||||
CineDialog,
|
||||
Common,
|
||||
Header,
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
@ -1,6 +1,7 @@
|
||||
import ar from './ar/';
|
||||
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/';
|
||||
@ -11,9 +12,10 @@ export default {
|
||||
...ar,
|
||||
...en_US,
|
||||
...es,
|
||||
...fr,
|
||||
...ja_JP,
|
||||
...nl,
|
||||
...pt_BR,
|
||||
...vi,
|
||||
...zh,
|
||||
};
|
||||
};
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
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";
|
||||
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 {
|
||||
'ja-JP': {
|
||||
@ -12,4 +12,4 @@ export default {
|
||||
Header,
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
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': {
|
||||
@ -8,4 +8,4 @@ export default {
|
||||
Common,
|
||||
Header,
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@ -6,7 +6,7 @@ import DatePicker from './DatePicker.json';
|
||||
import Header from './Header.json';
|
||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||
|
||||
export default {
|
||||
export default {
|
||||
'pt-BR': {
|
||||
AboutModal,
|
||||
Buttons,
|
||||
@ -15,5 +15,5 @@ export default {
|
||||
DatePicker,
|
||||
Header,
|
||||
UserPreferencesModal,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
import Buttons from "./Buttons.json";
|
||||
import CineDialog from "./CineDialog.json";
|
||||
import Common from "./Common.json";
|
||||
import Header from "./Header.json";
|
||||
import StudyList from "./StudyList.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 StudyList from './StudyList.json';
|
||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||
|
||||
export default {
|
||||
'vi': {
|
||||
@ -14,4 +14,4 @@ export default {
|
||||
StudyList,
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
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";
|
||||
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 {
|
||||
'zh': {
|
||||
@ -16,4 +16,4 @@ export default {
|
||||
StudyList,
|
||||
UserPreferencesModal,
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@ -43,7 +43,7 @@ directories.forEach(directory => {
|
||||
const filename = path.basename(file);
|
||||
const namespace = path.basename(file, '.json');
|
||||
|
||||
content += `import ${namespace} from "./${filename}";\n`;
|
||||
content += `import ${namespace} from './${filename}';\n`;
|
||||
});
|
||||
|
||||
content += '\n';
|
||||
@ -51,7 +51,7 @@ directories.forEach(directory => {
|
||||
namespaces.forEach(namespace => {
|
||||
exportLines += ` ${namespace},\n`;
|
||||
});
|
||||
exportLines += ' }\n};';
|
||||
exportLines += ' }\n};\n';
|
||||
|
||||
content += exportLines;
|
||||
|
||||
@ -80,7 +80,7 @@ languageVariables.forEach(language => {
|
||||
fileContent += ` ...${language},\n`;
|
||||
});
|
||||
|
||||
fileContent += '};';
|
||||
fileContent += '};\n';
|
||||
|
||||
// Create one file (index.js) inside the locales folder
|
||||
// which exports each of the languages
|
||||
|
||||
Loading…
Reference in New Issue
Block a user