|
55 | 55 | Classes="icon_button"
|
56 | 56 | Width="26" Height="14"
|
57 | 57 | Padding="0"
|
58 |
| - ToolTip.Tip="{DynamicResource Text.WorkingCopy.Unstaged.StageAll}" |
| 58 | + ToolTip.Tip="{DynamicResource Text.WorkingCopy.Unstaged.StageAll}" |
59 | 59 | Command="{Binding StageAll}">
|
60 | 60 | <Path Width="14" Height="14" Data="{StaticResource Icons.DoubleDown}"/>
|
61 | 61 | </Button>
|
|
99 | 99 | <Button Grid.Column="6" Classes="icon_button" Width="26" Height="14" Padding="0" ToolTip.Tip="{DynamicResource Text.WorkingCopy.Staged.UnstageAll}" Command="{Binding UnstageAll}">
|
100 | 100 | <Path Width="14" Height="14" Data="{StaticResource Icons.DoubleUp}"/>
|
101 | 101 | </Button>
|
102 |
| - <v:ChangeViewModeSwitcher Grid.Column="7" |
| 102 | + <v:ChangeViewModeSwitcher Grid.Column="7" |
103 | 103 | Width="26" Height="14"
|
104 | 104 | Margin="0,1,0,0"
|
105 | 105 | ViewMode="{Binding Source={x:Static vm:Preference.Instance}, Path=StagedChangeViewMode, Mode=TwoWay}"/>
|
|
135 | 135 | <RowDefinition Height="128" MinHeight="100"/>
|
136 | 136 | <RowDefinition Height="36"/>
|
137 | 137 | </Grid.RowDefinitions>
|
138 |
| - |
| 138 | + |
139 | 139 | <!-- Select Change Detail -->
|
140 | 140 | <Grid Grid.Row="0">
|
141 | 141 | <Border BorderThickness="1" BorderBrush="{DynamicResource Brush.Border2}">
|
|
165 | 165 | <TextBlock Margin="0,16,0,8" FontSize="20" FontWeight="Bold" Text="{DynamicResource Text.WorkingCopy.Conflicts.Resolved}" Foreground="{DynamicResource Brush.FG2}" HorizontalAlignment="Center"/>
|
166 | 166 | <TextBlock Text="{DynamicResource Text.WorkingCopy.CanStageTip}" Foreground="{DynamicResource Brush.FG2}" HorizontalAlignment="Center"/>
|
167 | 167 | </StackPanel>
|
168 |
| - </Grid> |
| 168 | + </Grid> |
169 | 169 | </Border>
|
170 | 170 | </DataTemplate>
|
171 | 171 |
|
|
185 | 185 | <v:CommitMessageTextBox Grid.Row="2" Text="{Binding CommitMessage, Mode=TwoWay}"/>
|
186 | 186 |
|
187 | 187 | <!-- Commit Options -->
|
188 |
| - <Grid Grid.Row="3" Margin="0,6,0,0" ColumnDefinitions="Auto,Auto,Auto,Auto,*,Auto,Auto,Auto,Auto"> |
| 188 | + <Grid Grid.Row="3" Margin="0,6,0,0" ColumnDefinitions="Auto,Auto,Auto,Auto,*,Auto,Auto,Auto,Auto,Auto"> |
189 | 189 | <Button Grid.Column="0"
|
190 | 190 | Classes="icon_button"
|
191 | 191 | Margin="4,0,0,0" Padding="0"
|
|
206 | 206 | <Path Width="15" Height="15" Data="{StaticResource Icons.AIAssist}"/>
|
207 | 207 | </Button>
|
208 | 208 |
|
209 |
| - <Button Grid.Column="2" |
| 209 | + <Button Grid.Column="2" |
| 210 | + Classes="icon_button" |
| 211 | + Margin="0,2,0,0" |
| 212 | + ToolTip.Tip="{DynamicResource Text.AIAssistant.SelectedLanguageTip}" |
| 213 | + ToolTip.Placement="Top" |
| 214 | + Click="OnOpenSelectLanguage" |
| 215 | + ToolTip.VerticalOffset="0"> |
| 216 | + <Path Width="15" Height="15" Data="{StaticResource Icons.LanguageSelection}"/> |
| 217 | + </Button> |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + <Button Grid.Column="3" |
210 | 222 | Classes="icon_button"
|
211 | 223 | Margin="0,2,0,0"
|
212 | 224 | Click="OnOpenConventionalCommitHelper"
|
|
216 | 228 | <Path Width="15" Height="15" Data="{StaticResource Icons.CommitMessageGenerator}"/>
|
217 | 229 | </Button>
|
218 | 230 |
|
219 |
| - <CheckBox Grid.Column="3" |
| 231 | + <CheckBox Grid.Column="4" |
220 | 232 | Height="24"
|
221 | 233 | Margin="8,0,0,0"
|
222 | 234 | HorizontalAlignment="Left"
|
|
248 | 260 | </StackPanel>
|
249 | 261 | </ToolTip.Tip>
|
250 | 262 | </Button>
|
251 |
| - |
| 263 | + |
252 | 264 | <!-- Invisible button just to add another hotkey `Ctrl+Shift+Enter` to commit with auto-stage -->
|
253 | 265 | <Button Grid.Column="7"
|
254 | 266 | Width="0" Height="0"
|
|
0 commit comments