CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Translation in New Pledge window
Pages: [1]

Author Topic: Translation in New Pledge window  (Read 612 times)

mgregoire

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Translation in New Pledge window
January 10, 2014, 02:11:35 am
Hi,

Don't find where to translate :

"Honoree Information"
"Payment Reminder"

Located in "New Pledge" window (see attached capture)

Many thanks for the help !

Regards

mgregoire

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Translation in New Pledge window
January 11, 2014, 12:04:16 am
Solution found by myself !
Those vars are hardcoded and can be found here :
/sites/all/modules/civicrm/CRM/Pledge/Form/Pledge.php line 316-317

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Translation in New Pledge window
January 11, 2014, 10:56:10 am
You should log that as a ticket & - if you feel up for it - submit a patch - the fix is to put ts around the words ie

    $paneNames = array(
      'Honoree Information' => 'Honoree',
      'Payment Reminders' => 'PaymentReminders',
    );

becomes

    $paneNames = array(
      'Honoree Information' => ts('Honoree'),
      'Payment Reminders' => ts('PaymentReminders'),
    );

If you do want to submit a patch & need help post back here or jump on IRC

Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Translation in New Pledge window

This forum was archived on 2017-11-26.