Permalink
Browse files

Merge branch 'master' into language-selection

  • Loading branch information...
2 parents 5631b8d + 9e9dc85 commit 4d441c255ab4b205ae4b6f103ed01cb43a36c83b Craig Davey committed Apr 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/tolk/locales/show.html.erb
@@ -6,7 +6,7 @@
<link rel="alternate" type="application/rss+xml" title="RSS" href="<%= tolk_locale_path(@locale, :format => 'atom') -%>" />
<% end %>
-<h3 class="switch">Phrases missing translation <span>(<%= link_to 'See completed translations', all_tolk_locale_path(@locale) %>)</span></h3>
+<h3 class="switch">Phrases missing translation (<%= @locale.count_phrases_without_translation %>) <span>(<%= link_to 'See completed translations', all_tolk_locale_path(@locale) %>)</span></h3>
<% if @locale.has_updated_translations? && action_name != 'updated' %>
<span class="notice">Some phrases have changed. <%= link_to "Update translations", updated_tolk_locale_path(@locale) %>.</span>
@@ -31,7 +31,7 @@
</td>
<td class="phrase">
<%= format_i18n_value(phrase.translations.primary.text) -%>
- <span class="key"><%= truncate(phrase.key, :length => 100) %></span>
+ <span class="key" title="<%= phrase.key %>"><%= truncate(phrase.key, :length => 100) %></span>
</td>
</tr>
<% end %>

0 comments on commit 4d441c2

Please sign in to comment.