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">
-