mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
3.0.5340.20849
This commit is contained in:
parent
668f8ba11f
commit
4d679e90a4
18 changed files with 276 additions and 133 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
var isChecked = i == 0 ? ' selected="selected"' : '';
|
||||
|
||||
html += '<option value="' + tab.type + '"' + isChecked + '>' + tab.name + '</option>';
|
||||
html += '<option value="' + tab.type + '"' + isChecked + '>' + Globalize.translate(tab.name) + '</option>';
|
||||
}
|
||||
|
||||
$('#selectItemType', page).html(html).selectmenu('refresh').trigger('change');
|
||||
|
@ -150,7 +150,7 @@
|
|||
|
||||
var i, length, plugin, id;
|
||||
|
||||
html += '<div class="ui-controlgroup-label" style="margin-bottom:0;padding-left:2px;">Image Fetchers:</div>';
|
||||
html += '<div class="ui-controlgroup-label" style="margin-bottom:0;padding-left:2px;">' + Globalize.translate('LabelImageFetchers') + '</div>';
|
||||
|
||||
html += '<div style="display:inline-block;width: 75%;vertical-align:top;">';
|
||||
html += '<div data-role="controlgroup" class="imageFetcherGroup">';
|
||||
|
@ -177,22 +177,22 @@
|
|||
|
||||
html += '<div style="margin:6px 0;">';
|
||||
if (i == 0) {
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Up</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Down</button>';
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonUp') + '</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonDown') + '</button>';
|
||||
} else if (i == (plugins.length - 1)) {
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Up</button>';
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Down</button>';
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonUp') + '</button>';
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonDown') + '</button>';
|
||||
}
|
||||
else {
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Up</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Down</button>';
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonUp') + '</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonDown') + '</button>';
|
||||
}
|
||||
html += '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
html += '<div class="fieldDescription" style="width:75%;">Enable and rank your preferred image fetchers in order of priority.</div>';
|
||||
html += '<div class="fieldDescription" style="width:75%;">' + Globalize.translate('LabelImageFetchersHelp') + '</div>';
|
||||
|
||||
var elem = $('.imageFetchers', page).html(html).show().trigger('create');
|
||||
|
||||
|
@ -238,7 +238,7 @@
|
|||
}
|
||||
|
||||
html += '<fieldset data-role="controlgroup">';
|
||||
html += '<legend>Metadata Savers:</legend>';
|
||||
html += '<legend>' + Globalize.translate('LabelMetadataSavers') + '</legend>';
|
||||
|
||||
for (var i = 0, length = plugins.length; i < length; i++) {
|
||||
|
||||
|
@ -253,7 +253,7 @@
|
|||
}
|
||||
|
||||
html += '</fieldset>';
|
||||
html += '<div class="fieldDescription">Choose the file formats to save your metadata to.</div>';
|
||||
html += '<div class="fieldDescription">' + Globalize.translate('LabelMetadataSaversHelp') + '</div>';
|
||||
|
||||
$('.metadataSavers', page).html(html).show().trigger('create');
|
||||
}
|
||||
|
@ -273,7 +273,7 @@
|
|||
|
||||
var i, length, plugin, id;
|
||||
|
||||
html += '<div class="ui-controlgroup-label" style="margin-bottom:0;padding-left:2px;">Metadata Downloaders:</div>';
|
||||
html += '<div class="ui-controlgroup-label" style="margin-bottom:0;padding-left:2px;">' + Globalize.translate('LabelMetadataDownloaders') + '</div>';
|
||||
|
||||
html += '<div style="display:inline-block;width: 75%;vertical-align:top;">';
|
||||
html += '<div data-role="controlgroup" class="metadataFetcherGroup">';
|
||||
|
@ -300,22 +300,22 @@
|
|||
|
||||
html += '<div style="margin:6px 0;">';
|
||||
if (i == 0) {
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Up</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Down</button>';
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonUp') + '</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonDown') + '</button>';
|
||||
} else if (i == (plugins.length - 1)) {
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Up</button>';
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Down</button>';
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonUp') + '</button>';
|
||||
html += '<button data-inline="true" disabled="disabled" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonDown') + '</button>';
|
||||
}
|
||||
else {
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Up</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">Down</button>';
|
||||
html += '<button data-inline="true" class="btnUp" data-pluginindex="' + i + '" type="button" data-icon="arrow-u" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonUp') + '</button>';
|
||||
html += '<button data-inline="true" class="btnDown" data-pluginindex="' + i + '" type="button" data-icon="arrow-d" data-mini="true" data-iconpos="notext" style="margin: 0 1px;">' + Globalize.translate('ButtonDown') + '</button>';
|
||||
}
|
||||
html += '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
html += '</div>';
|
||||
html += '<div class="fieldDescription" style="width:75%;">Enable and rank your preferred metadata downloaders in order of priority. Lower priority downloaders will only be used to fill in missing information.</div>';
|
||||
html += '<div class="fieldDescription" style="width:75%;">' + Globalize.translate('LabelMetadataDownloadersHelp') + '</div>';
|
||||
|
||||
var elem = $('.metadataFetchers', page).html(html).show().trigger('create');
|
||||
|
||||
|
@ -360,7 +360,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
html += '<div class="ui-controlgroup-label" style="margin-bottom:0;padding-left:2px;">Metadata Readers:</div>';
|
||||
html += '<div class="ui-controlgroup-label" style="margin-bottom:0;padding-left:2px;">' + Globalize.translate('LabelMetadataReaders') + '</div>';
|
||||
html += '<ul data-role="listview" data-inset="true" data-mini="true" style="margin-top:.5em;margin-bottom:.5em;">';
|
||||
|
||||
for (var i = 0, length = plugins.length; i < length; i++) {
|
||||
|
@ -372,7 +372,7 @@
|
|||
|
||||
html += '<a href="#" style="font-size:13px;font-weight:normal;">' + plugin.Name + '</a>';
|
||||
|
||||
html += '<a class="btnLocalReaderUp btnLocalReaderMove" data-pluginindex="' + i + '" href="#" style="font-size:13px;font-weight:normal;" data-icon="arrow-u">Up</a>';
|
||||
html += '<a class="btnLocalReaderUp btnLocalReaderMove" data-pluginindex="' + i + '" href="#" style="font-size:13px;font-weight:normal;" data-icon="arrow-u">' + Globalize.translate('ButtonUp') + '</a>';
|
||||
|
||||
html += '</li>';
|
||||
}
|
||||
|
@ -381,7 +381,7 @@
|
|||
|
||||
html += '<a href="#" style="font-size:13px;font-weight:normal;">' + plugin.Name + '</a>';
|
||||
|
||||
html += '<a class="btnLocalReaderDown btnLocalReaderMove" data-pluginindex="' + i + '" href="#" style="font-size:13px;font-weight:normal;" data-icon="arrow-d">Down</a>';
|
||||
html += '<a class="btnLocalReaderDown btnLocalReaderMove" data-pluginindex="' + i + '" href="#" style="font-size:13px;font-weight:normal;" data-icon="arrow-d">' + Globalize.translate('ButtonDown') + '</a>';
|
||||
|
||||
html += '</li>';
|
||||
}
|
||||
|
@ -395,7 +395,7 @@
|
|||
}
|
||||
|
||||
html += '</ul>';
|
||||
html += '<div class="fieldDescription">Rank your preferred local metadata sources in order of priority. The first file found will be read.</div>';
|
||||
html += '<div class="fieldDescription">' + Globalize.translate('LabelMetadataReadersHelp') + '</div>';
|
||||
|
||||
$('.metadataReaders', page).html(html).show().trigger('create');
|
||||
}
|
||||
|
@ -404,24 +404,24 @@
|
|||
|
||||
loadTabs(page, [
|
||||
|
||||
{ name: 'Movies', type: 'Movie' },
|
||||
{ name: 'OptionMovies', type: 'Movie' },
|
||||
//{ name: 'Trailers', type: 'Trailer' },
|
||||
{ name: 'Collections', type: 'BoxSet' },
|
||||
{ name: 'TV Series', type: 'Series' },
|
||||
{ name: 'TV Seasons', type: 'Season' },
|
||||
{ name: 'TV Episodes', type: 'Episode' },
|
||||
{ name: 'Games', type: 'Game' },
|
||||
{ name: 'Game Systems', type: 'GameSystem' },
|
||||
{ name: 'OptionCollections', type: 'BoxSet' },
|
||||
{ name: 'OptionSeries', type: 'Series' },
|
||||
{ name: 'OptionSeasons', type: 'Season' },
|
||||
{ name: 'OptionEpisodes', type: 'Episode' },
|
||||
{ name: 'OptionGames', type: 'Game' },
|
||||
{ name: 'OptionGameSystems', type: 'GameSystem' },
|
||||
//{ name: 'Game Genres', type: 'GameGenre' },
|
||||
{ name: 'Music Artists', type: 'MusicArtist' },
|
||||
{ name: 'Music Albums', type: 'MusicAlbum' },
|
||||
{ name: 'Music Videos', type: 'MusicVideo' },
|
||||
{ name: 'OptionMusicArtists', type: 'MusicArtist' },
|
||||
{ name: 'OptionMusicAlbums', type: 'MusicAlbum' },
|
||||
{ name: 'OptionMusicVideos', type: 'MusicVideo' },
|
||||
//{ name: 'Music Genres', type: 'MusicGenre' },
|
||||
{ name: 'Songs', type: 'Audio' },
|
||||
{ name: 'Home Videos', type: 'Video' },
|
||||
{ name: 'Books', type: 'Book' },
|
||||
{ name: 'Adult Videos', type: 'AdultVideo' },
|
||||
{ name: 'People', type: 'Person' }
|
||||
{ name: 'OptionSongs', type: 'Audio' },
|
||||
{ name: 'OptionHomeVideos', type: 'Video' },
|
||||
{ name: 'OptionBooks', type: 'Book' },
|
||||
{ name: 'OptionAdultVideos', type: 'AdultVideo' },
|
||||
{ name: 'OptionPeople', type: 'Person' }
|
||||
//{ name: 'Genres', type: 'Genre' },
|
||||
//{ name: 'Studios', type: 'Studio' }
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue