Skip to content

Commit efecd7e

Browse files
amulet1ralflang
authored andcommitted
feat: Detect translatable strings in invalid() method parameters
Re: forthcoming invalid() method in Horde_Form_Type class.
1 parent c53fefd commit efecd7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/horde-translation

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ class Horde_Translation_Script
593593
$sh = $this->xgettext
594594
. ' --language=PHP'
595595
. ' --from-code=iso-8859-1'
596-
. ' --keyword=_ --keyword=ngettext --keyword=t --keyword=n --keyword=r'
596+
. ' --keyword=_ --keyword=ngettext --keyword=t --keyword=n --keyword=r --keyword=invalid'
597597
. ' --sort-output'
598598
. ' --package-name=' . ($this->apps[$i] == 'imp' ? 'IMP' : ucfirst($this->apps[$i]))
599599
. ' --copyright-holder="Horde LLC (http://www.horde.org/)"'

0 commit comments

Comments
 (0)