Skip to content

Commit

Permalink
translation
Browse files Browse the repository at this point in the history
  • Loading branch information
MiRo1310 committed Oct 10, 2024
1 parent 7e64e9d commit b28bbe5
Show file tree
Hide file tree
Showing 36 changed files with 475 additions and 266 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"grafana",
"iobroker",
"macarons",
"nbsp",
"novalue",
"Rolladen",
"roma",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ You can create different groups with separate menus, and then assign users to th

### **WORK IN PROGRESS**

- FEAT: #175 Copy function in Action
- FIX: #176 Error in setDynamic value
- FIX: #181 Required values in setState

Expand Down
2 changes: 1 addition & 1 deletion admin/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export interface PropsTabAction {
callback: CallbackFunctionsApp;
}

export interface Data {
export interface AppData {
activeMenu?: string;
nav?: NavData;
state: AdditionalStateInfo;
Expand Down
3 changes: 2 additions & 1 deletion admin/css/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@

.button--disabled {
pointer-events: none;
opacity: 0.4;
opacity: 0.4 !important;
}

.button--children {
display: flex;
align-items: end;
Expand Down
5 changes: 5 additions & 0 deletions admin/css/row-editor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.popupContainer__copy .DialogContainer {
width: 90% !important;
height: 80% !important;
margin-top: 400px;
}
1 change: 1 addition & 0 deletions admin/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@import "./table.css";
@import "./textarea.css";
@import "./app-content.css";
@import "./row-editor.css";

body {
height: 100vh;
Expand Down
3 changes: 3 additions & 0 deletions admin/css/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
.table__head_button {
width: 1rem;
}
table input {
border: none !important;
}

/* tr td:last-child button {
margin-right: 6px !important;
Expand Down
23 changes: 22 additions & 1 deletion admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Erzeugt zwei Schaltflächen, in diesem Fall ein und aus mit den jeweiligen Werten wahr und falsch.",
"Global User activ": "Globaler Benutzer aktiv",
"Hide": "Verstecken",
"ID": "AUSWEIS",
"IDs": "Ausweise",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Wenn Sie über die Änderung eines anderen Datenpunkts benachrichtigt werden möchten, nachdem Sie den Datenpunkt im Eingabefeld ID festgelegt haben. Die Änderung wird nur geteilt, wenn sie mit ack:true gesetzt ist. Es ist zwingend erforderlich, einen Text außerhalb des {} anzugeben, andernfalls wird er automatisch hinzugefügt.",
"Inactive": "Inaktiv",
"Instance": "Beispiel",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Beim Drücken springen Sie zurück zum vorherigen Menü",
"Yes": "Ja",
"You have double triggers, please remove them!": "Sie haben Doppelauslöser, bitte entfernen Sie diese!",
"ack": "Ack",
"active": "aktiv",
"condition": "Zustand",
"confrm": "Bestätigen",
"delay": "Verzögerung",
"filename": "Dateiname",
"menu": "Speisekarte",
"menuToCopy": "Menü zum Kopieren",
"newlineCheckbox": "Newline",
"parseMode": "Parse-Modus",
"password": "Passwort",
"picSendDelay": "Verzögerung beim Senden von Bildern",
"returnText": "Rückgabetext",
"save": "Speichern",
"setDynamicValue": "Dadurch können Sie dynamische Werte in Datenpunkte schreiben. Einfach anrufen und dann den Wert in das Eingabefeld eingeben. RequestText: Text zum Anfordern des Werts. Typ: Typ des Werts (boolescher Wert oder Zahl). Bestätigungstext: Text zur Bestätigung des Werts. ID: Wenn Sie aus einem anderen Staat bestätigen möchten, geben Sie hier die ID ein. (Dies ist optional)",
"telegram-menu adapter settings": "Adaptereinstellungen für Telegram-Menü"
"switchCheckbox": "Schalten",
"telegram-menu adapter settings": "Adaptereinstellungen für Telegram-Menü",
"text": "Text",
"trigger": "Auslösen",
"url": "URL",
"user": "Benutzer",
"values": "Werte"
}
251 changes: 105 additions & 146 deletions admin/i18n/en/translations.json

Large diffs are not rendered by default.

23 changes: 22 additions & 1 deletion admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Genera dos botones, en este caso encendido y apagado con los respectivos valores verdadero y falso.",
"Global User activ": "Actividad de usuario global",
"Hide": "Esconder",
"ID": "IDENTIFICACIÓN",
"IDs": "identificaciones",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Si desea recibir una notificación sobre el cambio de otro punto de datos después de haber configurado el punto de datos en el campo de entrada de ID. El cambio solo se compartirá si se establece con ack:true. Es obligatorio especificar un texto fuera del {}, de lo contrario se agregará automáticamente.",
"Inactive": "Inactivo",
"Instance": "Instancia",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Al pulsarlo saltas al menú anterior.",
"Yes": "",
"You have double triggers, please remove them!": "Tienes activadores dobles, ¡elimítalos!",
"ack": "Ack",
"active": "activo",
"condition": "Condición",
"confrm": "Confirmar",
"delay": "Demora",
"filename": "Nombre del archivo",
"menu": "Menú",
"menuToCopy": "Menú para copiar",
"newlineCheckbox": "Nueva línea",
"parseMode": "Modo de análisis",
"password": "Contraseña",
"picSendDelay": "Retraso en envío de imagen",
"returnText": "Texto de retorno",
"save": "Ahorrar",
"setDynamicValue": "Esto le permite escribir valores dinámicos en puntos de datos. Simplemente haga una llamada y luego podrá ingresar el valor en el campo de entrada. RequestText: Texto para solicitar el valor. Tipo: tipo del valor (booleano o número). ConfirmText: Texto para confirmar el valor. DNI: Si deseas confirmar desde otro Estado, ingresa aquí el DNI. (Esto es opcional)",
"telegram-menu adapter settings": "Configuración del adaptador para el menú de telegramas"
"switchCheckbox": "Cambiar",
"telegram-menu adapter settings": "Configuración del adaptador para el menú de telegramas",
"text": "Texto",
"trigger": "Desencadenar",
"url": "URL",
"user": "Usuario",
"values": "Valores"
}
23 changes: 22 additions & 1 deletion admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Génère deux boutons, en l'occurrence on et off avec les valeurs respectives vrai et faux.",
"Global User activ": "Activation des utilisateurs mondiaux",
"Hide": "Cacher",
"ID": "IDENTIFIANT",
"IDs": "identifiants",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Si vous souhaitez être informé de la modification d'un autre point de données après avoir défini le point de données dans le champ de saisie ID. La modification ne sera partagée que si elle est définie avec ack:true. Il est obligatoire de préciser un texte en dehors du {}, sinon il sera ajouté automatiquement.",
"Inactive": "Inactif",
"Instance": "Exemple",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Lorsque vous appuyez dessus, vous revenez au menu précédent",
"Yes": "Oui",
"You have double triggers, please remove them!": "Vous disposez de doubles déclencheurs, veuillez les supprimer !",
"ack": "Acquitter",
"active": "actif",
"condition": "Condition",
"confrm": "Confirmer",
"delay": "Retard",
"filename": "Nom de fichier",
"menu": "Menu",
"menuToCopy": "Menu à copier",
"newlineCheckbox": "Nouvelle ligne",
"parseMode": "Mode d'analyse",
"password": "Mot de passe",
"picSendDelay": "Délai d'envoi des photos",
"returnText": "Retourner le texte",
"save": "Sauvegarder",
"setDynamicValue": "Cela vous permet d'écrire des valeurs dynamiques dans des points de données. Passez simplement un appel et vous pourrez ensuite saisir la valeur dans le champ de saisie. RequestText : texte pour demander la valeur. Type : type de la valeur (booléen ou nombre). ConfirmText : texte pour confirmer la valeur. ID : Si vous souhaitez confirmer depuis un autre État, entrez l'ID ici. (Ceci est facultatif)",
"telegram-menu adapter settings": "Paramètres de l'adaptateur pour le menu télégramme"
"switchCheckbox": "Changer",
"telegram-menu adapter settings": "Paramètres de l'adaptateur pour le menu télégramme",
"text": "Texte",
"trigger": "Déclenchement",
"url": "URL",
"user": "Utilisateur",
"values": "Valeurs"
}
23 changes: 22 additions & 1 deletion admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Genera due pulsanti, in questo caso on e off con i rispettivi valori true e false.",
"Global User activ": "Utente globale attivo",
"Hide": "Nascondere",
"ID": "ID",
"IDs": "ID",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Se desideri essere avvisato della modifica di un altro punto dati dopo aver impostato il punto dati nel campo di immissione ID. La modifica verrà condivisa solo se è impostata con ack:true. È obbligatorio specificare un testo fuori dal {}, altrimenti verrà aggiunto automaticamente.",
"Inactive": "Inattivo",
"Instance": "Esempio",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Quando viene premuto, si torna al menu precedente",
"Yes": "",
"You have double triggers, please remove them!": "Hai doppi trigger, rimuovili!",
"ack": "Ac",
"active": "attivo",
"condition": "Condizione",
"confrm": "Confermare",
"delay": "Ritardo",
"filename": "Nome file",
"menu": "Menu",
"menuToCopy": "Menù da copiare",
"newlineCheckbox": "Nuova riga",
"parseMode": "Modalità di analisi",
"password": "Password",
"picSendDelay": "Ritardo nell'invio dell'immagine",
"returnText": "Restituisci il testo",
"save": "Salva",
"setDynamicValue": "Ciò consente di scrivere valori dinamici in punti dati. Basta effettuare una chiamata e quindi inserire il valore nel campo di immissione. RequestText: testo per richiedere il valore. Tipo: tipo del valore (booleano o numerico). confirmText: testo per confermare il valore. ID: se desideri confermare da un altro Stato, inserisci qui l'ID (facoltativo)",
"telegram-menu adapter settings": "Impostazioni dell'adattatore per il menu telegramma"
"switchCheckbox": "Interruttore",
"telegram-menu adapter settings": "Impostazioni dell'adattatore per il menu telegramma",
"text": "Testo",
"trigger": "Grilletto",
"url": "URL",
"user": "Utente",
"values": "Valori"
}
23 changes: 22 additions & 1 deletion admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Genereert twee knoppen, in dit geval aan en uit met de respectievelijke waarden waar en onwaar.",
"Global User activ": "Globale gebruiker actief",
"Hide": "Verbergen",
"ID": "Identiteitskaart",
"IDs": "ID's",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Als u op de hoogte wilt worden gesteld van de wijziging van een ander datapunt nadat u het datapunt in het ID-invoerveld hebt ingesteld. De wijziging wordt alleen gedeeld als deze is ingesteld met ack:true. Het is verplicht om een ​​tekst buiten de {} op te geven, anders wordt deze automatisch toegevoegd.",
"Inactive": "Inactief",
"Instance": "Voorbeeld",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Wanneer u hierop drukt, springt u terug naar het vorige menu",
"Yes": "Ja",
"You have double triggers, please remove them!": "U heeft dubbele triggers, verwijder deze alstublieft!",
"ack": "Ak",
"active": "actief",
"condition": "Voorwaarde",
"confrm": "Bevestigen",
"delay": "Vertraging",
"filename": "Bestandsnaam",
"menu": "Menu",
"menuToCopy": "Menu om te kopiëren",
"newlineCheckbox": "Nieuwe lijn",
"parseMode": "Parseermodus",
"password": "Wachtwoord",
"picSendDelay": "Vertraging foto verzenden",
"returnText": "Tekst retourneren",
"save": "Redden",
"setDynamicValue": "Hierdoor kunt u dynamische waarden in datapunten schrijven. U hoeft alleen maar te bellen en vervolgens kunt u de waarde in het invoerveld invoeren. RequestText: tekst om de waarde op te vragen. Type: type waarde (Boolean of getal). BevestigTekst: tekst om de waarde te bevestigen. ID: Als u vanuit een andere staat wilt bevestigen, voert u hier het ID in. (Dit is optioneel)",
"telegram-menu adapter settings": "Adapterinstellingen voor telegrammenu"
"switchCheckbox": "Schakelaar",
"telegram-menu adapter settings": "Adapterinstellingen voor telegrammenu",
"text": "Tekst",
"trigger": "Trekker",
"url": "URL",
"user": "Gebruiker",
"values": "Waarden"
}
23 changes: 22 additions & 1 deletion admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Generuje dwa przyciski, w tym przypadku włączające i wyłączające z odpowiednimi wartościami prawda i fałsz.",
"Global User activ": "Aktywny użytkownik globalny",
"Hide": "Ukrywać",
"ID": "ID",
"IDs": "identyfikatory",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Jeśli chcesz otrzymać powiadomienie o zmianie innego punktu danych po ustawieniu punktu danych w polu wprowadzania ID. Zmiana zostanie udostępniona tylko wtedy, gdy zostanie ustawiona opcja ack:true. Obowiązkowe jest podanie tekstu poza {}, w przeciwnym razie zostanie on dodany automatycznie.",
"Inactive": "Nieaktywny",
"Instance": "Instancja",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Po naciśnięciu następuje powrót do poprzedniego menu",
"Yes": "Tak",
"You have double triggers, please remove them!": "Masz podwójne wyzwalacze, usuń je!",
"ack": "Potwierdz",
"active": "aktywny",
"condition": "Stan",
"confrm": "Potwierdzać",
"delay": "Opóźnienie",
"filename": "Nazwa pliku",
"menu": "Menu",
"menuToCopy": "Menu do skopiowania",
"newlineCheckbox": "Nowa linia",
"parseMode": "Tryb analizy",
"password": "Hasło",
"picSendDelay": "Opóźnienie wysyłania zdjęć",
"returnText": "Zwróć tekst",
"save": "Ratować",
"setDynamicValue": "Umożliwia to zapisywanie wartości dynamicznych w punktach danych. Wystarczy wykonać połączenie, a następnie wprowadzić wartość w polu wejściowym. RequestText: Tekst żądania wartości. Typ: typ wartości (logiczna lub liczba). PotwierdźTekst: Tekst potwierdzający wartość. ID: Jeśli chcesz potwierdzić, że pochodzisz z innego stanu, wprowadź tutaj identyfikator. (jest to opcjonalne)",
"telegram-menu adapter settings": "Ustawienia adaptera dla menu telegramu"
"switchCheckbox": "Przełącznik",
"telegram-menu adapter settings": "Ustawienia adaptera dla menu telegramu",
"text": "Tekst",
"trigger": "Spust",
"url": "Adres URL",
"user": "Użytkownik",
"values": "Wartości"
}
23 changes: 22 additions & 1 deletion admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
"Generates two buttons, in this case on and off with the respective values ​​true and false.": "Gera dois botões, neste caso liga e desliga com os respectivos valores verdadeiro e falso.",
"Global User activ": "Usuário global ativo",
"Hide": "Esconder",
"ID": "EU IA",
"IDs": "IDs",
"If you want to be notified of the change of another data point after you have set the data point in the ID input field. The change will only be shared if it is set with ack:true. It is mandatory to specify a text outside the {}, otherwise it will be added automatically.": "Se você deseja ser notificado sobre a alteração de outro ponto de dados depois de definir o ponto de dados no campo de entrada ID. A alteração só será compartilhada se estiver definida com ack:true. É obrigatório especificar um texto fora do {}, caso contrário ele será adicionado automaticamente.",
"Inactive": "Inativo",
"Instance": "Instância",
Expand Down Expand Up @@ -145,7 +147,26 @@
"When pressed, you jump back to the previous menu": "Quando pressionado, você volta ao menu anterior",
"Yes": "Sim",
"You have double triggers, please remove them!": "Você tem gatilhos duplos, remova-os!",
"ack": "Confirmar",
"active": "ativo",
"condition": "Doença",
"confrm": "Confirmar",
"delay": "Atraso",
"filename": "Nome do arquivo",
"menu": "Menu",
"menuToCopy": "Menu para copiar",
"newlineCheckbox": "Nova linha",
"parseMode": "Modo de análise",
"password": "Senha",
"picSendDelay": "Atraso no envio de imagem",
"returnText": "Texto de retorno",
"save": "Salvar",
"setDynamicValue": "Isso permite gravar valores dinâmicos em pontos de dados. Basta fazer uma chamada e inserir o valor no campo de entrada. RequestText: Texto para solicitar o valor. Tipo: tipo do valor (booleano ou número). ConfirmText: Texto para confirmar o valor. ID: Se você deseja confirmar de outro estado, insira o ID aqui.(Isso é opcional)",
"telegram-menu adapter settings": "Configurações do adaptador para menu de telegrama"
"switchCheckbox": "Trocar",
"telegram-menu adapter settings": "Configurações do adaptador para menu de telegrama",
"text": "Texto",
"trigger": "Acionar",
"url": "URL",
"user": "Usuário",
"values": "Valores"
}
Loading

0 comments on commit b28bbe5

Please sign in to comment.