1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update translations

This commit is contained in:
Luke Pulverenti 2014-07-11 00:27:46 -04:00
parent 6124369679
commit 5f578574d7
56 changed files with 291 additions and 456 deletions

View file

@ -10,28 +10,8 @@
var parentId = LibraryMenu.getTopParentId();
var options = {
IncludeItemTypes: "MusicAlbum",
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
Fields: "PrimaryImageAspectRatio",
ParentId: parentId
};
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
$('#recentlyAddedAlbums', page).html(LibraryBrowser.getPosterViewHtml({
items: items,
showUnplayedIndicator: false,
showChildCountIndicator: true,
shape: "square",
showTitle: true,
showParentTitle: true
})).createPosterItemMenus();
});
options = {
IncludeItemTypes: "Audio",
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
Fields: "PrimaryImageAspectRatio",
ParentId: parentId
};
@ -54,7 +34,7 @@
SortBy: "DatePlayed",
SortOrder: "Descending",
IncludeItemTypes: "Audio",
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
Limit: screenWidth >= 1920 ? 7 : (screenWidth >= 1440 ? 7 : 6),
Recursive: true,
Fields: "PrimaryImageAspectRatio,AudioInfo",
Filters: "IsPlayed",
@ -84,7 +64,7 @@
SortBy: "PlayCount",
SortOrder: "Descending",
IncludeItemTypes: "Audio",
Limit: screenWidth >= 1920 ? 16 : (screenWidth >= 1440 ? 16 : 12),
Limit: screenWidth >= 1920 ? 14 : (screenWidth >= 1440 ? 14 : 12),
Recursive: true,
Fields: "PrimaryImageAspectRatio,AudioInfo",
Filters: "IsPlayed",