mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
updated translations
This commit is contained in:
parent
46f9a6a331
commit
66a2e3ce93
4 changed files with 22 additions and 31 deletions
|
@ -265,7 +265,6 @@
|
|||
$('#fldCommunityRating', page).hide();
|
||||
$('#fldCommunityVoteCount', page).hide();
|
||||
$('#genresCollapsible', page).hide();
|
||||
$('#countriesCollapsible', page).hide();
|
||||
$('#peopleCollapsible', page).hide();
|
||||
$('#studiosCollapsible', page).hide();
|
||||
|
||||
|
@ -280,12 +279,17 @@
|
|||
$('#fldCommunityVoteCount', page).show();
|
||||
$('#genresCollapsible', page).show();
|
||||
$('#peopleCollapsible', page).show();
|
||||
$('#countriesCollapsible', page).show();
|
||||
$('#studiosCollapsible', page).show();
|
||||
$('#fldOfficialRating', page).show();
|
||||
$('#fldCustomRating', page).show();
|
||||
}
|
||||
|
||||
if (item.Type == "Movie" || item.Type == "AdultVideo" || item.Type == "Trailer" || item.Type == "MusicArtist") {
|
||||
$('#countriesCollapsible', page).show();
|
||||
} else {
|
||||
$('#countriesCollapsible', page).hide();
|
||||
}
|
||||
|
||||
if (item.Type == "TvChannel") {
|
||||
$('#tagsCollapsible', page).hide();
|
||||
$('#metadataSettingsCollapsible', page).hide();
|
||||
|
|
|
@ -344,7 +344,7 @@
|
|||
var options = {
|
||||
|
||||
Limit: parseInt($('.playedIndicator', posterItem).html() || '10'),
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
Fields: "PrimaryImageAspectRatio,DateCreated",
|
||||
ParentId: itemId,
|
||||
IsFolder: false,
|
||||
GroupItems: false
|
||||
|
@ -361,12 +361,11 @@
|
|||
var item = response1[0];
|
||||
var latestItems = response2[0];
|
||||
|
||||
if (latestItems.length == 1) {
|
||||
|
||||
var first = latestItems[0];
|
||||
Dashboard.navigate(LibraryBrowser.getHref(first));
|
||||
return;
|
||||
}
|
||||
//if (latestItems.length == 1) {
|
||||
// var first = latestItems[0];
|
||||
// Dashboard.navigate(LibraryBrowser.getHref(first));
|
||||
// return;
|
||||
//}
|
||||
|
||||
var html = '<div data-role="popup" class="groupingMenu" data-theme="a">';
|
||||
|
||||
|
@ -412,7 +411,7 @@
|
|||
itemHtml += LibraryBrowser.getPosterViewDisplayName(latestItem);
|
||||
itemHtml += '</h3>';
|
||||
|
||||
var date = parseISO8601Date(item.DateCreated, { toLocal: true });
|
||||
var date = parseISO8601Date(latestItem.DateCreated, { toLocal: true });
|
||||
|
||||
itemHtml += '<p>';
|
||||
itemHtml += Globalize.translate('LabelAddedOnDate').replace('{0}', date.toLocaleDateString());
|
||||
|
|
|
@ -4,13 +4,6 @@
|
|||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.ajax({
|
||||
type: "POST",
|
||||
url: ApiClient.getUrl("System/Configuration/VideoImageExtraction", { Enabled: $('#chkVideoImages', page).checked() })
|
||||
|
||||
}).done(function () {
|
||||
|
||||
|
||||
// After saving chapter task, now save server config
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
|
@ -24,9 +17,9 @@
|
|||
|
||||
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
|
||||
|
||||
navigateToNextPage();
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
});
|
||||
navigateToNextPage();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
<img src="css/images/mblogoicon.png" />${LabelConfigureSettings}</h2>
|
||||
|
||||
<br />
|
||||
<div style="margin: 1em 0 2em;">
|
||||
<label for="chkVideoImages">${LabelEnableVideoImageExtraction}</label>
|
||||
<input id="chkVideoImages" name="chkVideoImages" type="checkbox" checked="checked" />
|
||||
<div class="fieldDescription">${VideoImageExtractionHelp}</div>
|
||||
</div>
|
||||
|
||||
<div style="margin: 2em 0;">
|
||||
<label for="chkMovies">${LabelEnableChapterImageExtractionForMovies}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue