more string updates

This commit is contained in:
dkanada 2020-08-24 08:39:26 +09:00
parent b8e99661c7
commit d9f286124d
15 changed files with 24 additions and 21 deletions

View File

@ -76,7 +76,7 @@
</label> </label>
<label> <label>
<input type="checkbox" is="emby-checkbox" class="chkFeatureFilter" id="chkSpecialFeature" /> <input type="checkbox" is="emby-checkbox" class="chkFeatureFilter" id="chkSpecialFeature" />
<span>${OptionHasSpecialFeatures}</span> <span>${SpecialFeatures}</span>
</label> </label>
<label> <label>
<input type="checkbox" is="emby-checkbox" class="chkFeatureFilter" id="chkThemeSong" /> <input type="checkbox" is="emby-checkbox" class="chkFeatureFilter" id="chkThemeSong" />

View File

@ -15,7 +15,7 @@
<label> <label>
<input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Primary" /> <input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Primary" />
<span>${OptionDownloadPrimaryImage}</span> <span>${Primary}</span>
</label> </label>
<label> <label>
@ -41,15 +41,15 @@
</label> </label>
<label> <label>
<input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Logo" /> <input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Logo" />
<span>${OptionDownloadLogoImage}</span> <span>${Logo}</span>
</label> </label>
<label> <label>
<input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Menu" /> <input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Menu" />
<span>${OptionDownloadMenuImage}</span> <span>${Menu}</span>
</label> </label>
<label> <label>
<input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Thumb" /> <input type="checkbox" is="emby-checkbox" class="imageType" data-imagetype="Thumb" />
<span>${OptionDownloadThumbImage}</span> <span>${Thumb}</span>
</label> </label>
</div> </div>
</div> </div>

View File

@ -11,7 +11,7 @@
<div class="selectContainer"> <div class="selectContainer">
<select is="emby-select" id="selectVideoDecoder" label="${LabelHardwareAccelerationType}"> <select is="emby-select" id="selectVideoDecoder" label="${LabelHardwareAccelerationType}">
<option value="">${OptionNone}</option> <option value="">${None}</option>
<option value="amf">AMD AMF</option> <option value="amf">AMD AMF</option>
<option value="qsv">Intel Quick Sync</option> <option value="qsv">Intel Quick Sync</option>
<option value="mediacodec">MediaCodec Android</option> <option value="mediacodec">MediaCodec Android</option>

View File

@ -6,7 +6,7 @@ import globalize from 'globalize';
/* eslint-disable indent */ /* eslint-disable indent */
function loadPage(page, config, users) { function loadPage(page, config, users) {
let html = '<option value="" selected="selected">' + globalize.translate('OptionNone') + '</option>'; let html = '<option value="" selected="selected">' + globalize.translate('None') + '</option>';
html += users.map(function (user) { html += users.map(function (user) {
return '<option value="' + user.Id + '">' + user.Name + '</option>'; return '<option value="' + user.Id + '">' + user.Name + '</option>';
}).join(''); }).join('');

View File

@ -43,10 +43,10 @@ import 'paper-icon-button-light';
name: globalize.translate('Books'), name: globalize.translate('Books'),
value: 'Book' value: 'Book'
}, { }, {
name: globalize.translate('OptionBlockChannelContent'), name: globalize.translate('Channels'),
value: 'ChannelContent' value: 'ChannelContent'
}, { }, {
name: globalize.translate('OptionBlockLiveTvChannels'), name: globalize.translate('LiveTV'),
value: 'LiveTvChannel' value: 'LiveTvChannel'
}, { }, {
name: globalize.translate('Movies'), name: globalize.translate('Movies'),
@ -55,10 +55,10 @@ import 'paper-icon-button-light';
name: globalize.translate('Music'), name: globalize.translate('Music'),
value: 'Music' value: 'Music'
}, { }, {
name: globalize.translate('OptionBlockTrailers'), name: globalize.translate('Trailers'),
value: 'Trailer' value: 'Trailer'
}, { }, {
name: globalize.translate('OptionBlockTvShows'), name: globalize.translate('Shows'),
value: 'Series' value: 'Series'
}]; }];
let html = ''; let html = '';

View File

@ -205,14 +205,14 @@
</div> </div>
<div id="specialsCollapsible" class="verticalSection detailVerticalSection hide"> <div id="specialsCollapsible" class="verticalSection detailVerticalSection hide">
<h2 class="sectionTitle sectionTitle-cards padded-right">${HeaderSpecialFeatures}</h2> <h2 class="sectionTitle sectionTitle-cards padded-right">${SpecialFeatures}</h2>
<div is="emby-scroller" class="padded-top-focusscale padded-bottom-focusscale" data-centerfocus="true"> <div is="emby-scroller" class="padded-top-focusscale padded-bottom-focusscale" data-centerfocus="true">
<div id="specialsContent" is="emby-itemscontainer" class="scrollSlider focuscontainer-x itemsContainer"></div> <div id="specialsContent" is="emby-itemscontainer" class="scrollSlider focuscontainer-x itemsContainer"></div>
</div> </div>
</div> </div>
<div id="musicVideosCollapsible" class="verticalSection detailVerticalSection hide"> <div id="musicVideosCollapsible" class="verticalSection detailVerticalSection hide">
<h2 class="sectionTitle sectionTitle-cards padded-right">${HeaderMusicVideos}</h2> <h2 class="sectionTitle sectionTitle-cards padded-right">${MusicVideos}</h2>
<div is="emby-scroller" class="padded-top-focusscale padded-bottom-focusscale" data-centerfocus="true"> <div is="emby-scroller" class="padded-top-focusscale padded-bottom-focusscale" data-centerfocus="true">
<div id="musicVideosContent" is="emby-itemscontainer" class="scrollSlider focuscontainer-x itemsContainer"></div> <div id="musicVideosContent" is="emby-itemscontainer" class="scrollSlider focuscontainer-x itemsContainer"></div>
</div> </div>

