1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +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

@ -26,11 +26,18 @@ public class TerminalUIResources extends NLS {
public static String TerminalsUI_cannotOpenView_error;
public static String TerminalViewer_text;
public static String TerminalViewElementAdapter_type;
static {
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$
}
}
}