<% if lang %> <%=tra("Your Translations", "Dashboard section header") %> <% else %> <%=tra("Your Total Translations", "Dashboard section header") %> <% end %>
<%= translator_rank_chart(lang)%>
    <%=tra("Accepted:", "Header for accepted language translations") %> <% if lang %> <%=link_to(translator_metric.accepted_translations || 0, :controller => "/tr8n/translations", :action => :index, :locale => lang.locale, :submitted_by => :me, :with_status => :accepted) %> <% else %> <%= translator_metric.accepted_translations || 0 %> <% end %>        <%=tra("Pending:", "Header for pending language translations") %> <% if lang %> <%=link_to(translator_metric.pending_vote_translations || 0, :controller => "/tr8n/translations", :action => :index, :locale => lang.locale, :submitted_by => :me, :with_status => :pending) %> <% else %> <%= translator_metric.pending_vote_translations || 0 %> <% end %>        <%=tra("Rejected:", "Header for rejected language translations") %> <% if lang %> <%=link_to(translator_metric.rejected_translations || 0, :controller => "/tr8n/translations", :action => :index, :locale => lang.locale, :submitted_by => :me, :with_status => :rejected) %> <% else %> <%= translator_metric.rejected_translations || 0 %> <% end %>

<%=tra("Total Translations:", "Header for total translations count") %> <% if lang %> <%=link_to(translator_metric.total_translations || 0, :controller => "/tr8n/translations", :action => :index, :locale => lang.locale, :submitted_by => :me) %> <% else %> <%= translator_metric.total_translations || 0 %> <% end %>
<%=tra("The ranks are calculated realtime", "Dashboard section header")%>