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-09-08 21:15:31 -04:00
parent 8f3dc87100
commit 2a8364b21c
4 changed files with 40 additions and 6 deletions

View file

@ -84,7 +84,7 @@
<br />
</div>
</div>
<ul data-role="listview" class="ulForm">
<ul data-role="listview" class="ulForm" style="margin-bottom:0!important;">
<li>
<label>${HeaderExtractChapterImagesFor}</label>
<div data-role="controlgroup">
@ -100,6 +100,13 @@
</div>
</li>
</ul>
<div>
<label for="chkExtractChaptersDuringLibraryScan">${LabelExtractChaptersDuringLibraryScan}</label>
<input type="checkbox" id="chkExtractChaptersDuringLibraryScan" />
<div class="fieldDescription">${LabelExtractChaptersDuringLibraryScanHelp}</div>
</div>
<br />
</div>
</div>
@ -131,8 +138,8 @@
<input type="checkbox" id="chkPeopleOthers" />
<label for="chkPeopleOthers">${OptionOthers}</label>
<div class="fieldDescription">${HeaderDownloadPeopleMetadataForHelp}</div>
</div>
<div class="fieldDescription">${HeaderDownloadPeopleMetadataForHelp}</div>
</li>
</ul>
</div>

View file

@ -37,6 +37,8 @@
$('#chkDownloadChapterMovies', page).checked(config.DownloadMovieChapters).checkboxradio("refresh");
$('#chkDownloadChapterEpisodes', page).checked(config.DownloadEpisodeChapters).checkboxradio("refresh");
$('#chkExtractChaptersDuringLibraryScan', page).checked(config.ExtractDuringLibraryScan).checkboxradio("refresh");
renderChapterFetchers(page, config, providers);
Dashboard.hideLoadingMsg();
@ -205,6 +207,7 @@
config.DownloadMovieChapters = $('#chkDownloadChapterMovies', form).checked();
config.DownloadEpisodeChapters = $('#chkDownloadChapterEpisodes', form).checked();
config.ExtractDuringLibraryScan = $('#chkExtractChaptersDuringLibraryScan', form).checked();
config.DisabledFetchers = $('.chkChapterFetcher:not(:checked)', form).get().map(function (c) {

View file

@ -50,7 +50,15 @@
function navigateToNextPage() {
ApiClient.getSystemInfo().done(function(info) {
if (info.SupportsRunningAsService) {
Dashboard.navigate('wizardservice.html');
} else {
Dashboard.navigate('wizardfinish.html');
}
});
}
$(document).on('pageshow', "#wizardSettingsPage", function () {

View file

@ -1,9 +1,22 @@
(function ($, document, window) {
function onSaveComplete() {
function onSaveComplete(user) {
var userId = user.Id;
var metadataKey = "xbmcmetadata";
Dashboard.hideLoadingMsg();
ApiClient.getNamedConfiguration(metadataKey).done(function (config) {
config.UserId = userId;
ApiClient.updateNamedConfiguration(metadataKey, config).done(function () {
Dashboard.navigate('wizardlibrary.html');
});
});
}
function wizardUserPage() {
@ -25,7 +38,10 @@
user.Name = $('#txtUsername', form).val();
ApiClient.updateUser(user).done(onSaveComplete);
ApiClient.updateUser(user).done(function () {
onSaveComplete(user);
});
} else {