fix: add translation wrapper (backport #37911) (#37946)

fix: add translation wrapper

(cherry picked from commit 8722318081)

Co-authored-by: hyaray <hyaray@vip.qq.com>
This commit is contained in:
mergify[bot]
2023-11-06 19:52:11 +05:30
committed by GitHub
parent 24da29a817
commit c53d281b9e

View File

@@ -710,7 +710,7 @@ erpnext.work_order = {
return new Promise((resolve, reject) => {
frappe.prompt({
fieldtype: 'Float',
label: __('Qty for {0}', [purpose]),
label: __('Qty for {0}', [__(purpose)]),
fieldname: 'qty',
description: __('Max: {0}', [max]),
default: max