[TYPO3-core] RFC: prepend '[Translate to XY]' on copy only ifvalue is set -- extended

Martin Kutschker Martin.Kutschker at blackbox.net
Fri Jan 13 10:14:35 CET 2006


Wolfgang Klinger <wolfgang at stufenlos.net> writes on 
Fri, 13 Jan 2006 09:50:03 +0100 (MET):

> 
> *hiya!*
> 
> Martin Kutschker:
> 
> > > This patch prepends [Translate to XY] only if the field
> > > definitely
> > > contains a value (strlen check).
> > 
> > How about a TCEMAIN.translateToMessage property in case the default
> > language is not English?
> 
> Good idea.
> I extended the patch, see attached diff.


The patch is a bit ... odd. Anyway I guess you can handle the sprintf :-)

Masi 



More information about the TYPO3-team-core mailing list