mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update translations
This commit is contained in:
parent
dd55a5fe61
commit
6b91120cb9
84 changed files with 619 additions and 385 deletions
|
@ -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'));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue