Add translation of toast success message

pull/902/head
Ivan 3 years ago
parent 19dd11d624
commit b1fca7c1a7

@ -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",

@ -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);
} }

Loading…
Cancel
Save