Merge pull request #13823 from spencerrlongg/chore/sc-23922

New Translation Strings for Custom Asset Export
This commit is contained in:
snipe 2023-11-08 08:57:20 +00:00 committed by GitHub
commit bc9545ca96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'
]
];