Skip to content

Commit

Permalink
Additional "call" -> "action"
Browse files Browse the repository at this point in the history
  • Loading branch information
amitfin committed Aug 12, 2024
1 parent 4a0c2dd commit 5d29d5b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/retry/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _action_str(self) -> str:
return self._action_str_value

def _compose_action_str(self) -> str:
"""Return a string with the service call parameters."""
"""Return a string with the action parameters."""
service_call = (
f"{self._params.retry_data[ATTR_DOMAIN]}."
f"{self._params.retry_data[ATTR_SERVICE]}"
Expand Down
1 change: 1 addition & 0 deletions custom_components/retry/icons.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"services": {
"call": "mdi:clipboard-check-outline",
"action": "mdi:clipboard-check-outline",
"actions": "mdi:clipboard-check-multiple-outline"
}
}
2 changes: 1 addition & 1 deletion custom_components/retry/translations/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"issues": {
"failure": {
"title": "\u05db\u05d9\u05e9\u05dc\u05d5\u05df\u0020\u05d1\u05e7\u05e8\u05d9\u05d0\u05d4\u0020\u05dc\u05e9\u05d9\u05e8\u05d5\u05ea",
"description": "`{service}` \u05e0\u05db\u05e9\u05dc\u0020\u05d0\u05d7\u05e8\u05d9 {retries} \u05e0\u05d9\u05e1\u05d9\u05d5\u05e0\u05d5\u05ea. \u05d1\u05d3\u05d5\u05e7\u0020\u05d0\u05ea\u0020\u05d4\u05d9\u05d5\u05de\u05df\u0020\u05dc\u05de\u05d9\u05d3\u05e2\u0020\u05e0\u05d5\u05e1\u05e3\u002e"
"description": "`{action}` \u05e0\u05db\u05e9\u05dc\u0020\u05d0\u05d7\u05e8\u05d9 {retries} \u05e0\u05d9\u05e1\u05d9\u05d5\u05e0\u05d5\u05ea. \u05d1\u05d3\u05d5\u05e7\u0020\u05d0\u05ea\u0020\u05d4\u05d9\u05d5\u05de\u05df\u0020\u05dc\u05de\u05d9\u05d3\u05e2\u0020\u05e0\u05d5\u05e1\u05e3\u002e"
}
},
"services": {
Expand Down
2 changes: 1 addition & 1 deletion custom_components/retry/translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"issues": {
"failure": {
"title": "Zlyhanie servisného volania",
"description": "`{service}` zlyhané po {retries} pokusoch. Ďalšie informácie nájdete v denníku."
"description": "`{action}` zlyhané po {retries} pokusoch. Ďalšie informácie nájdete v denníku."
}
},
"services": {
Expand Down

0 comments on commit 5d29d5b

Please sign in to comment.