fix: translatability of boldened text

This commit is contained in:
barredterra
2024-08-16 21:38:56 +02:00
parent 1bdeddcb04
commit af0ae930ca
19 changed files with 50 additions and 51 deletions

View File

@@ -150,7 +150,7 @@ def validate_item_attribute_value(attributes_list, attribute, attribute_value, i
)
msg += "<br>" + _(
"To still proceed with editing this Attribute Value, enable {0} in Item Variant Settings."
).format(frappe.bold("Allow Rename Attribute Value"))
).format(frappe.bold(_("Allow Rename Attribute Value")))
frappe.throw(msg, InvalidItemAttributeValueError, title=_("Edit Not Allowed"))