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-10 21:57:11 -04:00
parent 8c65052f02
commit 2b5141aff0

View file

@ -104,14 +104,14 @@
if (info.IsActiveSupporter && info.PlanType == 'Lifetime') { if (info.IsActiveSupporter && info.PlanType == 'Lifetime') {
$('.planSummary', page) $('.planSummary', page)
.html('You have a lifetime supporter membership. You can provide additional donations on a one-time or recurring basis using the options below. Thank you for supporting Media Browser.') .html(Globalize.translate('MessageYouHaveALifetimeMembership'))
.css('color', 'blue'); .css('color', 'blue');
} }
else if (info.IsActiveSupporter) { else if (info.IsActiveSupporter) {
$('.planSummary', page) $('.planSummary', page)
.html('You have an active ' + info.PlanType + ' membership. You can upgrade your plan using the options below.') .html(Globalize.translate('MessageYouHaveAnActiveRecurringMembership').replace('{0}', info.PlanType))
.css('color', 'blue'); .css('color', 'blue');
} }
@ -121,7 +121,7 @@
expirationDate = expirationDate.toLocaleDateString(); expirationDate = expirationDate.toLocaleDateString();
$('.planSummary', page) $('.planSummary', page)
.html('Your ' + info.PlanType + ' membership expired on ' + expirationDate + '.') .html(Globalize.translate('MessageSupporterMembershipExpiredOn').replace('{0}', expirationDate))
.css('color', 'red'); .css('color', 'red');
} }
}); });
@ -208,7 +208,7 @@
if (currentPlanType != 'Lifetime') { if (currentPlanType != 'Lifetime') {
// Use a regular alert to block the submission process until they hit ok // Use a regular alert to block the submission process until they hit ok
alert('After completing this transaction you will need to cancel your previous recurring donation from within your PayPal account. Thank you for supporting Media Browser.'); alert(Globalize.translate('MessageChangeRecurringPlanConfirm'));
} }
} }