From 4b1b3d23bd2df992df5ea58e8720b4f799a25ba6 Mon Sep 17 00:00:00 2001 From: oznu Date: Sun, 2 Feb 2020 16:17:56 +1100 Subject: [PATCH] added feature to clear cached accessories when using hb-service --- CHANGELOG.md | 1 + package-lock.json | 2 +- package.json | 2 +- src/bin/hb-service.ts | 36 +++++++++++++++++++ src/modules/server/server.controller.ts | 6 ++++ src/modules/server/server.service.ts | 13 +++++++ ui/src/app/core/core.module.ts | 3 ++ ...et-cached-accessories-modal.component.html | 31 ++++++++++++++++ ...et-cached-accessories-modal.component.scss | 0 ...eset-cached-accessories-modal.component.ts | 36 +++++++++++++++++++ .../modules/settings/settings.component.html | 30 ++++++++++++++++ .../modules/settings/settings.component.ts | 18 +++++++++- ui/src/i18n/bg.json | 6 ++++ ui/src/i18n/cs.json | 6 ++++ ui/src/i18n/de.json | 6 ++++ ui/src/i18n/en.json | 6 ++++ ui/src/i18n/es.json | 6 ++++ ui/src/i18n/fr.json | 6 ++++ ui/src/i18n/hu.json | 6 ++++ ui/src/i18n/it.json | 6 ++++ ui/src/i18n/ja.json | 6 ++++ ui/src/i18n/nl.json | 6 ++++ ui/src/i18n/no.json | 6 ++++ ui/src/i18n/pl.json | 6 ++++ ui/src/i18n/ru.json | 6 ++++ ui/src/i18n/sv.json | 6 ++++ ui/src/i18n/tr.json | 6 ++++ ui/src/i18n/zh-CN.json | 6 ++++ ui/src/i18n/zh-TW.json | 6 ++++ 29 files changed, 277 insertions(+), 3 deletions(-) create mode 100644 ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.html create mode 100644 ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.scss create mode 100644 ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1477326..e33f4b8bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. This projec * **Plugins:** Added an option to have a plugin's config removed from the `config.json` when the plugin is being uninstalled (only plugins that implement the [Plugins Settings GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI) support this feature) * **Dashboard:** Weather widget now supports local translations of the current weather description ([#515](https://github.com/oznu/homebridge-config-ui-x/issues/515)) * **System:** The UI will now attempt to rebuild it's own modules after a Node.js upgrade +* **System:** Added the ability for [`hb-service`](https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command) users to clear the Homebridge cached accessories from the UI (without doing a full hard reset) ### Other Changes diff --git a/package-lock.json b/package-lock.json index 0c0e0625a..a50752fcd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "homebridge-config-ui-x", - "version": "4.10.0-beta.2", + "version": "4.10.0-beta.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index f44c9fa76..47225f77d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "homebridge-config-ui-x", "displayName": "Homebridge Config UI X", - "version": "4.10.0-beta.2", + "version": "4.10.0-beta.3", "description": "A web based management, configuration and control platform for Homebridge", "license": "MIT", "author": "oznu ", diff --git a/src/bin/hb-service.ts b/src/bin/hb-service.ts index f61fe221e..9f877c97d 100644 --- a/src/bin/hb-service.ts +++ b/src/bin/hb-service.ts @@ -29,6 +29,7 @@ export class HomebridgeServiceHelper { private log: fs.WriteStream; private homebridgeBinary: string; private homebridge: child_process.ChildProcessWithoutNullStreams; + private homebridgeStopped = true; private homebridgeOpts = []; private homebridgeCustomEnv = {}; private uiBinary: string; @@ -258,6 +259,12 @@ export class HomebridgeServiceHelper { this.startExitHandler(); this.runHomebridge(); this.runUi(); + + process.addListener('message', (event) => { + if (event === 'clearCachedAccessories') { + this.clearHomebridgeCachedAccessories(); + } + }); } /** @@ -286,6 +293,8 @@ export class HomebridgeServiceHelper { * Starts homebridge as a child process, sending the log output to the homebridge.log */ private runHomebridge() { + this.homebridgeStopped = false; + if (this.homebridgeOpts.length) { this.logger(`Starting Homebridge with extra flags: ${this.homebridgeOpts.join(' ')}`); } @@ -337,6 +346,7 @@ export class HomebridgeServiceHelper { * @param signal */ private handleHomebridgeClose(code: number, signal: string) { + this.homebridgeStopped = true; this.logger(`Homebridge Process Ended. Code: ${code}, Signal: ${signal}`); setTimeout(() => { this.logger('Restarting Homebridge...'); @@ -590,6 +600,32 @@ export class HomebridgeServiceHelper { } } + /** + * Clears the Homebridge Cached Accessories + */ + private clearHomebridgeCachedAccessories() { + const cachedAccessoriesPath = path.resolve(this.storagePath, 'accessories', 'cachedAccessories'); + + const clearAccessoriesCache = () => { + try { + if (fs.existsSync(cachedAccessoriesPath)) { + this.logger('Clearing Cached Homebridge Accessories...'); + fs.unlinkSync(cachedAccessoriesPath); + } + } catch (e) { + this.logger(`ERROR: Failed to clear Homebridge Accessories Cache at ${cachedAccessoriesPath}`); + console.error(e); + } + }; + + if (this.homebridge && !this.homebridgeStopped) { + this.homebridge.once('close', clearAccessoriesCache); + this.homebridge.kill(); + } else { + clearAccessoriesCache(); + } + } + } function bootstrap() { diff --git a/src/modules/server/server.controller.ts b/src/modules/server/server.controller.ts index d2ce72062..b03f6333c 100644 --- a/src/modules/server/server.controller.ts +++ b/src/modules/server/server.controller.ts @@ -28,4 +28,10 @@ export class ServerController { return this.serverService.resetHomebridgeAccessory(); } + @UseGuards(AdminGuard) + @Put('/reset-cached-accessories') + resetCachedAccessories() { + return this.serverService.resetCachedAccessories(); + } + } diff --git a/src/modules/server/server.service.ts b/src/modules/server/server.service.ts index 73d5f9367..910fe2f91 100644 --- a/src/modules/server/server.service.ts +++ b/src/modules/server/server.service.ts @@ -69,6 +69,19 @@ export class ServerService { this.logger.log(`Homebridge Reset: "accessories" directory removed.`); } + /** + * Clears the Homebridge Accessory Cache + */ + public async resetCachedAccessories() { + if (this.configService.serviceMode) { + this.logger.warn('Sent request to clear cached accesories to hb-service'); + process.emit('message', 'clearCachedAccessories', undefined); + } else { + this.logger.error('The reset accessories cache command is only available in service mode'); + throw new BadRequestException('This command is only available in service mode'); + } + } + /** * Returns a QR Code SVG */ diff --git a/ui/src/app/core/core.module.ts b/ui/src/app/core/core.module.ts index f43eebe1a..fb2781410 100644 --- a/ui/src/app/core/core.module.ts +++ b/ui/src/app/core/core.module.ts @@ -7,10 +7,12 @@ import { HrefTargetBlankDirective } from './directives/href-target-blank.directi import { LongClickDirective } from './directives/longclick.directive'; import { ResetHomebridgeModalComponent } from './reset-homebridge-modal/reset-homebridge-modal.component'; import { TranslateModule } from '@ngx-translate/core'; +import { ResetCachedAccessoriesModalComponent } from './reset-cached-accessories-modal/reset-cached-accessories-modal.component'; @NgModule({ entryComponents: [ ResetHomebridgeModalComponent, + ResetCachedAccessoriesModalComponent, ], declarations: [ SpinnerComponent, @@ -19,6 +21,7 @@ import { TranslateModule } from '@ngx-translate/core'; HrefTargetBlankDirective, LongClickDirective, ResetHomebridgeModalComponent, + ResetCachedAccessoriesModalComponent, ], imports: [ CommonModule, diff --git a/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.html b/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.html new file mode 100644 index 000000000..c31fc990c --- /dev/null +++ b/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.html @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.scss b/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.scss new file mode 100644 index 000000000..e69de29bb diff --git a/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.ts b/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.ts new file mode 100644 index 000000000..65e37a43b --- /dev/null +++ b/ui/src/app/core/reset-cached-accessories-modal/reset-cached-accessories-modal.component.ts @@ -0,0 +1,36 @@ +import { Component } from '@angular/core'; +import { Router } from '@angular/router'; +import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; +import { TranslateService } from '@ngx-translate/core'; +import { ToastrService } from 'ngx-toastr'; +import { ApiService } from '../api.service'; + +@Component({ + selector: 'app-reset-cached-accessories-modal', + templateUrl: './reset-cached-accessories-modal.component.html', + styleUrls: ['./reset-cached-accessories-modal.component.scss'], +}) +export class ResetCachedAccessoriesModalComponent { + public clicked: boolean; + + constructor( + public activeModal: NgbActiveModal, + public toastr: ToastrService, + private translate: TranslateService, + private $route: Router, + private $api: ApiService, + ) { } + + onResetCachedAccessoriesClick() { + this.clicked = true; + return this.$api.put('/server/reset-cached-accessories', {}).subscribe( + data => { + this.toastr.success(this.translate.instant('reset.toast_clear_cached_accessories_success'), this.translate.instant('toast.title_success')); + this.activeModal.close(); + }, + async err => { + this.toastr.error(this.translate.instant('reset.toast_failed_to_reset'), this.translate.instant('toast.title_error')); + }, + ); + } +} diff --git a/ui/src/app/modules/settings/settings.component.html b/ui/src/app/modules/settings/settings.component.html index e62b6a558..21e6b7ae0 100644 --- a/ui/src/app/modules/settings/settings.component.html +++ b/ui/src/app/modules/settings/settings.component.html @@ -79,4 +79,34 @@
Environment Variables
+
+
Actions
+ +
    +
  • + + {{ 'reset.title_clear_cached_accessories' | translate }} + + + +
  • +
  • + + {{ 'reset.title_reset_homebridge_accessory' | translate | titlecase }} + + + +
  • +
