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:
parent
db6651e560
commit
6a341ac6e4
3 changed files with 399 additions and 45 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue