summaryrefslogtreecommitdiff
path: root/data/js
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-01-17 13:23:42 +0100
committerYorhel <git@yorhel.nl>2016-01-17 14:51:44 +0100
commit8e876179272ce79b0023f771be5f3842bf5ef679 (patch)
tree568bf5c3eb859d20bc6fc81c435326d21d444d51 /data/js
parent110db705ecdfb5c89500ff8f24652bcd1e25fc45 (diff)
L10N: Intern blood_types/genders/(char|staff)_roles/discussion_boards
I definitely needed the Tie::IxHash thing for these.
Diffstat (limited to 'data/js')
-rw-r--r--data/js/filter.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/data/js/filter.js b/data/js/filter.js
index 5a66f1fa..c77820ab 100644
--- a/data/js/filter.js
+++ b/data/js/filter.js
@@ -597,19 +597,11 @@ function filVN() {
}
function filStaff() {
- var gend = [
- ['unknown', mt('_gender_unknown')],
- ['m', mt('_gender_m')],
- ['f', mt('_gender_f')],
- ];
+ var gend = VARS.genders.slice(0, 3);
// Insert seiyuu into the list of roles, before the "staff" role.
var roles = VARS.staff_roles;
- for(var i=0; i<roles.length; i++)
- if(roles[i][0] == 'staff') {
- roles.splice(i, 0, ['seiyuu', mt('_credit_seiyuu')]);
- break;
- }
+ roles.splice(-1, 0, ['seiyuu', 'Voice actor']);
return [
mt('_sbrowse_fil_title'),