From a0df7f77f408c139739a8f1722226835f87c31cd Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 19 Jan 2018 17:05:26 +0800 Subject: [PATCH] language translations --- app/views/admin/announcements/import.html.erb | 24 +++++++++---------- .../admin/announcements/settings.html.erb | 20 ++++++++-------- config/locales/en.yml | 17 ++++++++++++- config/locales/zh_tw.yml | 24 +++++++++++++++---- 4 files changed, 58 insertions(+), 27 deletions(-) diff --git a/app/views/admin/announcements/import.html.erb b/app/views/admin/announcements/import.html.erb index d361b8c..00ce443 100644 --- a/app/views/admin/announcements/import.html.erb +++ b/app/views/admin/announcements/import.html.erb @@ -2,39 +2,39 @@ <% end %>
-

Export to Excel

+

<%= t("announcement.export_to_excel") %>

-

Import from Excel

+

<%= t("announcement.import_from_excel") %>

<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
<% if @module_app.categories.count > 0 %>
- +
- Please create all the tags and categories before hand. Only excel file is allowed. + <%= t("announcement.please_create_tags_cats") %>
<% else %>
-

Please create atleast one category before importing.

+

<%= t("announcement.create_atleast_one_cat") %>

<% end %>
<% if @module_app.categories.count > 0 %>
- + " class="btn btn-primary">
<% end %>
@@ -42,21 +42,21 @@
-

Import from Word Press XML

+

<%= t("announcement.import_from_wp_xml") %>

<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
- +
- + " class="btn btn-primary">
-