trans fixes

This commit is contained in:
vedatakd 2021-03-08 11:56:03 +03:00
parent 77166f3a7e
commit 3ce17fbfd2
3 changed files with 32 additions and 22 deletions

View File

@ -484,4 +484,14 @@ return [
'education_part' => [ 'education_part' => [
'name' => 'State of Education' 'name' => 'State of Education'
], ],
'notified_new_updates' => [
'name' => 'Notified New Updates',
],
'notified_about_ads' => [
'name' => 'Notified About Ads',
],
'receive_messages_email' => [
'name' => 'Receive Messages Email',
],
]; ];

View File

@ -2,7 +2,7 @@
return [ return [
'file' => [ 'file' => [
'name' => 'foto\\'s' 'name' => 'foto\'s'
], ],
'first_name' => [ 'first_name' => [
'name' => 'Voornaam' 'name' => 'Voornaam'

View File

@ -20,7 +20,7 @@ class UsersFieldsSeeder extends Seeder
$customFields = [ $customFields = [
[ [
'name' => 'File', 'name' => 'visiosoft.module.profile::field.file.name',
'slug' => 'file', 'slug' => 'file',
'type' => 'visiosoft.field_type.singlefile', 'type' => 'visiosoft.field_type.singlefile',
'config' => [ 'config' => [
@ -29,7 +29,7 @@ class UsersFieldsSeeder extends Seeder
] ]
], ],
[ [
'name' => 'Country', 'name' => 'visiosoft.module.profile::field.country.name',
'slug' => 'country', 'slug' => 'country',
'type' => 'anomaly.field_type.relationship', 'type' => 'anomaly.field_type.relationship',
'config' => [ 'config' => [
@ -38,42 +38,42 @@ class UsersFieldsSeeder extends Seeder
], ],
], ],
[ [
'name' => 'City', 'name' => 'visiosoft.module.profile::field.city.name',
'slug' => 'city', 'slug' => 'city',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
], ],
[ [
'name' => 'District', 'name' => 'visiosoft.module.profile::field.district.name',
'slug' => 'district', 'slug' => 'district',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
], ],
[ [
'name' => 'Neighborhood', 'name' => 'visiosoft.module.profile::field.neighborhood.name',
'slug' => 'neighborhood', 'slug' => 'neighborhood',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
], ],
[ [
'name' => 'Village', 'name' => 'visiosoft.module.profile::field.village.name',
'slug' => 'village', 'slug' => 'village',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
], ],
[ [
'name' => 'Gsm Phone', 'name' => 'visiosoft.module.profile::field.gsm_phone.name',
'slug' => 'gsm_phone', 'slug' => 'gsm_phone',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => 'Land Phone', 'name' => 'visiosoft.module.profile::field.land_phone.name',
'slug' => 'land_phone', 'slug' => 'land_phone',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => 'Office Phone', 'name' => 'visiosoft.module.profile::field.office_phone.name',
'slug' => 'office_phone', 'slug' => 'office_phone',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => 'Register Type', 'name' => 'visiosoft.module.profile::field.register_type.name',
'slug' => 'register_type', 'slug' => 'register_type',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
"config" => [ "config" => [
@ -81,12 +81,12 @@ class UsersFieldsSeeder extends Seeder
] ]
], ],
[ [
'name' => 'Identification Number', 'name' => 'visiosoft.module.profile::field.identification_number.name',
'slug' => 'identification_number', 'slug' => 'identification_number',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => 'Notified New Updates', 'name' => 'visiosoft.module.profile::field.notified_new_updates.name',
'slug' => 'notified_new_updates', 'slug' => 'notified_new_updates',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
'config' => [ 'config' => [
@ -96,7 +96,7 @@ class UsersFieldsSeeder extends Seeder
] ]
], ],
[ [
'name' => 'Notified About Ads', 'name' => 'visiosoft.module.profile::field.notified_about_ads.name',
'slug' => 'notified_about_ads', 'slug' => 'notified_about_ads',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
'config' => [ 'config' => [
@ -106,7 +106,7 @@ class UsersFieldsSeeder extends Seeder
] ]
], ],
[ [
'name' => 'Receive Messages Email', 'name' => 'visiosoft.module.profile::field.receive_messages_email.name',
'slug' => 'receive_messages_email', 'slug' => 'receive_messages_email',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
'config' => [ 'config' => [
@ -116,7 +116,7 @@ class UsersFieldsSeeder extends Seeder
] ]
], ],
[ [
'name' => trans('visiosoft.module.profile::field.birthday.name'), 'name' => 'visiosoft.module.profile::field.birthday.name',
'slug' => 'birthday', 'slug' => 'birthday',
'type' => 'anomaly.field_type.datetime', 'type' => 'anomaly.field_type.datetime',
'config' => [ 'config' => [
@ -125,32 +125,32 @@ class UsersFieldsSeeder extends Seeder
] ]
], ],
[ [
'name' => trans('visiosoft.module.profile::field.education.name'), 'name' => 'visiosoft.module.profile::field.education.name',
'slug' => 'education', 'slug' => 'education',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => trans('visiosoft.module.profile::field.state_of_education.name'), 'name' => 'visiosoft.module.profile::field.state_of_education.name',
'slug' => 'state_of_education', 'slug' => 'state_of_education',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => trans('visiosoft.module.profile::field.profession.name'), 'name' => 'visiosoft.module.profile::field.profession.name',
'slug' => 'profession', 'slug' => 'profession',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
], ],
[ [
'name' => trans('visiosoft.module.profile::field.education_part.name'), 'name' => 'visiosoft.module.profile::field.education_part.name',
'slug' => 'education_part', 'slug' => 'education_part',
'type' => 'anomaly.field_type.select', 'type' => 'anomaly.field_type.select',
], ],
[ [
'name' => trans('visiosoft.module.profile::field.facebook_address.name'), 'name' => 'visiosoft.module.profile::field.facebook_address.name',
'slug' => 'facebook_address', 'slug' => 'facebook_address',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
], ],
[ [
'name' => trans('visiosoft.module.profile::field.google_address.name'), 'name' => 'visiosoft.module.profile::field.google_address.name',
'slug' => 'google_address', 'slug' => 'google_address',
'type' => 'anomaly.field_type.text', 'type' => 'anomaly.field_type.text',
] ]