Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c12df5d

Browse files
authored
Replace duplicate strings with translation reference keys in Shelly integration (home-assistant#154940)
1 parent b57ca14 commit c12df5d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎homeassistant/components/shelly/strings.json‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@
137137
"btn_down": "Button down",
138138
"btn_up": "Button up",
139139
"double_push": "Double push",
140-
"double": "Double push",
140+
"double": "[%key:component::shelly::entity::event::input::state_attributes::event_type::state::double_push%]",
141141
"long_push": "Long push",
142142
"long_single": "Long push and then short push",
143-
"long": "Long push",
143+
"long": "[%key:component::shelly::entity::event::input::state_attributes::event_type::state::long_push%]",
144144
"single_long": "Short push and then long push",
145145
"single_push": "Single push",
146-
"single": "Single push",
146+
"single": "[%key:component::shelly::entity::event::input::state_attributes::event_type::state::single_push%]",
147147
"triple_push": "Triple push",
148-
"triple": "Triple push"
148+
"triple": "[%key:component::shelly::entity::event::input::state_attributes::event_type::state::triple_push%]"
149149
}
150150
}
151151
}
@@ -276,7 +276,7 @@
276276
"fix_flow": {
277277
"step": {
278278
"confirm": {
279-
"title": "{device_name} is running unsupported firmware",
279+
"title": "[%key:component::shelly::issues::ble_scanner_firmware_unsupported::title%]",
280280
"description": "Your Shelly device {device_name} with IP address {ip_address} is running firmware {firmware} and acts as BLE scanner with active mode. This firmware version is not supported for BLE scanner active mode.\n\nSelect **Submit** button to start the OTA update to the latest stable firmware version."
281281
}
282282
},
@@ -303,7 +303,7 @@
303303
"fix_flow": {
304304
"step": {
305305
"confirm": {
306-
"title": "Outbound WebSocket is enabled for {device_name}",
306+
"title": "[%key:component::shelly::issues::outbound_websocket_incorrectly_enabled::title%]",
307307
"description": "Your Shelly device {device_name} with IP address {ip_address} is a non-sleeping device and Outbound WebSocket should be disabled in its configuration.\n\nSelect **Submit** button to disable Outbound WebSocket."
308308
}
309309
},
@@ -317,7 +317,7 @@
317317
"fix_flow": {
318318
"step": {
319319
"confirm": {
320-
"title": "{device_name} is running outdated firmware",
320+
"title": "[%key:component::shelly::issues::deprecated_firmware::title%]",
321321
"description": "Your Shelly device {device_name} with IP address {ip_address} is running firmware {firmware}. This firmware version will not be supported by Shelly integration starting from Home Assistant {ha_version}.\n\nSelect **Submit** button to start the OTA update to the latest stable firmware version."
322322
}
323323
},

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /