<%= render(:partial => "translator_header")%>
<%=link_to(trla("view all"), {:controller => "/tr8n/phrases", :action => :view, :translation_key_id => @translation_key.id, :anchor => "translations"}) %> | <% comments_size = @translation_key.comments.size link_title = (comments_size > 0) ? "view comments (#{comments_size})" : "add comments" %> <%=link_to(trla(link_title), {:controller => "/tr8n/phrases", :action => :view, :translation_key_id => @translation_key.id, :anchor => "comments"}) %>
<%=trla("Vote on Translations")%>
<%= render :partial => "/tr8n/common/translation_votes", :locals => {:translation_key => @translation_key, :translations => @translations, :section_key => @section_key} %>
<%=trla("Don't like any of these?")%> <%=link_to_function(trla('Translate it yourself.'), "tr8nTranslator.switchTranslatorMode('#{@translation_key.id}', 'submit', '#{@source_url}')") %>