handle disconnection on frontend

This commit is contained in:
marlon-erler
2024-07-07 14:02:01 +02:00
parent 9ef5c2f0a2
commit e010de6a30
10 changed files with 70 additions and 9 deletions
+6
View File
@@ -2,6 +2,8 @@
export const staticTextEnglish = {
channel: "Channel",
channel_placeholder: "my-channel",
disconnected: "Server disconnected",
reconnecting: "Reconnecting...",
info: "Info",
message: "Message",
messages: "Messages",
@@ -23,6 +25,8 @@ export const translations: { [key: string]: typeof staticTextEnglish } = {
es: {
channel: "Canal",
channel_placeholder: "mi-canal",
disconnected: "Sin conneción",
reconnecting: "Conectando...",
info: "Info",
message: "Mensaje",
messages: "Mensajes",
@@ -41,6 +45,8 @@ export const translations: { [key: string]: typeof staticTextEnglish } = {
de: {
channel: "Kanal",
channel_placeholder: "mein-kanal",
disconnected: "Verbindung getrennt",
reconnecting: "Verbindung wird hergestellt...",
info: "Daten",
message: "Nachricht",
messages: "Nachrichten",