Change UIText.java so that "Find Broken Externalized Strings" works
commitbee5f15ae49d779ad68c0a083f1bbc0ff577c574
authorMathias Kinzler <mathias.kinzler@sap.com>
Wed, 19 May 2010 05:40:23 +0000 (19 07:40 +0200)
committerMathias Kinzler <mathias.kinzler@sap.com>
Wed, 19 May 2010 05:40:23 +0000 (19 07:40 +0200)
tree2a25b81c3bac8c8703483408be9c82a70b0c3f18
parent051a8c779ac2fd7ad95373f10555d4a513968bff
Change UIText.java so that "Find Broken Externalized Strings" works

The current implementation of UIText.java has the bundle name
inlined. Unfortunately, this results in the "Source->Find Broken Externalized
String" workbench action to not find any unused or otherwise inconsistent
keys (an info dialog is displayed saying "No NLS properties files found...".
This fix does not actually fix inconsistencies in the externalized Strings, just
enables the tool to find such inconsistencies (there are currently 42 unused keys
in the UIText.java).

Bug: 309552 (not completed, just as preparation)

Change-Id: I59d831cf1bce49cdc4043232277ec1c862fbce02
Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/UIText.java