From b1fca7c1a7b8b319d443114ce63827d24da3be91 Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 12 Nov 2021 12:00:10 +0100 Subject: [PATCH] Add translation of toast success message --- src/languages/en.js | 1 + src/pages/Settings.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/languages/en.js b/src/languages/en.js index a9984075b..dd37980ab 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -307,6 +307,7 @@ export default { steamApiKeyDescription: "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key here: ", "Current User": "Current User", recent: "Recent", + Done: "Done", Security: "Security", "Shrink Database": "Shrink Database", Default: "Default", diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index 9d501407d..7724f3e1f 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -637,7 +637,7 @@ export default { this.$root.getSocket().emit("shrinkDatabase", (res) => { if (res.ok) { this.loadDatabaseSize(); - toast.success("Done"); + toast.success(this.$t("Done")); } else { debug(res); }