diff options
author | Jochen Topf <jochen@topf.org> | 2012-01-23 12:20:01 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-01-23 12:20:01 +0100 |
commit | 8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77 (patch) | |
tree | 5c6586991b168b10dc0fbbdf7a7e412f7c344d62 /web | |
parent | 3452ba879195b3316ef5c9ef3d3b31597aa13139 (diff) | |
download | taginfo-8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77.tar taginfo-8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77.tar.gz |
Add tooltip to key/tag description from wiki
Diffstat (limited to 'web')
-rw-r--r-- | web/i18n/de.yml | 2 | ||||
-rw-r--r-- | web/i18n/en.yml | 2 | ||||
-rw-r--r-- | web/views/key.erb | 2 | ||||
-rw-r--r-- | web/views/tag.erb | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/web/i18n/de.yml b/web/i18n/de.yml index f876292..4fba822 100644 --- a/web/i18n/de.yml +++ b/web/i18n/de.yml @@ -105,6 +105,7 @@ pages: intro: | Diese Tabelle zeigt die häufigsten Tags in der Datenbank. key: + description_from_wiki: Beschreibung dieses Keys aus dem Wiki (falls vorhanden in der gewählten Sprache, sonst auf englisch). no_description_in_wiki: Keine Beschreibung dieses Keys im Wiki. filter: label: | @@ -132,6 +133,7 @@ pages: choice: | Stil auswählen: tag: + description_from_wiki: Beschreibung dieses Tags aus dem Wiki (falls vorhanden in der gewählten Sprache, sonst auf englisch). no_description_in_wiki: Keine Beschreibung dieses Tags im Wiki. other_tags_used: title: Tags, die mit diesem Tag zusammen benutzt werden diff --git a/web/i18n/en.yml b/web/i18n/en.yml index b14a67f..a9f597a 100644 --- a/web/i18n/en.yml +++ b/web/i18n/en.yml @@ -101,6 +101,7 @@ pages: intro: | This table shows the most common tags in the database. key: + description_from_wiki: Description of this key from the wiki (if available in your chosen language, otherwise in English). no_description_in_wiki: No description for this key in the wiki. filter: label: | @@ -128,6 +129,7 @@ pages: choice: | Choose style: tag: + description_from_wiki: Description of this tag from the wiki (if available in your chosen language, otherwise in English). no_description_in_wiki: No description for this tag in the wiki. other_tags_used: title: Other tags used together with this tag diff --git a/web/views/key.erb b/web/views/key.erb index ba58402..d13d7ae 100644 --- a/web/views/key.erb +++ b/web/views/key.erb @@ -17,7 +17,7 @@ </select> </form> <h1><%= @key_pp %></h1> - <p><%= @desc %></p> + <p><span title="<%= t.pages.key.description_from_wiki %>" tipsy="w"><%= @desc %></span></p> </div> <div id="tabs"> <ul> diff --git a/web/views/tag.erb b/web/views/tag.erb index 8026230..e862d0a 100644 --- a/web/views/tag.erb +++ b/web/views/tag.erb @@ -17,7 +17,7 @@ </select> </form> <h1><%= link_to_key(@key) %>=<%= @value_pp %></h1> - <p><%= @desc %></p> + <p><span title="<%= t.pages.tag.description_from_wiki %>" tipsy="w"><%= @desc %></span></p> </div> <div id="tabs"> <ul> |