[wp-trac] [WordPress Trac] #15102: tinymce language texts not loaded on page edit

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 12 13:29:51 UTC 2010


#15102: tinymce language texts not loaded on page edit
--------------------------+-------------------------------------------------
 Reporter:  nb000         |       Owner:                            
     Type:  defect (bug)  |      Status:  new                       
 Priority:  normal        |   Milestone:  Awaiting Review           
Component:  TinyMCE       |     Version:  3.0.1                     
 Severity:  normal        |    Keywords:  tinymce, language, getLang
--------------------------+-------------------------------------------------
 On admin pages the TinyMCE texts are not translated.
 E.g.: in Visual mode if you hover a any button,
 you see a text, something like: advanced.bold_desc

 If the page is opened up in Visual editing mode,
 we get a javascript error.
 Google Chrome: Cannot call method 'getLang' of null
 Firebug: a is null

 The bad file is wp-tinymce.js
 (compressed in wp-tinymce.js.gz, read by wp-tinymce.php, line: 24)

 the code sniplet that throws the error:
 title:a.getLang("wpeditimage.edit_img")

 I have tried to replace the function call with a title
 (there were only 4 instaces of this call),
 but then the editor did not let me
 switch between Visual and Html mode.

 The file to attach is a screen-shot
 with Google Chrome's debugger opened showing the error.

 Have a nice day.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15102>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list