diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-14 16:42:28 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-14 16:42:28 +0200 |
commit | 7199a841ad30eef068a84b709784ef005967015a (patch) | |
tree | 98814697f03ccba3dcc0105a4ad56c065a8cf2e1 /web/views/tag.erb | |
parent | bc14453302ece4a9e2761976be7a75580cc168c9 (diff) | |
download | taginfo-7199a841ad30eef068a84b709784ef005967015a.tar taginfo-7199a841ad30eef068a84b709784ef005967015a.tar.gz |
i18n support for "button disabled" text on key/tag/relation pages.
Diffstat (limited to 'web/views/tag.erb')
-rw-r--r-- | web/views/tag.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/views/tag.erb b/web/views/tag.erb index 6776682..2956e54 100644 --- a/web/views/tag.erb +++ b/web/views/tag.erb @@ -12,14 +12,14 @@ <% if @count_all < TaginfoConfig.get('xapi.max_results', 1000) %> <%= xapi_link(@filter_xapi, @key, @value) %> <%= josm_link(@filter_xapi, @key, @value) %> <% else %> - <span class="button disabled" title="Button disabled, because there are too many objects with this key">XAPI</span> - <span class="button disabled" title="Button disabled, because there are too many objects with this key">JOSM</span> + <span class="button disabled" title="<%= h(t.pages.tag.button_disabled) %>">XAPI</span> + <span class="button disabled" title="<%= h(t.pages.tag.button_disabled) %>">JOSM</span> <% end %> <%= turbo_link(@filter_type, @key, @value) %> <% if @count_all <= TaginfoConfig.get('level0.max_results', 10) %> <%= level0_link() %> <% else %> - <span class="button disabled" title="Button disabled, because there are too many objects with this tag">Level0 Editor</span> + <span class="button disabled" title="<%= h(t.pages.tag.button_disabled) %>">Level0 Editor</span> <% end %> </div> <h1></h1> |