projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c1a359
)
use warn
author
Joey Hess
<joey@kitenet.net>
Fri, 10 Sep 2010 18:20:53 +0000
(14:20 -0400)
committer
Joey Hess
<joey@kitenet.net>
Fri, 10 Sep 2010 18:20:53 +0000
(14:20 -0400)
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index ab39cca121b63f780b31f68d94991a517f5afa5a..a79e7d7f0ee56f579ff4e261cd97028533de3099 100644
(file)
--- 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;