Sha256: 885079d3be7ae9b4cde71f451a486826da400b33b9277f635044f84be53874c2

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 KB

Contents

<% interpret_title "Interpret - Translations" %>

<div id="header">
  <h1>Translations for [<%= I18n.locale %>]</h1>
</div>
<p>
There is a total of <%= @total_keys_number %> translations for [ <%= I18n.locale %> ].
</p>
<p>
Below are the translations without any particulary key in your application.
That use to be some global names or terms for common use along all the site,
which doesn't belong to any page or section in particulary. To dive into the
rest of your app's contents, navigate using the tree in the left, that shows your
locales structure.
</p>

<p>
<% if @references %>
  There are <%=  @references.size - @translations.size %> / <%= @references.size %> missing translations.
<% else %>
  There are <%= @translations.size %> translations.
<% end %>
</p>

<%= render 'interpret/translations/listing' %>

<% content_for :sidebar do %>
  <div id="tree_sidebar">
    <h3>
      <% if params[:key] %>
        /<%= params[:key].split(".").join("/") %>
      <% else %>
        /
      <% end %>
    </h3>
    <%= interpret_show_tree(@tree, params[:key]) %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
interpret-1.1.2 app/views/interpret/translations/index.html.erb
interpret-1.1.1 app/views/interpret/translations/index.html.erb
interpret-1.1.0 app/views/interpret/translations/index.html.erb
interpret-1.0.2 app/views/interpret/translations/index.html.erb
interpret-1.0.1 app/views/interpret/translations/index.html.erb
interpret-0.2.1 app/views/interpret/translations/index.html.erb
interpret-1.0.0 app/views/interpret/translations/index.html.erb