fix translations
This commit is contained in:
Vendored
+36
-3
@@ -373,7 +373,7 @@
|
|||||||
encryptionKey: "Encryption key",
|
encryptionKey: "Encryption key",
|
||||||
encryptionKeyPlaceholder: "1jg028ej40d",
|
encryptionKeyPlaceholder: "1jg028ej40d",
|
||||||
showEncryptionKey: "Show encryption key",
|
showEncryptionKey: "Show encryption key",
|
||||||
yourName: "Your Name",
|
myName: "My Name",
|
||||||
yourNamePlaceholder: "Jane Doe",
|
yourNamePlaceholder: "Jane Doe",
|
||||||
// messages
|
// messages
|
||||||
messages: "Messages",
|
messages: "Messages",
|
||||||
@@ -385,6 +385,39 @@
|
|||||||
};
|
};
|
||||||
var allTranslations = {
|
var allTranslations = {
|
||||||
en: englishTranslations,
|
en: englishTranslations,
|
||||||
|
es: {
|
||||||
|
// general
|
||||||
|
setInput: "OK",
|
||||||
|
connectionStatus: "Estado de Conexi\xF3n",
|
||||||
|
connectedTo: (server) => `Conectado a "${server}"`,
|
||||||
|
disconnected: "Desconectado",
|
||||||
|
// settings
|
||||||
|
settings: "Configuraci\xF3n",
|
||||||
|
connection: "Conexi\xF3n",
|
||||||
|
communication: "Comunicaci\xF3n",
|
||||||
|
encryption: "Cifrado",
|
||||||
|
serverAddress: "Direcci\xF3n del servidor",
|
||||||
|
serverAddressPlaceholder: "wss://192.168.0.69:3000",
|
||||||
|
connectToServer: "Conectar",
|
||||||
|
primaryChannel: "Canal principal",
|
||||||
|
leaveChannel: "Salir",
|
||||||
|
channelPlaceholder: "mi-canal",
|
||||||
|
addSecondaryChannel: "A\xF1adir canal segundario",
|
||||||
|
removeSecondaryChannel: "Eliminar canal segundario",
|
||||||
|
newSecondaryChannelPlaceholder: "A\xF1adir canal segundario",
|
||||||
|
encryptionKey: "Clave de cifrada",
|
||||||
|
encryptionKeyPlaceholder: "1jg028ej40d",
|
||||||
|
showEncryptionKey: "Mostrar clave de cifrado",
|
||||||
|
myName: "Mi nombre",
|
||||||
|
yourNamePlaceholder: "Juan P\xE9rez",
|
||||||
|
// messages
|
||||||
|
messages: "Mensajes",
|
||||||
|
composerPlaceholder: "Escribe un mensaje...",
|
||||||
|
sendMessage: "Enviar",
|
||||||
|
clearHistory: "Borrar historial",
|
||||||
|
encryptionUnavailableTitle: "Cifrado no disponible",
|
||||||
|
encryptionUnavailableMessage: "Obt\xE9n esta p\xE1gina a trav\xE9s de HTTPS para cifrar o contin\xFAa sin cifrado"
|
||||||
|
},
|
||||||
de: {
|
de: {
|
||||||
// general
|
// general
|
||||||
setInput: "OK",
|
setInput: "OK",
|
||||||
@@ -408,7 +441,7 @@
|
|||||||
encryptionKey: "Schl\xFCssel",
|
encryptionKey: "Schl\xFCssel",
|
||||||
encryptionKeyPlaceholder: "1jg028ej40d",
|
encryptionKeyPlaceholder: "1jg028ej40d",
|
||||||
showEncryptionKey: "Schl\xFCssel anzeigen",
|
showEncryptionKey: "Schl\xFCssel anzeigen",
|
||||||
yourName: "Mein Name",
|
myName: "Mein Name",
|
||||||
yourNamePlaceholder: "Max Mustermann",
|
yourNamePlaceholder: "Max Mustermann",
|
||||||
// messages
|
// messages
|
||||||
messages: "Nachrichten",
|
messages: "Nachrichten",
|
||||||
@@ -645,7 +678,7 @@
|
|||||||
)));
|
)));
|
||||||
};
|
};
|
||||||
function CommunicationSection() {
|
function CommunicationSection() {
|
||||||
return /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("h2", null, translation.communication), /* @__PURE__ */ createElement("label", { class: "tile" }, /* @__PURE__ */ createElement("span", { class: "icon" }, "account_circle"), /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("span", null, translation.yourName), /* @__PURE__ */ createElement(
|
return /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("h2", null, translation.communication), /* @__PURE__ */ createElement("label", { class: "tile" }, /* @__PURE__ */ createElement("span", { class: "icon" }, "account_circle"), /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("span", null, translation.myName), /* @__PURE__ */ createElement(
|
||||||
"input",
|
"input",
|
||||||
{
|
{
|
||||||
"bind:value": senderName,
|
"bind:value": senderName,
|
||||||
|
|||||||
+2
-2
@@ -69,9 +69,9 @@ const allTranslations: { [key: string]: typeof englishTranslations } = {
|
|||||||
composerPlaceholder: "Escribe un mensaje...",
|
composerPlaceholder: "Escribe un mensaje...",
|
||||||
sendMessage: "Enviar",
|
sendMessage: "Enviar",
|
||||||
clearHistory: "Borrar historial",
|
clearHistory: "Borrar historial",
|
||||||
encryptionUnavailableTitle: "Cifrada no disponible",
|
encryptionUnavailableTitle: "Cifrado no disponible",
|
||||||
encryptionUnavailableMessage:
|
encryptionUnavailableMessage:
|
||||||
"Obtén esta página por HTTPS para cifrar mensajes o continúa sin cifrado",
|
"Obtén esta página a través de HTTPS para cifrar o continúa sin cifrado",
|
||||||
},
|
},
|
||||||
de: {
|
de: {
|
||||||
// general
|
// general
|
||||||
|
|||||||
Reference in New Issue
Block a user