[TYPO3-core] RFC: Bug #16919: Catalan flag is replaced by Canadian flag
Alexandre Gravel-Raymond
a.gravel-raymond at alienor.net
Fri Jan 14 12:12:10 CET 2011
Hi !
Le 14/01/2011 11:06, Ernesto Baschny [cron IT] a écrit :
> Steffen Kamper schrieb am 14.01.2011 10:51:
>> in em i use this call with the 2-letter country:
>> $cls = t3lib_iconWorks::getSpriteIconClasses('flags-' . $language);
>>
>> As this is more or less hacky manual request i would suggest something like
>> t3lib_iconWorks::getSpriteIconForLanguage($code)
>> t3lib_iconWorks::getSpriteIconForCountry($code)
>>
>> which would make it more API-like, what do you think?
>
> It would, but then again I agree with Alexandre, that it might not be
> worth it, since we don't have language flags yet. We only have country
> flags. :) Most of them might have a "unique mapping", but some will have
> some controversy surrounding them (like English, ...).
>
> Cheers,
> Ernesto
>
Okay, so what I suggest now is to revert revision 10067 (because the
issue was not at the place I thought it was).
And apply the included patch to the new Extension Manager to remove the
CSS class referencing the "default flag" of a language.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: no-flags-in-em.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110114/730a7ec9/attachment.txt>
More information about the TYPO3-team-core
mailing list