Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.2
-
Fix Version/s: 4.2.0
-
Component/s: Internationalisation
-
Labels:None
Description
CRM/Contact/Form/Edit/Demographics.php
Line 56-58:
$var is pulled from option list but not translated
------------------------------------------------------
foreach ($gender as $key => $var) {
$genderOptions[$key] = HTML_QuickForm::createElement('radio', null,
ts('Gender'), $var, $key,
array( 'id' => "civicrm_gender_{$var}_{$key}" ) );
------------------------------------------------------
foreach ($gender as $key => $var) {
$genderOptions[$key] = HTML_QuickForm::createElement('radio', null,
ts('Gender'), ts($var), $key,
array( 'id' => "civicrm_gender_{$var}_{$key}" ) );
------------------------------------------------------