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

View File

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