mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update identifier
This commit is contained in:
parent
41eeda7bab
commit
bb142cf26e
46 changed files with 879 additions and 130 deletions
|
@ -369,7 +369,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
|
||||
if (showMoreButton) {
|
||||
html += '<div class="listItemsMoreButtonContainer">';
|
||||
html += '<button is="emby-button" class="listItemsMoreButton raised" data-parentid="' + options.parentId + '" data-indextype="Genres" data-indexvalue="' + item.Id + '">' + globalize.translate('core#More') + '</button>';
|
||||
html += '<button is="emby-button" class="listItemsMoreButton raised" data-parentid="' + options.parentId + '" data-indextype="Genres" data-indexvalue="' + item.Id + '">' + globalize.translate('sharedcomponents#More') + '</button>';
|
||||
html += '</div>';
|
||||
}
|
||||
|
||||
|
@ -383,13 +383,13 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
function getDisplayDateText(date) {
|
||||
|
||||
var weekday = [];
|
||||
weekday[0] = globalize.translate('core#OptionSunday');
|
||||
weekday[1] = globalize.translate('core#OptionMonday');
|
||||
weekday[2] = globalize.translate('core#OptionTuesday');
|
||||
weekday[3] = globalize.translate('core#OptionWednesday');
|
||||
weekday[4] = globalize.translate('core#OptionThursday');
|
||||
weekday[5] = globalize.translate('core#OptionFriday');
|
||||
weekday[6] = globalize.translate('core#OptionSaturday');
|
||||
weekday[0] = globalize.translate('sharedcomponents#Sunday');
|
||||
weekday[1] = globalize.translate('sharedcomponents#Monday');
|
||||
weekday[2] = globalize.translate('sharedcomponents#Tuesday');
|
||||
weekday[3] = globalize.translate('sharedcomponents#Wednesday');
|
||||
weekday[4] = globalize.translate('sharedcomponents#Thursday');
|
||||
weekday[5] = globalize.translate('sharedcomponents#Friday');
|
||||
weekday[6] = globalize.translate('sharedcomponents#Saturday');
|
||||
|
||||
var day = weekday[date.getDay()];
|
||||
date = date.toLocaleDateString();
|
||||
|
@ -744,8 +744,8 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
|
||||
if (item.SongCount) {
|
||||
songLine = item.SongCount == 1 ?
|
||||
globalize.translate('ValueOneSong') :
|
||||
globalize.translate('ValueSongCount', item.SongCount);
|
||||
globalize.translate('sharedcomponents#ValueOneSong') :
|
||||
globalize.translate('sharedcomponents#ValueSongCount', item.SongCount);
|
||||
}
|
||||
|
||||
lines.push(songLine);
|
||||
|
@ -815,7 +815,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
|
||||
if (item.Status == "Continuing") {
|
||||
|
||||
lines.push(globalize.translate('ValueSeriesYearToPresent', item.ProductionYear || ''));
|
||||
lines.push(globalize.translate('sharedcomponents#SeriesYearToPresent', item.ProductionYear || ''));
|
||||
|
||||
} else {
|
||||
lines.push(item.ProductionYear || '');
|
||||
|
@ -901,14 +901,6 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
|
||||
counts.push(childText);
|
||||
}
|
||||
if (item.TrailerCount) {
|
||||
|
||||
childText = item.TrailerCount == 1 ?
|
||||
globalize.translate('ValueOneTrailer') :
|
||||
globalize.translate('ValueTrailerCount', item.TrailerCount);
|
||||
|
||||
counts.push(childText);
|
||||
}
|
||||
|
||||
if (item.SeriesCount) {
|
||||
|
||||
|
@ -940,8 +932,8 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
if (item.GameCount) {
|
||||
|
||||
childText = item.GameCount == 1 ?
|
||||
globalize.translate('ValueOneGame') :
|
||||
globalize.translate('ValueGameCount', item.GameCount);
|
||||
globalize.translate('sharedcomponents#ValueOneGame') :
|
||||
globalize.translate('sharedcomponents#ValueGameCount', item.GameCount);
|
||||
|
||||
counts.push(childText);
|
||||
}
|
||||
|
@ -950,24 +942,24 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
if (item.AlbumCount) {
|
||||
|
||||
childText = item.AlbumCount == 1 ?
|
||||
globalize.translate('ValueOneAlbum') :
|
||||
globalize.translate('ValueAlbumCount', item.AlbumCount);
|
||||
globalize.translate('sharedcomponents#ValueOneAlbum') :
|
||||
globalize.translate('sharedcomponents#ValueAlbumCount', item.AlbumCount);
|
||||
|
||||
counts.push(childText);
|
||||
}
|
||||
if (item.SongCount) {
|
||||
|
||||
childText = item.SongCount == 1 ?
|
||||
globalize.translate('ValueOneSong') :
|
||||
globalize.translate('ValueSongCount', item.SongCount);
|
||||
globalize.translate('sharedcomponents#ValueOneSong') :
|
||||
globalize.translate('sharedcomponents#ValueSongCount', item.SongCount);
|
||||
|
||||
counts.push(childText);
|
||||
}
|
||||
if (item.MusicVideoCount) {
|
||||
|
||||
childText = item.MusicVideoCount == 1 ?
|
||||
globalize.translate('ValueOneMusicVideo') :
|
||||
globalize.translate('ValueMusicVideoCount', item.MusicVideoCount);
|
||||
globalize.translate('sharedcomponents#ValueOneMusicVideo') :
|
||||
globalize.translate('sharedcomponents#ValueMusicVideoCount', item.MusicVideoCount);
|
||||
|
||||
counts.push(childText);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue