Community
Participate
Working Groups
Created attachment 212579 [details] Strip out the %trimmedwindow.label.eclipseSDK Version: 4.2.0 Build id: I20120313-0610 The initial window for RCP apps shows a title of "%trimmedwindow.label.eclipseSDK". The cause is a mismatch between the translated string key in the code and the plugin.properties file, which uses "trimmedwindow.label.1", done in bug 351033. But as I pointed out in bug 372523, RCP apps don't want a string showing "Eclipse SDK 4.0" on startup anyways. Attached patch strips out the window label and the now-useless key from the translation file.
Committed as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=8d04316308bc6f0fd2daf03b601c5c377fe4dc5b
*** Bug 373988 has been marked as a duplicate of this bug. ***
The LegacyIDE.e4xmi files in the org.eclipse.ui.workbench bundles of eclipse 4.3 and 4.4 contain the entry 'label="%trimmedwindow.label.eclipseSDK"' again, so the window title of my rcp app contains the text "%trimmedwindow.label.eclipseSDK". Any ideas?
New Gerrit change created: https://git.eclipse.org/r/43074
Thanks for pointing at this, Torsten. I just had a look at the git history and figured out that Paul has added the label again within this commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=8f2a2860a007b7321d03dcae23bb10941a12ffea Maybe by accident. So I add Paul here, but also directly provide a patch for this. (https://git.eclipse.org/r/43074)
Sorry if I added that back. I'll push the change on Monday if no one gets to it first. That probably got in because there are 2 of those files (the one in o.e.ui.workbench is a backup). Can you check both? The other should be in platform/eclipse.platform.git PW
(In reply to Paul Webster from comment #6) > That probably got in because there are 2 of those files (the one in > o.e.ui.workbench is a backup). Can you check both? Actually, the second one in eclipse.platform is supposed to have the label, so that's OK PW
Gerrit change https://git.eclipse.org/r/43074 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=81e1214db9b70523c4166e4f9072db20c2ba34ca
Thanks Simon.