1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-17 21:25:58 +02:00

[282256] Workaround probably missing NLS due to late addition

This commit is contained in:
Martin Oberhuber 2009-08-06 14:42:37 +00:00
parent e9808d490d
commit dfff7603b6

View file

@ -31,6 +31,13 @@ public class TerminalUIResources extends NLS {
static { static {
NLS.initializeMessages(BUNDLE_NAME, TerminalUIResources.class); NLS.initializeMessages(BUNDLE_NAME, TerminalUIResources.class);
// FIXME Workaround for NLS added in TM 3.1.1 where some translations
// may no longer be possible. Fallback to hardcoded text in case the NLS
// can not be found.
// May be removed in TM 3.2 when a new NLS translation cycle starts.
if (TerminalViewElementAdapter_type.startsWith("NLS missing message: ")) { //$NON-NLS-1$
TerminalViewElementAdapter_type = "Terminal"; //$NON-NLS-1$
}
} }
} }