diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-10 14:20:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-10 14:20:53 -0400 |
commit | 163fc34db7f29bc75a05c54b83c2a00c5ad899c2 (patch) | |
tree | 478f491621438d08489bf2633aa44da9cb491052 | |
parent | 8c1a3595d49760ecedd7e56b6f2f2c5f2271b85d (diff) |
use warn
-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 ab39cca12..a79e7d7f0 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -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; |