-
-
-
+
+
+
diff --git a/ui/src/app/shared/layout/layout.component.scss b/ui/src/app/shared/layout/layout.component.scss
index 22bc519e1..caa98ca01 100644
--- a/ui/src/app/shared/layout/layout.component.scss
+++ b/ui/src/app/shared/layout/layout.component.scss
@@ -1,37 +1,15 @@
-.menu-logo {
- margin-right: 10px;
- height: 37px;
+.content {
+ margin-left: 60px;
+ transition: 0.3s;
+ height: 100%;
- @media screen and (max-width: 600px) {
- height: 27px;
+ @media (max-width: 767px) {
+ margin-left: 0;
+ padding-top: 85px !important;
}
- @media screen and (max-width: 991px) {
- height: 32px;
- }
-}
-
-.hb-nav-right {
- @media screen and (max-width: 991px) {
- float: right;
- li {
- margin-left: 20px;
- }
- }
-}
-
-.nav-menu-icon {
- font-size: 20px;
-}
-
-.navbar .dropdown-menu {
- margin-top: 15px !important;
-}
-.dropdown-menu {
- @media screen and (max-width: 600px) {
- position: fixed !important;
- top: 50px;
- max-width: 70%;
+ @media (min-width: 768px) {
+ height: 100%;
}
}
diff --git a/ui/src/app/shared/layout/layout.component.ts b/ui/src/app/shared/layout/layout.component.ts
index a186b3532..298b8f110 100644
--- a/ui/src/app/shared/layout/layout.component.ts
+++ b/ui/src/app/shared/layout/layout.component.ts
@@ -1,10 +1,9 @@
import { AuthService } from '@/app/core/auth/auth.service'
import { ConfirmComponent } from '@/app/core/components/confirm/confirm.component'
-import { NotificationService } from '@/app/core/notification.service'
import { SettingsService } from '@/app/core/settings.service'
import { IoNamespace, WsService } from '@/app/core/ws.service'
import { environment } from '@/environments/environment'
-import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'
+import { Component, OnInit } from '@angular/core'
import { Router } from '@angular/router'
import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
import { TranslateService } from '@ngx-translate/core'
@@ -17,16 +16,12 @@ import { lt } from 'semver'
styleUrls: ['./layout.component.scss'],
})
export class LayoutComponent implements OnInit {
- @ViewChild('restartHomebridgeIcon') restartHomebridgeIcon: ElementRef
-
- public rPiCurrentlyUnderVoltage = false
- public rPiWasUnderVoltage = false
+ public sidebarExpanded = false
private io: IoNamespace
constructor(
public $auth: AuthService,
private $modal: NgbModal,
- private $notification: NotificationService,
private $router: Router,
public $settings: SettingsService,
private $translate: TranslateService,
@@ -39,15 +34,6 @@ export class LayoutComponent implements OnInit {
this.$auth.checkToken()
})
- this.$notification.raspberryPiThrottled.subscribe((throttled) => {
- if (throttled['Under-voltage detected']) {
- this.rPiCurrentlyUnderVoltage = true
- }
- if (throttled['Under-voltage has occurred']) {
- this.rPiWasUnderVoltage = true
- }
- })
-
this.compareServerUiVersion()
}
diff --git a/ui/src/app/shared/layout/sidebar/sidebar.component.html b/ui/src/app/shared/layout/sidebar/sidebar.component.html
new file mode 100644
index 000000000..622b13a00
--- /dev/null
+++ b/ui/src/app/shared/layout/sidebar/sidebar.component.html
@@ -0,0 +1,204 @@
+
+
+
diff --git a/ui/src/app/shared/layout/sidebar/sidebar.component.scss b/ui/src/app/shared/layout/sidebar/sidebar.component.scss
new file mode 100644
index 000000000..fc65ecd2b
--- /dev/null
+++ b/ui/src/app/shared/layout/sidebar/sidebar.component.scss
@@ -0,0 +1,229 @@
+.m-header {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 65px;
+ z-index: 510;
+ display: flex;
+ align-items: center;
+ padding-left: 3px;
+ padding-right: 3px;
+
+ &:hover {
+ cursor: pointer;
+ }
+
+ @media (min-width: 768px) {
+ display: none;
+ }
+}
+
+.sidebar {
+ position: fixed;
+ left: 0;
+ top: 0;
+ height: 100vh;
+ transition: 0.3s;
+ width: 60px;
+ z-index: 500;
+
+ .header {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ padding: 15px 10px 15px 11px;
+ font-size: 0.85rem;
+
+ &:hover {
+ cursor: pointer;
+ }
+ }
+
+ .link-wrapper {
+ overflow-y: auto;
+ max-height: calc(100vh - 80px) !important;
+ .link {
+ .link-row {
+ display: flex;
+ align-items: center;
+ padding: 15px 10px 15px 10px;
+ cursor: pointer;
+ transition: 0.2s;
+ font-size: 17px;
+
+ .icon {
+ flex: 0 0 38px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .title {
+ flex: 1;
+ transition: 0.3s;
+ max-width: 0;
+ overflow: hidden;
+ white-space: nowrap;
+ }
+ }
+ }
+ }
+
+ @media (max-width: 767px) {
+ width: 0;
+
+ .link-wrapper {
+ display: none;
+ }
+ }
+
+ &.expanded {
+ width: 210px;
+
+ @media (max-width: 767px) {
+ width: 210px;
+
+ .link-wrapper {
+ display: block;
+ }
+ }
+
+ .link-wrapper {
+ .link {
+ .link-row {
+ .title {
+ max-width: 150px;
+ padding-left: 10px;
+ }
+ }
+ }
+ }
+ }
+}
+
+.hamburger-icon {
+ margin: -7px 0 0 25px;
+}
+
+@media (min-width: 768px) {
+ .hb-logo-text {
+ color: #ffffff;
+ position: absolute;
+ top: 17px;
+ font-size: 22px;
+ padding-left: 3px;
+ }
+
+ .sidebar.expanded .hb-logo-text {
+ opacity: 1;
+ left: 55px;
+ transition: 0.3s;
+ }
+
+ .sidebar:not(.expanded) .hb-logo-text {
+ opacity: 0;
+ left: 40px;
+ transition: 0.3s;
+ }
+
+ .hb-logo-text-mobile {
+ display: none !important;
+ }
+
+ .hamburger-icon {
+ display: none !important;
+ }
+}
+
+@media (max-width: 767px) {
+ .hb-logo-text {
+ display: none !important;
+ }
+
+ .hb-logo-text-mobile {
+ color: #ffffff;
+ position: absolute;
+ top: 17px;
+ font-size: 22px;
+ padding-left: 3px;
+ opacity: 1;
+ left: 55px;
+ }
+
+ .hamburger-icon {
+ position: absolute;
+ right: 10px;
+ top: 28px;
+ width: 30px;
+ -webkit-transform: rotate(0deg);
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ transform: rotate(0deg);
+ -webkit-transition: 0.5s ease-in-out;
+ -moz-transition: 0.5s ease-in-out;
+ -o-transition: 0.5s ease-in-out;
+ transition: 0.5s ease-in-out;
+ cursor: pointer;
+
+ span {
+ display: block;
+ position: absolute;
+ height: 2px;
+ width: 100%;
+ background-color: white;
+ border-radius: 9px;
+ opacity: 1;
+ left: 0;
+ -webkit-transform: rotate(0deg);
+ -moz-transform: rotate(0deg);
+ -o-transform: rotate(0deg);
+ transform: rotate(0deg);
+ -webkit-transition: 0.25s ease-in-out;
+ -moz-transition: 0.25s ease-in-out;
+ -o-transition: 0.25s ease-in-out;
+ transition: 0.25s ease-in-out;
+ }
+
+ span:nth-child(1) {
+ top: 0;
+ }
+
+ span:nth-child(2),
+ span:nth-child(3) {
+ top: 10px;
+ }
+
+ span:nth-child(4) {
+ top: 20px;
+ }
+ }
+
+ .hamburger-icon-cross span:nth-child(1) {
+ top: 10px;
+ width: 0;
+ left: 50%;
+ }
+
+ .hamburger-icon-cross {
+ span:nth-child(2) {
+ -webkit-transform: rotate(45deg);
+ -moz-transform: rotate(45deg);
+ -o-transform: rotate(45deg);
+ transform: rotate(45deg);
+ }
+
+ span:nth-child(3) {
+ -webkit-transform: rotate(-45deg);
+ -moz-transform: rotate(-45deg);
+ -o-transform: rotate(-45deg);
+ transform: rotate(-45deg);
+ }
+
+ span:nth-child(4) {
+ top: 10px;
+ width: 0;
+ left: 50%;
+ }
+ }
+}
diff --git a/ui/src/app/shared/layout/sidebar/sidebar.component.ts b/ui/src/app/shared/layout/sidebar/sidebar.component.ts
new file mode 100644
index 000000000..bab0e77d7
--- /dev/null
+++ b/ui/src/app/shared/layout/sidebar/sidebar.component.ts
@@ -0,0 +1,154 @@
+import { AuthService } from '@/app/core/auth/auth.service'
+import { InformationComponent } from '@/app/core/components/information/information.component'
+import { MobileDetectService } from '@/app/core/mobile-detect.service'
+import { NotificationService } from '@/app/core/notification.service'
+import { SettingsService } from '@/app/core/settings.service'
+import { Component, Input, OnInit, Renderer2 } from '@angular/core'
+import { NavigationEnd, Router } from '@angular/router'
+import { NgbModal } from '@ng-bootstrap/ng-bootstrap'
+import { TranslateService } from '@ngx-translate/core'
+
+@Component({
+ selector: 'app-sidebar',
+ templateUrl: './sidebar.component.html',
+ styleUrls: ['./sidebar.component.scss'],
+})
+export class SidebarComponent implements OnInit {
+ @Input() isExpanded = false
+
+ public rPiCurrentlyUnderVoltage = false
+ public rPiWasUnderVoltage = false
+ public isMobile: any = false
+ public freezeMenu = false
+
+ constructor(
+ public router: Router,
+ public translate: TranslateService,
+ public $auth: AuthService,
+ public $settings: SettingsService,
+ private $md: MobileDetectService,
+ private $modal: NgbModal,
+ private $notification: NotificationService,
+ private $translate: TranslateService,
+ private renderer: Renderer2,
+ ) {
+ this.isMobile = this.$md.detect.mobile()
+
+ // ensure the menu closes when we navigate
+ router.events.subscribe((event) => {
+ if (event instanceof NavigationEnd) {
+ this.closeSidebar()
+ this.freezeMenu = true
+ setTimeout(() => {
+ this.freezeMenu = false
+ }, 500)
+ }
+ })
+ }
+
+ ngOnInit() {
+ this.$notification.raspberryPiThrottled.subscribe((throttled) => {
+ if (throttled['Under Voltage']) {
+ this.rPiCurrentlyUnderVoltage = true
+ }
+ if (throttled['Under-voltage has occurred']) {
+ this.rPiWasUnderVoltage = true
+ }
+ })
+
+ // declare element for event listeners
+ const sidebar = document.querySelector('.sidebar')
+ const mobileHeader = document.querySelector('.m-header')
+ const content = document.querySelector('.content')
+
+ if (this.isMobile) {
+ document.addEventListener('touchstart', (e: MouseEvent) => {
+ if (content.contains(e.target as HTMLElement) && this.isExpanded) {
+ e.preventDefault()
+ this.toggleSidebar()
+ return
+ }
+
+ if (!sidebar.contains(e.target as HTMLElement) && !mobileHeader.contains(e.target as HTMLElement) && this.isExpanded) {
+ e.preventDefault()
+ this.closeSidebar()
+ }
+ }, { passive: false })
+ } else {
+ // Expand sidebar on mouseenter
+ sidebar.addEventListener('mouseenter', () => this.openSidebar(), { passive: false })
+ mobileHeader.addEventListener('mouseenter', () => this.openSidebar(), { passive: false })
+
+ // Collapse sidebar on mouseleave
+ sidebar.addEventListener('mouseleave', () => this.closeSidebar(), { passive: false })
+ mobileHeader.addEventListener('mouseleave', () => this.closeSidebar(), { passive: false })
+
+ document.addEventListener('click', (e: MouseEvent) => {
+ if (sidebar.contains(e.target as HTMLElement) && e.clientX > 60) {
+ this.closeSidebar()
+ }
+ }, { passive: false })
+ }
+
+ this.updateContentStyles()
+ }
+
+ openSidebar() {
+ if (!this.freezeMenu) {
+ this.isExpanded = true
+ this.updateContentStyles()
+ }
+ }
+
+ closeSidebar() {
+ if (!this.freezeMenu) {
+ this.isExpanded = false
+ this.updateContentStyles()
+ }
+ }
+
+ toggleSidebar() {
+ if (!this.freezeMenu) {
+ this.isExpanded = !this.isExpanded
+ this.updateContentStyles()
+ }
+ }
+
+ updateContentStyles() {
+ const content = document.querySelector('.content')
+ if (this.isExpanded) {
+ this.renderer.setStyle(content, 'opacity', '20%')
+ this.renderer.setStyle(content, 'pointer-events', 'none')
+ this.renderer.setStyle(content, 'overflow', 'hidden')
+ } else {
+ this.renderer.removeStyle(content, 'opacity')
+ this.renderer.removeStyle(content, 'pointer-events')
+ this.renderer.removeStyle(content, 'overflow')
+ }
+ }
+
+ openUnderVoltageModal() {
+ const ref = this.$modal.open(InformationComponent, {
+ size: 'lg',
+ backdrop: 'static',
+ })
+
+ ref.componentInstance.title = this.$translate.instant('rpi.throttled.undervoltage_title')
+ ref.componentInstance.message = this.$translate.instant(this.rPiCurrentlyUnderVoltage
+ ? 'rpi.throttled.currently_message'
+ : 'rpi.throttled.previously_message',
+ )
+ ref.componentInstance.ctaButtonLabel = this.$translate.instant('form.button_more_info')
+ ref.componentInstance.faIconClass = 'fas fa-fw fa-bolt yellow-text'
+ ref.componentInstance.ctaButtonLink = 'https://pimylifeup.com/raspberry-pi-low-voltage-warning'
+ }
+
+ handleKeydown(event: KeyboardEvent) {
+ if (event.key === 'Enter') {
+ const target = event.target as HTMLElement
+ if (['menuitem', 'button'].includes(target.getAttribute('role'))) {
+ target.click()
+ }
+ }
+ }
+}
diff --git a/ui/src/i18n/bg.json b/ui/src/i18n/bg.json
index d686fc814..04987f0cc 100644
--- a/ui/src/i18n/bg.json
+++ b/ui/src/i18n/bg.json
@@ -47,7 +47,7 @@
"accessories.name": "Име",
"accessories.room_name": "Име на стая",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Show in dashboard widget",
"accessories.title_accessories": "Аксесоари",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Сървъра е рестартиран",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/ca.json b/ui/src/i18n/ca.json
index a4a29381d..ac62f02d1 100644
--- a/ui/src/i18n/ca.json
+++ b/ui/src/i18n/ca.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Servidor reiniciat",
"restart.ui_online": "Homebridge UI en línia",
"rpi.throttled.currently_message": "Aquesta Raspberry Pi informa que actualment està sota tensió; comproveu que estigui connectat a una font d'alimentació adequada. La baixa tensió pot provocar inestabilitat del sistema i corrupció de la targeta SD.",
- "rpi.throttled.currently_title": "S'ha detectat una baixa tensió",
"rpi.throttled.previously_message": "Aquest Raspberry Pi ha informat d'un esdeveniment de baixa tensió des que es va reiniciar per última vegada; comproveu que estigui connectat a una font d'alimentació adequada.",
- "rpi.throttled.previously_title": "S'ha produït una baixa tensió",
+ "rpi.throttled.undervoltage_title": "Baixa de Tensió",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/cs.json b/ui/src/i18n/cs.json
index c18f0546c..e48bcf6a5 100644
--- a/ui/src/i18n/cs.json
+++ b/ui/src/i18n/cs.json
@@ -47,7 +47,7 @@
"accessories.name": "Název",
"accessories.room_name": "Jméno místnosti",
"accessories.rooms_not_appear_in_homekit": "Místnosti, které zde vytvoříte, se v HomeKit neobjeví. Jsou pouze pro přehlednost zobrazení příslušenství v Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Zobrazit ve widgetu na hlavním panelu",
"accessories.title_accessories": "Příslušenství",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Server restartován",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "Toto Raspberry Pi hlásí podpětí; zkontrolujte, zda je připojen ke vhodnému zdroji napájení. Podpětí může způsobit nestabilitu systému a poškození SD karty.",
- "rpi.throttled.currently_title": "Detekováno podpětí na zdroji.",
"rpi.throttled.previously_message": "Toto Raspberry Pi hlásilo podpětí od posledního restartu; zkontrolujte, zda je připojen ke vhodnému zdroji napájení.",
- "rpi.throttled.previously_title": "Došlo k podpětí",
+ "rpi.throttled.undervoltage_title": "Podpětí",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/de.json b/ui/src/i18n/de.json
index 952c024d2..7ce07ed67 100644
--- a/ui/src/i18n/de.json
+++ b/ui/src/i18n/de.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Server wurde neu gestartet",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "Dieser Raspberry Pi meldet, dass er derzeit unter zu niedriger Spannung steht; bitte überprüfen Sie, ob er an eine geeignete Stromversorgung angeschlossen ist. Eine Unterspannung kann zur Instabilität des Systems und zur Beschädigung der SD-Karte führen.",
- "rpi.throttled.currently_title": "Unterspannung festgestellt",
"rpi.throttled.previously_message": "Dieser Raspberry Pi hat seit dem letzten Neustart ein Unterspannungsereignis gemeldet; bitte überprüfen Sie, ob er an eine geeignete Stromversorgung angeschlossen ist.",
- "rpi.throttled.previously_title": "Eine Unterspannung ist aufgetreten",
+ "rpi.throttled.undervoltage_title": "Unterspannung",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index 564338335..7be3b78f3 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -47,7 +47,7 @@
"accessories.name": "Name",
"accessories.room_name": "Room Name",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Show in dashboard widget",
"accessories.title_accessories": "Accessories",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Homebridge Restarted",
"restart.ui_online": "HB Service & UI Ready",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/es.json b/ui/src/i18n/es.json
index e29fb5112..6f43cc31d 100644
--- a/ui/src/i18n/es.json
+++ b/ui/src/i18n/es.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Servidor reiniciado",
"restart.ui_online": "Homebridge UI En Línea",
"rpi.throttled.currently_message": "Esta Raspberry Pi está reportando una baja de voltaje; ; por favor, compruebe que está conectada a una fuente de alimentación adecuada. El bajo voltaje puede provocar la inestabilidad del sistema y daños en la tarjeta SD.",
- "rpi.throttled.currently_title": "Se ha detectado una baja de voltaje",
"rpi.throttled.previously_message": "Esta Raspberry Pi ha reportado una baja en el voltaje desde que se reinició por última vez; por favor, compruebe que está conectado a una fuente de alimentación adecuada.",
- "rpi.throttled.previously_title": "Se ha producido una baja de voltaje",
+ "rpi.throttled.undervoltage_title": "Baja de Voltaje",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/fi.json b/ui/src/i18n/fi.json
index e2f711135..1f2018d4d 100644
--- a/ui/src/i18n/fi.json
+++ b/ui/src/i18n/fi.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Homebridge Uudellenkäynnistetty",
"restart.ui_online": "HB Palvelin & UI Valmiina",
"rpi.throttled.currently_message": "Raspberry Pi ilmoittaa juuri havainneensa alijännitteen; tarkista, että se on kytketty sopivaan virtalähteeseen. Alijännite voi johtaa järjestelmän epävakauteen ja SD-kortin vioittumiseen.",
- "rpi.throttled.currently_title": "Alijännite on havaittu",
"rpi.throttled.previously_message": "Raspberry Pi ilmoittaa havainneensa alijännitteen uudelleenkäynnistyksen jälkeenkin; tarkista, että se on kytketty sopivaan virtalähteeseen.",
- "rpi.throttled.previously_title": "Alijännite on havaittu uudelleen",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge säilyttää tietoja laitteista välimuistissa joten niitä ei poisteta ja lisätä uudelleen HomeKit:in joka kerta kun Homebridge käynnistyy uudelleen. Joskus nämä tiedot poikkeavat Homebridgen todellisesta laitteistosta.",
"settings.cache.title": "Laitteet",
"settings.changes.saved": "Muutokset on tallennettu ja niiden käyttöönotto vaatii uudellenkäynnistyksen.",
diff --git a/ui/src/i18n/fr.json b/ui/src/i18n/fr.json
index 628fc5f29..b719a5580 100644
--- a/ui/src/i18n/fr.json
+++ b/ui/src/i18n/fr.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Serveur redémarré",
"restart.ui_online": "Interface Homebridge UI en Ligne",
"rpi.throttled.currently_message": "Ce Raspberry Pi rencontre actuellement une situation de sous-tension ; Vérifiez qu'il est connecté à une alimentation adaptée. Une sous-tension peut engendrer une instabilité du système et une corruption de sa carte SD.",
- "rpi.throttled.currently_title": "Sous-tension detectée",
"rpi.throttled.previously_message": "Ce Raspberry Pi a rencontré une situation de sous-tension depuis son dernier redémarrage ; Vérifiez qu'il est connecté à une alimentation adaptée.",
- "rpi.throttled.previously_title": "Une Sous-tension a été detectée",
+ "rpi.throttled.undervoltage_title": "Sous Tension",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/he.json b/ui/src/i18n/he.json
index a7f0b1e6b..d5eb44c35 100644
--- a/ui/src/i18n/he.json
+++ b/ui/src/i18n/he.json
@@ -47,7 +47,7 @@
"accessories.name": "שם",
"accessories.room_name": "שם חדר",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "הצד בדשבורד הווידג'טים",
"accessories.title_accessories": "אביזרים",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "שרת אותחל",
"restart.ui_online": "שרת הומברידג' זמין",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/hu.json b/ui/src/i18n/hu.json
index 060891f5b..07ac9b297 100644
--- a/ui/src/i18n/hu.json
+++ b/ui/src/i18n/hu.json
@@ -47,7 +47,7 @@
"accessories.name": "Név",
"accessories.room_name": "Szoba neve",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Show in dashboard widget",
"accessories.title_accessories": "Kiegészítők",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Szerver újraindítva",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/id.json b/ui/src/i18n/id.json
index ef4a86ecf..fa5419a2d 100644
--- a/ui/src/i18n/id.json
+++ b/ui/src/i18n/id.json
@@ -47,7 +47,7 @@
"accessories.name": "Nama",
"accessories.room_name": "Nama Ruangan",
"accessories.rooms_not_appear_in_homekit": "Ruangan yang anda buat di sini tidak akan muncul di HomeKit, hanya untuk pengaturan aksesoris di Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Tampilkan di widget dasbor",
"accessories.title_accessories": "Aksesoris",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Server Dimulai Kembali",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/it.json b/ui/src/i18n/it.json
index 9d102a0ad..7c0cafd7c 100644
--- a/ui/src/i18n/it.json
+++ b/ui/src/i18n/it.json
@@ -47,7 +47,7 @@
"accessories.name": "Nome",
"accessories.room_name": "Nome stanza",
"accessories.rooms_not_appear_in_homekit": "Le stanze create qui non appariranno in HomeKit, servono solo per organizzare gli accessori in Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Mostra widget nella dashboard",
"accessories.title_accessories": "Accessori",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Sistema riavviato",
"restart.ui_online": "Riavvio Homebridge UI",
"rpi.throttled.currently_message": "Questo Raspberry Pi segnala che la sua tensione di alimentazione è bassa; verificare che sia collegato a un'alimentazione adeguata. Una tensione di alimentazione bassa può causare l'instabilità del sistema e la corruzione della scheda SD.",
- "rpi.throttled.currently_title": "Rilevato un calo di tensione",
"rpi.throttled.previously_message": "Questo Raspberry Pi ha segnalato un calo della tensione di alimentazione dall'ultimo riavvio; verificare che sia collegato a un'alimentazione adeguata.",
- "rpi.throttled.previously_title": "Si è verificato un calo della tensione di alimentazione",
+ "rpi.throttled.undervoltage_title": "Calo di Tensione",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/ja.json b/ui/src/i18n/ja.json
index d021fe8ea..bc3585acf 100644
--- a/ui/src/i18n/ja.json
+++ b/ui/src/i18n/ja.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "サーバーは再起動されました",
"restart.ui_online": "Homebridge UIオンライン",
"rpi.throttled.currently_message": "このRaspberry Piは現在電圧不足であると報告しています。適切な電源に接続されているか確認してください。電圧不足はシステムを不安定にし、SDカードの破損を引き起こす可能性があります。",
- "rpi.throttled.currently_title": "電圧不足を検出",
"rpi.throttled.previously_message": "このRaspberry Piは、最後に再起動してから電圧不足が発生しています。",
- "rpi.throttled.previously_title": "電圧不足が発生",
+ "rpi.throttled.undervoltage_title": "電圧不足を検出",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/ko.json b/ui/src/i18n/ko.json
index a4712f6eb..41f6e6c1e 100644
--- a/ui/src/i18n/ko.json
+++ b/ui/src/i18n/ko.json
@@ -47,7 +47,7 @@
"accessories.name": "이름",
"accessories.room_name": "방 이름",
"accessories.rooms_not_appear_in_homekit": "여기서 추가된 방은 HomeKit에 나타나지 않습니다. Homebridge UI의 액세서리 구성에만 사용됩니다.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "대시 보드 위젯에 표시",
"accessories.title_accessories": "액세서리",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "서버 재시작됨",
"restart.ui_online": "Homebridge UI 온라인",
"rpi.throttled.currently_message": "이 Raspberry Pi의 전압(Low voltage)이 불안정 합니다. 전압이 낮은경우 시스템이 불안정해지고 SD카드가 손상될 수 있습니다. Pi 버전에 맞게 적절한 전원을 공급 하거나 케이블을 점검 하세요.",
- "rpi.throttled.currently_title": "현재 전압이 낮습니다.(Under-voltage detected)",
"rpi.throttled.previously_message": "마지막 재부팅 이후 Raspberry Pi로 부터 전압 부족 이벤트를 수신하였습니다. Pi 버전에 맞게 적절한 전원을 공급 하거나 케이블을 점검 하세요.",
- "rpi.throttled.previously_title": "전압이 낮음을 감지 했습니다.(Under-voltage has occurred)",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/mk.json b/ui/src/i18n/mk.json
index 652a1ec2e..b81a975cc 100644
--- a/ui/src/i18n/mk.json
+++ b/ui/src/i18n/mk.json
@@ -47,7 +47,7 @@
"accessories.name": "Име",
"accessories.room_name": "Име на Соба",
"accessories.rooms_not_appear_in_homekit": "Собите што ги креирате тука нема да бидат прикажани во Home апликацијата, истите се користат само за организација во Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Прикажи на главниот екран",
"accessories.title_accessories": "Уреди",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Серверот е рестартиран",
"restart.ui_online": "Homebridge корисничкиот интерфејс е онлајн",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/nl.json b/ui/src/i18n/nl.json
index 1af5ae9a8..e2c9d03b3 100644
--- a/ui/src/i18n/nl.json
+++ b/ui/src/i18n/nl.json
@@ -47,7 +47,7 @@
"accessories.name": "Naam",
"accessories.room_name": "Kamer Naam",
"accessories.rooms_not_appear_in_homekit": "De kamers die hier worden aangemaakt verschijnen niet in HomeKit, ze zijn alleen voor organisatie van accessoires in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Toon in dashboard widget",
"accessories.title_accessories": "Accessoires",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Server Opnieuw gestart",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/no.json b/ui/src/i18n/no.json
index 4c365d05d..4230f38e0 100644
--- a/ui/src/i18n/no.json
+++ b/ui/src/i18n/no.json
@@ -47,7 +47,7 @@
"accessories.name": "navn",
"accessories.room_name": "Romnavn",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Show in dashboard widget",
"accessories.title_accessories": "Tilbehør",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Serveren har startet på nytt",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/pl.json b/ui/src/i18n/pl.json
index f844b6168..0868f4f5e 100644
--- a/ui/src/i18n/pl.json
+++ b/ui/src/i18n/pl.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Homebridge uruchomił się ponownie",
"restart.ui_online": "Homebridge UI gotowy",
"rpi.throttled.currently_message": "Raspberry Pi zgłasza aktualnie za niskie napięcie - sprawdź czy jest zasilane z odpowiedniego zasilacza. Zbyt niskie napięcie może powodować niestabilną prace i uszkodzić kartę SD.",
- "rpi.throttled.currently_title": "Wykryto zbyt niskie napięcie",
"rpi.throttled.previously_message": "Raspberry Pi zgłaszało zbyt niskie napięcie od ostatniego uruchomienia - sprawdź czy jest zasilane z odpowiedniego zasilacza.",
- "rpi.throttled.previously_title": "Zbyt niskie napięcie",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge utrzymuje pamięć podręczną z informacjami o akcesoriach aby nie były one usuwane i ponownie dodawane do HomeKit za każdym razem gdy Homebridge uruchamia się ponownie. Czasami pamięć podręczna może stać się niezsynchronizowana z rzeczywistymi akcesoriami w Homebridge.",
"settings.cache.title": "Akcesoria",
"settings.changes.saved": "Twoje zmiany zostały zapisane i wymagają ponownego uruchomienia.",
diff --git a/ui/src/i18n/pt-BR.json b/ui/src/i18n/pt-BR.json
index 32f191c9b..128f04e6b 100644
--- a/ui/src/i18n/pt-BR.json
+++ b/ui/src/i18n/pt-BR.json
@@ -47,7 +47,7 @@
"accessories.name": "Nome",
"accessories.room_name": "Nome da Cena",
"accessories.rooms_not_appear_in_homekit": "As cenas criadas aqui não aparecem no HomeKit, são apenas para a organização dos acessórios dentro do Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Mostrar na Dashboard",
"accessories.title_accessories": "Acessórios",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "O Servidor foi Reinicializado",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Subtensão",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/pt.json b/ui/src/i18n/pt.json
index 3027b460b..41bc1213a 100644
--- a/ui/src/i18n/pt.json
+++ b/ui/src/i18n/pt.json
@@ -47,7 +47,7 @@
"accessories.name": "Nome",
"accessories.room_name": "Nome do Cenário",
"accessories.rooms_not_appear_in_homekit": "Os cenários criados aqui não aparecem no HomeKit, são apenas para a organização dos acessórios dentro do Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Mostrar na Dashboard",
"accessories.title_accessories": "Acessórios",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "O Servidor foi Reiniciado",
"restart.ui_online": "Homebridge UI Online",
"rpi.throttled.currently_message": "Este Raspberry Pi está a reportar que se encontra atualmente em subtensão; por favor verifique se está conectado a uma fonte de alimentação apropriada. Subtensão poderá provocar instabilidade de sistema e corromper o cartão SD.",
- "rpi.throttled.currently_title": "Subtensão detetada",
"rpi.throttled.previously_message": "Este Raspberry Pi reportou um evento de subtensão desde a ultima inicialização; por favor verifique se está conectado a uma fonte de alimentação apropriada.",
- "rpi.throttled.previously_title": "Ocorreu um evento de subtensão",
+ "rpi.throttled.undervoltage_title": "Subtensão",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/ru.json b/ui/src/i18n/ru.json
index c34a0c7d7..5564be7b7 100644
--- a/ui/src/i18n/ru.json
+++ b/ui/src/i18n/ru.json
@@ -47,7 +47,7 @@
"accessories.name": "Название",
"accessories.room_name": "Название комнаты",
"accessories.rooms_not_appear_in_homekit": "Созданные здесь комнаты не появятся в HomeKit, они предназначены для организации аксессуаров в Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Отобразить на панели виджетов",
"accessories.title_accessories": "Аксессуары",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Сервер перезагружен",
"restart.ui_online": "Homebridge UI онлайн",
"rpi.throttled.currently_message": "Этот Raspberry Pi сообщает, что у него в данный момент недостача напряжения; пожалуйста, проверьте, подключен ли он к подходящему источнику питания. Недостача напряжения может привести к нестабильности системы и повреждению SD-карты.",
- "rpi.throttled.currently_title": "Обнаружена недостача напряжения",
"rpi.throttled.previously_message": "Этот Raspberry Pi сообщал о событии недостачи напряжения с момента последнего перезапуска; пожалуйста, проверьте, подключен ли он к подходящему источнику питания.",
- "rpi.throttled.previously_title": "Недостача напряжения произошла",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge хранит аксессуары в кэше, чтобы они не удалялись и не добавлялись в HomeKit каждый раз при перезапуске Homebridge. Иногда этот кэш может стать неактуальным по сравнению с фактическими аксессуарами в Homebridge.",
"settings.cache.title": "Аксессуары",
"settings.changes.saved": "Ваши изменения сохранены и требуют перезагрузки для вступления в силу.",
diff --git a/ui/src/i18n/sl.json b/ui/src/i18n/sl.json
index cab67e297..e1cf1d736 100644
--- a/ui/src/i18n/sl.json
+++ b/ui/src/i18n/sl.json
@@ -47,7 +47,7 @@
"accessories.name": "Ime",
"accessories.room_name": "Ime sobe",
"accessories.rooms_not_appear_in_homekit": "Prostori, ki jih ustvarite tukaj, se ne bodo prikazali v programu HomeKit, temveč so samo za organizacijo dodatne opreme v programu Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Pokaži na nadzorni plošči",
"accessories.title_accessories": "Dodatki",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Strežnik vnovič Zagnan",
"restart.ui_online": "Homebridge uporabniški vmesnik je aktiven",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/sv.json b/ui/src/i18n/sv.json
index 896d00300..06ca7a495 100644
--- a/ui/src/i18n/sv.json
+++ b/ui/src/i18n/sv.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Servern har startats om",
"restart.ui_online": "HB Service & UI redo",
"rpi.throttled.currently_message": "Denna Raspberry Pi rapporterar att det för närvarande är underspänning; kontrollera att den är ansluten till en lämplig strömkälla. Underspänning kan resultera i systeminstabilitet och skada på SD-kortet.",
- "rpi.throttled.currently_title": "Underspänning upptäckt",
"rpi.throttled.previously_message": "Denna Raspberry Pi har rapporterat en underspänningshändelse sedan den startades om senast; kontrollera att den är ansluten till en lämplig strömkälla.",
- "rpi.throttled.previously_title": "Underspänning har uppstått",
+ "rpi.throttled.undervoltage_title": "Underspänning",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/th.json b/ui/src/i18n/th.json
index 469c524e5..af481d85c 100644
--- a/ui/src/i18n/th.json
+++ b/ui/src/i18n/th.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "รีสตาร์ทเซิร์ฟเวอร์แล้ว",
"restart.ui_online": "Homebridge UI ออนไลน์",
"rpi.throttled.currently_message": "Raspberry Pi นี้กำลังรายงานว่าปัจจุบันมีแรงดันไฟฟ้าต่ำ โปรดตรวจสอบว่าได้เชื่อมต่อกับแหล่งจ่ายไฟที่เหมาะสมแล้ว แรงดันไฟต่ำอาจส่งผลให้ระบบไม่เสถียรและการ์ด SD เสียหาย",
- "rpi.throttled.currently_title": "ตรวจพบแรงดันไฟฟ้าต่ำ",
"rpi.throttled.previously_message": "Raspberry Pi นี้รายงานเหตุการณ์ที่มีแรงดันไฟฟ้าต่ำตั้งแต่มีการรีบูตครั้งล่าสุด โปรดตรวจสอบว่าได้เชื่อมต่อกับแหล่งจ่ายไฟที่เหมาะสมแล้ว",
- "rpi.throttled.previously_title": "เกิดแรงดันไฟตก",
+ "rpi.throttled.undervoltage_title": "ตรวจพบแรงดันไฟฟ้าต่ำ",
"settings.cache.desc": "Homebridge จะเก็บอุปกรณ์เสริมไว้ในแคช เพื่อไม่ให้อุปกรณ์เสริมเหล่านั้นถูกลบออกและเพิ่มกลับเข้าไปใน HomeKit ทุกครั้งที่รีสตาร์ท Homebridge บางครั้งแคชนี้อาจไม่ซิงค์กับอุปกรณ์เสริมจริงใน Homebridge",
"settings.cache.title": "อุปกรณ์เสริม",
"settings.changes.saved": "การเปลี่ยนแปลงของคุณได้รับการบันทึกแล้วและต้องรีสตาร์ทจึงจะมีผล.",
diff --git a/ui/src/i18n/tr.json b/ui/src/i18n/tr.json
index 07492565c..aa01c5ec7 100644
--- a/ui/src/i18n/tr.json
+++ b/ui/src/i18n/tr.json
@@ -47,7 +47,7 @@
"accessories.name": "Ad",
"accessories.room_name": "Oda Adı",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "Gösterge paneli aracında göster",
"accessories.title_accessories": "Aksesuarlar",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Sunucu Yeniden Başlatıldı",
"restart.ui_online": "Homebridge UI Çevrimiçi",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/uk.json b/ui/src/i18n/uk.json
index 599a3a3fd..53a08bc1e 100644
--- a/ui/src/i18n/uk.json
+++ b/ui/src/i18n/uk.json
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "Сервер перезаваентажений",
"restart.ui_online": "Інтерфейс Homebridge онлайн",
"rpi.throttled.currently_message": "Цей Raspberry Pi повідомляє, що зараз він перебуває під низькою напругою. Переконайтеся, що він під'єднаний до відповідного джерела живлення. Низька напруга може призвести до нестабільності системи та пошкодження SD-карти.",
- "rpi.throttled.currently_title": "Виявлено знижену напругу",
"rpi.throttled.previously_message": "«Цей Raspberry Pi повідомив про подію низької напруги з моменту останнього перезавантаження. Будь ласка, перевірте, чи під’єднано його до відповідного джерела живлення.",
- "rpi.throttled.previously_title": "Виникла знижена напруга",
+ "rpi.throttled.undervoltage_title": "Низька Напруга",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/zh-CN.json b/ui/src/i18n/zh-CN.json
index b34261c13..4cc3918b9 100644
--- a/ui/src/i18n/zh-CN.json
+++ b/ui/src/i18n/zh-CN.json
@@ -47,7 +47,7 @@
"accessories.name": "名称",
"accessories.room_name": "房间名称",
"accessories.rooms_not_appear_in_homekit": "你创建的房间将不会在 HomeKit 中显示, 他们的作用在于您可以在 Homebridge UI 中整理所有配件。",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "显示在仪表盘小插件",
"accessories.title_accessories": "配件",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "服务器已重启",
"restart.ui_online": "Homebridge UI 在线",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/zh-TW.json b/ui/src/i18n/zh-TW.json
index f40785f6c..35f8c5be9 100644
--- a/ui/src/i18n/zh-TW.json
+++ b/ui/src/i18n/zh-TW.json
@@ -47,7 +47,7 @@
"accessories.name": "名稱",
"accessories.room_name": "房間名稱",
"accessories.rooms_not_appear_in_homekit": "新增的房間並不會出現在 HomeKit 中,僅在 Homebridge UI 中使用",
- "accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
+ "accessories.settings_link": "You can access the Homebridge Settings at any time from the cog icon in the side menu.",
"accessories.show_on_dashboard": "於 Dashboard Widget 顯示",
"accessories.title_accessories": "配件",
"backup.backup_delete_failed": "Backup deletion failed. See logs for details.",
@@ -333,9 +333,8 @@
"restart.toast_server_restarted": "已重新啟動",
"restart.ui_online": "Homebridge UI 上線",
"rpi.throttled.currently_message": "This Raspberry Pi is reporting it is currently under-voltage; please check it is connected to an appropriate power supply. Under-voltage can result in system instability and SD card corruption.",
- "rpi.throttled.currently_title": "Under-voltage detected",
"rpi.throttled.previously_message": "This Raspberry Pi has reported an under-voltage event since it was last rebooted; please check it is connected to an appropriate power supply.",
- "rpi.throttled.previously_title": "Under-voltage has occurred",
+ "rpi.throttled.undervoltage_title": "Under Voltage",
"settings.cache.desc": "Homebridge maintains accessories in cache so they aren't removed and re-added to HomeKit each time Homebridge restarts. Sometimes this cache can become out of sync with the actual accessories in Homebridge.",
"settings.cache.title": "Accessories",
"settings.changes.saved": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/index.html b/ui/src/index.html
index b0910d11e..ab5151a71 100644
--- a/ui/src/index.html
+++ b/ui/src/index.html
@@ -18,7 +18,7 @@
-
+
diff --git a/ui/src/scss/base/layout.scss b/ui/src/scss/base/layout.scss
index ae9253589..e35fd0fa9 100644
--- a/ui/src/scss/base/layout.scss
+++ b/ui/src/scss/base/layout.scss
@@ -81,6 +81,16 @@ h3 {
}
}
+.adjust-for-mobile {
+ height: calc(100% - 30px);
+ width: calc(100% + 20px);
+ overflow: hidden;
+
+ @media (max-width: 767px) {
+ height: calc(100% - 60px);
+ }
+}
+
// Prevent tooltips appearing in front of opened modal on mobile
.tooltip {
z-index: 1020 !important;
diff --git a/ui/src/scss/themes/themes-dark.scss b/ui/src/scss/themes/themes-dark.scss
index 1da9b3a26..8b4dedd9c 100644
--- a/ui/src/scss/themes/themes-dark.scss
+++ b/ui/src/scss/themes/themes-dark.scss
@@ -20,6 +20,43 @@
background-color: #242424 !important;
}
+ .sidebar {
+ background: #111111;
+ color: #6d6e7e;
+
+ .header {
+ background: #111111;
+ }
+
+ .link-wrapper {
+ .link {
+ .link-row {
+ &:hover {
+ background: #000000;
+
+ .title {
+ color: white;
+ }
+ }
+
+ &.active {
+ i {
+ color: $darkModePrimary;
+ }
+ }
+
+ .title {
+ color: #6d6e7e;
+ }
+ }
+ }
+ }
+ }
+
+ .m-header {
+ background: #111111;
+ }
+
.custom-select {
background: #333333
url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='white' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
diff --git a/ui/src/scss/themes/themes-light.scss b/ui/src/scss/themes/themes-light.scss
index 64c6ef357..baf0da69c 100644
--- a/ui/src/scss/themes/themes-light.scss
+++ b/ui/src/scss/themes/themes-light.scss
@@ -19,6 +19,50 @@
opacity: 1 !important;
}
+ .sidebar {
+ background: $primary-dark;
+ color: #eeeeee;
+
+ .header {
+ background: $primary-dark;
+ }
+
+ .link-wrapper {
+ .link {
+ .link-row {
+ &:hover {
+ background: $primary;
+
+ .title {
+ color: #ffffff;
+ }
+ }
+
+ &.active {
+ i {
+ color: $primary;
+ }
+ }
+
+ &.active:hover {
+ i {
+ color: #ffffff;
+ transition: 0.3s;
+ }
+ }
+
+ .title {
+ color: #ffffff;
+ }
+ }
+ }
+ }
+ }
+
+ .m-header {
+ background: $primary-dark;
+ }
+
.hb-npm-search {
border: 0 !important;
background-color: #eeeeee !important;