Enabled adding missing keys to the translation database

This commit is contained in:
Frank Elsinga 2023-06-11 22:43:33 +02:00
parent 71c34694b7
commit ac8ca36895
4 changed files with 10 additions and 2 deletions

View file

@ -17,6 +17,8 @@
"Down": "Inaktiv",
"Pending": "Ausstehend",
"Unknown": "Unbekannt",
"Cannot connect to the socket server": "Es kann keine Verbindung zum Socket-Server hergestellt werden",
"Reconnecting...": "Die Verbindung wird wiederhergestellt...",
"Pause": "Pausieren",
"pauseDashboardHome": "Pausiert",
"Name": "Name",

View file

@ -17,6 +17,8 @@
"Down": "Inaktiv",
"Pending": "Ausstehend",
"Unknown": "Unbekannt",
"Cannot connect to the socket server": "Es kann keine Verbindung zum Socket-Server hergestellt werden",
"Reconnecting...": "Die Verbindung wird wiederhergestellt...",
"Pause": "Pausieren",
"pauseDashboardHome": "Pausiert",
"Name": "Name",
@ -627,6 +629,7 @@
"lastDay4": "4. letzter Tag im Monat",
"No Maintenance": "Keine Wartung",
"Schedule Maintenance": "Wartung planen",
"Edit Maintenance": "Wartung bearbeiten",
"pauseMaintenanceMsg": "Möchtest du wirklich pausieren?",
"maintenanceStatus-under-maintenance": "Unter Wartung",
"maintenanceStatus-inactive": "Inaktiv",

View file

@ -22,6 +22,8 @@
"statusMaintenance": "Maintenance",
"Maintenance": "Maintenance",
"Unknown": "Unknown",
"Cannot connect to the socket server": "Cannot connect to the socket server",
"Reconnecting...": "Reconnecting...",
"General Monitor Type": "General Monitor Type",
"Passive Monitor Type": "Passive Monitor Type",
"Specific Monitor Type": "Specific Monitor Type",
@ -437,6 +439,7 @@
"Maintenance Time Window of a Day": "Maintenance Time Window of a Day",
"Effective Date Range": "Effective Date Range (Optional)",
"Schedule Maintenance": "Schedule Maintenance",
"Edit Maintenance": "Edit Maintenance",
"Date and Time": "Date and Time",
"DateTime Range": "DateTime Range",
"loadingError": "Cannot fetch the data, please try again later.",

View file

@ -47,7 +47,7 @@ export default {
statusPageListLoaded: false,
statusPageList: [],
proxyList: [],
connectionErrorMsg: "Cannot connect to the socket server. Reconnecting...",
connectionErrorMsg: `${this.$t("Cannot connect to the socket server.")} ${this.$t("Reconnecting...")}`,
showReverseProxyGuide: true,
cloudflared: {
cloudflareTunnelToken: "",
@ -228,7 +228,7 @@ export default {
socket.on("connect_error", (err) => {
console.error(`Failed to connect to the backend. Socket.io connect_error: ${err.message}`);
this.connectionErrorMsg = `Cannot connect to the socket server. [${err}] Reconnecting...`;
this.connectionErrorMsg = `${this.$t("Cannot connect to the socket server.")} [${err}] ${this.$t("Reconnecting...")}`;
this.showReverseProxyGuide = true;
this.socket.connected = false;
this.socket.firstConnect = false;