fix: translatability of boldened text

(cherry picked from commit af0ae930ca)

# Conflicts:
#	erpnext/controllers/accounts_controller.py
This commit is contained in:
barredterra
2024-08-16 21:38:56 +02:00
committed by Mergify
parent 8514c01a91
commit 4914481105
19 changed files with 54 additions and 50 deletions

View File

@@ -669,7 +669,7 @@ class Asset(AccountsController):
if not fixed_asset_account:
frappe.throw(
_("Set {0} in asset category {1} for company {2}").format(
frappe.bold("Fixed Asset Account"),
frappe.bold(_("Fixed Asset Account")),
frappe.bold(self.asset_category),
frappe.bold(self.company),
),