X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3c66e1552b70fe5ed5211aafcf127c647d79b481..c56ff6cd4723e8ec709c6078e20b8b72b0aed443:/IkiWiki/Plugin/img.pm diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index a697fea19..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)); @@ -121,8 +121,9 @@ sub preprocess (@) { my $imgtag=''.$params{alt}.'';