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