Add translation for incident error message

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

View file

@ -324,6 +324,7 @@ export default {
light: "light",
dark: "dark",
Post: "Post",
"Please input title and content": "Please input title and content",
Created: "Created",
"Last Updated": "Last Updated",
Unpin: "Unpin",

View file

@ -536,7 +536,7 @@ export default {
postIncident() {
if (this.incident.title == "" || this.incident.content == "") {
toast.error("Please input title and content.");
toast.error(this.$t("Please input title and content"));
return;
}