Ok, I understand.
Something about the __() function:
I wanted to translate the title of a link : e($html-
>link(__("LABEL_TERMS_CONDITIONS"), "/terms"));
gives : Règles et Conditions<a href="..."></a>, title outside the
tags.
The right solution : e($html->link(__("LABEL_TERMS_CONDITIONS", true),
"/terms"));
That's not a big deal, but most of the texts are inside html helper
functions (link, form functions, table functions, etc), so maybe using
e(_("translation")) means less code.
And it's like the other basics functions, which don't have the $return
argument.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---