summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-04-08 16:58:58 +0200
committerYorhel <git@yorhel.nl>2011-04-08 16:58:58 +0200
commit3a6a1dabe45d5fcdfd882de65c24ac45f173803e (patch)
tree8bf6afc1ee44b32ad9630e9f0b6fd1ccd449c943
parentcc1c73c3bcb06a3e21774c8c9349f9471d99d4aa (diff)
Bugfix: Forgot to make two JS strings translatable
-rw-r--r--ChangeLog1
-rw-r--r--data/lang.txt14
-rw-r--r--data/script.js4
3 files changed, 17 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9186e339..91bb01f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
- Bugfix: Hide pointless groups and commas on spoiler-hidden trait display
- Bugfix: Properly format future dates on my vn list
- Bugfix: Properly position the sub-tabs on VN page without tags
+ - Bugfix: Forgot to make two JS strings translatable
2.19 - 2011-03-30
- Character database:
diff --git a/data/lang.txt b/data/lang.txt
index f037b61e..f69e20b9 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -5431,6 +5431,13 @@ cs : Přidat vlastnost
hu : Sajátosság hozzáadása
nl : Voeg kenmerk toe
+:_chare_traits_del
+en : del
+ru*:
+cs*:
+hu*:
+nl :
+
:_chare_traits_present
en : Selected trait is already present.
ru*:
@@ -5515,6 +5522,13 @@ cs : VN je již přítomna.
hu : A VN már jelen van.
nl : VN is al geselecteerd.
+:_chare_vns_relexists
+en : Release already present.
+ru*:
+cs*:
+hu*:
+nl : Uitgave is al geselecteerd.
+
# Character browser (/c/*)
diff --git a/data/script.js b/data/script.js
index 97f5fa30..4fc3e49b 100644
--- a/data/script.js
+++ b/data/script.js
@@ -1814,7 +1814,7 @@ function ctrAdd(item, spoil) {
tag('b', {'class':'grayedout'}, group?group+' / ':''),
tag('a', {'href':'/i'+id}, name)),
sp,
- tag('td', {'class':'tc_del'}, tag('a', {href:'#', onclick:ctrDel}, 'del'))
+ tag('td', {'class':'tc_del'}, tag('a', {href:'#', onclick:ctrDel}, mt('_chare_traits_del')))
));
ctrEmpty();
ctrSerialize();
@@ -1994,7 +1994,7 @@ function cvnRelChange() {
while(tr.nodeName.toLowerCase() != 'tr')
tr = tr.parentNode;
if(byId('cvn_v'+tr.cvn_vid+'r'+val)) {
- alert('Release already selected.');
+ alert(mt('_chare_vns_relexists'));
for(var i=0; i<this.options.length; i++)
this.options[i].selected = this.options[i].value == tr.cvn_rid;
return;