i18n: Translate toast messages

This commit is contained in:
Elian Doran
2024-10-20 02:06:08 +03:00
parent 93efce4023
commit 28f6712a4f
11 changed files with 71 additions and 25 deletions

View File

@@ -178,7 +178,7 @@ export default class Entrypoints extends Component {
await appContext.triggerEvent('sqlQueryResults', {ntxId: ntxId, results: resp.results});
}
toastService.showMessage("Note executed");
toastService.showMessage(t("entrypoints.note-executed"));
}
hideAllPopups() {
@@ -200,6 +200,6 @@ export default class Entrypoints extends Component {
await server.post(`notes/${noteId}/revision`);
toastService.showMessage("Note revision has been created.");
toastService.showMessage(t("entrypoints.note-revision-created"));
}
}