Add translation of toast success message

This commit is contained in:
Ivan 2021-11-12 12:00:10 +01:00
parent 19dd11d624
commit b1fca7c1a7
2 changed files with 2 additions and 1 deletions

View file

@ -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: ", 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", "Current User": "Current User",
recent: "Recent", recent: "Recent",
Done: "Done",
Security: "Security", Security: "Security",
"Shrink Database": "Shrink Database", "Shrink Database": "Shrink Database",
Default: "Default", Default: "Default",

View file

@ -637,7 +637,7 @@ export default {
this.$root.getSocket().emit("shrinkDatabase", (res) => { this.$root.getSocket().emit("shrinkDatabase", (res) => {
if (res.ok) { if (res.ok) {
this.loadDatabaseSize(); this.loadDatabaseSize();
toast.success("Done"); toast.success(this.$t("Done"));
} else { } else {
debug(res); debug(res);
} }