Bug 157542 - [editor] probable translation faux pas in AddExtensionsComponentDialog
Summary: [editor] probable translation faux pas in AddExtensionsComponentDialog
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P5 minor (vote)
Target Milestone: Future   Edit
Assignee: wst.xsd-triaged CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords: nl
Depends on:
Blocks:
 
Reported: 2006-09-15 19:47 EDT by Craig Salter CLA
Modified: 2010-09-16 14:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Salter CLA 2006-09-15 19:47:40 EDT
I noticed the following code in AddExtensionsComponentDialog (around line 457). It's usually bad news to stitch mutltiple traslated strings together. We need to have a parameterized message that can translated for this (when next we get a chance for a translation drop).  Here's a snippet of the bad code...

errDialog.setMessage(Messages._UI_LABEL_EXTENSION_CATEGORIES + " " + spec.getDisplayName() //$NON-NLS-1$
				  + "\n"   //$NON-NLS-1$
				  + Messages._UI_ERROR_FILE_CANNOT_BE_PARSED
				  + "\n" + Messages._UI_ERROR_VALIDATE_THE_FILE);   //$NON-NLS-1$
		  errDialog.open();