Fixed the error message in the Javascript validateAsyncCodeIsDuplicated function in currency-form.js.
This commit is contained in:
parent
1d61fa93d3
commit
5737d6cef4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user