mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
c944079976
commit
640fc18b21
80 changed files with 2365 additions and 1909 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
$('#chkEnableRealtimeMonitor', page).checked(config.EnableRealtimeMonitor).checkboxradio("refresh");
|
||||
|
||||
$('#txtItemsByNamePath', page).val(config.ItemsByNamePath || '');
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
|
||||
|
@ -21,6 +23,29 @@
|
|||
|
||||
});
|
||||
|
||||
}).on('pageinit', "#librarySettingsPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
$('#btnSelectIBNPath', page).on("click.selectDirectory", function () {
|
||||
|
||||
var picker = new DirectoryBrowser(page);
|
||||
|
||||
picker.show({
|
||||
|
||||
callback: function (path) {
|
||||
|
||||
if (path) {
|
||||
$('#txtItemsByNamePath', page).val(path);
|
||||
}
|
||||
picker.close();
|
||||
},
|
||||
|
||||
header: Globalize.translate('HeaderSelectImagesByNamePath'),
|
||||
|
||||
instruction: Globalize.translate('HeaderSelectImagesByNamePathHelp')
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
function librarySettingsPage() {
|
||||
|
@ -34,6 +59,8 @@
|
|||
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.ItemsByNamePath = $('#txtItemsByNamePath', form).val();
|
||||
|
||||
config.SeasonZeroDisplayName = $('#txtSeasonZeroName', form).val();
|
||||
|
||||
config.EnableRealtimeMonitor = $('#chkEnableRealtimeMonitor', form).checked();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue