diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-01-26 13:15:29 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-01-26 13:15:29 -0500 |
commit | 526d9dbe1029225c7a86d44a86fc1941f4f1922a (patch) | |
tree | 54a62d2b4099f0b5ef73eb150908666a430126e0 /IkiWiki/Plugin | |
parent | 8e738066bc1434f65d2e955e5c080c806a0ec797 (diff) |
improve some english
I'm still not happy with the clarity of this warning message.
I don't understand when it could happen or why a warning is needed.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index be7a28722..3837ca15e 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -537,7 +537,7 @@ sub formbuilder (@) { # This cannot be done in the formbuilder_setup hook as the list of types is # computed later. if ($form->field("do") eq "create") { - for my $field ($form->field) { + foreach my $field ($form->field) { next unless "$field" eq "type"; if ($field->type eq 'select') { # remove po from the list of types @@ -547,7 +547,7 @@ sub formbuilder (@) { else { # make sure the default value is not po; # does this case actually happen? - debug "po(formbuilder) ".gettext("type field is not select - not implemented yet"); + debug "po(formbuilder) ".gettext("type field is not selected - not implemented yet"); } } } |