languages fix

This commit is contained in:
Harry Bomrah 2018-01-19 17:06:23 +08:00
parent 381e9e620b
commit c0d88f0f93
3 changed files with 3 additions and 1 deletions

View File

@ -160,7 +160,7 @@
<div class="form-actions">
<%= hidden_field_tag 'page', params[:page] if !params[:page].blank? %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<a href="<%= admin_archive_files_path %>" class="btn">Back to Archives</a>
<a href="<%= admin_archive_files_path %>" class="btn"><%= t("archive.back_to_archives") %></a>
</div>
<% content_for :page_specific_javascript do %>

View File

@ -11,6 +11,7 @@ en:
Title: Title
Files: Files
Category: Category
back_to_archives: Back to Archives
frontend:
archive: Archive Frontend
widget:

View File

@ -8,6 +8,7 @@ zh_tw:
downloaded_times: 下載次數
Files: 檔案
Category: 類別
back_to_archives: 返回檔案
frontend:
archive: 檔案室前台
widget: