Skip to content

Commit

Permalink
Fix keys in sv/fi translations
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknn committed Dec 15, 2024
1 parent 4ad6790 commit 8a1825a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
19 changes: 13 additions & 6 deletions custom_components/pax_ble/translations/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"title": "Pax: Lisää laite",
"description": "Anna laitteesi tiedot.",
"data": {
"name": "Laitteen nimi",
"name": "Laitteen nimi",
"model": "Device model",
"mac": "MAC-osoite (aa:bb:cc:dd:ee:ff)",
"pin": "PIN-koodi",
"scan_interval": "Päivitysväli sekunneissa",
Expand All @@ -28,13 +29,16 @@
"step": {
"init": {
"title": "Pax BLE Configuration",
"description": "Please select the desired action."
"data": {
"action": "Please select the desired action."
}
},
"add_device": {
"title": "Pax BLE: Add device",
"description": "Enter your device details.",
"data": {
"name": "Laitteen nimi",
"model": "Device model",
"mac": "MAC-osoite (aa:bb:cc:dd:ee:ff)",
"pin": "PIN-koodi",
"scan_interval": "Päivitysväli sekunneissa",
Expand All @@ -46,6 +50,7 @@
"description": "Enter new device details.",
"data": {
"name": "Laitteen nimi",
"model": "Device model",
"mac": "MAC-osoite (aa:bb:cc:dd:ee:ff)",
"pin": "PIN-koodi",
"scan_interval": "Päivitysväli sekunneissa",
Expand All @@ -54,13 +59,15 @@
},
"remove_device": {
"title": "Pax BLE: Remove device",
"description": "Select device to remove.",
"data": {}
"data": {
"selected_device": "Select device to remove."
}
},
"select_edit_device": {
"title": "Pax BLE: Edit Device",
"description": "Select device to edit.",
"data": {}
"data": {
"selected_device": "Select device to edit."
}
}
},
"error": {
Expand Down
17 changes: 12 additions & 5 deletions custom_components/pax_ble/translations/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "Ange information om enhet.",
"data": {
"name": "Namn på enhet",
"model": "Device model",
"mac": "MAC-adress (aa:bb:cc:dd:ee:ff)",
"pin": "PIN-kod",
"scan_interval": "Sökintervall i sekunder",
Expand All @@ -28,13 +29,16 @@
"step": {
"init": {
"title": "Pax BLE Konfiguration",
"description": "Var god välj önskad åtgärd."
"data": {
"action": "Var god välj önskad åtgärd."
}
},
"add_device": {
"title": "Pax BLE: Lägg till enhet",
"description": "Ange uppgifter om din enhet.",
"data": {
"name": "Namn på enhet",
"model": "Device model",
"mac": "MAC-adress (aa:bb:cc:dd:ee:ff)",
"pin": "PIN-kod",
"scan_interval": "Sökintervall i sekunder",
Expand All @@ -46,6 +50,7 @@
"description": "Ange nya enhetsdetaljer för {dev_name}",
"data": {
"name": "Namn på enhet",
"model": "Device model",
"mac": "MAC-adress (aa:bb:cc:dd:ee:ff)",
"pin": "PIN-kod",
"scan_interval": "Sökintervall i sekunder",
Expand All @@ -54,13 +59,15 @@
},
"remove_device": {
"title": "Pax BLE: Ta bort enhet",
"description": "Ange enhet att ta bort.",
"data": {}
"data": {
"selected_device": "Ange enhet att ta bort."
}
},
"select_edit_device": {
"title": "Pax BLE: Redigera enhet",
"description": "Ange enhet att redigera.",
"data": {}
"data": {
"selected_device": "Ange enhet att redigera."
}
}
},
"error": {
Expand Down

0 comments on commit 8a1825a

Please sign in to comment.