[TYPO3-core] FYI24: #11838: Hardcoded label "lines" in t3editor

Ingmar Schlecht ingmar at typo3.org
Wed Nov 4 17:57:28 CET 2009


Hi Tobi,

better commit it tomorrow already, because 4.3 Beta 3 is planned for
Friday. I think nobody will mind. I changed the subject line of this
mail, so people might see it without reading the mail.

cheers
Ingmar

Tobias Liebig schrieb:
> This is an SVN patch request.
> 
> Type:
> Cleanup/Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11838
> 
> Branches:
> trunk only
> 
> Problem:
> The t3editor had some hardcoded labels in javascript, so they cannot be
> translated.
> 
> Solution:
> Make some labels from locallang.xml available in javascript and use them.
> 
> Currently there is no generic API to do this, but the Ext:Recycler
> follows a nice
> approach to solve this.
> I copied the methods getJavaScriptLabels and
> getJavaScriptLabelsFromLocallang to use
> them in the t3editor, but i think this should be refactored and go into
> the class "language" or an new JS-Language-Helper to provide a nice,
> easy-to-use API
> for other extensions/BE-Moduls too.
> As this would be a new feature, i filed a new issue for that:
> http://bugs.typo3.org/view.php?id=12462
> 
> Note:
> i'm going to commit the attached patch in 48 h, if no one complains
> 


More information about the TYPO3-team-core mailing list