1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update Libray Options Editor

Update librayoptionseditor.js and en-us.json
This commit is contained in:
WWWesten 2021-11-06 13:15:45 +05:00 committed by Bill Thornton
parent dee072f9b1
commit 4938081f8f
2 changed files with 15 additions and 4 deletions

View file

@ -118,7 +118,7 @@ import template from './libraryoptionseditor.template.html';
if (!plugins.length) return html;
html += '<div class="metadataFetcher" data-type="' + availableTypeOptions.Type + '">';
html += '<h3 class="checkboxListLabel">' + globalize.translate('LabelTypeMetadataDownloaders', globalize.translate(availableTypeOptions.Type)) + '</h3>';
html += '<h3 class="checkboxListLabel">' + globalize.translate('LabelTypeMetadataDownloaders', globalize.translate('TypeOptionPlural' + availableTypeOptions.Type)) + '</h3>';
html += '<div class="checkboxList paperList checkboxList-paperList">';
plugins.forEach((plugin, index) => {
@ -218,7 +218,7 @@ import template from './libraryoptionseditor.template.html';
html += '<div class="imageFetcher" data-type="' + availableTypeOptions.Type + '">';
html += '<div class="flex align-items-center" style="margin:1.5em 0 .5em;">';
html += '<h3 class="checkboxListLabel" style="margin:0;">' + globalize.translate('HeaderTypeImageFetchers', globalize.translate(availableTypeOptions.Type)) + '</h3>';
html += '<h3 class="checkboxListLabel" style="margin:0;">' + globalize.translate('HeaderTypeImageFetchers', globalize.translate('TypeOptionPlural' + availableTypeOptions.Type)) + '</h3>';
const supportedImageTypes = availableTypeOptions.SupportedImageTypes || [];
if (supportedImageTypes.length > 1 || supportedImageTypes.length === 1 && supportedImageTypes[0] !== 'Primary') {
html += '<button is="emby-button" class="raised btnImageOptionsForType" type="button" style="margin-left:1.5em;font-size:90%;"><span>' + globalize.translate('HeaderFetcherSettings') + '</span></button>';

View file

@ -470,7 +470,7 @@
"HeaderTranscodingProfileHelp": "Add transcoding profiles to indicate which formats should be used when transcoding is required.",
"HeaderTunerDevices": "Tuner Devices",
"HeaderTuners": "Tuners",
"HeaderTypeImageFetchers": "{0} - Image fetchers:",
"HeaderTypeImageFetchers": "{0} image fetchers",
"HeaderTypeText": "Enter Text",
"HeaderUninstallPlugin": "Uninstall Plugin",
"HeaderUpcomingOnTV": "Upcoming On TV",
@ -929,7 +929,7 @@
"LabelTunerType": "Tuner type:",
"LabelTVHomeScreen": "TV mode home screen:",
"LabelType": "Type:",
"LabelTypeMetadataDownloaders": "{0} - Metadata downloaders:",
"LabelTypeMetadataDownloaders": "{0} metadata downloaders:",
"LabelTypeText": "Text",
"LabelUDPPortRange": "UDP Communication Range:",
"LabelUDPPortRangeHelp": "Restrict Jellyfin to use this port range when making UDP connections. (Default is 1024 - 645535).<br/> Note: Certain function require fixed ports that may be outside of this range.",
@ -1465,6 +1465,17 @@
"Tuesday": "Tuesday",
"TV": "TV",
"TvLibraryHelp": "Review the {0}TV naming guide{1}.",
"TypeOptionPluralAudio": "Audios",
"TypeOptionPluralBook": "Books"
"TypeOptionPluralBoxSet": "Box Sets"
"TypeOptionPluralEpisode": "Episodes",
"TypeOptionPluralMovie": "Movies",
"TypeOptionPluralMusicAlbum": "Music Albums",
"TypeOptionPluralMusicArtist": "Music Artists",
"TypeOptionPluralMusicVideo": "Music Videos",
"TypeOptionPluralSeazon": "Seasons",
"TypeOptionPluralSeries": "TV Shows",
"TypeOptionPluralVideo": "Videos",
"Typewriter": "Typewriter",
"Uniform": "Uniform",
"UninstallPluginConfirmation": "Are you sure you wish to uninstall {0}?",