diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index d9b50468ac87..91028c5fe0ff 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2227,6 +2227,8 @@ $LANG = array( 'entity_state' => 'State', 'payment_status_name' => 'Status', 'client_created_at' => 'Date Created', + 'json_import_help' => 'We recommend importing into an empty account.' + ); return $LANG; diff --git a/resources/views/accounts/import_export.blade.php b/resources/views/accounts/import_export.blade.php index 84e4a99075fa..f86441de6dd5 100644 --- a/resources/views/accounts/import_export.blade.php +++ b/resources/views/accounts/import_export.blade.php @@ -32,7 +32,8 @@ @foreach (\App\Services\ImportService::$entityTypes as $entityType) {!! Former::file("{$entityType}_file") - ->addGroupClass("import-file {$entityType}-file") !!} + ->addGroupClass("import-file {$entityType}-file") + ->help($entityType == IMPORT_JSON ? '
' . trans('texts.json_import_help') : false) !!} @endforeach {!! Former::actions( Button::info(trans('texts.upload'))->submit()->large()->appendIcon(Icon::create('open'))) !!} @@ -54,7 +55,7 @@ ->addOption('XLS', 'XLS') ->addOption('JSON', 'JSON') ->style('max-width: 200px') - ->inlineHelp('export_help') !!} + ->help('
' . trans('texts.export_help')) !!} {!! Former::inline_radios('include_radio')