fix translation strings

This commit is contained in:
spencerrlongg 2023-10-31 21:38:52 -05:00
parent 5073c3389f
commit 8f75bb8706
2 changed files with 13 additions and 6 deletions

View file

@ -539,23 +539,23 @@ class ReportsController extends Controller
}
if ($request->filled('user_address')) {
$header[] = trans('general.user') .' '. trans('general.address');
$header[] = trans('admin/reports/general.custom_export.user_address');
}
if ($request->filled('user_city')) {
$header[] = trans('general.user') .' '. trans('general.city');
$header[] = trans('admin/reports/general.custom_export.user_city');
}
if ($request->filled('user_state')) {
$header[] = trans('general.user') .' '. trans('general.state');
$header[] = trans('admin/reports/general.custom_export.user_state');
}
if ($request->filled('user_country')) {
$header[] = trans('general.user') .' '. trans('general.country');
$header[] = trans('admin/reports/general.custom_export.user_country');
}
if ($request->filled('user_zip')) {
$header[] = trans('general.user') .' '. trans('general.zip');
$header[] = trans('admin/reports/general.custom_export.user_zip');
}
if ($request->filled('status')) {

View file

@ -6,5 +6,12 @@ return [
'send_reminder' => 'Send reminder',
'reminder_sent' => 'Reminder sent',
'acceptance_deleted' => 'Acceptance request deleted',
'acceptance_request' => 'Acceptance request'
'acceptance_request' => 'Acceptance request',
'custom_export' => [
'user_address' => 'User Address',
'user_city' => 'User City',
'user_state' => 'User State',
'user_country' => 'User Country',
'user_zip' => 'User Zip'
]
];