Skip to content

Commit

Permalink
Add translation and icon for alternative open command
Browse files Browse the repository at this point in the history
  • Loading branch information
user890104 committed Sep 3, 2023
1 parent 336bec2 commit 8f597dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions public/locales/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ views:
lock: заключи
unlock: отключи
open: отвори
open_alternative: отвори
log: журнал
no_actions_supported: Нямате права за управление на тази врата
no_access: |
Expand Down
1 change: 1 addition & 0 deletions public/locales/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ views:
lock: lock
unlock: unlock
open: open
open_alternative: open
log: log
no_actions_supported: You don't have the necessary rights to control this door
no_access: |
Expand Down
4 changes: 4 additions & 0 deletions src/widgets/DoorButton/DoorButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const types = {
variant: 'success',
icon: 'fa fa-sign-in',
},
open_alternative: {
variant: '',
icon: 'fa fa-sign-in',
},
lock: {
variant: 'danger',
icon: 'fa fa-lock',
Expand Down

0 comments on commit 8f597dc

Please sign in to comment.