CRM-6367 Translate contact type

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.2
    • Component/s: Internationalisation
    • Labels:
      None

      Description

      For example, "Individual" was not translated.

        Attachments

          Activity

          [CRM-6367] Translate contact type
          Piotr Szotkowski added a comment -

          As a rule we don't ts() variables; the whole point of the ts() calls (and

          {ts}

          Smarty blocks) is to wrap string literals which then go to the POT/PO files.

          This issue was due to contact_type_display not having the right 'display' value for the contact_type; I just fixed that in r28327 (by making sure the relevant civicrm_contact_type.label is fetched from the db; it's up to the site admin to configure contact types properly).

          Thanks a lot for catching this; it'd be great if you could verify this patch (it works on my end).

            People

            • Assignee:
              Piotr Szotkowski
              Reporter:
              Christophe Benz

              Dates

              • Created:
                Updated:
                Resolved: