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 2015-07-29 22:08:35 -04:00
parent dd55a5fe61
commit 6b91120cb9
84 changed files with 619 additions and 385 deletions

View file

@ -295,10 +295,20 @@
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
if (pluginSecurityInfo.IsMBSupporter || !AppInfo.enableSupporterMembership) {
$('.supporterPromotionContainer', hide).show();
if (pluginSecurityInfo.IsMBSupporter) {
$('.supporterPromotionContainer', page).hide();
} else {
$('.supporterPromotionContainer', page).show();
if (AppInfo.enableSupporterMembership) {
$('.supporterPromotion a', page).attr('href', 'http://emby.media/donate');
$('.supporterPromotion .btnLearnMore', page).show();
$('.supporterPromotion .mainText', page).html(Globalize.translate('HeaderSyncRequiresSupporterMembership'));
} else {
$('.supporterPromotion a', page).attr('href', '#');
$('.supporterPromotion .btnLearnMore', page).hide();
$('.supporterPromotion .mainText', page).html(Globalize.translate('HeaderSyncRequiresSupporterMembershipAppVersion'));
}
}
});