Hey guys,

I noticed that the response options "yes", "no", "none", "maybe" don't show up on the translation page, so they might not have been enclosed in the t() function

The only way right now, is to theme the output and have a small php-script do the translation.

I'm not sure, but the problem might be, that the variables are defined in rsvp.functions in line 29-32 and are possibly output just like that without further manipulation.

-IhseeS

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mstef’s picture

Version: 6.x-2.0-rc3 » 6.x-2.0-rc4

There are a ton of strings not wrapped in t().

mstef’s picture

Title: Response options not enclosed in t() - difficult to translate » Strings not enclosed in t() - difficult to translate

There's probably about 20 or so untranslatable strings in the rsvp.module file alone.

mstef’s picture

Version: 6.x-2.0-rc4 » 6.x-2.0
mstef’s picture

Status: Active » Needs review
FileSize
31 KB

Patch attached.

Affected files (probably close to 50 occurrences):
themes/default/rsvp-guestlist.tpl.php
rsvp.admin.inc
modules/plaxo/rsvp_plaxo.module
modules/og/rsvp_og.module
modules/civicrm/rsvp_civicrm.module
rsvp.functions.inc
rsvp.mailer.inc
rsvp.module

--

Let me know if I missed any.