diff options
author | Yorhel <git@yorhel.nl> | 2011-04-03 18:21:22 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-04-03 18:21:22 +0200 |
commit | d1e6744245efbd214cb5fe120bcae827ee7ce5f0 (patch) | |
tree | ee0a44fa21901bc8e9fd98f172b36bd94cf2803a | |
parent | 0009e62b8b0b3066f10c4269718c9ccc9b312a63 (diff) |
Bugfix: Use the translatable role names on char<->vn link form
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | data/script.js | 4 | ||||
-rw-r--r-- | data/style.css | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -9,6 +9,7 @@ - Bugfix: use the 'vnlists' table to calculate stats on user page - Bugfix: allow adding/copying a char with instance field set - Bugfix: copy over search string when switching to trait search + - Bugfix: Use the translatable role names on char<->vn link form 2.19 - 2011-03-30 - Character database: diff --git a/data/script.js b/data/script.js index 50bc647e..930dbd6f 100644 --- a/data/script.js +++ b/data/script.js @@ -1965,8 +1965,8 @@ function cvnRelAdd(vid, rid, role, spoil) { } var lsel = tag('select', {onchange:cvnSerialize}); - for(var i=0; i<char_roles.length; i++) - lsel.appendChild(tag('option', {value: char_roles[i], selected:char_roles[i]==role}, char_roles[i])); + for(var i=0; i<char_roles.length; i++) // l10n /^_charrole_/ + lsel.appendChild(tag('option', {value: char_roles[i], selected:char_roles[i]==role}, mt('_charrole_'+char_roles[i]))); // l10n /_spoil_\d+/ var ssel = tag('select', {onchange:cvnSerialize}); diff --git a/data/style.css b/data/style.css index 08199de0..08479ce2 100644 --- a/data/style.css +++ b/data/style.css @@ -885,8 +885,8 @@ div.chardetails.charsep { padding-top: 5px; margin-top: 5px; border-top: 1px sol #jt_box_chare_vns td.tc_rel { width: 340px; padding-left: 15px } #jt_box_chare_vns td.tc_rel select { width: 340px; } #jt_box_chare_vns td.tc_rol, +#jt_box_chare_vns td.tc_rol select { width: 150px } #jt_box_chare_vns td.tc_spl, -#jt_box_chare_vns td.tc_rol select, #jt_box_chare_vns td.tc_spl select { width: 100px } #jt_box_chare_vns td.tc_del { padding-left: 5px } #jt_box_chare_vns td.tc_vnadd input { width: 280px } |