From 5737d6cef45b3bff92880383c1b32a7a650cf12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Tue, 7 Feb 2023 17:59:50 +0800 Subject: [PATCH] Fixed the error message in the Javascript validateAsyncCodeIsDuplicated function in currency-form.js. --- src/accounting/static/js/currency-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/static/js/currency-form.js b/src/accounting/static/js/currency-form.js index 1dcdb99..aa5b7cc 100644 --- a/src/accounting/static/js/currency-form.js +++ b/src/accounting/static/js/currency-form.js @@ -133,7 +133,7 @@ function validateAsyncCodeIsDuplicated(isSubmission, key) { const result = JSON.parse(this.responseText); if (result["exists"]) { field.classList.add("is-invalid"); - error.innerText = _("Code conflicts with another currency."); + error.innerText = A_("Code conflicts with another currency."); if (isSubmission) { isAsyncValid[key] = false; }