Skip to content

Commit b7eda5e

Browse files
committed
Move command localized and moved to top...
1 parent a7fbaf0 commit b7eda5e

File tree

7 files changed

+28
-5
lines changed

7 files changed

+28
-5
lines changed

External/Plugins/CodeRefactor/Controls/RefactorMenu.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@ public class RefactorMenu : ToolStripMenuItem
1010
public RefactorMenu(Boolean createSurroundMenu)
1111
{
1212
this.Text = TextHelper.GetString("Label.Refactor");
13+
this.MoveMenuItem = this.DropDownItems.Add(TextHelper.GetString("Label.Move")) as ToolStripMenuItem;
1314
this.RenameMenuItem = this.DropDownItems.Add(TextHelper.GetString("Label.Rename")) as ToolStripMenuItem;
1415
this.RenameMenuItem.Image = PluginBase.MainForm.FindImage("331");
15-
#region TODO: localize me
16-
MoveMenuItem = DropDownItems.Add("Move...") as ToolStripMenuItem;
17-
//MoveMenuItem = DropDownItems.Add(TextHelper.GetString("Label.Move")) as ToolStripMenuItem;
18-
#endregion
1916
this.ExtractMethodMenuItem = this.DropDownItems.Add(TextHelper.GetString("Label.ExtractMethod"), null) as ToolStripMenuItem;
2017
this.ExtractLocalVariableMenuItem = this.DropDownItems.Add(TextHelper.GetString("Label.ExtractLocalVariable"), null) as ToolStripMenuItem;
2118
this.DelegateMenuItem = this.DropDownItems.Add(TextHelper.GetString("Label.DelegateMethods"), null) as ToolStripMenuItem;
@@ -83,5 +80,7 @@ public RefactorMenu(Boolean createSurroundMenu)
8380
/// Accessor to the CodeGeneratorMenuItem
8481
/// </summary>
8582
public ToolStripMenuItem CodeGeneratorMenuItem { get; private set; }
83+
8684
}
87-
}
85+
86+
}

PluginCore/PluginCore/Resources/de_DE.resX

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5972,4 +5972,8 @@ Eigene Sprachumgebungen müssen eine Erweiterung der Standard-Sprachumgebung sei
59725972
<value>No contextual code generation available.</value>
59735973
<comment>REQUIRES TRANSLATION</comment>
59745974
</data>
5975+
<data name="CodeRefactor.Label.Move" xml:space="preserve">
5976+
<value>Move...</value>
5977+
<comment>Added after 5.0.2</comment>
5978+
</data>
59755979
</root>

PluginCore/PluginCore/Resources/en_US.resX

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5986,4 +5986,8 @@ Custom locales must be an extension of a default locale, e.g. en-US.</value>
59865986
<data name="ASCompletion.Info.NoContextGeneratorCode" xml:space="preserve">
59875987
<value>No contextual code generation available.</value>
59885988
</data>
5989+
<data name="CodeRefactor.Label.Move" xml:space="preserve">
5990+
<value>Move...</value>
5991+
<comment>Added after 5.0.2</comment>
5992+
</data>
59895993
</root>

PluginCore/PluginCore/Resources/eu_ES.resX

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5969,4 +5969,8 @@ Lokalizazio pertsonalizatuek lehenetsiaren luzapen bat izan behar dute, adb. en-
59695969
<value>No contextual code generation available.</value>
59705970
<comment>REQUIRES TRANSLATION</comment>
59715971
</data>
5972+
<data name="CodeRefactor.Label.Move" xml:space="preserve">
5973+
<value>Move...</value>
5974+
<comment>Added after 5.0.2</comment>
5975+
</data>
59725976
</root>

PluginCore/PluginCore/Resources/ja_JP.resX

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6030,4 +6030,8 @@ UseData:"</value>
60306030
<value>No contextual code generation available.</value>
60316031
<comment>REQUIRES TRANSLATION</comment>
60326032
</data>
6033+
<data name="CodeRefactor.Label.Move" xml:space="preserve">
6034+
<value>Move...</value>
6035+
<comment>Added after 5.0.2</comment>
6036+
</data>
60336037
</root>

PluginCore/PluginCore/Resources/ko_KR.resX

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5989,4 +5989,8 @@ Complete: 현재 파일, 프로젝트 파일 및 수동 새로 고침.</value>
59895989
<data name="FlashDevelop.Info.ShortcutConflictsPresent" xml:space="preserve">
59905990
<value>현재 하나 이상의 충돌이 있습니다. 무시하고 계속 하시겠습니까?</value>
59915991
</data>
5992+
<data name="CodeRefactor.Label.Move" xml:space="preserve">
5993+
<value>Move...</value>
5994+
<comment>Added after 5.0.2</comment>
5995+
</data>
59925996
</root>

PluginCore/PluginCore/Resources/zh_CN.resx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5982,4 +5982,8 @@
59825982
<value>No contextual code generation available.</value>
59835983
<comment>REQUIRES TRANSLATION</comment>
59845984
</data>
5985+
<data name="CodeRefactor.Label.Move" xml:space="preserve">
5986+
<value>Move...</value>
5987+
<comment>Added after 5.0.2</comment>
5988+
</data>
59855989
</root>

0 commit comments

Comments
 (0)