From 3c56f85f60a0f7cccaf57b9072ede590659063e7 Mon Sep 17 00:00:00 2001 From: WWWesten <4700006+WWWesten@users.noreply.github.com> Date: Fri, 5 Nov 2021 02:53:45 +0500 Subject: [PATCH] Update Library Settings Fix localisation's handling in libraryoptionseditor.js, unification of styling of labels --- src/components/libraryoptionseditor/libraryoptionseditor.js | 2 +- src/strings/en-us.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js index 91a45a7f3a..b422833899 100644 --- a/src/components/libraryoptionseditor/libraryoptionseditor.js +++ b/src/components/libraryoptionseditor/libraryoptionseditor.js @@ -218,7 +218,7 @@ import template from './libraryoptionseditor.template.html'; html += '
'; html += '
'; - html += '

' + globalize.translate('HeaderTypeImageFetchers', availableTypeOptions.Type) + '

'; + html += '

' + globalize.translate('HeaderTypeImageFetchers', globalize.translate(availableTypeOptions.Type)) + '

'; const supportedImageTypes = availableTypeOptions.SupportedImageTypes || []; if (supportedImageTypes.length > 1 || supportedImageTypes.length === 1 && supportedImageTypes[0] !== 'Primary') { html += ''; diff --git a/src/strings/en-us.json b/src/strings/en-us.json index fc8041d15c..fcfba0fa79 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -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).
Note: Certain function require fixed ports that may be outside of this range.",