Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Give importer deprecation warning.
James Cole51aa48f0845b
diff --git a/resources/lang/en_US/import.php b/resources/lang/en_US/import.phpindex 27c123447f..f7c4887566 100644--- a/resources/lang/en_US/import.php+++ b/resources/lang/en_US/import.php@@ -36,6 +36,9 @@ return [// index page:'general_index_intro' => 'Welcome to Firefly III\'s import routine. There are a few ways of importing data into Firefly III, displayed here as buttons.',+ // notices about the CSV importer:+ 'deprecate_csv_import' => 'As outlined in <a href="https://www.patreon.com/posts/future-updates-30012174">this Patreon post</a>, the way Firefly III manages importing data is going to change. That means that the CSV importer will be moved to a new, separate tool. You can already beta-test this tool if you visit <a href="https://github.com/firefly-iii/csv-importer">this GitHub repository</a>. I would appreciate it if you would test the new importer and let me know what you think.',+// import provider strings (index):'button_fake' => 'Fake an import','button_file' => 'Import a file',diff --git a/resources/views/v1/import/file/configure-upload.twig b/resources/views/v1/import/file/configure-upload.twigindex 2a3c5eef92..1f41fa62e0 100644--- a/resources/views/v1/import/file/configure-upload.twig+++ b/resources/views/v1/import/file/configure-upload.twig@@ -16,6 +16,9 @@<p>{{ trans('import.job_config_uc_text') }}</p>+ <p class="text-danger">+ {{ trans('import.deprecate_csv_import')|raw }}+ </p></div></div>diff --git a/resources/views/v1/import/file/map.twig b/resources/views/v1/import/file/map.twigindex 3f2035d263..272a642a34 100644--- a/resources/views/v1/import/file/map.twig+++ b/resources/views/v1/import/file/map.twig@@ -22,6 +22,9 @@{{ trans('import.job_config_map_nothing') }}</p>{% endif %}+ <p class="text-danger">+ {{ trans('import.deprecate_csv_import')|raw }}+ </p></div></div>diff --git a/resources/views/v1/import/file/new.twig b/resources/views/v1/import/file/new.twigindex 9d49ff470a..f8d0839656 100644--- a/resources/views/v1/import/file/new.twig+++ b/resources/views/v1/import/file/new.twig@@ -14,6 +14,9 @@<p>{{ trans('import.job_config_file_upload_text') }}</p>+ <p class="text-danger">+ {{ trans('import.deprecate_csv_import')|raw }}+ </p></div></div>diff --git a/resources/views/v1/import/file/roles.twig b/resources/views/v1/import/file/roles.twigindex a983dc1b35..4fdd165c55 100644--- a/resources/views/v1/import/file/roles.twig+++ b/resources/views/v1/import/file/roles.twig@@ -16,6 +16,9 @@<p>{{ trans('import.job_config_roles_text') }}</p>+ <p class="text-danger">+ {{ trans('import.deprecate_csv_import')|raw }}+ </p></div></div>diff --git a/resources/views/v1/import/index.twig b/resources/views/v1/import/index.twigindex addef3857a..beaa3f1a9c 100644--- a/resources/views/v1/import/index.twig+++ b/resources/views/v1/import/index.twig@@ -14,6 +14,9 @@<p>{{ trans('import.general_index_intro') }}</p>+ <p class="text-danger">+ {{ trans('import.deprecate_csv_import')|raw }}+ </p><div class="row">{% for name, provider in providers %}{# button for each import thing: #}