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

Bug 312470

Summary: Helios train requires Photran to use message bundles
Product: [Tools] PTP Reporter: Jeffrey Overbey <com-eclipse-dot-org>
Component: Photran.For Internal UseAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2    
Version: 5.0   
Target Milestone: 6.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 314779    

Description Jeffrey Overbey CLA 2010-05-11 13:25:22 EDT
As part of the Helios train requirements, Photran needs to be converted to use message bundles rather than literal strings for UI messages.
Comment 1 Jeffrey Overbey CLA 2010-05-17 18:25:26 EDT
org.eclipse.photran.cdtinterface converted, and compiler settings adjusted to give errors on non-externalized strings
Comment 2 Jeffrey Overbey CLA 2010-05-17 18:59:42 EDT
org.eclipse.photran.cdtinterface.vpg done
Comment 3 Jeffrey Overbey CLA 2010-05-17 22:38:25 EDT
org.eclipse.photran.core done
org.eclipse.photran.ui done
Comment 4 Jeffrey Overbey CLA 2010-05-27 16:29:05 EDT
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.
Comment 5 Jeffrey Overbey CLA 2010-05-27 17:07:16 EDT
I filed Bug 314779 on the core.vpg project.
Comment 6 Jeffrey Overbey CLA 2010-06-01 16:43:45 EDT
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).