Fix translate accounts/page/general_ledger/general_ledger.js

This commit is contained in:
Bárbara Perretti 2013-10-15 15:52:57 -03:00
parent ac0e261eee
commit 32af5cd62e

View File

@ -237,7 +237,7 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
closing.credit = opening.credit + totals.credit; closing.credit = opening.credit + totals.credit;
if(me.account) { if(me.account) {
me.appframe.set_title("General Ledger: " + me.account); me.appframe.set_title(wn._("General Ledger: ") + me.account);
// group by ledgers // group by ledgers
if(this.account_by_name[this.account].group_or_ledger==="Group" if(this.account_by_name[this.account].group_or_ledger==="Group"
@ -255,7 +255,7 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
out = [opening].concat(out).concat([totals, closing]); out = [opening].concat(out).concat([totals, closing]);
} else { } else {
me.appframe.set_title("General Ledger"); me.appframe.set_title(wn._("General Ledger"));
out = out.concat([totals]); out = out.concat([totals]);
} }