视频详情页面增加搜索框,并增加多语言

pull/708/head
初十 2 years ago
parent 4a932a7f85
commit 87b6387872

@ -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>

@ -57,6 +57,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>

@ -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…
Cancel
Save