View File

@ -208,7 +208,7 @@ import 'emby-select';
}); });
const select = page.querySelector('.selectVideo'); const select = page.querySelector('.selectVideo');
select.setLabel(globalize.translate('LabelVideo')); select.setLabel(globalize.translate('Video'));
const selectedId = tracks.length ? tracks[0].Index : -1; const selectedId = tracks.length ? tracks[0].Index : -1;
select.innerHTML = tracks.map(function (v) { select.innerHTML = tracks.map(function (v) {
const selected = v.Index === selectedId ? ' selected' : ''; const selected = v.Index === selectedId ? ' selected' : '';

View File

@ -210,7 +210,7 @@ import 'emby-itemscontainer';
tabContent.querySelector('.btnSort').addEventListener('click', function (e) { tabContent.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('OptionNameSort'), name: globalize.translate('Name'),
id: 'SortName' id: 'SortName'
}, { }, {
name: globalize.translate('OptionImdbRating'), name: globalize.translate('OptionImdbRating'),

View File

@ -195,7 +195,7 @@ import 'emby-itemscontainer';
btnSort.addEventListener('click', function (e) { btnSort.addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('OptionNameSort'), name: globalize.translate('Name'),
id: 'SortName,ProductionYear' id: 'SortName,ProductionYear'
}, { }, {
name: globalize.translate('OptionImdbRating'), name: globalize.translate('OptionImdbRating'),

View File

@ -235,7 +235,7 @@ import 'emby-itemscontainer';
tabContent.querySelector('.btnSort').addEventListener('click', function (e) { tabContent.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('OptionNameSort'), name: globalize.translate('Name'),
id: 'SortName' id: 'SortName'
}, { }, {
name: globalize.translate('OptionImdbRating'), name: globalize.translate('OptionImdbRating'),

View File

@ -239,7 +239,7 @@ import 'emby-itemscontainer';
tabContent.querySelector('.btnSort').addEventListener('click', function (e) { tabContent.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('OptionNameSort'), name: globalize.translate('Name'),
id: 'SortName' id: 'SortName'
}, { }, {
name: globalize.translate('AlbumArtist'), name: globalize.translate('AlbumArtist'),

View File

@ -195,7 +195,7 @@ import 'emby-itemscontainer';
tabContent.querySelector('.btnSort').addEventListener('click', function (e) { tabContent.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('OptionNameSort'), name: globalize.translate('Name'),
id: 'SeriesSortName,SortName' id: 'SeriesSortName,SortName'
}, { }, {
name: globalize.translate('OptionTvdbRating'), name: globalize.translate('OptionTvdbRating'),

View File

@ -250,7 +250,7 @@ import 'emby-itemscontainer';
tabContent.querySelector('.btnSort').addEventListener('click', function (e) { tabContent.querySelector('.btnSort').addEventListener('click', function (e) {
libraryBrowser.showSortMenu({ libraryBrowser.showSortMenu({
items: [{ items: [{
name: globalize.translate('OptionNameSort'), name: globalize.translate('Name'),
id: 'SortName' id: 'SortName'
}, { }, {
name: globalize.translate('OptionImdbRating'), name: globalize.translate('OptionImdbRating'),

View File

@ -60,7 +60,7 @@ function renderItems(page, item) {
if (item.MusicVideoCount) { if (item.MusicVideoCount) {
sections.push({ sections.push({
name: globalize.translate('HeaderMusicVideos'), name: globalize.translate('MusicVideos'),
type: 'MusicVideo' type: 'MusicVideo'
}); });
} }

View File

@ -991,6 +991,7 @@
"MusicArtist": "Music Artist", "MusicArtist": "Music Artist",
"MusicLibraryHelp": "Review the {0}music naming guide{1}.", "MusicLibraryHelp": "Review the {0}music naming guide{1}.",
"MusicVideo": "Music Video", "MusicVideo": "Music Video",
"MusicVideos": "Music Videos",
"Mute": "Mute", "Mute": "Mute",
"MySubtitles": "My Subtitles", "MySubtitles": "My Subtitles",
"Name": "Name", "Name": "Name",
@ -1276,6 +1277,7 @@
"SortByValue": "Sort by {0}", "SortByValue": "Sort by {0}",
"SortChannelsBy": "Sort channels by:", "SortChannelsBy": "Sort channels by:",
"SortName": "Sort name", "SortName": "Sort name",
"SpecialFeatures": "Special Features",
"Sports": "Sports", "Sports": "Sports",
"StopRecording": "Stop recording", "StopRecording": "Stop recording",
"Studios": "Studios", "Studios": "Studios",
@ -1367,6 +1369,7 @@
"ValueTimeLimitSingleHour": "Time limit: 1 hour", "ValueTimeLimitSingleHour": "Time limit: 1 hour",
"ValueVideoCodec": "Video Codec: {0}", "ValueVideoCodec": "Video Codec: {0}",
"Vertical": "Vertical", "Vertical": "Vertical",
"Video": "Video",
"ViewAlbum": "View album", "ViewAlbum": "View album",
"ViewAlbumArtist": "View album artist", "ViewAlbumArtist": "View album artist",
"ViewPlaybackInfo": "View playback info", "ViewPlaybackInfo": "View playback info",