fix: Translatable strings (#23783)

* fix: start_pattern

* fix: translatable strings

* fix: add missing semicolon (task)

* fix: add missing semicolon (setup_wizard)

* fix: text should start on the same line

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: move out HTML element as variable

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: pull out message, translate "Undo".

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: typo

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* fix: text should start on the same line

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Revert "fix: start_pattern"

This reverts commit decc62e2ab.

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
Raffael Meyer
2020-11-25 04:41:51 +01:00
committed by GitHub
parent c66bd45ba4
commit fbcc3c1b70
14 changed files with 47 additions and 43 deletions

View File

@@ -161,7 +161,10 @@ erpnext.setup.slides_settings = [
if(r.message){
exist = r.message;
me.get_field("bank_account").set_value("");
frappe.msgprint(__(`Account ${me.values.bank_account} already exists, enter a different name for your bank account`));
let message = __('Account {0} already exists. Please enter a different name for your bank account.',
[me.values.bank_account]
);
frappe.msgprint(message);
}
}
});