trans fixes

This commit is contained in:
Diatrex 2020-11-26 09:58:31 +03:00
parent 3a0e2bd499
commit c26e910fdd
2 changed files with 11 additions and 5 deletions

View File

@ -459,8 +459,8 @@ return [
// Register page
'accept_terms_label' => 'Koşulları kabul ediyorum.',
'accept_protection_law_label' => 'Kişisel Verilerin Korunması Kanunu hükümlerini kabul ediyorum.',
'accept_privacy_terms_label' => 'Gizlilik şartlarını kabul ediyorum.',
'accept_protection_law_label' => '<a href="' . setting_value('visiosoft.module.profile::register_protection_url') . '" target="_blank">Kişisel Verilerin Korunması Kanunu hükümlerini</a> kabul ediyorum.',
'accept_privacy_terms_label' => '<a href="' . setting_value('visiosoft.module.profile::register_privacy_url') . '" target="_blank">Gizlilik şartlarını</a> kabul ediyorum.',
'receive_sms_emails_label' => 'E-posta ve sms almak istiyorum.',
// Register Type

View File

@ -160,7 +160,9 @@
<select name="education" class="custom-select form-control"
data-field="education" data-field_name="education"
data-provides="anomaly.field_type.select" id="education">
<option value="">Choose an option...</option>
<option value="">
{{ trans('visiosoft.module.profile::field.choose_an_option') }}
</option>
{% for education in setting_value('visiosoft.module.profile::education') %}
<option value="{{ education }}"
{{ profileForm.fields.education.value == education ? 'selected' }}>
@ -178,7 +180,9 @@
<select name="state_of_education" class="custom-select form-control"
data-field="state_of_education" data-field_name="state_of_education"
data-provides="anomaly.field_type.select" id="state_of_education">
<option value="">Choose an option...</option>
<option value="">
{{ trans('visiosoft.module.profile::field.choose_an_option') }}
</option>
{% for state_of_education in setting_value('visiosoft.module.profile::state_of_education') %}
<option value="{{ state_of_education }}"
{{ profileForm.fields.state_of_education.value == state_of_education ? 'selected' }}>
@ -196,7 +200,9 @@
<select name="profession" class="custom-select form-control"
data-field="profession" data-field_name="profession"
data-provides="anomaly.field_type.select" id="profession">
<option value="">Choose an option...</option>
<option value="">
{{ trans('visiosoft.module.profile::field.choose_an_option') }}
</option>
{% for profession in setting_value('visiosoft.module.profile::profession') %}
<option value="{{ profession }}"
{{ profileForm.fields.profession.value == profession ? 'selected' }}>