|
47 | 47 | FontSize="14" |
48 | 48 | FontWeight="Medium" |
49 | 49 | Width="180"> |
50 | | - <Hyperlink Cursor="Help" NavigateUri="{Binding FL.PlayerConfig.Subtitles.TranslateWordServiceType, Converter={StaticResource TranslateServiceTypeEnumToUrlConv}}" helpers:HyperlinkHelper.OpenInBrowser="True"> |
| 50 | + <Hyperlink Style="{StaticResource MyHyperLink}" NavigateUri="{Binding FL.PlayerConfig.Subtitles.TranslateWordServiceType, Converter={StaticResource TranslateServiceTypeEnumToUrlConv}}" helpers:HyperlinkHelper.OpenInBrowser="True"> |
51 | 51 | Translation Engine |
52 | 52 | </Hyperlink> |
53 | 53 | </TextBlock> |
@@ -311,28 +311,35 @@ Note that this does not work for bitmap subtitles. In that case, please use OCR |
311 | 311 |
|
312 | 312 | <TextBlock Margin="5 10 5 0"> |
313 | 313 | You can send subtitle text to your browser via the clipboard and work with browser extensions such as Yomitan and 10ten. |
314 | | - See <Hyperlink NavigateUri="https://github.com/umlx5h/LLPlayer/wiki/Browser-Extensions-Integration" helpers:HyperlinkHelper.OpenInBrowser="True">this link</Hyperlink> |
| 314 | + See <Hyperlink Style="{StaticResource MyHyperLink}" NavigateUri="https://github.com/umlx5h/LLPlayer/wiki/Browser-Extensions-Integration" helpers:HyperlinkHelper.OpenInBrowser="True">this link</Hyperlink> |
315 | 315 | for more information. |
316 | 316 | </TextBlock> |
317 | 317 | </StackPanel> |
318 | 318 | </GroupBox> |
319 | 319 |
|
320 | | - <GroupBox Header="Word Special Actions"> |
| 320 | + <GroupBox Header="Word Special Actions for Japanese" Visibility="{Binding IsTargetJapanese, Converter={StaticResource BooleanToVisibilityConv}}"> |
321 | 321 | <StackPanel> |
322 | 322 | <DockPanel> |
323 | 323 | <TextBlock |
324 | | - Text="PDIC Executable Path (for Japanese users)" |
| 324 | + Text="PDIC Executable Path" |
325 | 325 | Width="180" /> |
326 | 326 | <TextBox |
327 | 327 | HorizontalContentAlignment="Left" |
328 | 328 | Text="{Binding FL.Config.Subs.PDICPipeExecutablePath}" /> |
329 | 329 | </DockPanel> |
330 | 330 |
|
| 331 | + <Button |
| 332 | + Content="Auto Set" |
| 333 | + HorizontalAlignment="Left" |
| 334 | + Command="{Binding CmdSetPdicPath}" |
| 335 | + Style="{StaticResource MaterialDesignRaisedSecondaryButton}" |
| 336 | + Margin="180 0 0 0" /> |
| 337 | + |
331 | 338 | <TextBlock Margin="5 10 5 0"> |
332 | 339 | (For Japanese-speaking learners of English) |
333 | 340 | <LineBreak /> |
334 | 341 | It can be linked to the PDIC dictionary tool. |
335 | | - See <Hyperlink NavigateUri="https://github.com/umlx5h/LLPlayer/wiki/PDIC-Integration-(For-Japanese-users)" helpers:HyperlinkHelper.OpenInBrowser="True">this link</Hyperlink> |
| 342 | + See <Hyperlink Style="{StaticResource MyHyperLink}" NavigateUri="https://github.com/umlx5h/LLPlayer/wiki/PDIC-Integration-(For-Japanese-users)" helpers:HyperlinkHelper.OpenInBrowser="True">this link</Hyperlink> |
336 | 343 | for more information. |
337 | 344 | </TextBlock> |
338 | 345 | </StackPanel> |
|
0 commit comments