-
-
-
+
+
+
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 5eadf7f20..d76182c3f 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.archive.download": "Download Backup",
@@ -323,9 +323,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 168e41383..f89142ec2 100644
--- a/ui/src/i18n/ca.json
+++ b/ui/src/i18n/ca.json
@@ -323,9 +323,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 3a8e9516a..fc7794f23 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.archive.download": "Stáhnout zálohu",
@@ -323,9 +323,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 0fd8abda8..67b70d441 100644
--- a/ui/src/i18n/de.json
+++ b/ui/src/i18n/de.json
@@ -323,9 +323,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 a1f2c5d96..57df744dd 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.archive.download": "Download Backup",
@@ -323,9 +323,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 09873b372..a4a4dd312 100644
--- a/ui/src/i18n/es.json
+++ b/ui/src/i18n/es.json
@@ -323,9 +323,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/fr.json b/ui/src/i18n/fr.json
index ff5bf5b99..af50782e2 100644
--- a/ui/src/i18n/fr.json
+++ b/ui/src/i18n/fr.json
@@ -323,9 +323,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 8e94ed97e..5d6cf3de1 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.archive.download": "הורד גיבוי",
@@ -323,9 +323,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 231a773d2..cfbd21126 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.archive.download": "Download Backup",
@@ -323,9 +323,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 781315787..52c9832a8 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.archive.download": "Unduh Arsip Cadangan",
@@ -323,9 +323,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 1e6091b0a..2dcc98d92 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.archive.download": "Scarica un archivio di backup",
@@ -323,9 +323,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 c64a919b7..ede083d44 100644
--- a/ui/src/i18n/ja.json
+++ b/ui/src/i18n/ja.json
@@ -323,9 +323,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 57d5d56bb..b3b13a95d 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.archive.download": "백업 기록파일 다운로드",
@@ -323,9 +323,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 3dcd9c263..e8dbc4950 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.archive.download": "Симни бекап архива",
@@ -323,9 +323,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 95d391a3f..3d54d30de 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.archive.download": "Download Backup Archief",
@@ -323,9 +323,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 8dfa527b2..2e368eb8b 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.archive.download": "Download Backup",
@@ -323,9 +323,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 1eba0d1eb..8e1943d16 100644
--- a/ui/src/i18n/pl.json
+++ b/ui/src/i18n/pl.json
@@ -323,9 +323,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 4731a5aa5..5bb27abb0 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.archive.download": "Baixar Arquivo de Backup",
@@ -323,9 +323,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 a585921a7..e98c698b5 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.archive.download": "Descarregar Ficheiro de Backup",
@@ -323,9 +323,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 29c840148..f75aba19b 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.archive.download": "Скачать архив",
@@ -323,9 +323,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": "Низкое Напряжение",
"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/sl.json b/ui/src/i18n/sl.json
index 2f3768fe0..9120224bb 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.archive.download": "Prenesi arhiv varnostne kopije",
@@ -323,9 +323,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 94a8b81e4..4f62c4fae 100644
--- a/ui/src/i18n/sv.json
+++ b/ui/src/i18n/sv.json
@@ -323,9 +323,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 1b058cc57..639ec867b 100644
--- a/ui/src/i18n/th.json
+++ b/ui/src/i18n/th.json
@@ -323,9 +323,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": "Your changes have been saved and require a restart to take effect.",
diff --git a/ui/src/i18n/tr.json b/ui/src/i18n/tr.json
index 928862da1..c172aa24e 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.archive.download": "Yedekleme Arşivini İndir",
@@ -323,9 +323,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 c62370191..8549062b0 100644
--- a/ui/src/i18n/uk.json
+++ b/ui/src/i18n/uk.json
@@ -323,9 +323,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 caa509261..c0f94cf67 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.archive.download": "下载备份档案",
@@ -323,9 +323,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 c26e22ff7..a0f3ef29b 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.archive.download": "下載備份檔案",
@@ -323,9 +323,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..610dd1b6b 100644
--- a/ui/src/index.html
+++ b/ui/src/index.html
@@ -18,6 +18,10 @@
+
+
+
+
diff --git a/ui/src/scss/base/layout.scss b/ui/src/scss/base/layout.scss
index db624aa13..723a1e150 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 6c6a5681b..a7eb4d7b5 100644
--- a/ui/src/scss/themes/themes-dark.scss
+++ b/ui/src/scss/themes/themes-dark.scss
@@ -12,6 +12,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 221b05e26..ae9d1771d 100644
--- a/ui/src/scss/themes/themes-light.scss
+++ b/ui/src/scss/themes/themes-light.scss
@@ -11,6 +11,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;