summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/editpage.pm
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-11-02 20:15:21 +0100
committerintrigeri <intrigeri@boum.org>2008-11-02 20:15:21 +0100
commit7b28deb171455a207e536b8abebbca67242a4588 (patch)
tree09d6933412129bbf110abd253d056bf374f400bd /IkiWiki/Plugin/editpage.pm
parentb6a4da775945856b07fdc8f1330a86f67e329ac9 (diff)
parent2ebc0bb82dd907b6c0eaa39441378cb3bd8152d5 (diff)
Merge branch 'prv/po' into pub/po
Diffstat (limited to 'IkiWiki/Plugin/editpage.pm')
-rw-r--r--IkiWiki/Plugin/editpage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm
index 30c93df20..fe2864bac 100644
--- a/IkiWiki/Plugin/editpage.pm
+++ b/IkiWiki/Plugin/editpage.pm
@@ -122,7 +122,7 @@ sub cgi_editpage ($$) { #{{{
my $absolute=($page =~ s#^/+##);
if (! defined $page || ! length $page ||
file_pruned($page, $config{srcdir})) {
- error("bad page name");
+ error(gettext("bad page name"));
}
my $baseurl = urlto($page, undef, 1);