mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove some duplicate strings
This commit is contained in:
parent
23a55ed048
commit
67ce56da95
15 changed files with 21 additions and 21 deletions
|
@ -162,7 +162,7 @@
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription fldBackdrops hide">
|
<div class="checkboxContainer checkboxContainer-withDescription fldBackdrops hide">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" id="chkBackdrops" />
|
<input type="checkbox" is="emby-checkbox" id="chkBackdrops" />
|
||||||
<span>${EnableBackdrops}</span>
|
<span>${Backdrops}</span>
|
||||||
</label>
|
</label>
|
||||||
<div class="fieldDescription checkboxFieldDescription">${EnableBackdropsHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${EnableBackdropsHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -547,7 +547,7 @@ function Guide(options) {
|
||||||
} else if (program.IsPremiere && options.showPremiereIndicator) {
|
} else if (program.IsPremiere && options.showPremiereIndicator) {
|
||||||
indicatorHtml = '<span class="premiereTvProgram guideProgramIndicator">' + globalize.translate('Premiere') + '</span>';
|
indicatorHtml = '<span class="premiereTvProgram guideProgramIndicator">' + globalize.translate('Premiere') + '</span>';
|
||||||
} else if (program.IsSeries && !program.IsRepeat && options.showNewIndicator) {
|
} else if (program.IsSeries && !program.IsRepeat && options.showNewIndicator) {
|
||||||
indicatorHtml = '<span class="newTvProgram guideProgramIndicator">' + globalize.translate('AttributeNew') + '</span>';
|
indicatorHtml = '<span class="newTvProgram guideProgramIndicator">' + globalize.translate('New') + '</span>';
|
||||||
} else if (program.IsSeries && program.IsRepeat && options.showRepeatIndicator) {
|
} else if (program.IsSeries && program.IsRepeat && options.showRepeatIndicator) {
|
||||||
indicatorHtml = '<span class="repeatTvProgram guideProgramIndicator">' + globalize.translate('Repeat') + '</span>';
|
indicatorHtml = '<span class="repeatTvProgram guideProgramIndicator">' + globalize.translate('Repeat') + '</span>';
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,7 +76,7 @@ import 'flexStyles';
|
||||||
confirm({
|
confirm({
|
||||||
title: globalize.translate('HeaderRemoveMediaLocation'),
|
title: globalize.translate('HeaderRemoveMediaLocation'),
|
||||||
text: globalize.translate('MessageConfirmRemoveMediaLocation'),
|
text: globalize.translate('MessageConfirmRemoveMediaLocation'),
|
||||||
confirmText: globalize.translate('ButtonDelete'),
|
confirmText: globalize.translate('Delete'),
|
||||||
primary: 'delete'
|
primary: 'delete'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
const refreshAfterChange = currentOptions.refresh;
|
const refreshAfterChange = currentOptions.refresh;
|
||||||
|
|
|
@ -208,7 +208,7 @@ import 'emby-button';
|
||||||
});
|
});
|
||||||
} else if (item.IsSeries && !item.IsRepeat) {
|
} else if (item.IsSeries && !item.IsRepeat) {
|
||||||
miscInfo.push({
|
miscInfo.push({
|
||||||
html: `<div class="mediaInfoProgramAttribute mediaInfoItem newTvProgram">${globalize.translate('AttributeNew')}</div>`
|
html: `<div class="mediaInfoProgramAttribute mediaInfoItem newTvProgram">${globalize.translate('New')}</div>`
|
||||||
});
|
});
|
||||||
} else if (item.IsSeries && item.IsRepeat) {
|
} else if (item.IsSeries && item.IsRepeat) {
|
||||||
miscInfo.push({
|
miscInfo.push({
|
||||||
|
|
|
@ -737,7 +737,7 @@ import 'emby-itemscontainer';
|
||||||
shutdown: function (btn) {
|
shutdown: function (btn) {
|
||||||
import('confirm').then(({default: confirm}) => {
|
import('confirm').then(({default: confirm}) => {
|
||||||
confirm({
|
confirm({
|
||||||
title: globalize.translate('HeaderShutdown'),
|
title: globalize.translate('ButtonShutdown'),
|
||||||
text: globalize.translate('MessageConfirmShutdown'),
|
text: globalize.translate('MessageConfirmShutdown'),
|
||||||
confirmText: globalize.translate('ButtonShutdown'),
|
confirmText: globalize.translate('ButtonShutdown'),
|
||||||
primary: 'delete'
|
primary: 'delete'
|
||||||
|
|
|
@ -21,7 +21,7 @@ import 'cardStyle';
|
||||||
confirm({
|
confirm({
|
||||||
text: msg,
|
text: msg,
|
||||||
title: globalize.translate('HeaderDeleteDevice'),
|
title: globalize.translate('HeaderDeleteDevice'),
|
||||||
confirmText: globalize.translate('ButtonDelete'),
|
confirmText: globalize.translate('Delete'),
|
||||||
primary: 'delete'
|
primary: 'delete'
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
loading.show();
|
loading.show();
|
||||||
|
|
|
@ -231,31 +231,31 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="tabContent tabDirectPlayProfiles">
|
<div class="tabContent tabDirectPlayProfiles">
|
||||||
<p>${HeaderDirectPlayProfileHelp}</p>
|
<p>${HeaderDirectPlayProfileHelp}</p>
|
||||||
<button is="emby-button" class="raised submit block btnAddDirectPlayProfile" type="button" data-mini="true" data-icon="plus">${ButtonNew}</button>
|
<button is="emby-button" class="raised submit block btnAddDirectPlayProfile" type="button" data-mini="true" data-icon="plus">${New}</button>
|
||||||
<br />
|
<br />
|
||||||
<div class="directPlayProfiles"></div>
|
<div class="directPlayProfiles"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabContent tabTranscodingProfiles">
|
<div class="tabContent tabTranscodingProfiles">
|
||||||
<p>${HeaderTranscodingProfileHelp}</p>
|
<p>${HeaderTranscodingProfileHelp}</p>
|
||||||
<button is="emby-button" class="raised submit block btnAddTranscodingProfile" type="button" data-mini="true" data-icon="plus">${ButtonNew}</button>
|
<button is="emby-button" class="raised submit block btnAddTranscodingProfile" type="button" data-mini="true" data-icon="plus">${New}</button>
|
||||||
<br />
|
<br />
|
||||||
<div class="transcodingProfiles"></div>
|
<div class="transcodingProfiles"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabContent tabContainerProfiles">
|
<div class="tabContent tabContainerProfiles">
|
||||||
<p>${HeaderContainerProfileHelp}</p>
|
<p>${HeaderContainerProfileHelp}</p>
|
||||||
<button is="emby-button" class="raised submit block btnAddContainerProfile" type="button" data-mini="true" data-icon="plus">${ButtonNew}</button>
|
<button is="emby-button" class="raised submit block btnAddContainerProfile" type="button" data-mini="true" data-icon="plus">${New}</button>
|
||||||
<br />
|
<br />
|
||||||
<div class="containerProfiles"></div>
|
<div class="containerProfiles"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabContent tabCodecProfiles">
|
<div class="tabContent tabCodecProfiles">
|
||||||
<p>${HeaderCodecProfileHelp}</p>
|
<p>${HeaderCodecProfileHelp}</p>
|
||||||
<button is="emby-button" class="raised submit block btnAddCodecProfile" type="button" data-icon="plus">${ButtonNew}</button>
|
<button is="emby-button" class="raised submit block btnAddCodecProfile" type="button" data-icon="plus">${New}</button>
|
||||||
<br />
|
<br />
|
||||||
<div class="codecProfiles"></div>
|
<div class="codecProfiles"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tabContent tabMediaProfiles">
|
<div class="tabContent tabMediaProfiles">
|
||||||
<p>${HeaderResponseProfileHelp}</p>
|
<p>${HeaderResponseProfileHelp}</p>
|
||||||
<button is="emby-button" class="raised submit block btnAddResponseProfile" type="button" data-mini="true" data-icon="plus">${ButtonNew}</button>
|
<button is="emby-button" class="raised submit block btnAddResponseProfile" type="button" data-mini="true" data-icon="plus">${New}</button>
|
||||||
<br />
|
<br />
|
||||||
<div class="mediaProfiles"></div>
|
<div class="mediaProfiles"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -46,7 +46,7 @@ import 'emby-button';
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
if (profile.Type == 'User') {
|
if (profile.Type == 'User') {
|
||||||
html += '<button type="button" is="paper-icon-button-light" class="btnDeleteProfile" data-profileid="' + profile.Id + '" title="' + globalize.translate('ButtonDelete') + '"><span class="material-icons delete"></span></button>';
|
html += '<button type="button" is="paper-icon-button-light" class="btnDeleteProfile" data-profileid="' + profile.Id + '" title="' + globalize.translate('Delete') + '"><span class="material-icons delete"></span></button>';
|
||||||
}
|
}
|
||||||
|
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
|
@ -69,7 +69,7 @@ function getRepositoryHtml(repository) {
|
||||||
html += `<h3 class="listItemBodyText">${repository.Name}</h3>`;
|
html += `<h3 class="listItemBodyText">${repository.Name}</h3>`;
|
||||||
html += `<div class="listItemBodyText secondary">${repository.Url}</div>`;
|
html += `<div class="listItemBodyText secondary">${repository.Url}</div>`;
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
html += `<button type="button" is="paper-icon-button-light" id="${repository.Url}" class="btnDelete" title="${globalize.translate('ButtonDelete')}"><span class="material-icons delete"></span></button>`;
|
html += `<button type="button" is="paper-icon-button-light" id="${repository.Url}" class="btnDelete" title="${globalize.translate('Delete')}"><span class="material-icons delete"></span></button>`;
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
return html;
|
return html;
|
||||||
|
|
|
@ -75,7 +75,7 @@ import 'emby-select';
|
||||||
}
|
}
|
||||||
|
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
html += '<button class="btnDeleteTrigger" data-index="' + i + '" type="button" is="paper-icon-button-light" title="' + globalize.translate('ButtonDelete') + '"><span class="material-icons delete"></span></button>';
|
html += '<button class="btnDeleteTrigger" data-index="' + i + '" type="button" is="paper-icon-button-light" title="' + globalize.translate('Delete') + '"><span class="material-icons delete"></span></button>';
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ import 'flexStyles';
|
||||||
confirm({
|
confirm({
|
||||||
title: globalize.translate('DeleteUser'),
|
title: globalize.translate('DeleteUser'),
|
||||||
text: msg,
|
text: msg,
|
||||||
confirmText: globalize.translate('ButtonDelete'),
|
confirmText: globalize.translate('Delete'),
|
||||||
primary: 'delete'
|
primary: 'delete'
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
loading.show();
|
loading.show();
|
||||||
|
@ -50,7 +50,7 @@ import 'flexStyles';
|
||||||
icon: 'person'
|
icon: 'person'
|
||||||
});
|
});
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
name: globalize.translate('ButtonDelete'),
|
name: globalize.translate('Delete'),
|
||||||
id: 'delete',
|
id: 'delete',
|
||||||
icon: 'delete'
|
icon: 'delete'
|
||||||
});
|
});
|
||||||
|
|
|
@ -1435,7 +1435,7 @@ import 'emby-select';
|
||||||
name: globalize.translate('HeaderSeries'),
|
name: globalize.translate('HeaderSeries'),
|
||||||
type: 'Series'
|
type: 'Series'
|
||||||
}, {
|
}, {
|
||||||
name: globalize.translate('HeaderAlbums'),
|
name: globalize.translate('Albums'),
|
||||||
type: 'MusicAlbum'
|
type: 'MusicAlbum'
|
||||||
}, {
|
}, {
|
||||||
name: globalize.translate('HeaderBooks'),
|
name: globalize.translate('HeaderBooks'),
|
||||||
|
|
|
@ -137,7 +137,7 @@ function renderProviders(page, providers) {
|
||||||
function showProviderOptions(page, providerId, button) {
|
function showProviderOptions(page, providerId, button) {
|
||||||
const items = [];
|
const items = [];
|
||||||
items.push({
|
items.push({
|
||||||
name: globalize.translate('ButtonDelete'),
|
name: globalize.translate('Delete'),
|
||||||
id: 'delete'
|
id: 'delete'
|
||||||
});
|
});
|
||||||
items.push({
|
items.push({
|
||||||
|
@ -255,7 +255,7 @@ function addDevice(button) {
|
||||||
function showDeviceMenu(button, tunerDeviceId) {
|
function showDeviceMenu(button, tunerDeviceId) {
|
||||||
const items = [];
|
const items = [];
|
||||||
items.push({
|
items.push({
|
||||||
name: globalize.translate('ButtonDelete'),
|
name: globalize.translate('Delete'),
|
||||||
id: 'delete'
|
id: 'delete'
|
||||||
});
|
});
|
||||||
items.push({
|
items.push({
|
||||||
|
|
|
@ -179,7 +179,7 @@ import 'flexStyles';
|
||||||
return [{
|
return [{
|
||||||
name: globalize.translate('Suggestions')
|
name: globalize.translate('Suggestions')
|
||||||
}, {
|
}, {
|
||||||
name: globalize.translate('TabAlbums')
|
name: globalize.translate('Albums')
|
||||||
}, {
|
}, {
|
||||||
name: globalize.translate('TabAlbumArtists')
|
name: globalize.translate('TabAlbumArtists')
|
||||||
}, {
|
}, {
|
||||||
|
|
|
@ -53,7 +53,7 @@ function renderItems(page, item) {
|
||||||
|
|
||||||
if (item.AlbumCount) {
|
if (item.AlbumCount) {
|
||||||
sections.push({
|
sections.push({
|
||||||
name: globalize.translate('TabAlbums'),
|
name: globalize.translate('Albums'),
|
||||||
type: 'MusicAlbum'
|
type: 'MusicAlbum'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue