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:
Nelson Chan 2023-09-01 20:51:28 +08:00 committed by GitHub
parent 64b97c0f29
commit 52946c3e08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 10 deletions

View file

@ -24,7 +24,8 @@ module.exports.proxySocketHandler = (socket) => {
callback({
ok: true,
msg: "Saved",
msg: "Saved.",
msgi18n: true,
id: proxyBean.id,
});