mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 09:53:28 +02:00
Prevent initial text flashing when coming from 'ja'
This commit is contained in:
@@ -41,8 +41,10 @@ module.exports = function (SettingsService, $q, gettextCatalog) {
|
||||
return deferred.promise
|
||||
}
|
||||
|
||||
// TODO: this is to prevent initial text flashing from ja
|
||||
gettextCatalog.currentLanguage = LanguageService.detectedLanguage
|
||||
|
||||
// Initialize gettextCatalog
|
||||
//LanguageService.getSelectedLanguage()
|
||||
|
||||
LanguageService.init = function () {
|
||||
LanguageService.getSelectedLanguage().then(function (data) {
|
||||
|
||||
Reference in New Issue
Block a user