fix: translation for sla description
This commit is contained in:
parent
3caa93c2c4
commit
7585a26d43
1 changed files with 3 additions and 2 deletions
|
|
@ -5,8 +5,9 @@ frappe.ready(function() {
|
|||
callback: (data) => {
|
||||
if (data.message) {
|
||||
const intro_wrapper = $('#introduction .ql-editor.read-mode');
|
||||
const sla_description = `<br><b>Note: Your request for account deletion will be fulfilled within ${data.message} days.</b>`;
|
||||
intro_wrapper.html(intro_wrapper.html() + sla_description);
|
||||
const sla_description = __("Note: Your request for account deletion will be fulfilled within {0} days.", [data.message])
|
||||
const sla_description_wrapper = `<br><b>${sla_description}</b>`;
|
||||
intro_wrapper.html(intro_wrapper.html() + sla_description_wrapper);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue