Skip to content

Instantly share code, notes, and snippets.

@SauloSilva
Last active January 26, 2017 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SauloSilva/480e3f2c7549fa5d287c5d60af184715 to your computer and use it in GitHub Desktop.
Save SauloSilva/480e3f2c7549fa5d287c5d60af184715 to your computer and use it in GitHub Desktop.
English translation for CSV Import Magic
en:
models_and_attributes: &models_and_attributes
models:
importer:
one: Importer
other: Importers
attributes:
importer:
attachment: CSV
attachment_error: CSV with errors
source: Source
columns: Columns
status: Status
message: Message
activerecord:
<<: *models_and_attributes
activemodel:
<<: *models_and_attributes
csv_import_magic:
importers_controller:
create:
alert: Please, tell us which columns we can find the information you want.
update:
notice: File uploaded for processing.
alert: Unable to send file for processing, please try again.
services:
error_label: Errors
success: Records has been imported!
failure:
columns_error:
one: 'This missing the following column: %{columns}'
other: 'This missing the following columns: %{columns}'
records_error: Some record were not imported because they have errors!
views:
importers:
new:
title: Importer of %{model_translated}
description: Import your records of %{model_translated} in the fast way
hint: 'Upload a file <b>CSV</b> with title and headers.'
buttons:
import: Import
show:
title: Importer of %{model_translated}
waiting: Processing your file...
buttons:
back: Back
error_file: See error file
success: Success
edit:
title: Adjustment of importater
description: Indicate which columns should care
ignore_column_label: Ignore column
empty_values: Empty
column: Column
hint: Choose what type of information this column contains.
example_of_values: Example of values
buttons:
import:
one: 'Import %{count} record'
other: 'Import %{count} records'
cancel: Cancel
errors:
messages:
uniq:
one: '%{columns} should be unique'
other: '%{columns} should be unique'
missing:
one: '%{columns} is missing'
other: '%{columns} are missing'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment