summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-11-26 09:36:26 +0100
committerYorhel <git@yorhel.nl>2010-11-26 09:36:26 +0100
commitad17aecae0c2c947ab33edc4e616b120f8761042 (patch)
tree5e049bd7c7294b341633233309bb9bc39da71edd /util
parentfb1af20108f5b5e558dc30c8be25cd3f4c4a20af (diff)
Added voiced field release filter
The release filters are now pretty much complete. Save, perhaps, for some improved styling and grouping in the filter selector; but I'm too lazy for that at the moment.
Diffstat (limited to 'util')
-rwxr-xr-xutil/jsgen.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl
index a0f85006..4b24cd86 100755
--- a/util/jsgen.pl
+++ b/util/jsgen.pl
@@ -110,6 +110,7 @@ sub jsgen {
$common .= sprintf "media = [ %s ];\n", join ', ', map qq{"$_"}, sort keys %{$S{media}};
$common .= sprintf "release_types = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{release_types}};
$common .= sprintf "animated = [ %s ];\n", join ', ', @{$S{animated}};
+ $common .= sprintf "voiced = [ %s ];\n", join ', ', @{$S{voiced}};
$common .= sprintf "L10N_LANG = [ %s ];\n", join(', ', map qq{"$_"}, VNDB::L10N::languages());
open my $JS, '<:utf8', "$ROOT/data/script.js" or die $!;