Merge branch 'master' into public-dashboard

This commit is contained in:
LouisLam 2021-09-14 23:29:22 +08:00
commit 1d6670ed9a
4 changed files with 64 additions and 32 deletions

View file

@ -1,4 +1,9 @@
console.log("Welcome to Uptime Kuma"); console.log("Welcome to Uptime Kuma");
if (! process.env.NODE_ENV) {
process.env.NODE_ENV = "production";
}
console.log("Node Env: " + process.env.NODE_ENV); console.log("Node Env: " + process.env.NODE_ENV);
const { sleep, debug, TimeLogger, getRandomInt } = require("../src/util"); const { sleep, debug, TimeLogger, getRandomInt } = require("../src/util");

View file

@ -143,4 +143,18 @@ export default {
Token: "Token", Token: "Token",
"Show URI": "URI Anzeigen", "Show URI": "URI Anzeigen",
"Clear all statistics": "Lösche alle Statistiken", "Clear all statistics": "Lösche alle Statistiken",
Tags: "Tags",
"Add New below or Select...": "Füge neuen hinzu oder wähle aus...",
"Tag with this name already exist.": "Ein Tag mit dem Namen existiert bereits.",
"Tag with this value already exist.": "Ein Tag mit dem Wert existiert bereits.",
color: "Farbe",
"value (optional)": "Wert (Optional)",
Gray: "Grau",
Red: "Rot",
Orange: "Orange",
Green: "Grün",
Blue: "Blau",
Indigo: "Indigo",
Purple: "Lila",
Pink: "Pink",
} }

View file

@ -143,4 +143,18 @@ export default {
Token: "Token", Token: "Token",
"Show URI": "Show URI", "Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics", "Clear all statistics": "Clear all Statistics",
Tags: "Tags",
"Add New below or Select...": "Add New below or Select...",
"Tag with this name already exist.": "Tag with this name already exist.",
"Tag with this value already exist.": "Tag with this value already exist.",
color: "color",
"value (optional)": "value (optional)",
Gray: "Gray",
Red: "Red",
Orange: "Orange",
Green: "Green",
Blue: "Blue",
Indigo: "Indigo",
Purple: "Purple",
Pink: "Pink",
} }

View file

@ -16,6 +16,14 @@ export default {
resoverserverDescription: "Cloudflare is de standaardserver, u kunt de resolver server op elk moment wijzigen.", resoverserverDescription: "Cloudflare is de standaardserver, u kunt de resolver server op elk moment wijzigen.",
rrtypeDescription: "Selecteer het RR-type dat u wilt monitoren", rrtypeDescription: "Selecteer het RR-type dat u wilt monitoren",
pauseMonitorMsg: "Weet je zeker dat je wilt pauzeren?", pauseMonitorMsg: "Weet je zeker dat je wilt pauzeren?",
enableDefaultNotificationDescription: "Voor elke nieuwe monitor wordt deze melding standaard ingeschakeld. U kunt de melding nog steeds afzonderlijk uitschakelen voor elke monitor.",
clearEventsMsg: "Weet je zeker dat je alle evenementen voor deze monitor wilt verwijderen?",
clearHeartbeatsMsg: "Weet je zeker dat je alle heartbeats voor deze monitor wilt verwijderen?",
confirmClearStatisticsMsg: "Weet u zeker dat u alle statistieken wilt verwijderen?",
twoFAVerifyLabel: "Voer uw 2FA controle token in voor verificatie",
tokenValidSettingsMsg: "Token is geldig! U kunt nu de 2FA-instellingen opslaan.",
confirmEnableTwoFAMsg: "Weet je zeker dat je 2FA wilt inschakelen?",
confirmDisableTwoFAMsg: "Weet je zeker dat je 2FA wilt uitschakelen?",
Settings: "Instellingen", Settings: "Instellingen",
Dashboard: "Dashboard", Dashboard: "Dashboard",
"New Update": "Nieuwe update", "New Update": "Nieuwe update",
@ -107,41 +115,32 @@ export default {
"Last Result": "Laatste resultaat", "Last Result": "Laatste resultaat",
"Create your admin account": "Maak uw beheerdersaccount aan", "Create your admin account": "Maak uw beheerdersaccount aan",
"Repeat Password": "Herhaal wachtwoord", "Repeat Password": "Herhaal wachtwoord",
"Import/Export Backup": "Backup importeren/exporteren",
Export: "Exporteren",
Import: "Importeren",
respTime: "resp. tijd (ms)", respTime: "resp. tijd (ms)",
notAvailableShort: "N.v.t.", notAvailableShort: "N.v.t.",
Create: "Create", "Default enabled": "Default enabled",
clearEventsMsg: "Are you sure want to delete all events for this monitor?", "Apply on all existing monitors": "Pas toe op alle bestaande monitors",
clearHeartbeatsMsg: "Are you sure want to delete all heartbeats for this monitor?", Create: "Aanmaken",
confirmClearStatisticsMsg: "Are you sure want to delete ALL statistics?", "Clear Data": "Data wissen",
"Clear Data": "Clear Data", Events: "Gebeurtenissen",
Events: "Events",
Heartbeats: "Heartbeats", Heartbeats: "Heartbeats",
"Auto Get": "Auto Get", "Auto Get": "Auto Get",
enableDefaultNotificationDescription: "For every new monitor this notification will be enabled by default. You can still disable the notification separately for each monitor.", backupDescription: "U kunt een back-up maken van alle monitoren en alle meldingen in een JSON-bestand.",
"Default enabled": "Default enabled", backupDescription2: "PS: Geschiedenis- en gebeurtenisgegevens zijn niet inbegrepen.",
"Also apply to existing monitors": "Also apply to existing monitors", backupDescription3: "Gevoelige gegevens zoals melding tokens zijn opgenomen in het exportbestand, houd het veilig opgeslagen.",
"Import/Export Backup": "Import/Export Backup", alertNoFile: "Selecteer een bestand om te importeren.",
Export: "Export", alertWrongFileType: "Selecteer een JSON-bestand.",
Import: "Import", "Verify Token": "Controleer token",
backupDescription: "You can backup all monitors and all notifications into a JSON file.", "Setup 2FA": "2FA instellingen",
backupDescription2: "PS: History and event data is not included.", "Enable 2FA": "Schakel 2FA in",
backupDescription3: "Sensitive data such as notification tokens is included in the export file, please keep it carefully.", "Disable 2FA": "Schakel 2FA uit",
alertNoFile: "Please select a file to import.", "2FA Settings": "2FA-instellingen",
alertWrongFileType: "Please select a JSON file.", "Two Factor Authentication": "Two Factor Authenticatie",
twoFAVerifyLabel: "Please type in your token to verify that 2FA is working", Active: "Actief",
tokenValidSettingsMsg: "Token is valid! You can now save the 2FA settings.", Inactive: "Inactief",
confirmEnableTwoFAMsg: "Are you sure you want to enable 2FA?",
confirmDisableTwoFAMsg: "Are you sure you want to disable 2FA?",
"Apply on all existing monitors": "Apply on all existing monitors",
"Verify Token": "Verify Token",
"Setup 2FA": "Setup 2FA",
"Enable 2FA": "Enable 2FA",
"Disable 2FA": "Disable 2FA",
"2FA Settings": "2FA Settings",
"Two Factor Authentication": "Two Factor Authentication",
Active: "Active",
Inactive: "Inactive",
Token: "Token", Token: "Token",
"Show URI": "Show URI", "Show URI": "Toon URI",
"Clear all statistics": "Clear all Statistics", "Clear all statistics": "Wis alle statistieken",
} }