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

fix: add translation wrapper

(cherry picked from commit 8722318081e30544b4cc76c97bdd1fe3362373d6)

Co-authored-by: hyaray <hyaray@vip.qq.com>
This commit is contained in:
mergify[bot] 2023-11-06 19:52:04 +05:30 committed by GitHub
parent a065f22a4c
commit 915ca47515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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