Skip to content

Commit

Permalink
Process input type submit for translations
Browse files Browse the repository at this point in the history
Fixes novnc#997
  • Loading branch information
samhed committed Jan 11, 2018
1 parent ce6d388 commit 3729976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion po/xgettext-html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function process(elem, locator, enabled) {
}
if (elem.hasAttribute("value") &&
elem.tagName === "INPUT" &&
isAnyOf(elem.getAttribute("type"), ["reset", "button"])) {
isAnyOf(elem.getAttribute("type"), ["reset", "button", "submit"])) {
addString(elem.getAttribute("value"), locator(elem));
}
}
Expand Down

0 comments on commit 3729976

Please sign in to comment.