summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--data/script.js4
-rw-r--r--data/style.css2
3 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 03aac171..1c044f7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 }