<% if lang.total_metric.not_translated_count == 0 and lang.total_metric.key_count > 0 %>
<%=tra("This language is fully translated.", "Dashboard section header")%>
<% else %>
<%=tra("This language has [link: {count||phrase}] that need to be translated.", "Dashboard section header", :count => lang.total_metric.not_translated_count, :link => lambda{|str| link_to(str, :controller => "/tr8n/phrases", :action => :index, :locale => lang.locale, :phrase_type => :without)} )%>
<% end %>
<%=tr8n_translator_rank_tag(tr8n_current_translator, translator_metric.rank)%>
<%=tr8n_toggler_tag("stats_content_#{lang.id}", "", true)%> <%=tra("Language Statistics", "Dashboard section header") %>
<%=render :partial => "language_metric", :locals => {:language_metric => lang.total_metric, :lang => lang} %> <%=render :partial => "translator_metric", :locals => {:translator_metric => translator_metric, :lang => lang} %>