File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 701
701
<x : String x : Key =" Text.Stash.TipForSelectedFiles" xml : space =" preserve" >选中文件的所有变更均会被贮藏!</x : String >
702
702
<x : String x : Key =" Text.Stash.Title" xml : space =" preserve" >贮藏本地变更</x : String >
703
703
<x : String x : Key =" Text.StashCM.Apply" xml : space =" preserve" >应用(apply)</x : String >
704
+ <x : String x : Key =" Text.StashCM.CopyMessage" xml : space =" preserve" >复制描述信息</x : String >
704
705
<x : String x : Key =" Text.StashCM.Drop" xml : space =" preserve" >删除(drop)</x : String >
705
706
<x : String x : Key =" Text.StashCM.SaveAsPatch" xml : space =" preserve" >另存为补丁...</x : String >
706
707
<x : String x : Key =" Text.StashDropConfirm" xml : space =" preserve" >丢弃贮藏确认</x : String >
Original file line number Diff line number Diff line change 701
701
<x : String x : Key =" Text.Stash.TipForSelectedFiles" xml : space =" preserve" >已選取的檔案中的變更均會被擱置!</x : String >
702
702
<x : String x : Key =" Text.Stash.Title" xml : space =" preserve" >擱置本機變更</x : String >
703
703
<x : String x : Key =" Text.StashCM.Apply" xml : space =" preserve" >套用 (apply)</x : String >
704
+ <x : String x : Key =" Text.StashCM.CopyMessage" xml : space =" preserve" >複製描述訊息</x : String >
704
705
<x : String x : Key =" Text.StashCM.Drop" xml : space =" preserve" >刪除 (drop)</x : String >
705
706
<x : String x : Key =" Text.StashCM.SaveAsPatch" xml : space =" preserve" >另存為修補檔 (patch)...</x : String >
706
707
<x : String x : Key =" Text.StashDropConfirm" xml : space =" preserve" >捨棄擱置變更確認</x : String >
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ public ContextMenu MakeContextMenu(Models.Stash stash)
142
142
143
143
var apply = new MenuItem ( ) ;
144
144
apply . Header = App . Text ( "StashCM.Apply" ) ;
145
+ apply . Icon = App . CreateMenuIcon ( "Icons.Check" ) ;
145
146
apply . Click += ( _ , ev ) =>
146
147
{
147
148
if ( _repo . CanCreatePopup ( ) )
@@ -152,6 +153,7 @@ public ContextMenu MakeContextMenu(Models.Stash stash)
152
153
153
154
var drop = new MenuItem ( ) ;
154
155
drop . Header = App . Text ( "StashCM.Drop" ) ;
156
+ drop . Icon = App . CreateMenuIcon ( "Icons.Clear" ) ;
155
157
drop . Click += ( _ , ev ) =>
156
158
{
157
159
if ( _repo . CanCreatePopup ( ) )
@@ -208,6 +210,7 @@ public ContextMenu MakeContextMenu(Models.Stash stash)
208
210
menu . Items . Add ( drop ) ;
209
211
menu . Items . Add ( new MenuItem { Header = "-" } ) ;
210
212
menu . Items . Add ( patch ) ;
213
+ menu . Items . Add ( new MenuItem { Header = "-" } ) ;
211
214
menu . Items . Add ( copy ) ;
212
215
return menu ;
213
216
}
You can’t perform that action at this time.
0 commit comments