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:
parent
e9808d490d
commit
dfff7603b6
1 changed files with 8 additions and 1 deletions
|
@ -31,6 +31,13 @@ public class TerminalUIResources extends NLS {
|
|||
|
||||
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$
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue