Sha256: e39faba77fd3ad9d4777e271b8a48c31d1aa0c1ade9095fb120b9a9e33154378

Contents?: true

Size: 903 Bytes

Versions: 6

Compression:

Stored size: 903 Bytes

Contents

<% interpret_title "Interpret - Tools" %>

<div class="header">
  <h1>Download the current .yml file for language [ <%= I18n.locale %> ]</h1>
</div>

<p>With the following button you can download a "<%= I18n.locale %>.yml" file with the current translations for this language.</p>

<p>
<%= button_to "Download", export_tools_path, :method => :get %>
</p>

<div class="header">
  <h1>Import translations from a .yml file</h1>
</div>

<p>This action will let you update the translations from a standard .yml file.
All existing translations in that file will be copied into the application,
and if they already exists they will be overwritten.
</p>

<p>
Remember that the first key of the YAML file you're uploading must match the current locale.
</p>

<%= form_tag import_tools_path, :multipart => true do %>
  <%= label_tag "File:" %>
  <%= file_field_tag :file %>
  <%= submit_tag "Upload" %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

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