summaryrefslogtreecommitdiff
path: root/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'script.js')
-rw-r--r--script.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/script.js b/script.js
index 664985c..1301379 100644
--- a/script.js
+++ b/script.js
@@ -63,7 +63,11 @@ function display(proposals) {
const link = newEl('a', proposal.name || proposal.page_title);
link.href = 'https://wiki.openstreetmap.org/wiki/' + proposal.page_title.replaceAll(' ', '_');
- row.appendChild(newEl('td', link));
+
+ const nameCell = newEl('td', link);
+ if (proposal.lang)
+ nameCell.appendChild(document.createTextNode(` (${proposal.lang})`));
+ row.appendChild(nameCell);
row.appendChild(newEl('td', proposal.authors));
tbody.appendChild(row);