Apply translations on input type submit

Commit 3729976 only updated xgettext.html which generates the .pot file.
This commit also makes sure that the actual translations are applied to
the interface.

Fixes #997
This commit is contained in:
Samuel Mannehed 2018-01-24 13:00:48 +01:00
parent 61f93180c8
commit 86b9c473d1
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ Localizer.prototype = {
} }
if (elem.hasAttribute("value") && if (elem.hasAttribute("value") &&
elem.tagName === "INPUT" && elem.tagName === "INPUT" &&
isAnyOf(elem.getAttribute("type"), ["reset", "button"])) { isAnyOf(elem.getAttribute("type"), ["reset", "button", "submit"])) {
translateAttribute(elem, "value"); translateAttribute(elem, "value");
} }
} }