Hi.
I think, that link to "Terms & Conditions" must be translated. I've been change l('Terms & Conditions', 'legal') to l(t('Terms & Conditions'), 'legal') and it's work fine. Please review patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | legal_translate_fix.patch | 963 bytes | techninja |
| #3 | legal.module_2.patch | 1.13 KB | sanduhrs |
| legal.module.patch | 1.12 KB | dicreat |
Comments
Comment #1
neochief commentedPatch works fine.
Comment #2
jorditr commentedGenerally speaking is a non sense to send the whole legal text throght the locale translation system. Locale should be used to translate arrays but not huge pieces of text as the legal page usually is. But, well, this is the solutions I've also used for the last two years.
When we'll have a really multilingual solution on such an important module as legal is? When a text box for every active language?
Comment #3
sanduhrsThis patch ist just about the link title, not the whole text.
Multilinguality of the legal text should be a different issue.
The attached patch replaces the tabs with spaces, everything else is well.
Please commit!
Comment #4
flips commentedThanks for the patch, it works perfectly.
Is it going to be added to the next version ? I don't know how patch submission works.
Please commit :-)
Comment #5
techninja commentedNot to muddy the waters, but my patch would fit right in. The page titles also should be translated. This simply wraps the page titles with t() for "legal", "admin/settings/legal" and "legal_accept". Nothing more!
Comment #6
recidive commentedCommited #3.
#5 is not needed in Drupal 6.
Thanks!