From f8d8ad68434c7c0f86cde8c218668104d2684e71 Mon Sep 17 00:00:00 2001 From: Andrew Niefer Date: Thu, 18 Mar 2004 23:34:30 +0000 Subject: [PATCH] externalizing strings from Tanya Wolff --- core/org.eclipse.cdt.ui/ChangeLog | 9 ++ core/org.eclipse.cdt.ui/plugin.properties | 1 + core/org.eclipse.cdt.ui/plugin.xml | 2 +- .../corext/template/default-templates.xml | 135 +++++------------- .../ui/cview/CViewMessages.properties | 2 +- .../internal/ui/cview/MainActionGroup.java | 2 +- 6 files changed, 50 insertions(+), 101 deletions(-) diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog index c1aca9319b5..2d6c55333db 100644 --- a/core/org.eclipse.cdt.ui/ChangeLog +++ b/core/org.eclipse.cdt.ui/ChangeLog @@ -4,6 +4,15 @@ * src/org/eclipse/cdt/internal/ui/BaseCElementContentProvider.java * src/org/eclipse/cdt/internal/ui/CElementImageProvider.java +2004-03-18 Tanya Wolff + Externalized template descriptions, + Externalized name in plugin.xml, + Fixed missing resource "Link With Editor". + * src/org/eclipse/cdt/internal/corext/template/default-templates.xml + * plugin.xml + * plugin.properties + * src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties + 2004-03-18 Alain Magloire Change in the hierarchy of the core Model: ICModel diff --git a/core/org.eclipse.cdt.ui/plugin.properties b/core/org.eclipse.cdt.ui/plugin.properties index 2c4f18b39b6..f7890dc82ca 100644 --- a/core/org.eclipse.cdt.ui/plugin.properties +++ b/core/org.eclipse.cdt.ui/plugin.properties @@ -2,6 +2,7 @@ pluginName=C/C++ Development Tools UI providerName=Eclipse.org elementFiltersName=CElement Filters +binaryParserPage=Binary Parser Page textHoversName=Text Hovers editorActionsName=Editor Actions editorRulerActionsName=Editor Ruler Actions diff --git a/core/org.eclipse.cdt.ui/plugin.xml b/core/org.eclipse.cdt.ui/plugin.xml index e62b1c67226..f4226fa6b93 100644 --- a/core/org.eclipse.cdt.ui/plugin.xml +++ b/core/org.eclipse.cdt.ui/plugin.xml @@ -33,7 +33,7 @@ - + diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/default-templates.xml b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/default-templates.xml index fe66840f0b9..203efccc276 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/default-templates.xml +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/corext/template/default-templates.xml @@ -1,125 +1,64 @@ - + + + + + + + + + + + + + + + +]> - - - - - - - + + + \ No newline at end of file diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties index 6d6f5a74eb0..3f981f1e791 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties @@ -40,7 +40,7 @@ RefreshAction.locationDeleted.title= Project location has been deleted RefreshAction.locationDeleted.message= The location for project {0} ({1}) has been deleted.\n Delete {0} from the workspace? ToggleLinkingAction.label=Lin&k With Editor -ToggleLinkingAction.tooltip=Link with Editor +ToggleLinkingAction.toolTip=Link with Editor ToggleLinkingAction.description=Link with active editor SearchAction.label=Search diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java index b8f8da17651..debef116b81 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/MainActionGroup.java @@ -156,7 +156,7 @@ public class MainActionGroup extends CViewActionGroup { collapseAllAction = new CollapseAllAction(getCView()); - toggleLinkingAction = new ToggleLinkingAction(getCView(), CViewMessages.getString("ToggleLinkingAction.text")); //$NON-NLS-1$ + toggleLinkingAction = new ToggleLinkingAction(getCView(), CViewMessages.getString("ToggleLinkingAction.label")); //$NON-NLS-1$ toggleLinkingAction.setToolTipText(CViewMessages.getString("ToggleLinkingAction.toolTip")); //$NON-NLS-1$ toggleLinkingAction.setImageDescriptor(getImageDescriptor("elcl16/synced.gif"));//$NON-NLS-1$ toggleLinkingAction.setHoverImageDescriptor(getImageDescriptor("clcl16/synced.gif"));//$NON-NLS-1$