mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
hide the language code if translating to only one target language
This commit is contained in:
@@ -334,7 +334,7 @@ function show_groupedtranslations(translations) {
|
|||||||
if(to=="-1" || t.to==to) {
|
if(to=="-1" || t.to==to) {
|
||||||
var lin=t.linearizations;
|
var lin=t.linearizations;
|
||||||
var tbody=empty("tbody");
|
var tbody=empty("tbody");
|
||||||
/*if(to=="-1")*/
|
if(to=="-1")
|
||||||
tbody.appendChild(tr([th(text(t.to+":"))]));
|
tbody.appendChild(tr([th(text(t.to+":"))]));
|
||||||
for(var i=0;i<lin.length;i++) {
|
for(var i=0;i<lin.length;i++) {
|
||||||
tbody.appendChild(tr([(text(lin[i].text))]));
|
tbody.appendChild(tr([(text(lin[i].text))]));
|
||||||
|
|||||||
Reference in New Issue
Block a user