Merge pull request #3143 from WWWesten/master

Update Library Settings
This commit is contained in:
Bill Thornton 2021-11-10 09:57:01 -05:00 committed by GitHub
commit d34b04a281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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', 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": "Image fetchers ({0})",
"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": "Metadata downloaders ({0}):",
"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",
"TypeOptionPluralSeason": "Seasons",
"TypeOptionPluralSeries": "TV Shows",
"TypeOptionPluralVideo": "Videos",
"Typewriter": "Typewriter",
"Uniform": "Uniform",
"UninstallPluginConfirmation": "Are you sure you wish to uninstall {0}?",