Closed (works as designed)
Project:
Localization client
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 May 2007 at 12:50 UTC
Updated:
13 May 2007 at 18:22 UTC
I got the following error :
warning: Invalid string in modules/authorship/authorship.module, line 60
* t('Ensure the value entered here matches the variable '.'name that was given to the Real Name vlaue in the '.'profile module settings area.')
warning: Invalid string in modules/authorship/authorship.module, line 81
* t('The name to display as the submitter. '.'Leave blank for normal operation')
This come from the fact that the label is on a few lines
Comments
Comment #1
thierry_gd commentedSame for :
warning: Invalid string in modules/workflow/workflow.module, line 926
* t('Enter the name for a state in your workflow. For example, if you were doing a meal workflow '.'it may include states like shop, prepare food, eat, and clean up.')
Comment #2
thierry_gd commentedAnd a few others modules produce the same error
Comment #3
brmassa commentedThierry,
it IS a error. these strings are concatenated:
how can you translate t("string1" . "string2") ? "string1string2"?
t() function should be used only with literal strings and no concatenation.
regards,
massa