Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339930 - Anticipate UI freeze : MoDisco project & externalize Strings
Summary: Anticipate UI freeze : MoDisco project & externalize Strings
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Main (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 0.9.0 M6   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 13:49 EDT by Fabien Giquel CLA
Modified: 2011-08-18 07:58 EDT (History)
3 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Giquel CLA 2011-03-14 13:49:35 EDT
Two problems :

- There is a large amount of Strings in MoDisco code which are neither externalized nor annotated with //$NON-NLS-1$ (cf "Source->Externalize String"). I

- There are also problems on several recent projects with "PDE->externalize" (new discoverers such as jee.jsp.discoverer.ui) such as "Eclipse Modeling Project" and things like that.

I open a transverse bug for coming soon M6, rather than reopen each dedicated bugzilla (Java discoverers rewriting ...).


About code non externalized strings, there are a lot of them but it seems it always need just "//$NON-NLS-1$" annotations.
Priority must be given i think to new projects (org.eclipse.modisco.XXX) rather than old ones (org.eclipse.gmt.modisco.XXX).
Comment 1 Nicolas Bros CLA 2011-03-15 10:12:09 EDT
Fixed in revisions 4122, 4123, 4126 & 4127.

There are no NLS warnings left in MoDisco plug-ins, but the "Source > Externalize Strings..." wizard still shows many externalizable strings in generated code.
This is because the wizard doesn't look at @SuppressWarning's nor project settings.
Comment 2 Fabien Giquel CLA 2011-03-15 10:30:18 EDT
ok for "Source->Externalize String" strings.

However there are still unexternalized Strings with "PDE->Externalize String". I see them in 4 projects :

- oem.infra.disco.ui.tests
- oem.java.disco.cdo.tests
- oem.workflow.core
- oem.xml.disco.tests.

I reopen the bug.
Comment 3 Fabien Giquel CLA 2011-03-15 10:38:10 EDT
For oem.workflow.core it is ok in fact.
Comment 4 Fabien Giquel CLA 2011-03-15 11:21:10 EDT
discussed with Gregoire : it will be better to externalize "bundle-name/vendor-name" for tests plugins in order to have homogeneous disply in "Installation Details".
Comment 5 Nicolas Bros CLA 2011-03-16 06:05:27 EDT
In all MoDisco plug-ins:
- I externalized Bundle-Name and Bundle-Vendor
- I added the " (Incubation)" suffix in the Bundle-Name of plug-ins that were missing it
- I added the "MoDisco " prefix in the Bundle-Name of plug-ins that were missing it
- I replaced plugin.properties by the new OSGI-INF/l10n/bundle.properties in a few usecase plug-ins that were mixing both the old and new systems (which would lead to missing strings at runtime)
- I added some missing copyrights in bundle.properties
- I replaced OSGI-INF/l10n/bundle.properties by OSGI-INF/ in bin.includes so as to avoid a warning by PDE (Bug 340124).

Committed in revision 4138.
Comment 6 Hugo Bruneliere CLA 2011-08-18 07:58:38 EDT
Upgrades done.