summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Users.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-16 11:07:38 +0200
committerYorhel <git@yorhel.nl>2009-08-17 16:27:15 +0200
commit596714f864c09d752fc3c72177afaa0138020d6f (patch)
tree9409a0aeb6a75c54f0b853456589e5cc2c651c9f /lib/VNDB/Handler/Users.pm
parent5684e4821c0e0bdffa523e886e6644649e8f519a (diff)
L10N: Converted user ranks and language names
User ranks are easy... but the language names are used everywhere!
Diffstat (limited to 'lib/VNDB/Handler/Users.pm')
-rw-r--r--lib/VNDB/Handler/Users.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index 4dee6105..ca5719e1 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -368,7 +368,7 @@ sub edit {
$self->authCan('usermod') ? (
[ input => short => 'usrname', name => 'Username' ],
[ select => short => 'rank', name => 'Rank', options => [
- map [ $_, $self->{user_ranks}[$_][0] ], 1..$#{$self->{user_ranks}} ] ],
+ map [ $_, mt '_urank_'.$_ ], 1..$#{$self->{user_ranks}} ] ],
[ check => short => 'ign_votes', name => 'Ignore votes in VN statistics' ],
) : (
[ static => label => 'Username', content => $frm->{usrname} ],