From b23ddf6c4a955dc4da8266880d27e25073ee7e06 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 19 Jul 2009 13:36:46 +0200 Subject: improve error message --- IkiWiki/Plugin/img.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') 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)); -- cgit v1.2.3