]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/po.pm
comments: Make comment() pagespec also match comments that are being posted.
[git.ikiwiki.info.git] / IkiWiki / Plugin / po.pm
index ab39cca121b63f780b31f68d94991a517f5afa5a..a79e7d7f0ee56f579ff4e261cd97028533de3099 100644 (file)
@@ -1249,8 +1249,8 @@ sub splitlangpair ($) {
        if (! defined $code || ! defined $name ||
            ! length $code || ! length $name) {
                # not a fatal error to avoid breaking if used with web setup
-               print STDERR sprintf(gettext("%s has invalid syntax: must use CODE|NAME"),
-                       $pair)."\n";
+               warn sprintf(gettext("%s has invalid syntax: must use CODE|NAME"),
+                       $pair);
        }
 
        return $code, $name;