Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#4 | rsvp_fix-missing-translation-support-1041560.patch | 31 KB | mstef |
Comments
Comment #1
mstef CreditAttribution: mstef commentedThere are a ton of strings not wrapped in t().
Comment #2
mstef CreditAttribution: mstef commentedThere's probably about 20 or so untranslatable strings in the rsvp.module file alone.
Comment #3
mstef CreditAttribution: mstef commentedComment #4
mstef CreditAttribution: mstef commentedPatch 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.