Skip to content

Commit

Permalink
fix: do not mark custom field as translatable by default (#25330)
Browse files Browse the repository at this point in the history
This is a special feature that should be enabled explicitly. In DocField, it's already disabled by default.

(cherry picked from commit b26dcdc)

Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
  • Loading branch information
mergify[bot] and barredterra committed Mar 11, 2024
1 parent c7c726e commit 841d885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frappe/custom/doctype/custom_field/custom_field.json
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
"label": "Ignore XSS Filter"
},
{
"default": "1",
"default": "0",
"depends_on": "eval:['Data', 'Select', 'Text', 'Small Text', 'Text Editor'].includes(doc.fieldtype)",
"fieldname": "translatable",
"fieldtype": "Check",
Expand Down Expand Up @@ -457,7 +457,7 @@
"idx": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-02-21 18:15:19.384933",
"modified": "2024-03-07 17:34:47.167183",
"modified_by": "Administrator",
"module": "Custom",
"name": "Custom Field",
Expand Down

0 comments on commit 841d885

Please sign in to comment.