fix: Makes Condition Examples title translatable

This commit is contained in:
devdiogenes 2026-04-22 18:50:01 +00:00
parent fdaa45754f
commit 95d0fecee7
2 changed files with 6 additions and 5 deletions

View file

@ -203,7 +203,7 @@
"depends_on": "eval:doc.condition_type===\"Python\"", "depends_on": "eval:doc.condition_type===\"Python\"",
"fieldname": "html_7", "fieldname": "html_7",
"fieldtype": "HTML", "fieldtype": "HTML",
"options": "<p><strong>Condition Examples:</strong></p>\n<pre><code class=\"language-python\">doc.status==\"Open\"<br>doc.due_date==nowdate()<br>doc.total &gt; 40000\n</code></pre>\n" "options": "<p><strong>{{ __(\"Condition Examples\") }}:</strong></p>\n<pre><code class=\"language-python\">doc.status==\"Open\"<br>doc.due_date==nowdate()<br>doc.total &gt; 40000\n</code></pre>\n"
}, },
{ {
"collapsible": 1, "collapsible": 1,
@ -363,7 +363,7 @@
"icon": "fa fa-envelope", "icon": "fa fa-envelope",
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2026-02-19 18:07:15.888314", "modified": "2026-04-22 15:37:19.355265",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Email", "module": "Email",
"name": "Notification", "name": "Notification",

View file

@ -77,7 +77,7 @@
{ {
"fieldname": "html_condition", "fieldname": "html_condition",
"fieldtype": "HTML", "fieldtype": "HTML",
"options": "<p><strong>Condition Examples:</strong></p>\n<pre>doc.status==\"Open\"<br>doc.due_date==nowdate()<br>doc.total &gt; 40000\n</pre>" "options": "<p><strong>{{ __(\"Condition Examples\") }}:</strong></p>\n<pre>doc.status==\"Open\"<br>doc.due_date==nowdate()<br>doc.total &gt; 40000\n</pre>"
}, },
{ {
"fieldname": "sb_webhook", "fieldname": "sb_webhook",
@ -189,7 +189,7 @@
"link_fieldname": "webhook" "link_fieldname": "webhook"
} }
], ],
"modified": "2025-07-18 18:22:38.276809", "modified": "2026-04-22 15:33:54.888415",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Integrations", "module": "Integrations",
"name": "Webhook", "name": "Webhook",
@ -209,8 +209,9 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",
"states": [], "states": [],
"track_changes": 1 "track_changes": 1
} }