From 19dd11d62405ff3db0bb992a8d60507846c628c3 Mon Sep 17 00:00:00 2001
From: Ivan <ivanbratovic4@gmail.com>
Date: Fri, 12 Nov 2021 10:14:23 +0100
Subject: [PATCH] Add translation for incident error message

---
 src/languages/en.js      | 1 +
 src/pages/StatusPage.vue | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/languages/en.js b/src/languages/en.js
index 3a5ea1226..a9984075b 100644
--- a/src/languages/en.js
+++ b/src/languages/en.js
@@ -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",
diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue
index 337199972..ddb37c1ae 100644
--- a/src/pages/StatusPage.vue
+++ b/src/pages/StatusPage.vue
@@ -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;
             }