update translations

This commit is contained in:
Luke Pulverenti 2014-12-13 16:26:04 -05:00
parent a2b7ece263
commit 66b7d55c95
4 changed files with 37 additions and 16 deletions

View File

@ -149,16 +149,16 @@ h1 a:hover {
}
.largePanel {
width: 250px;
width: 270px;
}
/* Make panels larger */
.largePanelModalOpen.ui-panel-dismiss-position-right {
right: 250px !important;
right: 270px !important;
}
.largePanelModalOpen.ui-panel-dismiss-position-left {
left: 250px !important;
left: 270px !important;
}

View File

@ -176,7 +176,7 @@
var task = tasks.filter(function (t) {
return t.Name == 'Refresh Guide';
return t.Key == 'RefreshGuide';
})[0];

View File

@ -376,7 +376,7 @@ var WizardLibraryPage = {
var task = tasks.filter(function (t) {
return t.Name == 'Scan media library';
return t.Key == 'RefreshLibrary';
})[0];

View File

@ -35,9 +35,12 @@
return i.Id || i;
}).join(','),
Quality: $('.radioSyncQuality', form)[0].getAttribute('data-value'),
Quality: $('#selectQuality', form).val(),
Name: $('#txtSyncJobName', form).val()
Name: $('#txtSyncJobName', form).val(),
SyncNewContent: $('#chkSyncNewContent', form).checked(),
UnwatchedOnly: $('#chkUnwatchedOnly', form).checked()
};
ApiClient.ajax({
@ -104,17 +107,35 @@
html += '<br/>';
html += '<div>';
html += '<fieldset data-role="controlgroup">';
html += '<legend>' + Globalize.translate('LabelQuality') + '</legend>';
html += '<label for="radioHighSyncQuality">' + Globalize.translate('OptionHigh') + '</label>';
html += '<input type="radio" id="radioHighSyncQuality" name="radioSyncQuality" checked="checked" class="radioSyncQuality" data-value="High" />';
html += '<label for="radioMediumSyncQuality">' + Globalize.translate('OptionMedium') + '</label>';
html += '<input type="radio" id="radioMediumSyncQuality" name="radioSyncQuality" class="radioSyncQuality" data-value="Medium" />';
html += '<label for="radioLowSyncQuality">' + Globalize.translate('OptionLow') + '</label>';
html += '<input type="radio" id="radioLowSyncQuality" name="radioSyncQuality" class="radioSyncQuality" data-value="Low" />';
html += '</fieldset>';
html += '<label for="selectQuality">' + Globalize.translate('LabelQuality') + '</label>';
html += '<select id="selectQuality" data-mini="true">';
html += '<option value="High">' + Globalize.translate('OptionHigh') + '</option>';
html += '<option value="Medium">' + Globalize.translate('OptionMedium') + '</option>';
html += '<option value="Low">' + Globalize.translate('OptionLow') + '</option>';
html += '</select>';
html += '</div>';
//html += '<div data-role="collapsible" style="margin:1.5em 0">';
//html += '<h2>' + Globalize.translate('HeaderSettings') + '</h2>';
//html += '<div style="margin:0 -.5em 0 -.25em;">';
html += '<br/>';
html += '<div>';
html += '<label for="chkSyncNewContent">' + Globalize.translate('OptionAutomaticallySyncNewContent') + '</label>';
html += '<input type="checkbox" id="chkSyncNewContent" data-mini="true" />';
html += '<div class="fieldDescription">' + Globalize.translate('OptionAutomaticallySyncNewContentHelp') + '</div>';
html += '</div>';
html += '<br/>';
html += '<div>';
html += '<label for="chkUnwatchedOnly">' + Globalize.translate('OptionSyncUnwatchedVideosOnly') + '</label>';
html += '<input type="checkbox" id="chkUnwatchedOnly" data-mini="true" />';
html += '<div class="fieldDescription">' + Globalize.translate('OptionSyncUnwatchedVideosOnlyHelp') + '</div>';
html += '</div>';
//html += '</div>';
//html += '</div>';
html += '<br/>';
html += '<p>';
html += '<button type="submit" data-icon="refresh" data-theme="b">' + Globalize.translate('ButtonSync') + '</button>';