mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed notification translation.
This commit is contained in:
parent
cb8fc7d150
commit
21e6b0320b
5 changed files with 1857 additions and 3 deletions
|
@ -4856,7 +4856,7 @@
|
|||
"SMS error: {0}"
|
||||
];
|
||||
if (typeof n.titleid == 'number') { try { n.title = translatedTitles[n.titleid]; } catch (ex) { } }
|
||||
if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { format(n.text, ...n.args); } } catch (ex) { } }
|
||||
if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { n.text = format(n.text, ...n.args); } } catch (ex) { } }
|
||||
|
||||
// Show notification within the web page.
|
||||
if (n.time == null) { n.time = Date.now(); }
|
||||
|
|
|
@ -13325,7 +13325,7 @@
|
|||
"SMS error: {0}"
|
||||
];
|
||||
if (typeof n.titleid == 'number') { try { n.title = translatedTitles[n.titleid]; } catch (ex) {} }
|
||||
if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { format(n.text, ...n.args); } } catch (ex) {} }
|
||||
if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { n.text = format(n.text, ...n.args); } } catch (ex) {} }
|
||||
|
||||
// Show notification within the web page.
|
||||
if (n.time == null) { n.time = Date.now(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue