mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-13 23:17:00 +08:00
Replace hard-coded names for groups in Status page with translations
This commit is contained in:
@@ -309,4 +309,7 @@ export default {
|
|||||||
recent: "Recent",
|
recent: "Recent",
|
||||||
headersPlaceholder: "Example:\n\{\n \"HeaderName\": \"HeaderValue\"\n}",
|
headersPlaceholder: "Example:\n\{\n \"HeaderName\": \"HeaderValue\"\n}",
|
||||||
bodyPlaceholder: "Example:\n\{\n \"key\": \"value\"\n}",
|
bodyPlaceholder: "Example:\n\{\n \"key\": \"value\"\n}",
|
||||||
|
// Status page
|
||||||
|
"Untitled Group": "Untitled Group",
|
||||||
|
"Services": "Services",
|
||||||
};
|
};
|
||||||
|
@@ -468,10 +468,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
addGroup() {
|
addGroup() {
|
||||||
let groupName = "Untitled Group";
|
let groupName = this.$t("Untitled Group");
|
||||||
|
|
||||||
if (this.$root.publicGroupList.length === 0) {
|
if (this.$root.publicGroupList.length === 0) {
|
||||||
groupName = "Services";
|
groupName = this.$t("Services");
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$root.publicGroupList.push({
|
this.$root.publicGroupList.push({
|
||||||
|
Reference in New Issue
Block a user