Skip to content

Commit 3785366

Browse files
committed
Merge branch 'refactoring'
2 parents 8489147 + 97d6c48 commit 3785366

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

app/views/admin/import.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<%= raw(@active_admin_import_model.hint) %>
33
</p>
44
<%= semantic_form_for @active_admin_import_model, url: {action: :do_import}, html: {multipart: true} do |f| %>
5-
<%= f.inputs do %>
5+
<%= f.inputs name: t("active_admin_import.details") do %>
66
<%= f.input :file, as: :file %>
77
<% end %>
88
<%= f.actions do %>

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ en:
66
file_format_error: "You can import only valid csv file"
77
file_empty_error: "You can't import empty file"
88
no_file_error: "Please, select file to import"
9+
details: "Please, select file to import"
910
imported:
1011
one: "Successfully imported 1 %{model}"
1112
other: "Successfully imported %{count} %{plural_model}"

config/locales/it.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ it:
66
file_format_error: "Puoi importare solo CSV conformi"
77
no_file_error: "Per favore, seleziona un file da importare"
88
file_empty_error: "Non è possibile importare file vuoto"
9+
details: "Per favore, seleziona un file da importare"
910
imported:
1011
one: "Importato 1 %{model} con successo"
1112
other: "Importati %{count} %{plural_model} con successo"

0 commit comments

Comments
 (0)