Skip to content

Commit

Permalink
Enabled disabled translation (#1645)
Browse files Browse the repository at this point in the history
<img width="504" alt="Zrzut ekranu 2023-11-7 o 14 42 51"
src="https://github.com/homebridge/homebridge-config-ui-x/assets/82271669/1613a570-7a67-4739-b57e-944cbfc7168d">

---------

Co-authored-by: Ben <[email protected]>
Co-authored-by: Donavan Becker <[email protected]>
  • Loading branch information
3 people authored Nov 7, 2023
1 parent a7e8f54 commit 831c3c9
Show file tree
Hide file tree
Showing 28 changed files with 123 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@
</a> Synology DSM
</td>
</tr>
<tr *ngIf="serverInfo.homebridgeRunningInDocker">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_docker'">Docker</th>
<td>Yes</td>
</tr>
<tr *ngIf="serverInfo.homebridgeServiceMode">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_service_mode'">Service Mode</th>
<td>Yes</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_nodejs_version'">
Node.js Version
Expand Down Expand Up @@ -83,10 +75,25 @@
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_plugin_path'">Plugin Path</th>
<td>{{ serverInfo.homebridgeCustomPluginPath || serverInfo.homebridgePluginPath }}</td>
</tr>
<tr *ngIf="serverInfo.homebridgeRunningInDocker">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_docker'">Docker</th>
<td class="text-nowrap" [translate]="'status.widget.systeminfo.label_yes'">Yes</td>
</tr>
<tr *ngIf="serverInfo.homebridgeRunningInSynologyPackage">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_synology_package'">
Synology Package
</th>
<td class="text-nowrap" [translate]="'status.widget.systeminfo.label_yes'">Yes</td>
</tr>
<tr>
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_timezone'">Timezone</th>
<td>{{ serverInfo.time.timezone }}</td>
</tr>
<tr *ngIf="serverInfo.homebridgeServiceMode">
<th scope="row" class="text-nowrap" [translate]="'status.widget.systeminfo.label_service_mode'">Service Mode
</th>
<td class="text-nowrap" [translate]="'status.widget.systeminfo.label_enabled'">Enabled</td>
</tr>
</tbody>
</table>
</div>
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Storage Path",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Timezone",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Manage Widget",
"status.widget.uptime.label_process": "Process",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Ruta d'emmagatzematge",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Zona horària",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Gestionar widget",
"status.widget.uptime.label_process": "Procés",
"status.widget.uptime.label_server": "Servidor",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Cesta k programu",
"status.widget.systeminfo.label_synology_package": "Synology Balíček",
"status.widget.systeminfo.label_timezone": "Časová zóna",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Spravovat widgety",
"status.widget.uptime.label_process": "Proces",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Speicherpfad",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Zeitzone",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Widget verwalten",
"status.widget.uptime.label_process": "Prozess",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Storage Path",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Timezone",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Manage Widget",
"status.widget.uptime.label_process": "Process",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Ruta de Almacenamiento",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Zona Horaria",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Gestionar Widget",
"status.widget.uptime.label_process": "Proceso",
"status.widget.uptime.label_server": "Servidor",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Répertoire de stockage",
"status.widget.systeminfo.label_synology_package": "Paquet Synology",
"status.widget.systeminfo.label_timezone": "Fuseau Horaire",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Gérer le Widget",
"status.widget.uptime.label_process": "Process",
"status.widget.uptime.label_server": "Serveur",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "שביל אחסון",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "אזור זמן",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "נהל ווידג'טים",
"status.widget.uptime.label_process": "תהליך",
"status.widget.uptime.label_server": "שרת",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Storage Path",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Timezone",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Manage Widget",
"status.widget.uptime.label_process": "Process",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Path Penyimpanan",
"status.widget.systeminfo.label_synology_package": "Paket Synology",
"status.widget.systeminfo.label_timezone": "Zona Waktu",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Kelola Widget",
"status.widget.uptime.label_process": "Proses",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Percorso salvataggio",
"status.widget.systeminfo.label_synology_package": "Pacchetto Synology",
"status.widget.systeminfo.label_timezone": "Fuso orario",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Gestisci widget",
"status.widget.uptime.label_process": "Processo",
"status.widget.uptime.label_server": "Sistema",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "ストレージの場所",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "タイムゾーン",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "ウィジェットを管理",
"status.widget.uptime.label_process": "プロセス",
"status.widget.uptime.label_server": "サーバ",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "저장소 경로",
"status.widget.systeminfo.label_synology_package": "Synology 패키지",
"status.widget.systeminfo.label_timezone": "시간대",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "위젯 관리",
"status.widget.uptime.label_process": "프로세스",
"status.widget.uptime.label_server": "서버",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/mk.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Патека за storage",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Временска зона",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Управувај со Widget",
"status.widget.uptime.label_process": "Провес",
"status.widget.uptime.label_server": "Сервер",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Opslag Pad",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Tijdzone",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Beheer Widget",
"status.widget.uptime.label_process": "Proces",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Storage Path",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Timezone",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Manage Widget",
"status.widget.uptime.label_process": "Process",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Ścieżka zapisu",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Strefa czasowa",
"status.widget.systeminfo.label_enabled": "Włączony",
"status.widget.systeminfo.label_disbled": "Wyłączony",
"status.widget.systeminfo.label_yes": "Tak",
"status.widget.systeminfo.label_no": "Nie",
"status.widget.title_manage_widget": "Ustawienia widżetu",
"status.widget.uptime.label_process": "Procesy",
"status.widget.uptime.label_server": "Serwer",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Local do Armazenamento",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Fuso Horário",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Gerenciar o Widget",
"status.widget.uptime.label_process": "Processo",
"status.widget.uptime.label_server": "Servidor",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Caminho do Armazenamento",
"status.widget.systeminfo.label_synology_package": "Pacote Synology",
"status.widget.systeminfo.label_timezone": "Fuso Horário",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Gerir o Widget",
"status.widget.uptime.label_process": "Processo",
"status.widget.uptime.label_server": "Servidor",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Директория хранения",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Часовой пояс",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Управление виджетом",
"status.widget.uptime.label_process": "Процесс",
"status.widget.uptime.label_server": "Сервер",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Shranjevalna pot",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Časovni pas",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Upravljanje pripomočka",
"status.widget.uptime.label_process": "Proces",
"status.widget.uptime.label_server": "Strežnik",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Lagring sökväg",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Tidszon",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Hantera Widget",
"status.widget.uptime.label_process": "Process",
"status.widget.uptime.label_server": "Server",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "เส้นทางการจัดเก็บ",
"status.widget.systeminfo.label_synology_package": "แพ็คเกจ Synology",
"status.widget.systeminfo.label_timezone": "เขตเวลา",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "จัดการวิดเจ็ต",
"status.widget.uptime.label_process": "โปรเซส",
"status.widget.uptime.label_server": "เซิร์ฟเวอร์",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "Depolama Konumu",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "Saat Dilimi",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Aracı Yönet",
"status.widget.uptime.label_process": "İşlem",
"status.widget.uptime.label_server": "Sunucu",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@
"status.widget.systeminfo.label_storage_path": "Директорія зберігання",
"status.widget.systeminfo.label_synology_package": "Пакет Synology",
"status.widget.systeminfo.label_timezone": "Часовий пояс",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "Керування віджетом",
"status.widget.uptime.label_process": "Процес",
"status.widget.uptime.label_server": "Сервер",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "存储路径",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "时区",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "管理小插件",
"status.widget.uptime.label_process": "进程",
"status.widget.uptime.label_server": "服务",
Expand Down
4 changes: 4 additions & 0 deletions ui/src/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
"status.widget.systeminfo.label_storage_path": "儲存路徑",
"status.widget.systeminfo.label_synology_package": "Synology Package",
"status.widget.systeminfo.label_timezone": "時區",
"status.widget.systeminfo.label_enabled": "Enabled",
"status.widget.systeminfo.label_disbled": "Disabled",
"status.widget.systeminfo.label_yes": "Yes",
"status.widget.systeminfo.label_no": "No",
"status.widget.title_manage_widget": "管理 Widget",
"status.widget.uptime.label_process": "程序",
"status.widget.uptime.label_server": "伺服器",
Expand Down

0 comments on commit 831c3c9

Please sign in to comment.