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

@ -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() {
Dashboard.navigate('wizardservice.html');
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();
Dashboard.navigate('wizardlibrary.html');
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 {