fix: Add syncTranslations script
This commit is contained in:
parent
2fff2d511f
commit
b161016edb
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"No hotkeys found": "Nenhuma tecla de atalho está configurada para este aplicativo. As teclas de atalho podem ser configuradas no arquivo app-config.js do aplicativo."
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
|
||||||
|
|
||||||
export default {
|
|
||||||
'ar': {
|
|
||||||
UserPreferencesModal,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
@ -10,7 +10,7 @@ import UserPreferencesModal from './UserPreferencesModal.json';
|
|||||||
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
de: {
|
'de': {
|
||||||
AboutModal,
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
@ -21,5 +21,5 @@ export default {
|
|||||||
StudyList,
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
ViewportDownloadForm,
|
ViewportDownloadForm,
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/es/AboutModal.json
Normal file
1
platform/i18n/src/locales/es/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/es/DatePicker.json
Normal file
1
platform/i18n/src/locales/es/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/es/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/es/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,19 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
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 DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
import MeasurementTable from './MeasurementTable.json';
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
import StudyList from './StudyList.json';
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'es': {
|
'es': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
MeasurementTable,
|
MeasurementTable,
|
||||||
StudyList,
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/fr/AboutModal.json
Normal file
1
platform/i18n/src/locales/fr/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/fr/DatePicker.json
Normal file
1
platform/i18n/src/locales/fr/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/fr/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/fr/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/fr/StudyList.json
Normal file
1
platform/i18n/src/locales/fr/StudyList.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/fr/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/fr/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,15 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
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 DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'fr': {
|
'fr': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,23 +1,23 @@
|
|||||||
import ar from './ar/';
|
import de from './de/';
|
||||||
import en_US from './en-US/';
|
import en_US from './en-US/';
|
||||||
import es from './es/';
|
import es from './es/';
|
||||||
import fr from './fr/';
|
import fr from './fr/';
|
||||||
import ja_JP from './ja-JP/';
|
import ja_JP from './ja-JP/';
|
||||||
import nl from './nl/';
|
import nl from './nl/';
|
||||||
import pt_BR from './pt-BR/';
|
import pt_BR from './pt-BR/';
|
||||||
|
import ru from './ru/';
|
||||||
import vi from './vi/';
|
import vi from './vi/';
|
||||||
import zh from './zh/';
|
import zh from './zh/';
|
||||||
import de from './de/';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...ar,
|
...de,
|
||||||
...en_US,
|
...en_US,
|
||||||
...es,
|
...es,
|
||||||
...de,
|
|
||||||
...fr,
|
...fr,
|
||||||
...ja_JP,
|
...ja_JP,
|
||||||
...nl,
|
...nl,
|
||||||
...pt_BR,
|
...pt_BR,
|
||||||
|
...ru,
|
||||||
...vi,
|
...vi,
|
||||||
...zh,
|
...zh,
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/ja-JP/AboutModal.json
Normal file
1
platform/i18n/src/locales/ja-JP/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ja-JP/DatePicker.json
Normal file
1
platform/i18n/src/locales/ja-JP/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ja-JP/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/ja-JP/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ja-JP/StudyList.json
Normal file
1
platform/i18n/src/locales/ja-JP/StudyList.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,15 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
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 DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'ja-JP': {
|
'ja-JP': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/nl/AboutModal.json
Normal file
1
platform/i18n/src/locales/nl/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/nl/CineDialog.json
Normal file
1
platform/i18n/src/locales/nl/CineDialog.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/nl/DatePicker.json
Normal file
1
platform/i18n/src/locales/nl/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/nl/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/nl/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/nl/StudyList.json
Normal file
1
platform/i18n/src/locales/nl/StudyList.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/nl/UserPreferencesModal.json
Normal file
1
platform/i18n/src/locales/nl/UserPreferencesModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/nl/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/nl/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,11 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
import Buttons from './Buttons.json';
|
import Buttons from './Buttons.json';
|
||||||
|
import CineDialog from './CineDialog.json';
|
||||||
import Common from './Common.json';
|
import Common from './Common.json';
|
||||||
|
import DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
|
import StudyList from './StudyList.json';
|
||||||
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'nl': {
|
'nl': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/pt-BR/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/pt-BR/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/pt-BR/StudyList.json
Normal file
1
platform/i18n/src/locales/pt-BR/StudyList.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -4,7 +4,10 @@ import CineDialog from './CineDialog.json';
|
|||||||
import Common from './Common.json';
|
import Common from './Common.json';
|
||||||
import DatePicker from './DatePicker.json';
|
import DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'pt-BR': {
|
'pt-BR': {
|
||||||
@ -14,6 +17,9 @@ export default {
|
|||||||
Common,
|
Common,
|
||||||
DatePicker,
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/ru/AboutModal.json
Normal file
1
platform/i18n/src/locales/ru/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/Buttons.json
Normal file
1
platform/i18n/src/locales/ru/Buttons.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/CineDialog.json
Normal file
1
platform/i18n/src/locales/ru/CineDialog.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/Common.json
Normal file
1
platform/i18n/src/locales/ru/Common.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/DatePicker.json
Normal file
1
platform/i18n/src/locales/ru/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/Header.json
Normal file
1
platform/i18n/src/locales/ru/Header.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/ru/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/StudyList.json
Normal file
1
platform/i18n/src/locales/ru/StudyList.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/UserPreferencesModal.json
Normal file
1
platform/i18n/src/locales/ru/UserPreferencesModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/ru/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/ru/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
25
platform/i18n/src/locales/ru/index.js
Normal file
25
platform/i18n/src/locales/ru/index.js
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
|
import Buttons from './Buttons.json';
|
||||||
|
import CineDialog from './CineDialog.json';
|
||||||
|
import Common from './Common.json';
|
||||||
|
import DatePicker from './DatePicker.json';
|
||||||
|
import Header from './Header.json';
|
||||||
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
|
import StudyList from './StudyList.json';
|
||||||
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
'ru': {
|
||||||
|
AboutModal,
|
||||||
|
Buttons,
|
||||||
|
CineDialog,
|
||||||
|
Common,
|
||||||
|
DatePicker,
|
||||||
|
Header,
|
||||||
|
MeasurementTable,
|
||||||
|
StudyList,
|
||||||
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
|
}
|
||||||
|
};
|
||||||
1
platform/i18n/src/locales/vi/AboutModal.json
Normal file
1
platform/i18n/src/locales/vi/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/vi/DatePicker.json
Normal file
1
platform/i18n/src/locales/vi/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/vi/MeasurementTable.json
Normal file
1
platform/i18n/src/locales/vi/MeasurementTable.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/vi/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/vi/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,17 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
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 DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
import StudyList from './StudyList.json';
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'vi': {
|
'vi': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
|
MeasurementTable,
|
||||||
StudyList,
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
1
platform/i18n/src/locales/zh/AboutModal.json
Normal file
1
platform/i18n/src/locales/zh/AboutModal.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/zh/DatePicker.json
Normal file
1
platform/i18n/src/locales/zh/DatePicker.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
platform/i18n/src/locales/zh/ViewportDownloadForm.json
Normal file
1
platform/i18n/src/locales/zh/ViewportDownloadForm.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -1,19 +1,25 @@
|
|||||||
|
import AboutModal from './AboutModal.json';
|
||||||
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 DatePicker from './DatePicker.json';
|
||||||
import Header from './Header.json';
|
import Header from './Header.json';
|
||||||
import MeasurementTable from './MeasurementTable.json';
|
import MeasurementTable from './MeasurementTable.json';
|
||||||
import StudyList from './StudyList.json';
|
import StudyList from './StudyList.json';
|
||||||
import UserPreferencesModal from './UserPreferencesModal.json';
|
import UserPreferencesModal from './UserPreferencesModal.json';
|
||||||
|
import ViewportDownloadForm from './ViewportDownloadForm.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
'zh': {
|
'zh': {
|
||||||
|
AboutModal,
|
||||||
Buttons,
|
Buttons,
|
||||||
CineDialog,
|
CineDialog,
|
||||||
Common,
|
Common,
|
||||||
|
DatePicker,
|
||||||
Header,
|
Header,
|
||||||
MeasurementTable,
|
MeasurementTable,
|
||||||
StudyList,
|
StudyList,
|
||||||
UserPreferencesModal,
|
UserPreferencesModal,
|
||||||
|
ViewportDownloadForm,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
4
platform/i18n/syncTranslations.sh
Executable file
4
platform/i18n/syncTranslations.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
cd src/locales/
|
||||||
|
npx locize --config-path ../../.locize sync --ver latest --update-values true --reference-language-only false
|
||||||
|
cd ../../
|
||||||
|
node ./writeLocaleIndexFiles.js
|
||||||
Loading…
Reference in New Issue
Block a user