mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-10 02:15:21 -04:00
Feat: Translate toast messages by adding msgi18n to callbacks (#3263)
* WIP: Add msgTranslated to callbacks * Chore: Unify Saved period * Feat: add support for interpolation
This commit is contained in:
parent
64b97c0f29
commit
52946c3e08
8 changed files with 28 additions and 10 deletions
|
@ -24,7 +24,8 @@ module.exports.proxySocketHandler = (socket) => {
|
|||
|
||||
callback({
|
||||
ok: true,
|
||||
msg: "Saved",
|
||||
msg: "Saved.",
|
||||
msgi18n: true,
|
||||
id: proxyBean.id,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue