fix: add translation wrapper
(cherry picked from commit 8722318081)
Co-authored-by: hyaray <hyaray@vip.qq.com>
This commit is contained in:
@@ -710,7 +710,7 @@ erpnext.work_order = {
|
|||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
frappe.prompt({
|
frappe.prompt({
|
||||||
fieldtype: 'Float',
|
fieldtype: 'Float',
|
||||||
label: __('Qty for {0}', [purpose]),
|
label: __('Qty for {0}', [__(purpose)]),
|
||||||
fieldname: 'qty',
|
fieldname: 'qty',
|
||||||
description: __('Max: {0}', [max]),
|
description: __('Max: {0}', [max]),
|
||||||
default: max
|
default: max
|
||||||
|
|||||||
Reference in New Issue
Block a user