aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/img.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-19 13:36:46 +0200
committerJoey Hess <joey@gnu.kitenet.net>2009-07-19 13:36:46 +0200
commitb23ddf6c4a955dc4da8266880d27e25073ee7e06 (patch)
tree5d797ddbf2b974f5ae933f08eb7bab39eaacf28a /IkiWiki/Plugin/img.pm
parentb62dc0a3d8a82460ee43fa34a65403b75530b38b (diff)
downloadikiwiki-b23ddf6c4a955dc4da8266880d27e25073ee7e06.tar
ikiwiki-b23ddf6c4a955dc4da8266880d27e25073ee7e06.tar.gz
improve error message
Diffstat (limited to 'IkiWiki/Plugin/img.pm')
-rw-r--r--IkiWiki/Plugin/img.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm
index 78e378917..44d67bd83 100644
--- 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));