summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-09-11 15:56:54 +0200
committerYorhel <git@yorhel.nl>2019-09-11 15:56:54 +0200
commit7eca65c37be71d9c677cc99153e0df75902ed8cb (patch)
treed3b13511e0169f0f6f5a731c7969420d2cdf56f8 /util
parent8c1faad14d4e4be29c464a3dcf3e2f340c6f8242 (diff)
VNDB::Types: Convert languages into %LANGUAGE
Diffstat (limited to 'util')
-rwxr-xr-xutil/jsgen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl
index 6829f719..b8332829 100755
--- a/util/jsgen.pl
+++ b/util/jsgen.pl
@@ -39,7 +39,7 @@ sub vars {
rlist_status => $S{rlist_status},
cookie_prefix => $O{cookie_prefix},
age_ratings => [ map [ $_, $_ == -1 ? 'Unknown' : $_ == 0 ? 'All ages' : "$_+" ], @{$S{age_ratings}} ],
- languages => [ map [ $_, $S{languages}{$_} ], keys %{$S{languages}} ],
+ languages => [ map [ $_, $LANGUAGE{$_} ], keys %LANGUAGE ],
platforms => [ map [ $_, $S{platforms}{$_} ], keys %{$S{platforms}} ],
char_roles => [ map [ $_, $S{char_roles}{$_}[0] ], keys %{$S{char_roles}} ],
media => [ map [ $_, $S{media}{$_}[1], $S{media}{$_}[0] ], keys %{$S{media}} ],