Community
Participate
Working Groups
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).
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.
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.
For oem.workflow.core it is ok in fact.
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".
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.
Upgrades done.