Merge pull request #24663 from barredterra/translate-data-export
This commit is contained in:
commit
2de2b59f00
1 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ const add_doctype_field_multicheck_control = (doctype, parent_wrapper) => {
|
|||
|
||||
const options = fields.map((df) => {
|
||||
return {
|
||||
label: df.label,
|
||||
label: __(df.label),
|
||||
value: df.fieldname,
|
||||
danger: df.reqd,
|
||||
checked: 1,
|
||||
|
|
@ -163,7 +163,7 @@ const add_doctype_field_multicheck_control = (doctype, parent_wrapper) => {
|
|||
const multicheck_control = frappe.ui.form.make_control({
|
||||
parent: parent_wrapper,
|
||||
df: {
|
||||
label: doctype,
|
||||
label: __(doctype),
|
||||
fieldname: doctype + "_fields",
|
||||
fieldtype: "MultiCheck",
|
||||
options: options,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue