Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 374554

Summary: Move "formatMessage" function out of messages.js
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: EditorAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kitlo, Silenio_Quarti
Version: 0.4   
Target Milestone: 0.5 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-03-16 16:08:56 EDT
The editor's messages.js adds an extra property which is a helper method for formatting message arguments. It would be easier for translation tools if that helper method was removed from the message catalog file. Translation tools for extracting message keys/values would be fooled by this extra property or may try to translate it.
Comment 1 Silenio Quarti CLA 2012-03-30 17:18:43 EDT
This has been fixed by 29520fb0431c9379f5581643a5cac549db5d1f45
Comment 2 Malgorzata Janczarska CLA 2012-04-16 04:07:26 EDT
Actually, translations won't get the master messages.js file and we can move this function back there, I've opened Bug 376845 for that.