Skip to content

Commit

Permalink
Admin config files
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Stricker committed Dec 3, 2023
1 parent 1c9462a commit 46f230c
Show file tree
Hide file tree
Showing 13 changed files with 250 additions and 159 deletions.
12 changes: 8 additions & 4 deletions admin/i18n/de/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Adaptereinstellungen für srm",
"option1": "Option 1",
"option2": "Option 2"
}
"srm adapter settings": "Adaptereinstellungen für SRM",
"Synology Router": "Synology-Router",
"IP address of the Synology router": "IP-Adresse des Synology-Routers",
"User name": "Nutzername",
"User password": "Benutzer-Passwort",
"Polling interval (in seconds)": "Abfrageintervall (in Sekunden)",
"Allow anonymous usage statistics with Sentry": "Erlauben Sie anonyme Nutzungsstatistiken mit Sentry"
}
10 changes: 7 additions & 3 deletions admin/i18n/en/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Adapter settings for srm",
"option1": "option1",
"option2": "option2"
"srm adapter settings": "Adapter settings for SRM",
"Synology Router": "Synology Router",
"IP address of the Synology router": "IP address of the Synology router",
"User name": "User name",
"User password": "User password",
"Polling interval (in seconds)": "Polling interval (in seconds)",
"Allow anonymous usage statistics with Sentry": "Allow anonymous usage statistics with Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/es/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Ajustes del adaptador para srm",
"option1": "Opción 1",
"option2": "opcion 2"
}
"srm adapter settings": "Configuración del adaptador para SRM",
"Synology Router": "Enrutador Synology",
"IP address of the Synology router": "Dirección IP del enrutador Synology",
"User name": "Nombre de usuario",
"User password": "Contraseña de usuario",
"Polling interval (in seconds)": "Intervalo de sondeo (en segundos)",
"Allow anonymous usage statistics with Sentry": "Permitir estadísticas de uso anónimas con Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/fr/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Paramètres d'adaptateur pour srm",
"option1": "Option 1",
"option2": "Option 2"
}
"srm adapter settings": "Paramètres de l'adaptateur pour SRM",
"Synology Router": "Routeur Synology",
"IP address of the Synology router": "Adresse IP du routeur Synology",
"User name": "Nom d'utilisateur",
"User password": "Mot de passe de l'utilisateur",
"Polling interval (in seconds)": "Intervalle d'interrogation (en secondes)",
"Allow anonymous usage statistics with Sentry": "Autoriser les statistiques d'utilisation anonymes avec Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/it/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Impostazioni dell'adattatore per srm",
"option1": "opzione 1",
"option2": "opzione 2"
}
"srm adapter settings": "Impostazioni dell'adattatore per SRM",
"Synology Router": "SynologyRouter",
"IP address of the Synology router": "Indirizzo IP del router Synology",
"User name": "Nome utente",
"User password": "Password utente",
"Polling interval (in seconds)": "Intervallo di polling (in secondi)",
"Allow anonymous usage statistics with Sentry": "Consenti statistiche di utilizzo anonime con Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/nl/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Adapterinstellingen voor srm",
"option1": "Optie 1",
"option2": "Optie 2"
}
"srm adapter settings": "Adapterinstellingen voor SRM",
"Synology Router": "Synology-router",
"IP address of the Synology router": "IP-adres van de Synology-router",
"User name": "Gebruikersnaam",
"User password": "Gebruikerswachtwoord",
"Polling interval (in seconds)": "Polling-interval (in seconden)",
"Allow anonymous usage statistics with Sentry": "Sta anonieme gebruiksstatistieken toe met Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/pl/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Ustawienia adaptera dla srm",
"option1": "opcja 1",
"option2": "Opcja 2"
}
"srm adapter settings": "Ustawienia adaptera dla SRM",
"Synology Router": "Router Synology",
"IP address of the Synology router": "Adres IP routera Synology",
"User name": "Nazwa użytkownika",
"User password": "Hasło użytkownika",
"Polling interval (in seconds)": "Interwał odpytywania (w sekundach)",
"Allow anonymous usage statistics with Sentry": "Zezwalaj na anonimowe statystyki użytkowania z Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/pt/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Configurações do adaptador para srm",
"option1": "Opção 1",
"option2": "opção 2"
}
"srm adapter settings": "Configurações do adaptador para SRM",
"Synology Router": "Roteador Synology",
"IP address of the Synology router": "Endereço IP do roteador Synology",
"User name": "Nome de usuário",
"User password": "Senha do usuário",
"Polling interval (in seconds)": "Intervalo de pesquisa (em segundos)",
"Allow anonymous usage statistics with Sentry": "Permitir estatísticas de uso anônimas com Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/ru/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Настройки адаптера для srm",
"option1": "Опция 1",
"option2": "вариант 2"
}
"srm adapter settings": "Настройки адаптера для SRM",
"Synology Router": "Маршрутизатор Synology",
"IP address of the Synology router": "IP-адрес маршрутизатора Synology",
"User name": "Имя пользователя",
"User password": "Пользовательский пароль",
"Polling interval (in seconds)": "Интервал опроса (в секундах)",
"Allow anonymous usage statistics with Sentry": "Разрешить анонимную статистику использования с помощью Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/uk/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "Налаштування адаптера для srm",
"option1": "варіант1",
"option2": "варіант2"
}
"srm adapter settings": "Налаштування адаптера для SRM",
"Synology Router": "Маршрутизатор Synology",
"IP address of the Synology router": "IP-адреса маршрутизатора Synology",
"User name": "Ім'я користувача",
"User password": "Пароль користувача",
"Polling interval (in seconds)": "Інтервал опитування (у секундах)",
"Allow anonymous usage statistics with Sentry": "Дозволити анонімну статистику використання за допомогою Sentry"
}
12 changes: 8 additions & 4 deletions admin/i18n/zh-cn/translations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"srm adapter settings": "srm的适配器设置",
"option1": "选项1",
"option2": "选项2"
}
"srm adapter settings": "SRM 的适配器设置",
"Synology Router": "Synology 路由器",
"IP address of the Synology router": "Synology 路由器的 IP 地址",
"User name": "用户名",
"User password": "用户密码",
"Polling interval (in seconds)": "轮询间隔(以秒为单位)",
"Allow anonymous usage statistics with Sentry": "允许使用 Sentry 进行匿名使用统计"
}
51 changes: 44 additions & 7 deletions admin/jsonConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,52 @@
"i18n": true,
"type": "panel",
"items": {
"option1": {
"type": "checkbox",
"label": "option1",
"newLine": true
"label": "Synology Router",
"IP": {
"type": "text",
"sm": 12,
"md": 6,
"lg": 6,
"label": "IP address of the Synology router"
},
"option2": {
"port": {
"type": "text",
"label": "option2",
"newLine": true
"label": "Port of the Synology router",
"sm": 12,
"md": 6,
"lg": 6,
"min": 1,
"max": 65535
},
"user": {
"newLine": true,
"type": "text",
"label": "User name",
"sm": 12,
"md": 6,
"lg": 6
},
"password": {
"type": "text",
"label": "User password",
"sm": 12,
"md": 6,
"lg": 6
},
"interval": {
"newLine": true,
"type": "number",
"label": "Polling interval (in seconds)",
"sm": 12,
"md": 6,
"lg": 6
},
"sentry": {
"type": "checkbox",
"label": "Allow anonymous usage statistics with Sentry",
"sm": 12,
"md": 6,
"lg": 6
}
}
}
Loading

0 comments on commit 46f230c

Please sign in to comment.