diff options
author | Yorhel <git@yorhel.nl> | 2011-10-24 17:33:02 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-10-24 17:33:02 +0200 |
commit | 28f5f8eac96dc21791bda5df5f997f213178c2f6 (patch) | |
tree | 3ec3bb1c61be3b1cdcb3668f44133cb26f47814d /util | |
parent | 683263176f20aba575428a2b03018316d5f45b06 (diff) |
Added 'role' filter to character browser
Diffstat (limited to 'util')
-rwxr-xr-x | util/jsgen.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl index d4259b4e..26815423 100755 --- a/util/jsgen.pl +++ b/util/jsgen.pl @@ -113,6 +113,7 @@ sub jsgen { $common .= sprintf "vn_lengths = [ %s ];\n", join ', ', @{$S{vn_lengths}}; $common .= sprintf "blood_types = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{blood_types}}; $common .= sprintf "genders = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{genders}}; + $common .= sprintf "char_roles = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{char_roles}}; $common .= sprintf "L10N_LANG = [ %s ];\n", join(', ', map sprintf('["%s","%s"]', $_, $lang{$_}{"_lang_$_"}||$lang{en}{"_lang_$_"}), VNDB::L10N::languages()); |