Skip to content

Commit

Permalink
Fix error message formatting in PL upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kammerer committed Feb 27, 2018
1 parent 68dc259 commit c060d92
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions config/locales/errors.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,20 @@ en:
attributes:
file:
no_header: 'No correct header provided. At least four columns are expected.'
no_header_plant_lines: 'No correct header provided.'
no_plant_accession_header: 'No correct header provided. Please provide the "Plant accession" column.'
no_originating_organisation_header: 'No correct header provided. Please provide the "Originating organisation" column.'
no_year_produced_header: 'No correct header provided. Please provide the "Year produced" column.'
no_plant_line_header: 'No correct header provided. Please provide the "Plant line" column.'
no_common_name_header: 'No correct header provided. Please provide the "Common name" column.'
no_previous_line_name_header: 'No correct header provided. Please provide the "Previous line name" column.'
no_genetic_status_header: 'No correct header provided. Please provide the "Genetic status" column.'
no_sequence_header: 'No correct header provided. Please provide the "Sequence" column.'
no_line_or_variety_header: 'No correct header provided. Please provide either the "Plant line" or the "Plant variety" column.'
no_plant_variety_header: 'No correct header provided. Please provide the "Plant variety" column.'
no_species_header: 'No correct header provided. Please provide the "Species" column.'
no_crop_type_header: 'No correct header provided. Please provide the "Crop type" column.'
non_unique_mapping: 'Detected non unique column headers mapping
to traits. Please check the column names.'
no_header_plant_lines: 'has no correct header provided.'
no_plant_accession_header: 'has no correct header provided. Please provide the "Plant accession" column.'
no_originating_organisation_header: 'has no correct header provided. Please provide the "Originating organisation" column.'
no_year_produced_header: 'has no correct header provided. Please provide the "Year produced" column.'
no_plant_line_header: 'has no correct header provided. Please provide the "Plant line" column.'
no_common_name_header: 'has no correct header provided. Please provide the "Common name" column.'
no_previous_line_name_header: 'has no correct header provided. Please provide the "Previous line name" column.'
no_genetic_status_header: 'has no correct header provided. Please provide the "Genetic status" column.'
no_sequence_header: 'has no correct header provided. Please provide the "Sequence" column.'
no_line_or_variety_header: 'has no correct header provided. Please provide either the "Plant line" or the "Plant variety" column.'
no_plant_variety_header: 'has no correct header provided. Please provide the "Plant variety" column.'
no_species_header: 'has no correct header provided. Please provide the "Species" column.'
no_crop_type_header: 'has no correct header provided. Please provide the "Crop type" column.'
non_unique_mapping: 'Detected non unique column headers mapping to traits. Please check the column names.'
trait:
attributes:
name:
Expand Down

0 comments on commit c060d92

Please sign in to comment.