diff options
author | Jochen Topf <jochen@topf.org> | 2010-11-06 19:49:27 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2010-11-06 19:49:27 +0100 |
commit | 79f4ec1fa8238cce85ed2379544cb347fa965f57 (patch) | |
tree | 1ae0d0d83266650183064626aea34eaebf79b1ed /web/public | |
parent | 0f75e20a725cb7dbc08cbf476f7343c68dfcc3cd (diff) | |
download | taginfo-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.js | 4 |
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) { |