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();
|
$('#fldCommunityRating', page).hide();
|
||||||
$('#fldCommunityVoteCount', page).hide();
|
$('#fldCommunityVoteCount', page).hide();
|
||||||
$('#genresCollapsible', page).hide();
|
$('#genresCollapsible', page).hide();
|
||||||
$('#countriesCollapsible', page).hide();
|
|
||||||
$('#peopleCollapsible', page).hide();
|
$('#peopleCollapsible', page).hide();
|
||||||
$('#studiosCollapsible', page).hide();
|
$('#studiosCollapsible', page).hide();
|
||||||
|
|
||||||
|
@ -280,12 +279,17 @@
|
||||||
$('#fldCommunityVoteCount', page).show();
|
$('#fldCommunityVoteCount', page).show();
|
||||||
$('#genresCollapsible', page).show();
|
$('#genresCollapsible', page).show();
|
||||||
$('#peopleCollapsible', page).show();
|
$('#peopleCollapsible', page).show();
|
||||||
$('#countriesCollapsible', page).show();
|
|
||||||
$('#studiosCollapsible', page).show();
|
$('#studiosCollapsible', page).show();
|
||||||
$('#fldOfficialRating', page).show();
|
$('#fldOfficialRating', page).show();
|
||||||
$('#fldCustomRating', 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") {
|
if (item.Type == "TvChannel") {
|
||||||
$('#tagsCollapsible', page).hide();
|
$('#tagsCollapsible', page).hide();
|
||||||
$('#metadataSettingsCollapsible', page).hide();
|
$('#metadataSettingsCollapsible', page).hide();
|
||||||
|
|
|
@ -344,7 +344,7 @@
|
||||||
var options = {
|
var options = {
|
||||||
|
|
||||||
Limit: parseInt($('.playedIndicator', posterItem).html() || '10'),
|
Limit: parseInt($('.playedIndicator', posterItem).html() || '10'),
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio,DateCreated",
|
||||||
ParentId: itemId,
|
ParentId: itemId,
|
||||||
IsFolder: false,
|
IsFolder: false,
|
||||||
GroupItems: false
|
GroupItems: false
|
||||||
|
@ -361,12 +361,11 @@
|
||||||
var item = response1[0];
|
var item = response1[0];
|
||||||
var latestItems = response2[0];
|
var latestItems = response2[0];
|
||||||
|
|
||||||
if (latestItems.length == 1) {
|
//if (latestItems.length == 1) {
|
||||||
|
// var first = latestItems[0];
|
||||||
var first = latestItems[0];
|
// Dashboard.navigate(LibraryBrowser.getHref(first));
|
||||||
Dashboard.navigate(LibraryBrowser.getHref(first));
|
// return;
|
||||||
return;
|
//}
|
||||||
}
|
|
||||||
|
|
||||||
var html = '<div data-role="popup" class="groupingMenu" data-theme="a">';
|
var html = '<div data-role="popup" class="groupingMenu" data-theme="a">';
|
||||||
|
|
||||||
|
@ -412,7 +411,7 @@
|
||||||
itemHtml += LibraryBrowser.getPosterViewDisplayName(latestItem);
|
itemHtml += LibraryBrowser.getPosterViewDisplayName(latestItem);
|
||||||
itemHtml += '</h3>';
|
itemHtml += '</h3>';
|
||||||
|
|
||||||
var date = parseISO8601Date(item.DateCreated, { toLocal: true });
|
var date = parseISO8601Date(latestItem.DateCreated, { toLocal: true });
|
||||||
|
|
||||||
itemHtml += '<p>';
|
itemHtml += '<p>';
|
||||||
itemHtml += Globalize.translate('LabelAddedOnDate').replace('{0}', date.toLocaleDateString());
|
itemHtml += Globalize.translate('LabelAddedOnDate').replace('{0}', date.toLocaleDateString());
|
||||||
|
|
|
@ -4,29 +4,22 @@
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
|
||||||
ApiClient.ajax({
|
// After saving chapter task, now save server config
|
||||||
type: "POST",
|
ApiClient.getServerConfiguration().done(function (config) {
|
||||||
url: ApiClient.getUrl("System/Configuration/VideoImageExtraction", { Enabled: $('#chkVideoImages', page).checked() })
|
|
||||||
|
|
||||||
}).done(function () {
|
config.EnableUPnP = $('#chkEnableUpnp', page).checked();
|
||||||
|
|
||||||
|
ApiClient.updateServerConfiguration(config).done(function (result) {
|
||||||
|
|
||||||
// After saving chapter task, now save server config
|
ApiClient.getNamedConfiguration("chapters").done(function (chapterConfig) {
|
||||||
ApiClient.getServerConfiguration().done(function (config) {
|
|
||||||
|
|
||||||
config.EnableUPnP = $('#chkEnableUpnp', page).checked();
|
chapterConfig.EnableMovieChapterImageExtraction = $('#chkMovies', page).checked();
|
||||||
|
|
||||||
ApiClient.updateServerConfiguration(config).done(function (result) {
|
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
|
||||||
|
|
||||||
ApiClient.getNamedConfiguration("chapters").done(function (chapterConfig) {
|
Dashboard.hideLoadingMsg();
|
||||||
|
|
||||||
chapterConfig.EnableMovieChapterImageExtraction = $('#chkMovies', page).checked();
|
navigateToNextPage();
|
||||||
|
|
||||||
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
|
|
||||||
|
|
||||||
navigateToNextPage();
|
|
||||||
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -13,11 +13,6 @@
|
||||||
<img src="css/images/mblogoicon.png" />${LabelConfigureSettings}</h2>
|
<img src="css/images/mblogoicon.png" />${LabelConfigureSettings}</h2>
|
||||||
|
|
||||||
<br />
|
<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;">
|
<div style="margin: 2em 0;">
|
||||||
<label for="chkMovies">${LabelEnableChapterImageExtractionForMovies}</label>
|
<label for="chkMovies">${LabelEnableChapterImageExtractionForMovies}</label>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue