Skip to content

Commit

Permalink
Fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh committed Jul 29, 2024
1 parent 898fb5f commit 25313b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gui/locale/de_AT.json
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,8 @@
},
"door": {
"status": {
"closed": "",
"open": "",
"title": "Türstatus -Update"
}
},
Expand Down
2 changes: 2 additions & 0 deletions gui/locale/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,8 @@
},
"door": {
"status": {
"closed": "",
"open": "",
"title": "Actualización del estado de la puerta"
}
},
Expand Down
2 changes: 1 addition & 1 deletion gui/stores/terrariumpi.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const updateButton = (button) => {
if ((old_state !== null || button.value === (inverse ? 1 : 0)) && old_state !== button.value) {
// Door notification
successNotification(
$_(loaded_buttons[button.id].closed ? 'notification.door.status.closed' : 'notification.door.status.opened', {
$_(loaded_buttons[button.id].closed ? 'notification.door.status.closed' : 'notification.door.status.open', {
values: { name: loaded_buttons[button.id].name },
}),
$_('notification.door.status.title'),
Expand Down

0 comments on commit 25313b8

Please sign in to comment.