]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/po.pm
fix rcs_prepedit implementation to match spec
[ikiwiki.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;