Community
Participate
Working Groups
As part of the Helios train requirements, Photran needs to be converted to use message bundles rather than literal strings for UI messages.
org.eclipse.photran.cdtinterface converted, and compiler settings adjusted to give errors on non-externalized strings
org.eclipse.photran.cdtinterface.vpg done
org.eclipse.photran.core done org.eclipse.photran.ui done
The conversion is almost entirely done. I am waiting to commit the changes to the photran.ui.vpg project since Mariano has a number of changes out. The only project I will not be able to convert is photran.core.vpg. There are a few outstanding patches on that project, and it contains generated code... also there are more than 1,000 literal strings... so that's more than I can deal with this late in the game. Luckily, not externalizing it will only affect a few error messages and some of the UI for refactorings. The vast majority of the UI is (obviously) in the UI plug-ins, which are externalized, so I think this will put us in good shape for Helios. I need to add info about externalization to the Developer's Guide.
I filed Bug 314779 on the core.vpg project.
I figured out how to suppress errors/warnings in the generated code, so I decided to bite the bullet and externalize all the strings in core.vpg. Thanks to Ashley Kasza for helping with it (Bug 314779). Photran is now completely externalized (except for the tests, for which it obviously doesn't matter).