1
0
forked from GitHub/gf-core

hide the language code if translating to only one target language

This commit is contained in:
hallgren
2010-05-21 10:43:19 +00:00
parent 14d26b03d8
commit 9f42474b16

View File

@@ -334,7 +334,7 @@ function show_groupedtranslations(translations) {
if(to=="-1" || t.to==to) {
var lin=t.linearizations;
var tbody=empty("tbody");
/*if(to=="-1")*/
if(to=="-1")
tbody.appendChild(tr([th(text(t.to+":"))]));
for(var i=0;i<lin.length;i++) {
tbody.appendChild(tr([(text(lin[i].text))]));