mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-20 21:24:44 -05:00
Merge pull request #310 from Saibamen/more_i18n
Make `Resp. Time (ms)` and `N/A` i18n
This commit is contained in:
commit
bd9568ce5b
@ -85,7 +85,7 @@ export default {
|
|||||||
y: {
|
y: {
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
text: "Resp. Time (ms)",
|
text: this.$t("respTime"),
|
||||||
},
|
},
|
||||||
offset: false,
|
offset: false,
|
||||||
grid: {
|
grid: {
|
||||||
|
@ -22,7 +22,7 @@ export default {
|
|||||||
return Math.round(this.$root.uptimeList[key] * 10000) / 100 + "%";
|
return Math.round(this.$root.uptimeList[key] * 10000) / 100 + "%";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "N/A"
|
return this.$t("notAvailableShort")
|
||||||
},
|
},
|
||||||
|
|
||||||
color() {
|
color() {
|
||||||
|
@ -106,5 +106,7 @@ export default {
|
|||||||
"Resource Record Type": "Resource Record Type",
|
"Resource Record Type": "Resource Record Type",
|
||||||
"Last Result": "Last Result",
|
"Last Result": "Last Result",
|
||||||
"Create your admin account": "Create your admin account",
|
"Create your admin account": "Create your admin account",
|
||||||
"Repeat Password": "Repeat Password"
|
"Repeat Password": "Repeat Password",
|
||||||
|
respTime: "Resp. Time (ms)",
|
||||||
|
notAvailableShort: "N/A"
|
||||||
}
|
}
|
||||||
|
@ -238,7 +238,7 @@ export default {
|
|||||||
return this.lastHeartBeat.ping;
|
return this.lastHeartBeat.ping;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "N/A"
|
return this.$t("notAvailableShort")
|
||||||
},
|
},
|
||||||
|
|
||||||
avgPing() {
|
avgPing() {
|
||||||
@ -246,7 +246,7 @@ export default {
|
|||||||
return this.$root.avgPingList[this.monitor.id];
|
return this.$root.avgPingList[this.monitor.id];
|
||||||
}
|
}
|
||||||
|
|
||||||
return "N/A"
|
return this.$t("notAvailableShort")
|
||||||
},
|
},
|
||||||
|
|
||||||
importantHeartBeatList() {
|
importantHeartBeatList() {
|
||||||
|
Loading…
Reference in New Issue
Block a user