Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10313

gender options not translatable

    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}" ) );
      ------------------------------------------------------

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              --kf-- Karl Fallstrom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: