diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-04 13:20:52 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-04 13:20:52 -0400 |
commit | 059d6f01fa7b34b67d60b99ccbc21bf188543531 (patch) | |
tree | c52f679526df3c3f976506826e7bc87a5a51d869 /IkiWiki/Plugin/editpage.pm | |
parent | 6842328405494dd4971d3bfa443901084efe87ed (diff) | |
download | ikiwiki-059d6f01fa7b34b67d60b99ccbc21bf188543531.tar ikiwiki-059d6f01fa7b34b67d60b99ccbc21bf188543531.tar.gz |
fix further places where translated discussion case was assumed
Another benefit is that consistently using gettext("Discussion")
eliminates the need to translate one string.
Diffstat (limited to 'IkiWiki/Plugin/editpage.pm')
-rw-r--r-- | IkiWiki/Plugin/editpage.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm index 8effc02d0..467cd9ed5 100644 --- a/IkiWiki/Plugin/editpage.pm +++ b/IkiWiki/Plugin/editpage.pm @@ -230,7 +230,7 @@ sub cgi_editpage ($$) { $dir=~s![^/]+/+$!!; if ((defined $form->field('subpage') && length $form->field('subpage')) || - $page eq gettext('discussion')) { + $page eq lc(gettext('Discussion'))) { $best_loc="$from/$page"; } else { |