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
|
@ -65,7 +65,16 @@
|
|||
return appStorage.getItem('enableSyncToExternalStorage') != 'false';
|
||||
},
|
||||
|
||||
displayPreferencesKey: function() {
|
||||
displayLanguage: function (val) {
|
||||
|
||||
if (val != null) {
|
||||
update('displayLanguage', val);
|
||||
}
|
||||
|
||||
return appStorage.getItem('displayLanguage') || 'en-US';
|
||||
},
|
||||
|
||||
displayPreferencesKey: function () {
|
||||
if (AppInfo.isNativeApp) {
|
||||
return 'Emby Mobile';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue