summaryrefslogtreecommitdiff
path: root/data/global.pl
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-08-15 13:46:15 +0200
committerYorhel <git@yorhel.nl>2015-08-15 13:46:15 +0200
commit295ccf2ef58898b1cbee32a137ae859d67237a3a (patch)
tree2f7fd478ad13da179830e7b63dc35cd29e401920 /data/global.pl
parent8c1c8311f5910d8bf62eee449c20d87b62412239 (diff)
js: Let jsgen.pl preprocess L10N strings + add L10N strings to some vars
This simplifies the JS version of mt() a bit and makes the whole internationalization framework a bit more robust. I also changed the VARS.{rlist_status,age_ratings,languages,platforms,char_roles} arrays to include the L10N string. This simplifies the JS code and reduces the JS size. There's a few more of such lists that can be transformed in the same way, I'll get to that later.
Diffstat (limited to 'data/global.pl')
-rw-r--r--data/global.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/global.pl b/data/global.pl
index ef368d61..c8f2537b 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -106,7 +106,7 @@ our %S = (%S,
voiced => [ 0..4 ],
animated => [ 0..4 ],
wishlist_status => [ 0..3 ],
- rlist_status => [ 0..4 ], # 2 = hardcoded 'OK'
+ rlist_status => [ 0..4 ], # 0 = hardcoded "unknown", 2 = hardcoded 'OK'. List must not have gaps
vnlist_status => [ 0..4 ],
blood_types => [qw| unknown o a b ab |],
genders => [qw| unknown m f b |],