mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
style<Histories>: remove commit detail panel's guide tips
This commit is contained in:
parent
1da67dc517
commit
44ed55937d
4 changed files with 188 additions and 204 deletions
|
@ -274,11 +274,6 @@
|
|||
<sys:String x:Key="Text.Histories.GraphMode">Switch Curve/Polyline Graph Mode</sys:String>
|
||||
<sys:String x:Key="Text.Histories.DisplayMode">Switch Horizontal/Vertical Layout</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Selected">SELECTED {0} COMMITS</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide">HISTORIES GUIDE</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_1">1. Select single commit to view detail</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_2">2. Select two commits to show differences</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_3">3. Select more than 2 commits to count</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_4">4. Open context menu to see more options</sys:String>
|
||||
|
||||
<sys:String x:Key="Text.Init">Initialize Repository</sys:String>
|
||||
<sys:String x:Key="Text.Init.Path">Path :</sys:String>
|
||||
|
|
|
@ -273,11 +273,6 @@
|
|||
<sys:String x:Key="Text.Histories.GraphMode">切换曲线/折线显示</sys:String>
|
||||
<sys:String x:Key="Text.Histories.DisplayMode">切换横向/纵向显示</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Selected">已选中 {0} 项提交</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide">操作说明</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_1">1. 单选时,显示选中提交的详细信息</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_2">2. 双选时,按选中顺序对比两个提交</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_3">3. 多选时,仅统计选中行数</sys:String>
|
||||
<sys:String x:Key="Text.Histories.Guide_4">4. 右键用于操作选中的某个提交</sys:String>
|
||||
|
||||
<sys:String x:Key="Text.Init">初始化新仓库</sys:String>
|
||||
<sys:String x:Key="Text.Init.Path">路径 :</sys:String>
|
||||
|
|
|
@ -178,14 +178,7 @@
|
|||
Margin="0,16"
|
||||
FontSize="24" FontWeight="UltraBold"
|
||||
HorizontalAlignment="Center"
|
||||
Text="{DynamicResource Text.Histories.Guide}"/>
|
||||
|
||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{DynamicResource Text.Histories.Guide_1}" FontSize="14" Margin="0,2"/>
|
||||
<TextBlock Text="{DynamicResource Text.Histories.Guide_2}" FontSize="14" Margin="0,2"/>
|
||||
<TextBlock Text="{DynamicResource Text.Histories.Guide_3}" FontSize="14" Margin="0,2"/>
|
||||
<TextBlock Text="{DynamicResource Text.Histories.Guide_4}" FontSize="14" Margin="0,2"/>
|
||||
</StackPanel>
|
||||
Visibility="Collapsed"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
|
|
@ -236,9 +236,10 @@ namespace SourceGit.Views.Widgets {
|
|||
} else if (selected.Count > 2) {
|
||||
mask.Visibility = Visibility.Visible;
|
||||
txtCounter.Text = App.Text("Histories.Selected", selected.Count);
|
||||
txtCounter.Visibility = Visibility.Visible;
|
||||
} else {
|
||||
mask.Visibility = Visibility.Visible;
|
||||
txtCounter.Text = App.Text("Histories.Guide");
|
||||
txtCounter.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue