fix: translation

This commit is contained in:
Shivam Mishra 2020-05-08 16:18:49 +05:30 committed by prssanna
parent 58d75ad5d7
commit 3a090e7138

View file

@ -23,7 +23,7 @@ class Dashboard(Document):
try:
json.loads(self.chart_options)
except ValueError as error:
frappe.throw(_("Invalid json added in the custom options: %s" % error))
frappe.throw(_("Invalid json added in the custom options: {0}").format(error))
@frappe.whitelist()
def get_permitted_charts(dashboard_name):