Fix translate Startup.js

This commit is contained in:
Bárbara Perretti 2013-10-14 16:58:14 -03:00
parent 187ea3334f
commit c4e70c38b6

View File

@ -41,7 +41,7 @@ erpnext.startup.show_expiry_banner = function() {
var msg = "";
if (0 <= diff && diff <= 10) {
var expiry_string = diff==0 ? "today" : repl("in %(diff)s day(s)", { diff: diff });
msg = repl(wn._('Your ERPNext subscription will <b>expire %(expiry_string)s</b>. %(payment_link)s')),
msg = repl(wn._('Your ERPNext subscription will <b>expire %(expiry_string)s</b>. %(payment_link)s'),
{ expiry_string: expiry_string, payment_link: payment_link });
} else if (diff < 0) {
msg = repl(wn._('This ERPNext subscription <b>has expired</b>. %(payment_link)s'), {payment_link: payment_link});