Skip to content

Commit

Permalink
Fix translations for double tapped events
Browse files Browse the repository at this point in the history
references #12
  • Loading branch information
jason0x43 committed Feb 19, 2020
1 parent af14d25 commit 55cc72f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/hubitat/.translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"8": "8"
},
"trigger_type": {
"doubleTapped": "Button {subtype} double-tapped",
"double_tapped": "Button {subtype} double-tapped",
"held": "Button {subtype} held",
"pushed": "Button {subtype} pushed"
}
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hubitat/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
CONF_BUTTON_6 = "6"
CONF_BUTTON_7 = "7"
CONF_BUTTON_8 = "8"
CONF_DOUBLE_TAPPED = "double tapped"
CONF_DOUBLE_TAPPED = "double_tapped"
CONF_HELD = "held"
CONF_PUSHED = "pushed"
CONF_SUBTYPE = "subtype"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hubitat/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"8": "8"
},
"trigger_type": {
"doubleTapped": "Button {subtype} double-tapped",
"double_tapped": "Button {subtype} double-tapped",
"held": "Button {subtype} held",
"pushed": "Button {subtype} pushed"
}
Expand Down

0 comments on commit 55cc72f

Please sign in to comment.