aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2010-11-06 19:49:27 +0100
committerJochen Topf <jochen@topf.org>2010-11-06 19:49:27 +0100
commit79f4ec1fa8238cce85ed2379544cb347fa965f57 (patch)
tree1ae0d0d83266650183064626aea34eaebf79b1ed /web/public
parent0f75e20a725cb7dbc08cbf476f7343c68dfcc3cd (diff)
downloadtaginfo-79f4ec1fa8238cce85ed2379544cb347fa965f57.tar
taginfo-79f4ec1fa8238cce85ed2379544cb347fa965f57.tar.gz
'Combinations' instead of 'Other keys', popup on lang tags shows english name, too
Diffstat (limited to 'web/public')
-rw-r--r--web/public/js/taginfo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js
index 60e5e3d..0c4130c 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -14,8 +14,8 @@ function print_wiki_link(title, options) {
return '<img src="/img/link-wiki.gif" alt=""/><a class="wikilink" href="http://wiki.openstreetmap.org/' + path + '" target="_blank">' + title + '</a>';
}
-function print_language(code, lang) {
- return '<span class="lang" title="' + lang + '">' + code + '</span> ' + lang;
+function print_language(code, native_name, english_name) {
+ return '<span class="lang" title="' + native_name + ' (' + english_name + ')">' + code + '</span> ' + native_name;
}
function print_key_list(list) {