aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2009-10-15 09:15:26 (EDT)
committerShawn O. Pearce2009-10-16 13:20:48 (EDT)
commit1edc47ec6ae1abc828077ca59fba3b91963d589b (patch)
treef1a6c5b7733b4ab8067969f2ad1069f19af5215a
parent416a5f0ab5d8f75550027c079c2bc94245a3beef (diff)
downloadegit-1edc47ec6ae1abc828077ca59fba3b91963d589b.zip
egit-1edc47ec6ae1abc828077ca59fba3b91963d589b.tar.gz
egit-1edc47ec6ae1abc828077ca59fba3b91963d589b.tar.bz2
Externalize remaining text strings from plugin.xmlrefs/changes/72/72/2
Bug: 292531 Change-Id: I62e069c42a2af17be3f97a82b5cf7d79b45ee2e6 Signed-off-by: Mykola Nikishov <mn@mn.com.ua> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--org.eclipse.egit.ui/plugin.properties16
-rw-r--r--org.eclipse.egit.ui/plugin.xml22
2 files changed, 27 insertions, 11 deletions
diff --git a/org.eclipse.egit.ui/plugin.properties b/org.eclipse.egit.ui/plugin.properties
index 2fdbb24..d05a3b3 100644
--- a/org.eclipse.egit.ui/plugin.properties
+++ b/org.eclipse.egit.ui/plugin.properties
@@ -61,7 +61,10 @@ FetchAction_tooltip=Fetch from another repository
PushAction_label=&Push To...
PushAction_tooltip=Push to another repository
+GitKeyword_label = git
GitActions_label=Git
+GitActions_description = Common things to do with Git
+
GitMenu_label=&Git
@@ -80,3 +83,16 @@ GitPreferences_DecoratorPreferencePage_name=Label Decorations
ShareProjectCommand_name=Share with Git
ShareProjectCommand_desc=Share the project using Git
+
+Soft_Reset_label = Soft Reset
+Soft_Reset_tooltip = Resets HEAD but not working directory nor index
+
+Mixed_Reset_label = Mixed Reset
+Mixed_Reset_tooltip = Resets HEAD and index, but not working directory
+
+Hard_Reset_label = Hard Reset
+Hard_Reset_tooltip = Resets HEAD and index, and working directory (changes in tracked files will be lost)
+
+Set_As_Quickdiff_Baseline_label = Set as quickdiff baseline
+Reset_Quickdiff_Baseline_To_HEAD_label = Reset quickdiff baseline to HEAD
+Reset_Quickdiff_Baseline_To_First_Parent_label = Reset quickdiff baseline to first parent of HEAD
diff --git a/org.eclipse.egit.ui/plugin.xml b/org.eclipse.egit.ui/plugin.xml
index f3099cd..d2936a5 100644
--- a/org.eclipse.egit.ui/plugin.xml
+++ b/org.eclipse.egit.ui/plugin.xml
@@ -122,46 +122,46 @@
<action
class="org.eclipse.egit.ui.internal.actions.SoftResetToRevisionAction"
id="org.eclipse.egit.ui.softresettorevision"
- label="Soft Reset"
+ label="%Soft_Reset_label"
menubarPath="additions"
enablesFor="1"
- tooltip="Resets HEAD but not working directory nor index">
+ tooltip="%Soft_Reset_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.MixedResetToRevisionAction"
id="org.eclipse.egit.ui.mixedresettorevision"
- label="Mixed Reset"
+ label="%Mixed_Reset_label"
menubarPath="additions"
enablesFor="1"
- tooltip="Resets HEAD and index, but not working directory">
+ tooltip="%Mixed_Reset_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.HardResetToRevisionAction"
id="org.eclipse.egit.ui.hardresettorevision"
- label="Hard Reset"
+ label="%Hard_Reset_label"
menubarPath="additions"
enablesFor="1"
- tooltip="Resets HEAD and index, and working directory (changed in tracked files will be lost)">
+ tooltip="%Hard_Reset_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.SetQuickdiffBaselineAction"
enablesFor="1"
id="org.eclipse.egit.ui.setquickdiffbaseline"
- label="Set as quickdiff baseline"
+ label="%Set_As_Quickdiff_Baseline_label"
menubarPath="additions">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.ResetQuickdiffBaselineAction"
enablesFor="*"
id="org.eclipse.egit.ui.resetquickdiffbaseline"
- label="Reset quickdiff baseline to HEAD"
+ label="%Reset_Quickdiff_Baseline_To_HEAD_label"
menubarPath="additions">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.ResetQuickdiffBaselineHeadParentAction"
enablesFor="*"
id="org.eclipse.egit.ui.resetquickdiffheadparentbaseline"
- label="Reset quickdiff baseline to first parent of HEAD"
+ label="%Reset_Quickdiff_Baseline_To_First_Parent_label"
menubarPath="additions">
</action>
</objectContribution>
@@ -236,7 +236,7 @@
<extension point="org.eclipse.ui.keywords">
<keyword
id="org.eclipse.egit.ui.keyword.git"
- label="git">
+ label="%GitKeyword_label">
</keyword>
</extension>
@@ -303,7 +303,7 @@
<extension
point="org.eclipse.ui.actionSets">
<actionSet
- description="Common things to do with Git"
+ description="%GitActions_description"
id="org.eclipse.egit.ui.gitaction"
label="%GitActions_label"
visible="false"