mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-23 14:29:42 -05:00
Add translation for incident error message
This commit is contained in:
parent
42ce34b6c7
commit
19dd11d624
@ -324,6 +324,7 @@ export default {
|
|||||||
light: "light",
|
light: "light",
|
||||||
dark: "dark",
|
dark: "dark",
|
||||||
Post: "Post",
|
Post: "Post",
|
||||||
|
"Please input title and content": "Please input title and content",
|
||||||
Created: "Created",
|
Created: "Created",
|
||||||
"Last Updated": "Last Updated",
|
"Last Updated": "Last Updated",
|
||||||
Unpin: "Unpin",
|
Unpin: "Unpin",
|
||||||
|
@ -536,7 +536,7 @@ export default {
|
|||||||
|
|
||||||
postIncident() {
|
postIncident() {
|
||||||
if (this.incident.title == "" || this.incident.content == "") {
|
if (this.incident.title == "" || this.incident.content == "") {
|
||||||
toast.error("Please input title and content.");
|
toast.error(this.$t("Please input title and content"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user