]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/google.pm
Merge commit 'upstream/master' into prv/po
[ikiwiki.git] / IkiWiki / Plugin / google.pm
index 5394c5a6f8a503533d5388d602fbb64bbbf03ed7..1683220e7ed659c8857ae2aae0fcf8ff966969f7 100644 (file)
@@ -3,7 +3,7 @@ package IkiWiki::Plugin::google;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 use URI;
 
 my $host;
@@ -24,7 +24,7 @@ sub getsetup () {
 
 sub checkconfig () {
        if (! length $config{url}) {
-               error(sprintf(gettext("Must specify %s when using the google search plugin"), "url"));
+               error(sprintf(gettext("Must specify %s when using the %s plugin"), "url", 'google'));
        }
        my $uri=URI->new($config{url});
        if (! $uri || ! defined $uri->host) {