mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add user display lang setting
This commit is contained in:
parent
bbf0b4d402
commit
a2fe57466c
7 changed files with 84 additions and 5 deletions
|
@ -75,6 +75,13 @@
|
|||
deferred.resolveWith(null, [null]);
|
||||
});
|
||||
|
||||
} else if (AppInfo.supportsUserDisplayLanguageSetting) {
|
||||
|
||||
Logger.log('AppInfo.supportsUserDisplayLanguageSetting is true');
|
||||
|
||||
culture = document.documentElement.getAttribute('data-culture');
|
||||
deferred.resolveWith(null, [culture]);
|
||||
|
||||
} else {
|
||||
|
||||
Logger.log('navigator.globalization.getLocaleName is unavailable');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue