I'm working on localizing my applications by adding the TRANS macros where needed. However, I was surprised to see that the GUI component code that's generated by IntroJucer doesn't allow the text strings to be automatically encapsulated. It's very tedious and error-prone to have to duplicate the exact same text at the end of the constructor just to be able to add in the TRANS macros.
Am I missing something, is there a better way to do this? If not, wouldn't this be good default behavior for the IntroJucer (ie. encapsulate string literals apart from the component name in TRANS macros).
Thanks for the help,