add german translations
This commit is contained in:
+38
-2
@@ -36,11 +36,47 @@ const englishTranslations = {
|
||||
clearHistory: "Clear history",
|
||||
encryptionUnavailableTitle: "Encryption is not available",
|
||||
encryptionUnavailableMessage:
|
||||
"Encryption is not available on insecure contexts. Obtain this app via HTTPS or continue without encryption",
|
||||
"Obtain this app via HTTPS or continue without encryption",
|
||||
};
|
||||
|
||||
const allTranslations = {
|
||||
const allTranslations: { [key: string]: typeof englishTranslations } = {
|
||||
en: englishTranslations,
|
||||
de: {
|
||||
// general
|
||||
setInput: "OK",
|
||||
connectionStatus: "Verbindungsstatus",
|
||||
connectedTo: (server: string) => `Verbunden mit "${server}"`,
|
||||
disconnected: "Verbindung getrennt",
|
||||
|
||||
// settings
|
||||
settings: "Einstellungen",
|
||||
connection: "Verbindung",
|
||||
communication: "Kommunikation",
|
||||
encryption: "Verschlüsselung",
|
||||
serverAddress: "Serveraddresse",
|
||||
serverAddressPlaceholder: "wss://192.168.0.69:3000",
|
||||
connectToServer: "Verbinden",
|
||||
primaryChannel: "Hauptkanal",
|
||||
leaveChannel: "Verlassen",
|
||||
channelPlaceholder: "mein-kanal",
|
||||
addSecondaryChannel: "Zweitkanal hinzufügen",
|
||||
removeSecondaryChannel: "Zweitkanal entfernen",
|
||||
newSecondaryChannelPlaceholder: "Zweitkanal hinzufügen",
|
||||
encryptionKey: "Schlüssel",
|
||||
encryptionKeyPlaceholder: "1jg028ej40d",
|
||||
showEncryptionKey: "Schlüssel anzeigen",
|
||||
yourName: "Mein Name",
|
||||
yourNamePlaceholder: "Max Mustermann",
|
||||
|
||||
// messages
|
||||
messages: "Nachrichten",
|
||||
composerPlaceholder: "Neue Nachricht...",
|
||||
sendMessage: "Senden",
|
||||
clearHistory: "Nachrichtenverlauf leeren",
|
||||
encryptionUnavailableTitle: "Verschlüsselung nicht möglich",
|
||||
encryptionUnavailableMessage:
|
||||
"Um Nachrichten zu verschlüsseln, lade diese Seite über HTTPS.",
|
||||
},
|
||||
};
|
||||
|
||||
const language = navigator.language.substring(0, 2);
|
||||
|
||||
Reference in New Issue
Block a user