projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b62dc0a
)
improve error message
author
Joey Hess
<joey@gnu.kitenet.net>
Sun, 19 Jul 2009 11:36:46 +0000
(13:36 +0200)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sun, 19 Jul 2009 11:36:46 +0000
(13:36 +0200)
IkiWiki/Plugin/img.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/img.pm
b/IkiWiki/Plugin/img.pm
index 78e3789171c53a5e90110f666e08ef0860bd36f7..44d67bd8375057e77d5853ee93cdd7943108ed14 100644
(file)
--- a/
IkiWiki/Plugin/img.pm
+++ b/
IkiWiki/Plugin/img.pm
@@
-66,7
+66,7
@@
sub preprocess (@) {
if ($params{size} ne 'full') {
my ($w, $h) = ($params{size} =~ /^(\d*)x(\d*)$/);
- error sprintf(gettext('
bad size "%s"
'), $params{size})
+ error sprintf(gettext('
wrong size format "%s" (should be WxH)
'), $params{size})
unless (defined $w && defined $h &&
(length $w || length $h));