projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ac740
)
localize user-visible warnings and tack on missing newlines
author
Joey Hess
<joey@gnu.kitenet.net>
Fri, 11 Sep 2009 22:22:06 +0000
(18:22 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Fri, 11 Sep 2009 22:22:06 +0000
(18:22 -0400)
IkiWiki/Plugin/rsync.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/rsync.pm
b/IkiWiki/Plugin/rsync.pm
index 9afbe948728507c5a72fbea480919c6c43ddd15c..a62347a44d1fdfe708f7af03ceaafe4b5bc5b3b9 100644
(file)
--- a/
IkiWiki/Plugin/rsync.pm
+++ b/
IkiWiki/Plugin/rsync.pm
@@
-30,10
+30,10
@@
sub postrefresh () {
chdir($config{destdir}) || error("chdir: $!");
system $config{rsync_command};
if ($? == -1) {
- warn(
"failed to execute rsync_command: $!")
;
+ warn(
sprintf(gettext("failed to execute rsync_command: %s"), $!))."\n"
;
}
elsif ($? != 0) {
- warn(sprintf(
"rsync_command exited %d", $? >> 8))
;
+ warn(sprintf(
gettext("rsync_command exited %d"), $? >> 8))."\n"
;
}
}
}