Skip to content

Commit

Permalink
Reword invoke_pin action to avoid misunderstanding with "PIN" (#133665)
Browse files Browse the repository at this point in the history
* Reword invoke_pin action to avoid misunderstanding with "PIN"

The previous mismatch between "PIN" and "pin" in the invoke_pin caused wrong translations as "PIN" was interpreted as the abbreviation for "Personal Identification Number".

This commit fixes this by explaining "pin" as related to "pinning" content on the device.

In addition the very "invoke" is replaced by "play" which every user and translator will understand immediately.

Along with those changes this commit reverts my previous change to "PIN" in all strings that made things worse.

* Use "Pin ID" for the field variable
  • Loading branch information
NoRi2909 authored Dec 20, 2024
1 parent a23b371 commit c780933
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions homeassistant/components/openhome/strings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"services": {
"invoke_pin": {
"name": "Invoke PIN",
"description": "Invokes a PIN on the specified device.",
"name": "Play pin",
"description": "Starts playing content pinned on the specified device.",
"fields": {
"pin": {
"name": "PIN",
"description": "Which PIN to invoke."
"name": "Pin ID",
"description": "ID of the pinned content."
}
}
}
Expand Down

0 comments on commit c780933

Please sign in to comment.