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

updated translations

This commit is contained in:
Luke Pulverenti 2014-07-05 11:01:29 -04:00
parent 46f9a6a331
commit 66a2e3ce93
4 changed files with 22 additions and 31 deletions

View file

@ -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();

View file

@ -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());

View file

@ -4,13 +4,6 @@
Dashboard.showLoadingMsg(); 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 // After saving chapter task, now save server config
ApiClient.getServerConfiguration().done(function (config) { ApiClient.getServerConfiguration().done(function (config) {
@ -24,9 +17,9 @@
ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () { ApiClient.updateNamedConfiguration("chapters", chapterConfig).done(function () {
navigateToNextPage(); Dashboard.hideLoadingMsg();
}); navigateToNextPage();
}); });
}); });
}); });

View file

@ -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>