summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/editpage.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-04 13:20:52 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-04 13:20:52 -0400
commit059d6f01fa7b34b67d60b99ccbc21bf188543531 (patch)
treec52f679526df3c3f976506826e7bc87a5a51d869 /IkiWiki/Plugin/editpage.pm
parent6842328405494dd4971d3bfa443901084efe87ed (diff)
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.pm2
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 {