1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 15:25:22 +03:00

i18n OSD Elements

This commit is contained in:
Miguel Angel Mulero Martinez 2019-06-12 09:44:42 +02:00
parent db6651e560
commit 6a341ac6e4
3 changed files with 399 additions and 45 deletions

View file

@ -67,6 +67,14 @@ i18n.getLanguagesAvailables = function() {
return languagesAvailables;
}
i18n.getCurrentLocale = function() {
return i18next.language;
}
i18n.existsMessage = function(key) {
return i18next.exists(key);
}
/**
* Helper functions, don't depend of the i18n framework
*/