mirror of
https://github.com/leiurayer/downkyi.git
synced 2025-04-27 05:30:47 +08:00
视频详情页面增加搜索框,并增加多语言
This commit is contained in:
parent
4a932a7f85
commit
87b6387872
src/DownKyi
@ -135,6 +135,8 @@
|
||||
<system:String x:Key="VideoCodec">视频编码</system:String>
|
||||
|
||||
<system:String x:Key="SelectAll">全选</system:String>
|
||||
<system:String x:Key="Search">搜索</system:String>
|
||||
<system:String x:Key="SearchVideoByName">搜索视频名称</system:String>
|
||||
<system:String x:Key="Parse">解析</system:String>
|
||||
<system:String x:Key="ParseVideo">解析视频</system:String>
|
||||
<system:String x:Key="DownloadSelected">下载选中项</system:String>
|
||||
|
@ -56,7 +56,9 @@
|
||||
<system:String x:Key="AudioQuality">音质</system:String>
|
||||
<system:String x:Key="VideoQuality">画质</system:String>
|
||||
<system:String x:Key="VideoCodec">视频编码</system:String>
|
||||
|
||||
|
||||
<system:String x:Key="Search">搜索</system:String>
|
||||
<system:String x:Key="SearchVideoByName">搜索视频名称</system:String>
|
||||
<system:String x:Key="SelectAll">全选</system:String>
|
||||
<system:String x:Key="Parse">解析</system:String>
|
||||
<system:String x:Key="ParseVideo">解析视频</system:String>
|
||||
|
@ -58,6 +58,8 @@
|
||||
<system:String x:Key="VideoQuality">画质</system:String>
|
||||
<system:String x:Key="VideoCodec">视频编码</system:String>
|
||||
|
||||
<system:String x:Key="Search">搜索</system:String>
|
||||
<system:String x:Key="SearchVideoByName">搜索视频名称</system:String>
|
||||
<system:String x:Key="SelectAll">全选</system:String>
|
||||
<system:String x:Key="Parse">解析</system:String>
|
||||
<system:String x:Key="ParseVideo">解析视频</system:String>
|
||||
|
@ -58,6 +58,8 @@
|
||||
<system:String x:Key="VideoQuality">画质</system:String>
|
||||
<system:String x:Key="VideoCodec">视频编码</system:String>
|
||||
|
||||
<system:String x:Key="Search">搜索</system:String>
|
||||
<system:String x:Key="SearchVideoByName">搜索视频名称</system:String>
|
||||
<system:String x:Key="SelectAll">全选</system:String>
|
||||
<system:String x:Key="Parse">解析</system:String>
|
||||
<system:String x:Key="ParseVideo">解析视频</system:String>
|
||||
|
@ -694,7 +694,35 @@
|
||||
<!-- 考虑将下列两个选项移入设置页面 -->
|
||||
<!--<CheckBox Grid.Column="1" Content="自动解析" IsChecked="False" Foreground="{DynamicResource BrushTextDark}" Style="{StaticResource CheckBoxStyle}" Margin="0 10 0 0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||
<CheckBox Grid.Column="2" Content="解析后自动下载所有" IsChecked="False" Foreground="{DynamicResource BrushTextDark}" Style="{StaticResource CheckBoxStyle}" Margin="0 10 0 0" VerticalAlignment="Top" HorizontalAlignment="Left"/>-->
|
||||
|
||||
<TextBox Grid.Column="3" HorizontalAlignment="Left" Height="20" TextWrapping="Wrap" VerticalAlignment="Top" Width="140" Margin="48,0,0,0">
|
||||
<TextBox.InputBindings>
|
||||
<KeyBinding Key="Enter" Command="{Binding InputCommand}" />
|
||||
</TextBox.InputBindings>
|
||||
<TextBox.Resources>
|
||||
<VisualBrush
|
||||
x:Key="HintText"
|
||||
AlignmentX="Left"
|
||||
Opacity="0.5"
|
||||
Stretch="None"
|
||||
TileMode="None">
|
||||
<VisualBrush.Visual>
|
||||
<TextBlock Text="{DynamicResource IndexHintTextSimple}" />
|
||||
</VisualBrush.Visual>
|
||||
</VisualBrush>
|
||||
</TextBox.Resources>
|
||||
<TextBox.Style>
|
||||
<Style TargetType="TextBox">
|
||||
<Style.Triggers>
|
||||
<Trigger Property="Text" Value="{x:Null}">
|
||||
<Setter Property="Background" Value="{StaticResource HintText}" />
|
||||
</Trigger>
|
||||
<Trigger Property="Text" Value="">
|
||||
<Setter Property="Background" Value="{StaticResource HintText}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</TextBox.Style>
|
||||
</TextBox>
|
||||
<Button
|
||||
Grid.Column="4"
|
||||
HorizontalAlignment="Right"
|
||||
@ -713,6 +741,7 @@
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource BrushText}"
|
||||
Style="{StaticResource BtnStyle}" />
|
||||
<Label Content="{DynamicResource Search}" Grid.Column="3" HorizontalAlignment="Left" Margin="9,-2,0,0" VerticalAlignment="Top"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user