Closed (works as designed)
Project:
Drupal core
Version:
5.12
Component:
contact.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2008 at 13:18 UTC
Updated:
2 Feb 2009 at 16:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
enkara commentedNobody else has had this problem? At least tell me if it's my fault. Thank you!
Comment #2
jmlavarenne commentedI have the same problem, and I've been looking through the site for a good hour for solutions. It seems a few people have the same issue. Some have been able to fix it with i18l and adding variables to settings.php, but I find it harsh to install a module just to translate this one string.
contact.module line 431
I changed
to
The part within the t() function seems to not get translated when it is within the variable_get() call.
Comment #3
jmlavarenne commentedI've quickly put together a patch with WinMerge - hope it's good. I've also edited line 281 to have the t() function do it's work on the returned value of variables_get(). It's against 5.12.
Comment #4
jmlavarenne commentedComment #5
jmlavarenne commentedComment #6
jmlavarenne commentedComment #7
gábor hojtsyUser provided strings are not translated in Drupal by design. Use the http://drupal.org/project/stringoverrides module for a simple solution. You don't need the whole i18n stack for this.
Comment #8
bloke_zero commentedYes, but Drupal 6 doesn't seem to be running that bit through t() unless I'm missing somthing.