-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix issue when you have `strings.php` lang file * Make field instructions & validation errors translatable * Fix styling --------- Co-authored-by: duncanmcclean <[email protected]>
- Loading branch information
1 parent
9cbeea8
commit 77c3f12
Showing
12 changed files
with
66 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,32 @@ | ||
<?php | ||
|
||
return [ | ||
'migrations_needed' => 'In order to keep track of import progress, the importer uses Laravel\'s Job Batching feature. It uses a <code>job_batches</code> table in your database to store information about batches. Before you can run the importer, you will need to run the <code>php artisan migrate</code> command.', | ||
'utility_description' => 'Import entries, taxonomies, and users from XML and CSV files.', | ||
|
||
'configuration_instructions' => 'You can add or modify your Blueprint fields to customize what data is imported and what fieldtype it will be stored in. You can save, refresh, and come back to this import config later until it\'s ready to run.', | ||
'destination_collection_instructions' => 'Select the collection to import entries into.', | ||
'destination_site_instructions' => 'Which site should the entries be imported into?', | ||
'destination_taxonomy_instructions' => 'Select the taxonomy to import terms into.', | ||
'destination_type_instructions' => 'Choose what type of data are you importing.', | ||
'import_file_instructions' => 'Upload a CSV or XML file to import. This will replace the current file.', | ||
'import_file_instructions_create' => 'Upload a CSV or XML file to import.', | ||
'import_name_instructions' => 'Name this import so you can identify it later.', | ||
'mapping_instructions' => 'Map the fields from your import to the fields in your blueprint.', | ||
'migrations_needed' => 'In order to keep track of import progress, the importer uses Laravel\'s Job Batching feature. It uses a <code>job_batches</code> table in your database to store information about batches. Before you can run the importer, you will need to run the <code>php artisan migrate</code> command.', | ||
'strategy_instructions' => 'Choose what should happen when importing.', | ||
'unique_field_instructions' => 'Select a "unique field" to determine if an item already exists.', | ||
|
||
'assets_base_url_instructions' => 'The base URL to prepend to the path.', | ||
'assets_download_when_missing_instructions' => 'If the asset can\'t be found in the asset container, should it be downloaded?', | ||
'assets_related_field_instructions' => 'Which field does the data reference?', | ||
'entries_create_when_missing_instructions' => 'Create the entry if it doesn\'t exist.', | ||
'entries_related_field_instructions' => 'Which field does the data reference?', | ||
'terms_create_when_missing_instructions' => 'Create the term if it doesn\'t exist.', | ||
'terms_related_field_instructions' => 'Which field does the data reference?', | ||
'toggle_format_instructions' => 'How is the value stored?', | ||
'toggle_values_instructions' => 'Specify the values that represent true and false in your data. You may separate multiple values with a pipe (`|`).', | ||
'users_create_when_missing_instructions' => 'Create the user if it doesn\'t exist.', | ||
'users_related_field_instructions' => 'Which field does the data reference?', | ||
|
||
'csv_delimiter_instructions' => 'Specify the delimiter to be used when reading the CSV file. You will need to save the import for the options to be updated.', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
return [ | ||
'file_type_not_allowed' => 'Only CSV and XML files can be imported at this time.', | ||
'mappings_not_provided' => 'You must map at least one field.', | ||
'site_not_configured_in_collection' => 'The chosen collection is not available on this site.', | ||
'unique_field_without_mapping' => 'Please configure a mapping for this field.', | ||
'uploaded_file_not_found' => 'The uploaded file could not be found.', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.