mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 21:54:16 -08:00
Merge pull request #809 from Saibamen/pagination_no_text
Don't display "count" text for pagination
This commit is contained in:
commit
5311bef3eb
|
@ -301,6 +301,5 @@ export default {
|
||||||
clearDataOlderThan: "Ще се съхранява за {0} дни.",
|
clearDataOlderThan: "Ще се съхранява за {0} дни.",
|
||||||
records: "записа",
|
records: "записа",
|
||||||
"One record": "Един запис",
|
"One record": "Един запис",
|
||||||
"Showing {from} to {to} of {count} records": "Показване на {from} до {to} от {count} записа",
|
|
||||||
steamApiKeyDescription: "За да мониторирате Steam Gameserver се нуждаете от Steam Web-API ключ. Може да регистрирате Вашия API ключ тук: ",
|
steamApiKeyDescription: "За да мониторирате Steam Gameserver се нуждаете от Steam Web-API ключ. Може да регистрирате Вашия API ключ тук: ",
|
||||||
};
|
};
|
||||||
|
|
|
@ -302,7 +302,6 @@ export default {
|
||||||
PasswordsDoNotMatch: "Passwörter stimmen nicht überein.",
|
PasswordsDoNotMatch: "Passwörter stimmen nicht überein.",
|
||||||
records: "Einträge",
|
records: "Einträge",
|
||||||
"One record": "Ein Eintrag",
|
"One record": "Ein Eintrag",
|
||||||
"Showing {from} to {to} of {count} records": "Zeige {from} zu {to} von {count} Einträge",
|
|
||||||
steamApiKeyDescription: "Um einen Steam Game Server zu überwachen, wird ein Steam Web-API-Schlüssel benötigt. Dieser kann hier registriert werden: ",
|
steamApiKeyDescription: "Um einen Steam Game Server zu überwachen, wird ein Steam Web-API-Schlüssel benötigt. Dieser kann hier registriert werden: ",
|
||||||
"Current User": "Aktueller Benutzer",
|
"Current User": "Aktueller Benutzer",
|
||||||
};
|
};
|
||||||
|
|
|
@ -304,7 +304,6 @@ export default {
|
||||||
PasswordsDoNotMatch: "Passwords do not match.",
|
PasswordsDoNotMatch: "Passwords do not match.",
|
||||||
records: "records",
|
records: "records",
|
||||||
"One record": "One record",
|
"One record": "One record",
|
||||||
"Showing {from} to {to} of {count} records": "Showing {from} to {to} of {count} records",
|
|
||||||
steamApiKeyDescription: "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key here: ",
|
steamApiKeyDescription: "For monitoring a Steam Game Server you need a Steam Web-API key. You can register your API key here: ",
|
||||||
"Current User": "Current User",
|
"Current User": "Current User",
|
||||||
};
|
};
|
||||||
|
|
|
@ -202,6 +202,5 @@ export default {
|
||||||
clearDataOlderThan: "Mantener los datos del historial del monitor durante {0} días.",
|
clearDataOlderThan: "Mantener los datos del historial del monitor durante {0} días.",
|
||||||
records: "registros",
|
records: "registros",
|
||||||
"One record": "Un registro",
|
"One record": "Un registro",
|
||||||
"Showing {from} to {to} of {count} records": "Mostrando desde {from} a {to} de {count} registros",
|
|
||||||
steamApiKeyDescription: "Para monitorear un servidor de juegos de Steam, necesita una clave Steam Web-API. Puede registrar su clave API aquí: ",
|
steamApiKeyDescription: "Para monitorear un servidor de juegos de Steam, necesita una clave Steam Web-API. Puede registrar su clave API aquí: ",
|
||||||
};
|
};
|
||||||
|
|
|
@ -182,9 +182,6 @@ export default {
|
||||||
"Uptime Kuma": "آپتایم کوما",
|
"Uptime Kuma": "آپتایم کوما",
|
||||||
records: "مورد",
|
records: "مورد",
|
||||||
"One record": "یک مورد",
|
"One record": "یک مورد",
|
||||||
"Showing {from} to {to} of {count} records": "نمایش از {from} تا {to} از {count} مورد",
|
|
||||||
First: "اولین",
|
|
||||||
Last: "آخرین",
|
|
||||||
Info: "اطلاعات",
|
Info: "اطلاعات",
|
||||||
"Powered by": "نیرو گرفته از",
|
"Powered by": "نیرو گرفته از",
|
||||||
telegram: "Telegram",
|
telegram: "Telegram",
|
||||||
|
|
|
@ -302,6 +302,5 @@ export default {
|
||||||
PasswordsDoNotMatch: "Hasła nie pasują.",
|
PasswordsDoNotMatch: "Hasła nie pasują.",
|
||||||
records: "rekordy",
|
records: "rekordy",
|
||||||
"One record": "Jeden rekord",
|
"One record": "Jeden rekord",
|
||||||
"Showing {from} to {to} of {count} records": "Wyświetlanie {from} do {to} z {count} rekordów",
|
|
||||||
steamApiKeyDescription: "Do monitorowania serwera gier Steam potrzebny jest klucz Steam Web-API. Możesz zarejestrować swój klucz API tutaj: ",
|
steamApiKeyDescription: "Do monitorowania serwera gier Steam potrzebny jest klucz Steam Web-API. Możesz zarejestrować swój klucz API tutaj: ",
|
||||||
};
|
};
|
||||||
|
|
|
@ -307,6 +307,5 @@ export default {
|
||||||
PasswordsDoNotMatch: "Пароли не совпадают.",
|
PasswordsDoNotMatch: "Пароли не совпадают.",
|
||||||
records: "записей",
|
records: "записей",
|
||||||
"One record": "Одна запись",
|
"One record": "Одна запись",
|
||||||
"Showing {from} to {to} of {count} records": "Показывается от {from} до {to} из {count} записей",
|
|
||||||
steamApiKeyDescription: "Для мониторинга игрового сервера Steam вам необходим Web-API ключ Steam. Зарегистрировать его можно здесь: ",
|
steamApiKeyDescription: "Для мониторинга игрового сервера Steam вам необходим Web-API ключ Steam. Зарегистрировать его можно здесь: ",
|
||||||
};
|
};
|
||||||
|
|
|
@ -83,17 +83,12 @@ export default {
|
||||||
perPage: 25,
|
perPage: 25,
|
||||||
heartBeatList: [],
|
heartBeatList: [],
|
||||||
paginationConfig: {
|
paginationConfig: {
|
||||||
texts:{
|
texts: {
|
||||||
count:`${this.$t("Showing {from} to {to} of {count} records")}|{count} ${this.$t("records")}|${this.$t("One record")}`,
|
count: "",
|
||||||
first:this.$t("First"),
|
},
|
||||||
last:this.$t("Last"),
|
chunksNavigation: "scroll",
|
||||||
nextPage:'>',
|
},
|
||||||
nextChunk:'>>',
|
};
|
||||||
prevPage:'<',
|
|
||||||
prevChunk:'<<'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
stats() {
|
stats() {
|
||||||
|
@ -106,7 +101,7 @@ export default {
|
||||||
|
|
||||||
for (let monitorID in this.$root.monitorList) {
|
for (let monitorID in this.$root.monitorList) {
|
||||||
let beat = this.$root.lastHeartbeatList[monitorID];
|
let beat = this.$root.lastHeartbeatList[monitorID];
|
||||||
let monitor = this.$root.monitorList[monitorID]
|
let monitor = this.$root.monitorList[monitorID];
|
||||||
|
|
||||||
if (monitor && ! monitor.active) {
|
if (monitor && ! monitor.active) {
|
||||||
result.pause++;
|
result.pause++;
|
||||||
|
@ -132,7 +127,7 @@ export default {
|
||||||
let result = [];
|
let result = [];
|
||||||
|
|
||||||
for (let monitorID in this.$root.importantHeartbeatList) {
|
for (let monitorID in this.$root.importantHeartbeatList) {
|
||||||
let list = this.$root.importantHeartbeatList[monitorID]
|
let list = this.$root.importantHeartbeatList[monitorID];
|
||||||
result = result.concat(list);
|
result = result.concat(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +135,7 @@ export default {
|
||||||
let monitor = this.$root.monitorList[beat.monitorID];
|
let monitor = this.$root.monitorList[beat.monitorID];
|
||||||
|
|
||||||
if (monitor) {
|
if (monitor) {
|
||||||
beat.name = monitor.name
|
beat.name = monitor.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,7 +162,7 @@ export default {
|
||||||
return this.heartBeatList.slice(startIndex, endIndex);
|
return this.heartBeatList.slice(startIndex, endIndex);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
|
@ -210,15 +210,10 @@ export default {
|
||||||
showPingChartBox: true,
|
showPingChartBox: true,
|
||||||
paginationConfig: {
|
paginationConfig: {
|
||||||
texts: {
|
texts: {
|
||||||
count: `${this.$t("Showing {from} to {to} of {count} records")}|{count} ${this.$t("records")}|${this.$t("One record")}`,
|
count: "",
|
||||||
first: this.$t("First"),
|
},
|
||||||
last: this.$t("Last"),
|
chunksNavigation: "scroll",
|
||||||
nextPage: ">",
|
},
|
||||||
nextChunk: ">>",
|
|
||||||
prevPage: "<",
|
|
||||||
prevChunk: "<<"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
Loading…
Reference in a new issue