frappe._ to __

This commit is contained in:
Pratik Vyas
2014-04-14 16:25:30 +05:30
parent 7da01d6007
commit b52618c142
121 changed files with 700 additions and 700 deletions

View File

@@ -7,7 +7,7 @@ erpnext.stock.StockController = frappe.ui.form.Controller.extend({
show_stock_ledger: function() {
var me = this;
if(this.frm.doc.docstatus===1) {
this.frm.appframe.add_button(frappe._("Stock Ledger"), function() {
this.frm.appframe.add_button(__("Stock Ledger"), function() {
frappe.route_options = {
voucher_no: me.frm.doc.name,
from_date: me.frm.doc.posting_date,
@@ -23,7 +23,7 @@ erpnext.stock.StockController = frappe.ui.form.Controller.extend({
show_general_ledger: function() {
var me = this;
if(this.frm.doc.docstatus===1 && cint(frappe.defaults.get_default("auto_accounting_for_stock"))) {
cur_frm.appframe.add_button(frappe._('Accounting Ledger'), function() {
cur_frm.appframe.add_button(__('Accounting Ledger'), function() {
frappe.route_options = {
voucher_no: me.frm.doc.name,
from_date: me.frm.doc.posting_date,