update translations

This commit is contained in:
Luke Pulverenti 2015-02-05 16:14:08 -05:00
parent a44bf2f9c9
commit 0fa6a27827
4 changed files with 12 additions and 13 deletions

View File

@ -450,7 +450,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
}
.portraitDetailImageContainer img {
max-width: 240px;
max-width: 210px;
max-height: 300px;
}

View File

@ -405,7 +405,7 @@
}
html += '<li><a href="' + href + '">' + Globalize.translate('ButtonOpen') + '</a></li>';
html += '<li><a href="' + href + '" target="_blank">' + Globalize.translate('ButtonOpenInNewTab') + '</a></li>';
//html += '<li><a href="' + href + '" target="_blank">' + Globalize.translate('ButtonOpenInNewTab') + '</a></li>';
if (options.showPlayOptions !== false) {

View File

@ -153,11 +153,9 @@
var cardBoxCssClass = 'cardBox visualCardBox';
var syncJobPage = 'syncjob.html';
var showHelpButtons = false;
if ($(page).hasClass('mySyncPage')) {
syncJobPage = 'mysyncjob.html';
showHelpButtons = true;
}
for (var i = 0, length = jobs.length; i < length; i++) {
@ -179,13 +177,6 @@
html += '<div style="display:inline-block;vertical-align:middle;">' + targetName + '</div>';
if (showHelpButtons) {
html += '<a class="accentButton accentButton-g" style="display:inline-block;vertical-align:middle;margin-top:0;margin-left: 20px;" href="https://github.com/MediaBrowser/Wiki/wiki/Sync" target="_blank">';
html += '<i class="fa fa-info-circle"></i>';
html += Globalize.translate('ButtonHelp');
html += '</a>';
}
html += '</div>';
}

View File

@ -30,7 +30,11 @@
$('.folderAccess', page).html(html).trigger('create');
$('#chkEnableAllFolders', page).checked(user.Policy.EnableAllFolders).checkboxradio('refresh').trigger('change');
if (user.Policy.BlockedMediaFolders != null) {
$('#chkEnableAllFolders', page).checked(user.Policy.BlockedMediaFolders.length == 0).checkboxradio('refresh').trigger('change');
} else {
$('#chkEnableAllFolders', page).checked(user.Policy.EnableAllFolders).checkboxradio('refresh').trigger('change');
}
}
function loadChannels(page, user, channels) {
@ -69,7 +73,11 @@
$('.channelAccessContainer', page).hide();
}
$('#chkEnableAllChannels', page).checked(user.Policy.EnableAllChannels).checkboxradio('refresh').trigger('change');
if (user.Policy.BlockedChannels != null) {
$('#chkEnableAllChannels', page).checked(user.Policy.BlockedChannels.length == 0).checkboxradio('refresh').trigger('change');
} else {
$('#chkEnableAllChannels', page).checked(user.Policy.EnableAllChannels).checkboxradio('refresh').trigger('change');
}
}
function loadDevices(page, user, devices) {