From 223ea80860f0fccbec76900dcf64833f55b92788 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 2 Aug 2015 08:53:19 +0200 Subject: [PATCH] Fixed some embarrassing spelling errors in the CSV importer. [skip ci] --- resources/lang/en/firefly.php | 13 +++++++------ resources/lang/nl/firefly.php | 20 +++++++++++--------- resources/twig/csv/column-roles.twig | 6 +++--- resources/twig/csv/map.twig | 2 +- 4 files changed, 22 insertions(+), 19 deletions(-) diff --git a/resources/lang/en/firefly.php b/resources/lang/en/firefly.php index 4f82160e74..fdf5d0f408 100644 --- a/resources/lang/en/firefly.php +++ b/resources/lang/en/firefly.php @@ -117,16 +117,16 @@ return [ 'onto existing data in Firefly, use the checkbox. The next step will show you what this button does.', 'csv_column_roles_table' => 'Column roles', 'csv_column' => 'CSV column', - 'cvs_column_name' => 'CSV column name', - 'cvs_column_example' => 'Column example data', - 'cvs_column_role' => 'Column contains?', + 'csv_column_name' => 'CSV column name', + 'csv_column_example' => 'Column example data', + 'csv_column_role' => 'Column contains?', 'csv_do_map_value' => 'Map value?', 'csv_continue' => 'Continue to the next step', 'csv_go_back' => 'Go back to the previous step', 'csv_map_title' => 'Map found values to existing values', 'csv_map_text' => 'This page allows you to map the values from the CSV file to existing entries in your ' . 'database. This ensures that accounts and other things won\'t be created twice.', - 'cvs_field_value' => 'Field value from CSV', + 'csv_field_value' => 'Field value from CSV', 'csv_field_mapped_to' => 'Must be mapped to...', 'csv_do_not_map' => 'Do not map this value', 'csv_download_config_title' => 'Download CSV configuration', @@ -140,8 +140,8 @@ return [ 'csv_unsupported_map' => 'The importer cannot map the column ":columnRole" to existing values in the database.', 'csv_unsupported_value' => 'The importer does not know how to handle values in columns marked as ":columnRole".', 'csv_cannot_store_value' => 'The importer has not reserved space for columns marked ":columnRole" and will be incapable of processing them.', - 'csv_process_title' => 'CVS import finished!', - 'csv_process_text' => 'The CVS importer has finished and has processed :rows rows', + 'csv_process_title' => 'CSV import finished!', + 'csv_process_text' => 'The CSV importer has finished and has processed :rows rows', 'csv_row' => 'Row', 'csv_import_with_errors' => 'There was one error.|There were :errors errors.', 'csv_error_see_logs' => 'Check the log files to see details.', @@ -180,6 +180,7 @@ return [ 'csv_specifix_Dummy' => 'Checking this has no effect whatsoever.', 'csv_import_account_help' => 'If your CSV file does NOT contain information about your asset account(s), use this dropdown to select to which' . ' account the transactions in the CSV belong to.', + 'csv_date_parse_error' => 'Could not parse a valid date from ":value", using the format ":format". Are you sure your CSV is correct?', // create new stuff: diff --git a/resources/lang/nl/firefly.php b/resources/lang/nl/firefly.php index 916b78e118..2b7ec1b046 100644 --- a/resources/lang/nl/firefly.php +++ b/resources/lang/nl/firefly.php @@ -116,24 +116,24 @@ return [ . ' die al in Firefly staan, gebruik dan het vinkje. Tijdens de volgende stap komt Firefly hier dan op terug.', 'csv_column_roles_table' => 'Kolominhoud', 'csv_column' => 'CSV-kolom', - 'cvs_column_name' => 'CSV-kolomnaam', - 'cvs_column_example' => 'Voorbeeldgegevens', - 'cvs_column_role' => 'Kolom bevat?', + 'csv_column_name' => 'CSV-kolomnaam', + 'csv_column_example' => 'Voorbeeldgegevens', + 'csv_column_role' => 'Kolom bevat?', 'csv_do_map_value' => 'Directe relatie?', 'csv_continue' => 'Naar de volgende stap', 'csv_go_back' => 'Terug naar de vorige stap', 'csv_map_title' => 'Leg relaties met kolomwaardes', 'csv_map_text' => 'Sommige kolommen bevatten waardes die misschien al in Firefly bestaan. Selecteer hier de juiste combinaties' . 'zodat het importeren netjes aansluit bij je huidige gegevens.', - 'cvs_field_value' => 'Veldwaarde', + 'csv_field_value' => 'Veldwaarde', 'csv_field_mapped_to' => 'Is gelijk aan', 'csv_do_not_map' => 'Geen relatie', 'csv_download_config_title' => 'Download importconfiguratie', - 'csv_download_config_text' => 'Firefly is klaar om je bestand te importeren. De instellingen en selecties die je zojuist hebt gemaakt kan je downloaden' - . ' en opslaan. Bij de volgende keer kan je dit bestand ook uploaden. Als je kommagescheiden bestand dezelfde indeling' - . ' heeft, zullen alle selecties goed staan. Dat scheelt weer!', - 'csv_more_information_text' => 'Ook als het importeren fout gaat is dit bestand handig. Na het importeren krijg je nogmaals de gelegenheid dit bestand' - . 'te downloaden.', + 'csv_download_config_text' => 'Firefly is klaar om je bestand te importeren. De instellingen en selecties die je zojuist hebt gemaakt' . + ' kan je downloaden en opslaan. Bij de volgende keer kan je dit bestand ook uploaden. Als je' . + ' kommagescheiden bestand dezelfde indeling heeft, zullen alle selecties goed staan. Dat scheelt weer!', + 'csv_more_information_text' => 'Ook als het importeren fout gaat is dit bestand handig. Na het importeren krijg je nogmaals' . + ' de gelegenheid dit bestand te downloaden.', 'csv_do_download_config' => 'Download het configuratiebestand', 'csv_empty_description' => '(geen beschrijving)', 'csv_upload_form' => 'CSV upload formulier', @@ -181,6 +181,8 @@ return [ 'csv_specifix_RabobankDescription' => 'Vink dit aan als je Rabobank bestanden importeert.', 'csv_specifix_Dummy' => 'Dit vinkje doet niks (dummy).', 'csv_import_account_help' => 'Als jouw CSV bestand geen referenties bevat naar jouw rekening(en), geef dan hier aan om welke rekening het gaat.', + 'csv_date_parse_error' => 'Kan geen chocola maken van ":value" (met hulp van configuratie ":format").' . + ' Weet je zeker dat je CSV bestand geen fouten bevat?', // create new stuff: 'create_new_withdrawal' => 'Nieuwe uitgave', diff --git a/resources/twig/csv/column-roles.twig b/resources/twig/csv/column-roles.twig index 3f186e89ff..b8a46bd96b 100644 --- a/resources/twig/csv/column-roles.twig +++ b/resources/twig/csv/column-roles.twig @@ -45,9 +45,9 @@ - - - + + + {% for index,header in headers %} diff --git a/resources/twig/csv/map.twig b/resources/twig/csv/map.twig index ccd26c0e50..b5e321df14 100644 --- a/resources/twig/csv/map.twig +++ b/resources/twig/csv/map.twig @@ -48,7 +48,7 @@
{{ 'cvs_column_name'|_ }}{{ 'cvs_column_example'|_ }}{{ 'cvs_column_role'|_ }}{{ 'csv_column_name'|_ }}{{ 'csv_column_example'|_ }}{{ 'csv_column_role'|_ }} {{ 'csv_do_map_value'|_ }}
- +
{{ 'cvs_field_value'|_ }}{{ 'csv_field_value'|_ }} {{ 'csv_field_mapped_to'|_ }}