mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 10:41:21 +00:00
Fix translate warehouse.js
This commit is contained in:
@@ -7,11 +7,11 @@ cur_frm.cscript.refresh = function(doc) {
|
|||||||
|
|
||||||
cur_frm.cscript.merge = function(doc, cdt, cdn) {
|
cur_frm.cscript.merge = function(doc, cdt, cdn) {
|
||||||
if (!doc.merge_with) {
|
if (!doc.merge_with) {
|
||||||
msgprint("Please enter the warehouse to which you want to merge?");
|
msgprint(wn._("Please enter the warehouse to which you want to merge?"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var check = confirm("Are you sure you want to merge this warehouse into "
|
var check = confirm(wn._("Are you sure you want to merge this warehouse into "
|
||||||
+ doc.merge_with + "?");
|
+ doc.merge_with + "?"));
|
||||||
if (check) {
|
if (check) {
|
||||||
return $c_obj(make_doclist(cdt, cdn), 'merge_warehouses', '', '');
|
return $c_obj(make_doclist(cdt, cdn), 'merge_warehouses', '', '');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user