Skip to main content
summaryrefslogtreecommitdiffstats
path: root/memory
diff options
context:
space:
mode:
authorVivian Kong2011-04-06 10:15:03 -0400
committerVivian Kong2011-04-06 10:15:03 -0400
commit331fa000815a552cf3328d4098f5100f8fa7472f (patch)
tree1bc44035a83ec0ffa2be2c8f80328ff4bc2fea2b /memory
parent667c8f071feb12ae92a532da7c4a5a649e32dac7 (diff)
downloadorg.eclipse.cdt-331fa000815a552cf3328d4098f5100f8fa7472f.tar.gz
org.eclipse.cdt-331fa000815a552cf3328d4098f5100f8fa7472f.tar.xz
org.eclipse.cdt-331fa000815a552cf3328d4098f5100f8fa7472f.zip
Bug 341730 Strings on the Traditional Memory Rendering preferences page not externalized
Diffstat (limited to 'memory')
-rw-r--r--memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferencePage.java31
-rw-r--r--memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties19
2 files changed, 33 insertions, 17 deletions
diff --git a/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferencePage.java b/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferencePage.java
index ca15b61c76..ae6915849c 100644
--- a/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferencePage.java
+++ b/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRenderingPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006-2009 Wind River Systems, Inc. and others.
+ * Copyright (c) 2006, 2011 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* Ted R Williams (Wind River Systems, Inc.) - initial implementation
+ * IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.debug.ui.memory.traditional;
@@ -42,14 +43,14 @@ public class TraditionalRenderingPreferencePage
public TraditionalRenderingPreferencePage() {
super(GRID);
setPreferenceStore(TraditionalRenderingPlugin.getDefault().getPreferenceStore());
- setDescription("Traditional Memory Rendering");
+ setDescription(TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_description")); //$NON-NLS-1$
}
@Override
public void createControl(Composite parent) {
super.createControl(parent);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), TraditionalRenderingPlugin.getUniqueIdentifier() + ".TraditionalRenderingPreferencePage_context");
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), TraditionalRenderingPlugin.getUniqueIdentifier() + ".TraditionalRenderingPreferencePage_context"); //$NON-NLS-1$
}
@@ -61,38 +62,38 @@ public class TraditionalRenderingPreferencePage
*/
public void createFieldEditors() {
addField(new BooleanFieldEditor(TraditionalRenderingPreferenceConstants.MEM_USE_GLOBAL_TEXT,
- "Use Global Te&xt Color", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_UseGlobalTextColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new ColorFieldEditor(TraditionalRenderingPreferenceConstants.MEM_COLOR_TEXT,
- "&Text Color:", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_TextColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new ScaleFieldEditor(TraditionalRenderingPreferenceConstants.MEM_LIGHTEN_DARKEN_ALTERNATE_CELLS,
- "Brighten Alternate Cells", getFieldEditorParent(), 0, 8, 1, 1));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_BrightenAlternateCells"), getFieldEditorParent(), 0, 8, 1, 1)); //$NON-NLS-1$
addField(new BooleanFieldEditor(TraditionalRenderingPreferenceConstants.MEM_USE_GLOBAL_BACKGROUND,
- "Use Global B&ackground Color", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_UseGlobalBackgroundColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new ColorFieldEditor(TraditionalRenderingPreferenceConstants.MEM_COLOR_BACKGROUND,
- "&Background Color:", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_BackgroundColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new ColorFieldEditor(TraditionalRenderingPreferenceConstants.MEM_COLOR_CHANGED,
- "&Changed Color:", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_ChangedColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new ColorFieldEditor(TraditionalRenderingPreferenceConstants.MEM_COLOR_EDIT,
- "&Edit Color:", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_EditColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new BooleanFieldEditor(TraditionalRenderingPreferenceConstants.MEM_USE_GLOBAL_SELECTION,
- "Use Global Se&lection Color", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_UseGlobalSelectionColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new ColorFieldEditor(TraditionalRenderingPreferenceConstants.MEM_COLOR_SELECTION,
- "&Selection Color:", getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_SelectionColor"), getFieldEditorParent())); //$NON-NLS-1$
addField(new RadioGroupFieldEditor(TraditionalRenderingPreferenceConstants.MEM_EDIT_BUFFER_SAVE,
- "Edit Buffer", 1, new String[][] { { "Save on E&nter, Cancel on Focus Lost", "saveOnEnterCancelOnFocusLost" },
- { "Save on Enter or Focus L&ost", "saveOnEnterOrFocusLost" } }, getFieldEditorParent()));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_EditBuffer"), 1, new String[][] { { TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_SaveOnEnterCancelOnFocusLost"), "saveOnEnterCancelOnFocusLost" }, //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ { TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_SaveOnEnterOrFocusLost"), "saveOnEnterOrFocusLost" } }, getFieldEditorParent())); //$NON-NLS-1$ //$NON-NLS-2$
addField(new ScaleFieldEditor(TraditionalRenderingPreferenceConstants.MEM_HISTORY_TRAILS_COUNT,
- "History &Trail Levels", getFieldEditorParent(), 1, 10, 1, 1));
+ TraditionalRenderingMessages.getString("TraditionalRenderingPreferencePage_HistoryTrailLevels"), getFieldEditorParent(), 1, 10, 1, 1)); //$NON-NLS-1$
}
/* (non-Javadoc)
diff --git a/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties b/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties
index 21a225f443..a6262dc192 100644
--- a/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties
+++ b/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/TraditionalRendering_messages.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2009 Wind River Systems and others.
+# Copyright (c) 2009, 2011 Wind River Systems and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
#
# Contributors:
# Wind River Systems - initial API and implementation
+# IBM Corporation
###############################################################################
TraditionalRendering.GO_TO_ADDRESS=Go To Address
TraditionalRendering.RESET_TO_BASE_ADDRESS=Reset To Base Address
@@ -67,4 +68,18 @@ TraditionalRendering.COPY_SELECTED_DATA_TEXT=Copy selected data in text format
TraditionalRendering.UPDATEMODE=Update Mode
TraditionalRendering.UPDATE_ALWAYS=Always
TraditionalRendering.UPDATE_ON_BREAKPOINT=On Breakpoint
-TraditionalRendering.UPDATE_MANUAL=Manual \ No newline at end of file
+TraditionalRendering.UPDATE_MANUAL=Manual
+TraditionalRenderingPreferencePage_BackgroundColor=&Background Color:
+TraditionalRenderingPreferencePage_BrightenAlternateCells=Brighten Alternate Cells
+TraditionalRenderingPreferencePage_ChangedColor=&Changed Color:
+TraditionalRenderingPreferencePage_description=Traditional Memory Rendering
+TraditionalRenderingPreferencePage_EditBuffer=Edit Buffer
+TraditionalRenderingPreferencePage_EditColor=&Edit Color:
+TraditionalRenderingPreferencePage_HistoryTrailLevels=History &Trail Levels
+TraditionalRenderingPreferencePage_SaveOnEnterCancelOnFocusLost=Save on E&nter, Cancel on Focus Lost
+TraditionalRenderingPreferencePage_SaveOnEnterOrFocusLost=Save on Enter or Focus L&ost
+TraditionalRenderingPreferencePage_SelectionColor=&Selection Color:
+TraditionalRenderingPreferencePage_TextColor=&Text Color:
+TraditionalRenderingPreferencePage_UseGlobalBackgroundColor=Use Global B&ackground Color
+TraditionalRenderingPreferencePage_UseGlobalSelectionColor=Use Global Se&lection Color
+TraditionalRenderingPreferencePage_UseGlobalTextColor=Use Global Te&xt Color

Back to the top