+ +
+ \ No newline at end of file diff --git a/ui/src/app/modules/settings/settings.component.ts b/ui/src/app/modules/settings/settings.component.ts index cd6c9d7de..869a73c42 100644 --- a/ui/src/app/modules/settings/settings.component.ts +++ b/ui/src/app/modules/settings/settings.component.ts @@ -3,10 +3,13 @@ import { FormGroup, FormBuilder } from '@angular/forms'; import { ToastrService } from 'ngx-toastr'; import { ActivatedRoute } from '@angular/router'; import { TranslateService } from '@ngx-translate/core'; +import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; +import { debounceTime } from 'rxjs/operators'; import { AuthService } from '../../core/auth/auth.service'; import { ApiService } from '../../core/api.service'; -import { debounceTime } from 'rxjs/operators'; +import { ResetCachedAccessoriesModalComponent } from '../../core/reset-cached-accessories-modal/reset-cached-accessories-modal.component'; +import { ResetHomebridgeModalComponent } from '../../core/reset-homebridge-modal/reset-homebridge-modal.component'; @Component({ selector: 'app-settings', @@ -22,6 +25,7 @@ export class SettingsComponent implements OnInit { private $api: ApiService, public $fb: FormBuilder, public $toastr: ToastrService, + private $modal: NgbModal, private $route: ActivatedRoute, private translate: TranslateService, ) { } @@ -86,5 +90,17 @@ export class SettingsComponent implements OnInit { }); } + resetHomebridgeState() { + this.$modal.open(ResetHomebridgeModalComponent, { + size: 'lg', + }); + } + + resetCachedAccessories() { + this.$modal.open(ResetCachedAccessoriesModalComponent, { + size: 'lg', + }); + } + } diff --git a/ui/src/i18n/bg.json b/ui/src/i18n/bg.json index 547099e84..dc75d2ef0 100755 --- a/ui/src/i18n/bg.json +++ b/ui/src/i18n/bg.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Налична е актуализация", "plugins.toast_failed_to_load_plugins": "Неуспешно зареждане на добавките", "plugins.tooltip_update_plugin_to": "Актуализирай добавката до v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Нулирай Homebridge сега", "reset.label_reset_homebridge": "Нулирай homebridge", "reset.message_accessory_config_will_not_be_changed": "Останалата част от конфигурацията ви няма да бъде променена. Ако Homebridge не се стартира поради лоша конфигурация, нулирането няма да го поправи.", "reset.message_action_is_irreversible": "Това действие е необратимо. Моля, прочетете внимателно, преди да продължите.", "reset.message_all_automations_will_be_reset": "Всички автоматизации и ще трябва да бъдат пренастроени след нулиране.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Ще трябва да премахнете съществуващия Homebridge аксесоар ръчно от приложението Home.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Нулирането ще раздвои тази инсталация на Homebridge от вашата настройка на Apple HomeKit.", "reset.message_your_homebridge_username_will_be_changed": "Вашите Homebridge потребителско име и pin ще бъдат променени.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Нулирай Homebridge аксесоар", "reset.title_warning": "Внимание", "reset.toast_accessory_reset": "Нулиране на аксесоар за Homebridge", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Неуспешно нулиране на Homebridge. Виж лог.", "restart.label_restart_command_executed": "Командата за рестартиране е изпълнена", "restart.message_please_wait_while_server_restarts": "Моля, изчакайте, тази страница автоматично ще се пренасочи, когато сървърът отново е онлайн.", diff --git a/ui/src/i18n/cs.json b/ui/src/i18n/cs.json index 9aafce52b..b9c288435 100644 --- a/ui/src/i18n/cs.json +++ b/ui/src/i18n/cs.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Aktualizace k dispozici", "plugins.toast_failed_to_load_plugins": "Nepodařilo se načíst pluginy", "plugins.tooltip_update_plugin_to": "Aktualizovat plugin pro v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Resetovat Homebridge nyní", "reset.label_reset_homebridge": "restartovat homebridge", "reset.message_accessory_config_will_not_be_changed": "Zbytek konfigurace se nezmění. Pokud se Homebridge nespustí kvůli špatné konfiguraci, reset ji neopraví.", "reset.message_action_is_irreversible": "Tato akce je nevratná. Před pokračováním prosím pečlivě přečtěte.", "reset.message_all_automations_will_be_reset": "Všechny automatizace budou muset po restartování znovu nastaveny.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Budete muset ručně odstranit existující příslušenství Homebridge v aplikaci Domácnost.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Reset odpáruje tento Homebridge most z vašeho nastavení Apple HomeKit.", "reset.message_your_homebridge_username_will_be_changed": "Vaše Homebridge uživatelské jméno a PIN budou změněny.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Resetovat příslušenství Homebridge", "reset.title_warning": "Varování", "reset.toast_accessory_reset": "Resetování příslušenství Homebridge", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Resetování Homebridge se nezdařilo. Viz log.", "restart.label_restart_command_executed": "Příkaz restartování spuštěn", "restart.message_please_wait_while_server_restarts": "Čekejte prosím, tato stránka se automaticky přesměruje, když bude server znovu online.", diff --git a/ui/src/i18n/de.json b/ui/src/i18n/de.json index e07ffc000..b54886540 100644 --- a/ui/src/i18n/de.json +++ b/ui/src/i18n/de.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Aktualisierung verfügbar", "plugins.toast_failed_to_load_plugins": "Fehler beim Laden der Plugins", "plugins.tooltip_update_plugin_to": "Plugin auf v{{latestVersion}} aktualisieren", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Homebridge zurücksetzen", "reset.label_reset_homebridge": "Homebridge zurücksetzen", "reset.message_accessory_config_will_not_be_changed": "Die Konfiguration wird nicht geändert. Wenn Homebridge aufgrund einer fehlerhaften Konfiguration nicht gestartet wird, kann ein Reset das Problem nicht beheben.", "reset.message_action_is_irreversible": "Diese Aktion ist nicht umkehrbar. Bitte prüfe sie sorgfältig, bevor du fortfährst.", "reset.message_all_automations_will_be_reset": "Alle Automatisierungen müssen nach einem Reset neu konfiguriert werden.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Du musst das vorhandene Homebridge-Geräte manuell aus der Home-App entfernen.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Durch einen Reset wird diese Homebridge-Instanz von deinem Apple HomeKit-Setup getrennt.", "reset.message_your_homebridge_username_will_be_changed": "Dein Homebridge-Benutzername und Deine PIN werden geändert.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Zurücksetzen der Homebridge-Geräte", "reset.title_warning": "Warnung", "reset.toast_accessory_reset": "Homebridge-Geräte zurücksetzen", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Homebridge konnte nicht zurückgesetzt werden. Siehe Protokoll.", "restart.label_restart_command_executed": "Neustart angestoßen", "restart.message_please_wait_while_server_restarts": "Bitte warte, du wirst automatisch umgeleitet, wenn der Server wieder online ist.", diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json index 1afe8153b..8247549ed 100644 --- a/ui/src/i18n/en.json +++ b/ui/src/i18n/en.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Update Available", "plugins.toast_failed_to_load_plugins": "Failed to load plugins", "plugins.tooltip_update_plugin_to": "Update plugin to v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Reset Homebridge Now", "reset.label_reset_homebridge": "reset homebridge", "reset.message_accessory_config_will_not_be_changed": "The rest of your config will not be changed. If Homebridge is not starting due to a bad config a reset will not fix it.", "reset.message_action_is_irreversible": "This action is irreversible. Please read carefully before proceeding.", "reset.message_all_automations_will_be_reset": "All automations and will need to be reconfigured after a reset.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "You will need to remove the existing Homebridge accessory from the Home app manually.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "A reset will unpair this Homebridge instance from your Apple HomeKit setup.", "reset.message_your_homebridge_username_will_be_changed": "Your Homebridge username and pin will be changed.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Reset Homebridge Accessory", "reset.title_warning": "Warning", "reset.toast_accessory_reset": "Homebridge Accessory Reset", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Failed to reset Homebridge. See Logs.", "restart.label_restart_command_executed": "Restart Command Executed", "restart.message_please_wait_while_server_restarts": "Please wait, this page will automatically redirect when the server is back online.", diff --git a/ui/src/i18n/es.json b/ui/src/i18n/es.json index 309a0807e..d8d0245ac 100644 --- a/ui/src/i18n/es.json +++ b/ui/src/i18n/es.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Actualización disponible", "plugins.toast_failed_to_load_plugins": "Error al cargar los plugins", "plugins.tooltip_update_plugin_to": "Actualizar plugin a v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Reiniciar Homebrige ahora", "reset.label_reset_homebridge": "reiniciar Homebridge", "reset.message_accessory_config_will_not_be_changed": "El resto de tu configuración no será cambiada. Si Homebridge no inicia debido a una mala configuración, un reinicio no lo arreglará.", "reset.message_action_is_irreversible": "Esta acción es irreversible. Por favor, lee con precaución antes de continuar.", "reset.message_all_automations_will_be_reset": "Todas las automatizaciones necesitarán ser configuradas de nuevo después de reinicio.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Necesitarás eliminar manualmente el accesorio Homebridge existente en la aplicación Casa.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Un reinicio desemparejará esta instancia de Homebridge de tu configuración de Apple Homekit.", "reset.message_your_homebridge_username_will_be_changed": "Tu usuario y pin de Homebridge han cambiado.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Reiniciar accesorio Homebridge", "reset.title_warning": "Aviso", "reset.toast_accessory_reset": "Accesorio Homebridge reiniciado", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Error al reiniciar Homebridge. Mira los logs.", "restart.label_restart_command_executed": "Comando de reinicio ejecutado", "restart.message_please_wait_while_server_restarts": "Por favor, espera, esta página te redireccionará automáticamente cuando el servidor vuelva a estar disponible.", diff --git a/ui/src/i18n/fr.json b/ui/src/i18n/fr.json index fc11d83c8..5a86ba47a 100644 --- a/ui/src/i18n/fr.json +++ b/ui/src/i18n/fr.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Mise à jour disponible", "plugins.toast_failed_to_load_plugins": "Erreur de chargement des plugins", "plugins.tooltip_update_plugin_to": "Mettre à jour le plugin vers v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Réinitialiser Homebridge maintenant", "reset.label_reset_homebridge": "réinitialiser homebridge", "reset.message_accessory_config_will_not_be_changed": "Le reste de votre config ne sera pas modifié. Si Homebridge ne démarre pas du à une mauvaise config, une réinitialisation ne réglera pas le problème.", "reset.message_action_is_irreversible": "Cette action est irréversible. Merci de lire avec attention avant de continuer.", "reset.message_all_automations_will_be_reset": "Toutes les automatisations devront être reconfigurées après une réinitialisation.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Vous devrez supprimer manuellement l'accessoire Homebridge existant de l'app Maison.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Une réinitialisation va délier cette instance Homebridge de votre configuration Apple Homekit.", "reset.message_your_homebridge_username_will_be_changed": "Votre nom d'utilisateur et pin Homebridge sera modifié.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Réinitialiser l'accessoire Homebridge", "reset.title_warning": "Attention", "reset.toast_accessory_reset": "Réinitialisation de l'accessoire Homebridge", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Erreur lors de la réinitialisation d'Homebridge. Regarder les Logs.", "restart.label_restart_command_executed": "Commande de redémarrage exécutée", "restart.message_please_wait_while_server_restarts": "Merci de patienter, cette page redirigera automatiquement quand le serveur sera de nouveau en ligne.", diff --git a/ui/src/i18n/hu.json b/ui/src/i18n/hu.json index 5cbb95c1d..90eebe48b 100644 --- a/ui/src/i18n/hu.json +++ b/ui/src/i18n/hu.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Új frissítés érhető el", "plugins.toast_failed_to_load_plugins": "Nem sikerült betölteni a plugineket", "plugins.tooltip_update_plugin_to": "Frissítés a v{{latestVersion}} verzióra", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Homebridge resetelése most", "reset.label_reset_homebridge": "homebridge resetelése", "reset.message_accessory_config_will_not_be_changed": "A beállítások nagy része nem lesz változtatva. Ha a Homebridge nem indul el a rossz beállítások miatt, azt a reset nem oldja meg.", "reset.message_action_is_irreversible": "Ez a mávelet visszavonhatatlan. Figyelmesen olvassa el, mielőtt megtenné.", "reset.message_all_automations_will_be_reset": "Minden automatizálást újra kell konfigurálni a reset után.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Kézzel kell eltávolítania a Homebridge kiegészítőt a Home Appból.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "A resetelés elveszíti a párosítást a Homebridge és az Apple HomeKit között.", "reset.message_your_homebridge_username_will_be_changed": "A Homebridge felhasználó neve és pinje hamarosan megváltozik.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Homebridge Kiegészítő resetelése", "reset.title_warning": "Figyelem!", "reset.toast_accessory_reset": "Homebridge Kiegészítő resetelése", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Nem sikerült resetelni a Homebridge-t. Logok megtekintése.", "restart.label_restart_command_executed": "Újraindítás kérelem kiküldve", "restart.message_please_wait_while_server_restarts": "Kérjük várjon, ez az oldal automatikusan frissül, amint visszatér a szerver.", diff --git a/ui/src/i18n/it.json b/ui/src/i18n/it.json index 8e9cc4115..3b699f123 100644 --- a/ui/src/i18n/it.json +++ b/ui/src/i18n/it.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Aggiornamento Disponibile", "plugins.toast_failed_to_load_plugins": "Impossibile caricare i plugin", "plugins.tooltip_update_plugin_to": "Aggiorna plugin alla versione v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Reimposta Homebridge ora", "reset.label_reset_homebridge": "reimposta homebridge", "reset.message_accessory_config_will_not_be_changed": "Il resto della tua configurazione non verrà modificato. Se Homebridge non si avvia a causa di una configurazione errata, il ripristino non lo risolverà.", "reset.message_action_is_irreversible": "Questa azione è irreversibile. Si prega di leggere attentamente prima di procedere.", "reset.message_all_automations_will_be_reset": "Tutte le automazioni e dovranno essere riconfigurate dopo un reset.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Sarà necessario rimuovere manualmente l'accessorio Homebridge esistente dall'app Home.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Un ripristino annulla l'associazione di questa istanza di Homebridge dalla configurazione di Apple HomeKit.", "reset.message_your_homebridge_username_will_be_changed": "Il nome utente e il pin di Homebridge saranno modificati.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Ripristina accessorio Homebridge", "reset.title_warning": "Attenzione", "reset.toast_accessory_reset": "Ripristino accessorio Homebridge", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Impossibile reimpostare Homebridge. Controlla i logs.", "restart.label_restart_command_executed": "Riavvio Richiesto", "restart.message_please_wait_while_server_restarts": "Attendi, questa pagina verrà reindirizzata automaticamente quando il server sarà di nuovo online.", diff --git a/ui/src/i18n/ja.json b/ui/src/i18n/ja.json index 9317e2a72..116965efb 100644 --- a/ui/src/i18n/ja.json +++ b/ui/src/i18n/ja.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "更新が利用可能です", "plugins.toast_failed_to_load_plugins": "プラグインの読み込みに失敗しました", "plugins.tooltip_update_plugin_to": "プラグインをv{{latestVersion}}に更新", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "今すぐHomebridgeを初期化", "reset.label_reset_homebridge": "homebridgeを初期化", "reset.message_accessory_config_will_not_be_changed": "その他の設定は変更されません。 Homebridgeが不適切なコンフィグが原因で起動していない場合、初期化しても修正されません。", "reset.message_action_is_irreversible": "この操作は元に戻せません。決定する前によくお読みください。", "reset.message_all_automations_will_be_reset": "すべてのオートメーションはリセット後に再設定する必要があります", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "ホームアプリから既存のHomebridgeアクセサリを手動で削除する必要があります", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "初期化すると、このHomebridgeインスタンスがApple HomeKitの設定から解除されます。", "reset.message_your_homebridge_username_will_be_changed": "Homebridgeユーザー名とPINコードが変更されます", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Homebridgeアクセサリを初期化", "reset.title_warning": "注意", "reset.toast_accessory_reset": "Homebridgeアクセサリの初期化", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "ホームページの再読み込みに失敗しました。ログを確認してください。", "restart.label_restart_command_executed": "再起動コマンドが実行されました", "restart.message_please_wait_while_server_restarts": "このページはサーバーがオンラインに復帰すると自動でリダイレクトします。しばらくお待ちください。", diff --git a/ui/src/i18n/nl.json b/ui/src/i18n/nl.json index 0bd695789..33f78c8e6 100644 --- a/ui/src/i18n/nl.json +++ b/ui/src/i18n/nl.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Update Beschikbaar", "plugins.toast_failed_to_load_plugins": "Laden van plug-ins mislukt", "plugins.tooltip_update_plugin_to": "Update plugin naar v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Reset Homebridge Nu", "reset.label_reset_homebridge": "reset homebridge", "reset.message_accessory_config_will_not_be_changed": "De rest van je configuratie zal niet worden gewijzigd. Als Homebridge niet start vanwege een slechte configuratie, zal een reset het niet repareren.", "reset.message_action_is_irreversible": "Deze actie is onomkeerbaar. Lees dit aandachtig voordat u doorgaat.", "reset.message_all_automations_will_be_reset": "Alle automatiseringen moeten na een reset opnieuw worden geconfigureerd.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "U moet het bestaande Homebridge-accessoire handmatig uit de Home-app verwijderen.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Een reset zal dit Homebridge-exemplaar ontkoppelen van uw Apple HomeKit-installatie.", "reset.message_your_homebridge_username_will_be_changed": "Uw Homebridge-gebruikersnaam en pin worden gewijzigd.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Reset Homebridge Accessoire", "reset.title_warning": "Waarschuwing", "reset.toast_accessory_reset": "Homebridge Accessoire Reset", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Mislukt om Homebridge te resetten. Zie Logs.", "restart.label_restart_command_executed": "Herstart Commando Uitgevoerd", "restart.message_please_wait_while_server_restarts": "Even geduld aub, deze pagina zal automatisch doorverwijzen wanneer de server weer online is.", diff --git a/ui/src/i18n/no.json b/ui/src/i18n/no.json index d12075d6f..dac36459d 100644 --- a/ui/src/i18n/no.json +++ b/ui/src/i18n/no.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Oppdatering tilgjengelig", "plugins.toast_failed_to_load_plugins": "Kunne ikke laste plugins", "plugins.tooltip_update_plugin_to": "Oppdater plugin til v {{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Tilbakestill Homebridge nå", "reset.label_reset_homebridge": "Tilbakestill Homebridge", "reset.message_accessory_config_will_not_be_changed": "Resten av din config kommer ikke til å endres. Om Homebridge ikke starter på grunn av en dårlig konfigurering kommer en tilbakestilling ikke til å fikse det.", "reset.message_action_is_irreversible": "Denna handling kan ikke angres. Les nøye før du fortsetter.", "reset.message_all_automations_will_be_reset": "Alle automatiseringer må konfigureres på nytt etter en tilbakestilling.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Du må fjerne det aktuelle Homebridge-tilbehøret fra Hjem-appen manuelt.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "En tilbakestilling kommer til å fjerne denne Homebridge-instansen fra din Apple HomeKit-installasjon.", "reset.message_your_homebridge_username_will_be_changed": "Ditt brukernavn og pin for Homebridge kommer til å endres.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Tilbakestill tilbehør til Homebridge", "reset.title_warning": "Advarsel", "reset.toast_accessory_reset": "Homebridge tilbehør nullstilling", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Det gikk ikke å nullstille Homebridge. Se logger.", "restart.label_restart_command_executed": "Omstartskommandoen kjøres", "restart.message_please_wait_while_server_restarts": "Vent, denne siden omdirigeres automatisk når serveren er online igjen.", diff --git a/ui/src/i18n/pl.json b/ui/src/i18n/pl.json index 5a89db4a2..2d45a213e 100644 --- a/ui/src/i18n/pl.json +++ b/ui/src/i18n/pl.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Dostępna aktualizacja", "plugins.toast_failed_to_load_plugins": "Nie udało się załadować wtyczek", "plugins.tooltip_update_plugin_to": "Zaktualizuj wtyczkę do wersji v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Zresetuj teraz", "reset.label_reset_homebridge": "Zresetuj", "reset.message_accessory_config_will_not_be_changed": "Reszta twojej konfiguracji nie zostanie zmieniona. Jeśli Homebridge nie uruchamia się z powodu złej konfiguracji, reset go nie naprawi.", "reset.message_action_is_irreversible": "Ta czynność jest nieodwracalna! Przeczytaj uważnie, zanim przejdziesz dalej.", "reset.message_all_automations_will_be_reset": "Wszystkie automatyzacje i będą wymagały rekonfiguracji po zresetowaniu.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Będziesz musiał ręcznie usunąć istniejące akcesoria Homebridge z aplikacji domowej.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Zresetowanie spowoduje odłączenie tego mostka z konfiguracji Apple HomeKit.", "reset.message_your_homebridge_username_will_be_changed": "Nazwa użytkownika i kod PIN zostaną zmienione.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Zresetuj akcesoria", "reset.title_warning": "Ostrzeżenie", "reset.toast_accessory_reset": "Resetowanie akcesoriów", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Nie udało się zresetować akcessoriów. Sprawdź dziennik logów.", "restart.label_restart_command_executed": "Komenda restartu wykonana", "restart.message_please_wait_while_server_restarts": "Proszę czekać, ta strona zostanie automatycznie odświeżona po powrocie serwera do trybu online.", diff --git a/ui/src/i18n/ru.json b/ui/src/i18n/ru.json index f4467ced4..8b66edc23 100644 --- a/ui/src/i18n/ru.json +++ b/ui/src/i18n/ru.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Доступно обновление", "plugins.toast_failed_to_load_plugins": "Не удалось загрузить плагины", "plugins.tooltip_update_plugin_to": "Обновить плагин до v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Сбросить Homebridge прямо сейчас", "reset.label_reset_homebridge": "сброс Homebridge", "reset.message_accessory_config_will_not_be_changed": "Остальная часть вашей конфигурации не будет изменена. Если Homebridge не запускается из-за плохой конфигурации, сброс не исправит.", "reset.message_action_is_irreversible": "Это действие необратимо. Пожалуйста, внимательно прочитайте, прежде чем продолжить.", "reset.message_all_automations_will_be_reset": "Вся автоматика должна быть переконфигурированы после сброса.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Вам нужно будет удалить существующий аксессуар Homebridge из приложения «Дом» вручную.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Сброс приведет к несанкционированному использованию этого экземпляра Homebridge из настройки Apple HomeKit.", "reset.message_your_homebridge_username_will_be_changed": "Имя пользователя и PIN-код вашего Homebridge будут изменены.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Сброс аксессуара Homebridge", "reset.title_warning": "Предупреждение", "reset.toast_accessory_reset": "Сброс аксессуаров Homebridge", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Не удалось перезагрузить Homebridge. См. Журнал.", "restart.label_restart_command_executed": "Выполнена команда перезапуска", "restart.message_please_wait_while_server_restarts": "Пожалуйста, подождите, эта страница будет автоматически перенаправлена после запуска сервера.", diff --git a/ui/src/i18n/sv.json b/ui/src/i18n/sv.json index 82a46d7bd..b324ed827 100644 --- a/ui/src/i18n/sv.json +++ b/ui/src/i18n/sv.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Uppdatering tillgänglig", "plugins.toast_failed_to_load_plugins": "Det gick inte att ladda plugins", "plugins.tooltip_update_plugin_to": "Uppdatera plugin till v {{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Återställ Homebridge nu", "reset.label_reset_homebridge": "Återställa homebridge", "reset.message_accessory_config_will_not_be_changed": "Resten av din konfiguration kommer inte att ändras. Om Homebridge inte startar på grund av en dålig konfigurering kommer en återställning inte att fixa det.", "reset.message_action_is_irreversible": "Denna åtgärd går inte att ångra. Läs noga innan du fortsätter.", "reset.message_all_automations_will_be_reset": "Alla automatiseringar och måste konfigureras om efter en återställning.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Du måste ta bort det befintliga Homebridge-tillbehöret från hem-appen manuellt.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "En återställning kommer att koppla bort denna Homebridge-instans från din Apple HomeKit-installation.", "reset.message_your_homebridge_username_will_be_changed": "Ditt användarnamn och pin för Homebridge kommer att ändras.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Återställ tillbehör till Homebridge", "reset.title_warning": "Varning", "reset.toast_accessory_reset": "Homebridge Tillbehörs återställning", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Det gick inte att återställa Homebridge. Se loggar.", "restart.label_restart_command_executed": "Starta om kommandot körs", "restart.message_please_wait_while_server_restarts": "Vänta, denna sida omdirigeras automatiskt när servern är online igen.", diff --git a/ui/src/i18n/tr.json b/ui/src/i18n/tr.json index 87b80aeea..56fc39b44 100644 --- a/ui/src/i18n/tr.json +++ b/ui/src/i18n/tr.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "Güncelleme mevcut", "plugins.toast_failed_to_load_plugins": "Eklentiler yüklenemedi", "plugins.tooltip_update_plugin_to": "Eklentiyi v{{version}} sürümüne güncelleştir", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "Homebridge'i Şimdi Sıfırla", "reset.label_reset_homebridge": "Homebridge sıfırlama", "reset.message_accessory_config_will_not_be_changed": "Konfigürasyonunuzun geri kalanı değişmeyecek. Homebridge kötü bir yapılandırma nedeniyle başlatılamıyorsa, sıfırlama işlemi onu düzeltmez.", "reset.message_action_is_irreversible": "Bu işlem geri alınamaz. Lütfen devam etmeden önce dikkatlice okuyunuz.", "reset.message_all_automations_will_be_reset": "Sfıırlama işleminden sonra tüm otomasyonları yeninden yapılandırılması gerekli.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "Mevcut Homebridge aksesuarlarını Ev uygulamasından el ile kaldırmanız gerekli.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "Sıfırlama işlemi, bu Homebridge kurulumunu Apple HomeKit kurulumunuzdan kaldıracaktır.", "reset.message_your_homebridge_username_will_be_changed": "Homebridge Kullanıcı Adı ve Şifreniz değiştirilecektir.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "Homebridge Aksesuarını Sıfırla", "reset.title_warning": "Uyarı", "reset.toast_accessory_reset": "Homebridge Aksesuar Sıfırlama", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Homebridge sıfırlanamadı. Logları görüntüle", "restart.label_restart_command_executed": "Yeniden Başlatma Komutu Çalıştırıldı", "restart.message_please_wait_while_server_restarts": "Lütfen bekleyin, sunucu tekrar çevrimiçi olduğunda bu sayfa otomatik olarak yönlendirilecektir.", diff --git a/ui/src/i18n/zh-CN.json b/ui/src/i18n/zh-CN.json index 91b1a4609..b45844dc9 100644 --- a/ui/src/i18n/zh-CN.json +++ b/ui/src/i18n/zh-CN.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "可更新", "plugins.toast_failed_to_load_plugins": "载入插件失败", "plugins.tooltip_update_plugin_to": "更新插件至 v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "重置 Homebridge", "reset.label_reset_homebridge": "重置 homebridge", "reset.message_accessory_config_will_not_be_changed": "其他的配置不会更改。如果由于配置错误导致 Homebridge 无法启动,则重置将无法解决问题。", "reset.message_action_is_irreversible": "这一行动不可逆。在继续之前请仔细阅读。", "reset.message_all_automations_will_be_reset": "所有自动化都需要在重置后重新配置。", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "您需要手动从 Home 应用程序中删除现有的 Homebridge 配件。", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "运行重置将使本 Homebridge 实例与 Apple HomeKit 取消配对。", "reset.message_your_homebridge_username_will_be_changed": "您的 Homebridge 用户名和 pin 已更改。", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "重置 Homebridge 配件", "reset.title_warning": "警告", "reset.toast_accessory_reset": "Homebridge 配件重置", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "Homebridge 重置失败。 详见日志。", "restart.label_restart_command_executed": "正在执行重启", "restart.message_please_wait_while_server_restarts": "请稍候,当服务器重新可用时将自动刷新。", diff --git a/ui/src/i18n/zh-TW.json b/ui/src/i18n/zh-TW.json index c8a21e601..fc36e9ffc 100644 --- a/ui/src/i18n/zh-TW.json +++ b/ui/src/i18n/zh-TW.json @@ -153,17 +153,23 @@ "plugins.status_update_available": "可用更新", "plugins.toast_failed_to_load_plugins": "Plugins 載入失敗", "plugins.tooltip_update_plugin_to": "Plugin 可更新至v{{latestVersion}}", + "reset.accessories_will_may_need_to_be_reconfigured": "After performing this action some accessories may need to be reconfigured in HomeKit or re-added to your automations.", "reset.button_reset_homebridge_now": "立即重置Homebridge", "reset.label_reset_homebridge": "重置Homebridge", "reset.message_accessory_config_will_not_be_changed": "重置並不會對您的 Config 進行任何變更.如果Homebridge是因為 Config 錯誤而無法啟動,那重置它也無法解決問題.", "reset.message_action_is_irreversible": "此行為是無法取消重來的.請在繼續之前仔細閱讀.", "reset.message_all_automations_will_be_reset": "所有自動化,重置後需要重新 Config.", "reset.message_need_to_remove_homebridge_accessory_from_home_app": "您需要手動從iOS裝置中 家庭App 中刪除已有的Homebridge配件.", + "reset.message_remove_cached_accessories": "This action will remove all cached accessories from your Homebridge instance.", "reset.message_reset_will_unpair_from_homekit": "執行重置將使 此Homebridge橋接器 與iOS裝置中 家庭App 取消配對.", "reset.message_your_homebridge_username_will_be_changed": "您的Homebridge橋接器的 username 和 pin 將被變更.", + "reset.title_clear_cache": "Clear Cache", + "reset.title_clear_cached_accessories": "Clear Cached Accessories", + "reset.title_reset": "Reset", "reset.title_reset_homebridge_accessory": "重置Homebridge配件", "reset.title_warning": "警告", "reset.toast_accessory_reset": "重置Homebridge配件", + "reset.toast_clear_cached_accessories_success": "Restarting Homebridge and clearing accessory cache.", "reset.toast_failed_to_reset": "無法重置Homebridge. 請參閱日誌.", "restart.label_restart_command_executed": "正在執行重新啟動命令", "restart.message_please_wait_while_server_restarts": "請稍候,此頁面將在重新啟動完成後自動重整.",