mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-26 20:20:14 +08:00
Compare commits
1
Commits
3.0.0-rc.5
...
gen4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42464db1bc |
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ms="https://steampp.net/settings"
|
||||
xmlns:sys="using:System"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:s="https://steampp.net/services"
|
||||
x:CompileBindings="True">
|
||||
@@ -16,7 +17,7 @@
|
||||
|
||||
<!-- AutoCompleteBox -->
|
||||
<Style Selector="AutoCompleteBox.Search /template/ TextBox#PART_TextBox">
|
||||
<Setter Property="Watermark" Value="{ReflectionBinding Path=Res.Search, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Setter Property="Watermark" Value="{ReflectionBinding Path=Res.Search, Mode=OneWay, Source={x:Static spp:Strings.Search}}" />
|
||||
<Setter Property="InnerRightContent">
|
||||
<Template>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
<Design.PreviewWith>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
x:CompileBindings="True">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
<Design.PreviewWith>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
Stretch="UniformToFill" />
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
Text="{Binding Path=Res.GameList_IsLoading, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.GameList_IsLoading, Mode=OneWay, Source={x:Static spp:Strings.GameList_IsLoading}}"
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
Text="{ReflectionBinding Path=Res.CustomFilePicker_Tip,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}"
|
||||
Source={x:Static spp:Strings.CustomFilePicker_Tip}}"
|
||||
TextAlignment="Center"
|
||||
Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
</StackPanel>
|
||||
@@ -76,4 +76,4 @@
|
||||
<Style Selector="spp|CustomFilePicker:pointerover /template/ Panel#FilePickerTipBorder">
|
||||
<Setter Property="IsVisible" Value="True" />
|
||||
</Style>
|
||||
</Styles>
|
||||
</Styles>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
<Design.PreviewWith>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
x:CompileBindings="True">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
<Design.PreviewWith>
|
||||
|
||||
@@ -86,4 +86,4 @@
|
||||
</Transitions>
|
||||
</Setter>
|
||||
</Style>
|
||||
</Styles>
|
||||
</Styles>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
<Design.PreviewWith>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<ResourceDictionary
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
x:CompileBindings="True">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
<Design.PreviewWith>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
xmlns:uip="using:FluentAvalonia.UI.Controls.Primitives"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<ResourceDictionary
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ms="https://steampp.net/settings"
|
||||
x:CompileBindings="True">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:s="https://steampp.net/services"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
@@ -27,26 +28,26 @@
|
||||
<MenuItem
|
||||
x:Name="TextBoxContextMenuCutItem"
|
||||
Command="{Binding $parent[TextBox].Cut}"
|
||||
Header="{Binding Path=Res.Cut, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Cut, Mode=OneWay, Source={x:Static spp:Strings.Cut}}"
|
||||
InputGesture="{x:Static TextBox.CutGesture}"
|
||||
IsEnabled="{Binding $parent[TextBox].CanCut}" />
|
||||
<MenuItem
|
||||
x:Name="TextBoxContextMenuCopyItem"
|
||||
Command="{Binding $parent[TextBox].Copy}"
|
||||
Header="{Binding Path=Res.Copy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Copy, Mode=OneWay, Source={x:Static spp:Strings.Copy}}"
|
||||
InputGesture="{x:Static TextBox.CopyGesture}"
|
||||
IsEnabled="{Binding $parent[TextBox].CanCopy}" />
|
||||
<MenuItem
|
||||
x:Name="TextBoxContextMenuPasteItem"
|
||||
Command="{Binding $parent[TextBox].Paste}"
|
||||
Header="{Binding Path=Res.Paste, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Paste, Mode=OneWay, Source={x:Static spp:Strings.Paste}}"
|
||||
InputGesture="{x:Static TextBox.PasteGesture}"
|
||||
IsEnabled="{Binding $parent[TextBox].CanPaste}" />
|
||||
<MenuItem Header="-" />
|
||||
<MenuItem
|
||||
x:Name="TextBoxContextMenuSelectAllItem"
|
||||
Command="{Binding $parent[TextBox].SelectAll}"
|
||||
Header="{Binding Path=Res.SelectAll, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.SelectAll, Mode=OneWay, Source={x:Static spp:Strings.SelectAll}}"
|
||||
InputGesture="Ctrl + A"
|
||||
IsEnabled="{Binding $parent[TextBox].Text, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />
|
||||
</MenuFlyout>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:s="https://steampp.net/services"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
@@ -296,8 +297,8 @@
|
||||
</Styles.Resources>
|
||||
|
||||
<Style Selector="ToggleSwitch">
|
||||
<Setter Property="OffContent" Value="{ReflectionBinding Path=Res.Off, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Setter Property="OnContent" Value="{ReflectionBinding Path=Res.On, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Setter Property="OffContent" Value="{ReflectionBinding Path=Res.Off, Mode=OneWay, Source={x:Static spp:Strings.Off}}" />
|
||||
<Setter Property="OnContent" Value="{ReflectionBinding Path=Res.On, Mode=OneWay, Source={x:Static spp:Strings.On}}" />
|
||||
<Setter Property="MinWidth" Value="0" />
|
||||
</Style>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
x:Class="BD.WTTS.UI.Styling.CustomTheme"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:CompileBindings="True">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<ResourceDictionary
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:sys="using:System"
|
||||
xmlns:ui="https://steampp.net/ui"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<ResourceDictionary
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
x:CompileBindings="True">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<Styles
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:sys="using:System"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<LinearGradientBrush x:Key="HeaderOpacityMaskBrush" StartPoint="0,0" EndPoint="0%,100%">
|
||||
<GradientStop Offset="0" Color="#FF000000" />
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<LinearGradientBrush x:Key="HeaderOpacityMaskBrush" StartPoint="0,0" EndPoint="0%,100%">
|
||||
<GradientStop Color="#00000000" />
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<LinearGradientBrush x:Key="HeaderOpacityMaskBrush" StartPoint="0,0" EndPoint="0%,100%">
|
||||
<GradientStop Offset="0" Color="#FF000000" />
|
||||
|
||||
@@ -97,27 +97,27 @@
|
||||
Content=""
|
||||
Theme="{StaticResource FA_SystemCaptionButton}"
|
||||
ToolTip.Placement="Bottom"
|
||||
ToolTip.Tip="{Binding Path=Res.Minimize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.Minimize, Mode=OneWay, Source={x:Static spp:Strings.Minimize}}" />
|
||||
<Button
|
||||
Name="MaxRestoreButton"
|
||||
Content=""
|
||||
Theme="{StaticResource FA_SystemCaptionButton}"
|
||||
ToolTip.Placement="Bottom"
|
||||
ToolTip.Tip="{Binding Path=Res.Maximize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.Maximize, Mode=OneWay, Source={x:Static spp:Strings.Maximize}}" />
|
||||
<Button
|
||||
Name="CloseButton"
|
||||
Classes="Close"
|
||||
Content="{StaticResource Close}"
|
||||
Theme="{StaticResource FA_SystemCaptionButton}"
|
||||
ToolTip.Placement="Bottom"
|
||||
ToolTip.Tip="{Binding Path=Res.Close, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.Close, Mode=OneWay, Source={x:Static spp:Strings.Close}}" />
|
||||
</StackPanel>
|
||||
</ControlTemplate>
|
||||
</Setter>
|
||||
|
||||
<Style Selector="^:maximized /template/ Button#MaxRestoreButton">
|
||||
<Setter Property="Content" Value="" />
|
||||
<Setter Property="ToolTip.Tip" Value="{Binding Path=Res.Restore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Setter Property="ToolTip.Tip" Value="{Binding Path=Res.Restore, Mode=OneWay, Source={x:Static spp:Strings.Restore}}" />
|
||||
</Style>
|
||||
</ControlTheme>
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
Foreground="White"
|
||||
Text="{ReflectionBinding Path=Res.Advertisement,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />
|
||||
Source={x:Static spp:Strings.Advertisement}}" />
|
||||
<Button
|
||||
Name="CloseAdBtn"
|
||||
HorizontalAlignment="Right"
|
||||
@@ -49,7 +49,7 @@
|
||||
Background="Transparent"
|
||||
Content="{ReflectionBinding Path=Res.Advertisement_Close,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}"
|
||||
Source={x:Static spp:Strings.Advertisement_Close}}"
|
||||
Cursor="Hand"
|
||||
Foreground="White" />
|
||||
</Panel>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<UserControl
|
||||
x:Class="BD.WTTS.UI.Views.Controls.SplashScreen"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<StackPanel Spacing="{StaticResource SettingsSpacing}">
|
||||
<TextBlock
|
||||
Margin="0,0,0,5"
|
||||
Text="{Binding Path=Res.About, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.About, Mode=OneWay, Source={x:Static spp:Strings.About}}"
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
@@ -138,7 +138,7 @@
|
||||
Margin="12,4,0,0"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
Text="{Binding Path=Res.Link, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Link, Mode=OneWay, Source={x:Static spp:Strings.Link}}" />
|
||||
<ItemsRepeater Margin="0,0,6,6" ItemsSource="{Binding Hyperlinks, Mode=OneTime}">
|
||||
<ItemsRepeater.Layout>
|
||||
<UniformGridLayout MinItemWidth="166" />
|
||||
@@ -161,7 +161,7 @@
|
||||
Margin="12,4,0,0"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
|
||||
Text="{Binding Path=Res.OpenSourceLibrary, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.OpenSourceLibrary, Mode=OneWay, Source={x:Static spp:Strings.OpenSourceLibrary}}" />
|
||||
<ItemsRepeater Margin="0,0,6,6" ItemsSource="{Binding OSL, Mode=OneTime}">
|
||||
<ItemsRepeater.Layout>
|
||||
<UniformGridLayout MinItemWidth="290" />
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
<TextBox
|
||||
Name="CommandTextBox"
|
||||
Grid.Row="1"
|
||||
Watermark="{Binding Path=Res.Debug_InstructionPlaceholder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.Debug_InstructionPlaceholder, Mode=OneWay, Source={x:Static spp:Strings.Debug_InstructionPlaceholder}}" />
|
||||
</Grid>
|
||||
</Border>
|
||||
</spp:PageBase>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<UserControl
|
||||
x:Class="BD.WTTS.UI.Views.Pages.ErrorPage"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
@@ -15,12 +16,12 @@
|
||||
VerticalAlignment="Center"
|
||||
FontSize="16"
|
||||
Foreground="White"
|
||||
Text="{Binding Path=Res.Error_PageFault, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
Text="{Binding Path=Res.Error_PageFault, Mode=OneWay, Source={x:Static spp:Strings.Error_PageFault}}" />-->
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="16"
|
||||
Foreground="White"
|
||||
Text="{Binding Path=Res.NewFeatureDevelopment, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.NewFeatureDevelopment, Mode=OneWay, Source={x:Static spp:Strings.NewFeatureDevelopment}}" />
|
||||
</Panel>
|
||||
</UserControl>
|
||||
</UserControl>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
MaxWidth="1080"
|
||||
Spacing="20">
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
@@ -81,7 +81,7 @@
|
||||
Message="当前使用的程序版本为测试版本,可能会有各种各样不可言明的 Bug,遇到问题请理性反馈,谢谢。"
|
||||
Severity="Warning" />
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
@@ -119,7 +119,7 @@
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
</WrapPanel>
|
||||
<TextBlock VerticalAlignment="Center" Theme="{StaticResource SubtitleTextBlockStyle}">
|
||||
<Run Text="{Binding Path=Res.Welcome_User_, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Run Text="{Binding Path=Res.Welcome_User_, Mode=OneWay, Source={x:Static spp:Strings.Welcome_User_}}" />
|
||||
</TextBlock>
|
||||
</WrapPanel>
|
||||
|
||||
|
||||
@@ -212,13 +212,13 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}}"
|
||||
Text="{Binding Path=Res.User_UnLogin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.User_UnLogin, Mode=OneWay, Source={x:Static spp:Strings.User_UnLogin}}" />
|
||||
|
||||
<StackPanel VerticalAlignment="Center" IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}">
|
||||
<TextBlock Text="{Binding Path=User.NickName, Mode=OneWay, Source={x:Static s:UserService.Current}}" />
|
||||
|
||||
<Border VerticalAlignment="Center" IsVisible="{Binding Path=User.UserType, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource EnumEqualValueConverter}, ConverterParameter={x:Static enum:UserType.Sponsor}}">
|
||||
<TextBlock FontSize="10" Text="{Binding Path=Res.User_Sponsor, Mode=OneWay, Source={x:Static s:ResourceService.Current}, StringFormat={}❤️{0}}" />
|
||||
<TextBlock FontSize="10" Text="{Binding Path=Res.User_Sponsor, Mode=OneWay, Source={x:Static spp:Strings.User_Sponsor}, StringFormat={}❤️{0}}" />
|
||||
</Border>
|
||||
|
||||
</StackPanel>
|
||||
@@ -243,14 +243,14 @@
|
||||
<Button
|
||||
Margin="5,0"
|
||||
Command="{Binding Path=SignInAsync, Mode=OneWay, Source={x:Static s:UserService.Current}}"
|
||||
Content="{Binding Path=Res.Sign, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Sign, Mode=OneWay, Source={x:Static spp:Strings.Sign}}"
|
||||
FontSize="10"
|
||||
IsVisible="{Binding Path=!User.IsSignIn, Mode=OneWay, Source={x:Static s:UserService.Current}}" />
|
||||
<Button
|
||||
Margin="5,0"
|
||||
FontSize="10"
|
||||
IsVisible="{Binding Path=User.IsSignIn, Mode=OneWay, Source={x:Static s:UserService.Current}}"
|
||||
ToolTip.Tip="{Binding Path=Res.Signed, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Signed, Mode=OneWay, Source={x:Static spp:Strings.Signed}}">
|
||||
<Button.Content>
|
||||
<MultiBinding StringFormat="{}{0} : {1}">
|
||||
<CompiledBinding Path="Res.User_EngineOil" Source="{x:Static s:ResourceService.Current}" />
|
||||
@@ -266,24 +266,24 @@
|
||||
<MenuItem
|
||||
Command="{Binding OpenBrowserCommand, Source={x:Static spp:App.Instance}}"
|
||||
CommandParameter="https://steampp.net/account/center/info"
|
||||
Header="{Binding Path=Res.PersonalCenter, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.PersonalCenter, Mode=OneWay, Source={x:Static spp:Strings.PersonalCenter}}"
|
||||
IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />
|
||||
<!--<MenuItem Header="{Binding Path=Res.MyOrder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />-->
|
||||
<!--<MenuItem Header="{Binding Path=Res.MyOrder, Mode=OneWay, Source={x:Static spp:Strings.MyOrder}}" IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />-->
|
||||
<MenuItem
|
||||
Command="{Binding OpenBrowserCommand, Source={x:Static spp:App.Instance}}"
|
||||
CommandParameter="https://steampp.net/account/center/bind"
|
||||
Header="{Binding Path=Res.BindThirdPartyAccount, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.BindThirdPartyAccount, Mode=OneWay, Source={x:Static spp:Strings.BindThirdPartyAccount}}"
|
||||
IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />
|
||||
<MenuItem
|
||||
Command="{Binding OpenBrowserCommand, Source={x:Static spp:App.Instance}}"
|
||||
CommandParameter="https://steampp.net/account/center/safe"
|
||||
Header="{Binding Path=Res.PersonalSafe, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.PersonalSafe, Mode=OneWay, Source={x:Static spp:Strings.PersonalSafe}}"
|
||||
IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />
|
||||
<MenuItem Header="-" IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />
|
||||
<MenuItem
|
||||
Command="{Binding Path=SignOut, Mode=OneWay, Source={x:Static s:UserService.Current}}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}"
|
||||
Header="{Binding Path=Res.SignOut, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.SignOut, Mode=OneWay, Source={x:Static spp:Strings.SignOut}}"
|
||||
IsVisible="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}" />
|
||||
<!--<MenuItem
|
||||
Command="{Binding Path=ShowWindow,
|
||||
@@ -330,7 +330,7 @@
|
||||
</Style>
|
||||
<Style Selector="Grid#PaneToggleButtonGrid">
|
||||
<Setter Property="Margin" Value="5 5 0 0" />
|
||||
<Setter Property="ToolTip.Tip" Value="{Binding Path=Res.Back, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Setter Property="ToolTip.Tip" Value="{Binding Path=Res.Back, Mode=OneWay, Source={x:Static spp:Strings.Back}}" />
|
||||
<Setter Property="ToolTip.Placement" Value="Bottom" />
|
||||
</Style>
|
||||
</ui:NavigationView.Styles>
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
CornerRadius="{StaticResource ControlCornerRadius}"
|
||||
ItemContainerTheme="{StaticResource TabItemStyle}"
|
||||
Theme="{StaticResource TabStripStyle}">
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_General, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Tag="Settings_General" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_UI, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Tag="Settings_UI" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Tag="Settings_Plugin" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_Steam, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Tag="Settings_Steam" />
|
||||
<TabStripItem Content="{Binding Path=Res.About, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Tag="AboutPage" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_General, Mode=OneWay, Source={x:Static spp:Strings.Settings_General}}" Tag="Settings_General" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_UI, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI}}" Tag="Settings_UI" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static spp:Strings.Settings_Plugin}}" Tag="Settings_Plugin" />
|
||||
<TabStripItem Content="{Binding Path=Res.Settings_Steam, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam}}" Tag="Settings_Steam" />
|
||||
<TabStripItem Content="{Binding Path=Res.About, Mode=OneWay, Source={x:Static spp:Strings.About}}" Tag="AboutPage" />
|
||||
</TabStrip>
|
||||
</spp:PageBase.TabContent>
|
||||
<!--<spp:PageBase.ActionContent>
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
<StackPanel Spacing="{StaticResource SettingsSpacing}">
|
||||
<TextBlock
|
||||
Margin="0,0,0,10"
|
||||
Text="{Binding Path=Res.Settings_General, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Settings_General, Mode=OneWay, Source={x:Static spp:Strings.Settings_General}}"
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_StartupAutoRun, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Settings_General_StartAutoRun, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_StartupAutoRun, Mode=OneWay, Source={x:Static spp:Strings.Settings_StartupAutoRun}}" Header="{Binding Path=Res.Settings_General_StartAutoRun, Mode=OneWay, Source={x:Static spp:Strings.Settings_StartupAutoRun}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -28,7 +28,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_StartupNoShowMainWindow, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Settings_General_RuningMinimize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_StartupNoShowMainWindow, Mode=OneWay, Source={x:Static spp:Strings.Settings_StartupNoShowMainWindow}}" Header="{Binding Path=Res.Settings_General_RuningMinimize, Mode=OneWay, Source={x:Static spp:Strings.Settings_StartupNoShowMainWindow}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -37,7 +37,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_General_EnableTrayIcon_Tip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Settings_General_EnableTrayIcon, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_General_EnableTrayIcon_Tip, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_EnableTrayIcon_Tip}}" Header="{Binding Path=Res.Settings_General_EnableTrayIcon, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_EnableTrayIcon_Tip}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -46,7 +46,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_General_AutoCheckUpdate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_General_AutoCheckUpdate, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_AutoCheckUpdate}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -55,7 +55,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_General_UpdateChannel, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsVisible="{spp:OnPlatform OfficialRelease}">
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_General_UpdateChannel, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_UpdateChannel}}" IsVisible="{spp:OnPlatform OfficialRelease}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -75,7 +75,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_RestartEffective, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Settings_General_UseGPURendering, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_RestartEffective, Mode=OneWay, Source={x:Static spp:Strings.Settings_RestartEffective}}" Header="{Binding Path=Res.Settings_General_UseGPURendering, Mode=OneWay, Source={x:Static spp:Strings.Settings_RestartEffective}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="Segoe Fluent Icons" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -94,7 +94,7 @@
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<ui:SettingsExpander
|
||||
Header="{Binding Path=Res.Settings_General_StorageSpace, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_General_StorageSpace, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_StorageSpace}}"
|
||||
IconSource="Globe"
|
||||
IsClickEnabled="False"
|
||||
IsExpanded="True">
|
||||
@@ -105,23 +105,23 @@
|
||||
<Button
|
||||
Command="{Binding OpenFolder_Click}"
|
||||
CommandParameter="{x:Null}"
|
||||
Content="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}, Converter={StaticResource StringFormatConverter}, ConverterParameter=App}" />
|
||||
Content="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_BrowseCustomFolder}, Converter={StaticResource StringFormatConverter}, ConverterParameter=App}" />
|
||||
</ui:SettingsExpander.Footer>
|
||||
|
||||
<ui:SettingsExpanderItem
|
||||
ActionIconSource="Open"
|
||||
Command="{Binding OpenFolder_Click}"
|
||||
CommandParameter="AppData"
|
||||
Content="{Binding Path=Res.Settings_General_AppData, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Settings_General_AppData, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_AppData}}"
|
||||
IsClickEnabled="True"
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}, Converter={StaticResource StringFormatConverter}, ConverterParameter=AppData}" />
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_BrowseCustomFolder}, Converter={StaticResource StringFormatConverter}, ConverterParameter=AppData}" />
|
||||
<ui:SettingsExpanderItem
|
||||
ActionIconSource="Open"
|
||||
Command="{Binding OpenFolder_Click}"
|
||||
CommandParameter="Cache"
|
||||
Content="{Binding Path=Res.Settings_General_CacheData, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Settings_General_CacheData, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_CacheData}}"
|
||||
IsClickEnabled="True"
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}, Converter={StaticResource StringFormatConverter}, ConverterParameter=Cache}">
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_BrowseCustomFolder}, Converter={StaticResource StringFormatConverter}, ConverterParameter=Cache}">
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<TextBlock
|
||||
Name="CacheSize"
|
||||
@@ -134,9 +134,9 @@
|
||||
ActionIconSource="Open"
|
||||
Command="{Binding OpenFolder_Click}"
|
||||
CommandParameter="Logs"
|
||||
Content="{Binding Path=Res.Settings_General_LogsData, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Settings_General_LogsData, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_LogsData}}"
|
||||
IsClickEnabled="True"
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}, Converter={StaticResource StringFormatConverter}, ConverterParameter=Logs}">
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_BrowseCustomFolder}, Converter={StaticResource StringFormatConverter}, ConverterParameter=Logs}">
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<TextBlock
|
||||
Name="LogSize"
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
<StackPanel Spacing="{StaticResource SettingsSpacing}">
|
||||
<TextBlock
|
||||
Margin="0,0,0,10"
|
||||
Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static spp:Strings.Settings_Plugin}}"
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
|
||||
<ui:SettingsExpander Description="{Binding Path=Res.Plugin_OnlyLoadOfficePlugins, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Plugin_SafeMode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:SettingsExpander Description="{Binding Path=Res.Plugin_OnlyLoadOfficePlugins, Mode=OneWay, Source={x:Static spp:Strings.Plugin_OnlyLoadOfficePlugins}}" Header="{Binding Path=Res.Plugin_SafeMode, Mode=OneWay, Source={x:Static spp:Strings.Plugin_OnlyLoadOfficePlugins}}">
|
||||
<ui:SettingsExpander.IconSource>
|
||||
<ui:FontIconSource FontFamily="Segoe Fluent Icons" Glyph="{StaticResource DefenderApp}" />
|
||||
</ui:SettingsExpander.IconSource>
|
||||
@@ -35,14 +35,14 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_InstalledPlugins"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_InstalledPlugins}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="MainWindow2.PluginCount"
|
||||
Source="{x:Static s:IViewModelManager.Instance}" />
|
||||
Source="{x:Static spp:Strings.IViewModelManager.Instance}" />
|
||||
</MultiBinding>
|
||||
</TextBlock.Text>
|
||||
<!--<Run Text="{Binding Path=Res.Plugin_InstalledPlugins, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<!--<Run Text="{Binding Path=Res.Plugin_InstalledPlugins, Mode=OneWay, Source={x:Static spp:Strings.Plugin_InstalledPlugins}}" />
|
||||
<Run Text="(" />
|
||||
<Run Text="{Binding MainWindow2.PluginCount, Mode=OneWay, Source={x:Static s:IViewModelManager.Instance}}" />
|
||||
<Run Text=")" />-->
|
||||
@@ -73,14 +73,14 @@
|
||||
<ui:SettingsExpanderItem
|
||||
ActionIconSource="Refresh"
|
||||
Command="{Binding $parent[spp:Settings_Plugin].((spp:SettingsPageViewModel)DataContext).CheckUpdate_Click}"
|
||||
Content="{Binding Path=Res.CheckUpdate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.CheckUpdate, Mode=OneWay, Source={x:Static spp:Strings.CheckUpdate}}"
|
||||
IsClickEnabled="True">
|
||||
<ui:SettingsExpanderItem.Description>
|
||||
<MultiBinding StringFormat="{}{0}{1}">
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding Mode="OneWay" Path="Data.Version" />
|
||||
</MultiBinding>
|
||||
</ui:SettingsExpanderItem.Description>
|
||||
@@ -89,19 +89,19 @@
|
||||
ActionIconSource="Open"
|
||||
Command="{Binding $parent[spp:Settings_Plugin].((spp:SettingsPageViewModel)DataContext).OpenPluginDirectory_Click}"
|
||||
CommandParameter="{Binding Data.AssemblyLocation}"
|
||||
Content="{Binding Path=Res.Plugin_OpenFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Plugin_OpenFolder, Mode=OneWay, Source={x:Static spp:Strings.Plugin_OpenFolder}}"
|
||||
IsClickEnabled="True" />
|
||||
<ui:SettingsExpanderItem
|
||||
ActionIconSource="Open"
|
||||
Command="{Binding $parent[spp:Settings_Plugin].((spp:SettingsPageViewModel)DataContext).OpenPluginCacheDirectory_Click}"
|
||||
CommandParameter="{Binding Data.CacheDirectory}"
|
||||
Content="{Binding Path=Res.Plugin_OpenCacheFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Plugin_OpenCacheFolder, Mode=OneWay, Source={x:Static spp:Strings.Plugin_OpenCacheFolder}}"
|
||||
IsClickEnabled="True" />
|
||||
<ui:SettingsExpanderItem
|
||||
ActionIconSource="Delete"
|
||||
Command="{Binding $parent[spp:Settings_Plugin].((spp:SettingsPageViewModel)DataContext).DeletePlugin_Click}"
|
||||
CommandParameter="{Binding Data}"
|
||||
Content="{Binding Path=Res.Plugin_Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Plugin_Delete, Mode=OneWay, Source={x:Static spp:Strings.Plugin_Delete}}"
|
||||
IsClickEnabled="True" />
|
||||
</ui:SettingsExpander>
|
||||
</DataTemplate>
|
||||
@@ -111,17 +111,17 @@
|
||||
<!--<ui:SettingsExpander
|
||||
Description="{Binding Path=Res.Plugin_ManageAllInstalledPlugins,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}"
|
||||
Source={x:Static spp:Strings.Plugin_ManageAllInstalledPlugins}}"
|
||||
Header="{Binding Path=Res.Plugin_InstalledPlugins,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}"
|
||||
Source={x:Static spp:Strings.Plugin_InstalledPlugins}}"
|
||||
IsExpanded="True"
|
||||
ItemsSource="{Binding Plugins}">
|
||||
<ui:SettingsExpander.IconSource>
|
||||
<ui:SymbolIconSource Symbol="Calculator" />
|
||||
</ui:SettingsExpander.IconSource>
|
||||
<ui:SettingsExpander.Footer>
|
||||
<Button Content="{Binding Path=Res.Plugin_OpenFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Content="{Binding Path=Res.Plugin_OpenFolder, Mode=OneWay, Source={x:Static spp:Strings.Plugin_OpenFolder}}" />
|
||||
</ui:SettingsExpander.Footer>
|
||||
<ui:SettingsExpander.ItemTemplate>
|
||||
<DataTemplate>
|
||||
@@ -148,21 +148,21 @@
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<DropDownButton.Flyout>
|
||||
<MenuFlyout>
|
||||
<MenuItem Command="{Binding Path=DataContext.CheckUpdate_Click, RelativeSource={RelativeSource AncestorType=spp:Settings_Plugin}}" Header="{Binding Path=Res.CheckUpdate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<MenuItem Command="{Binding Path=DataContext.CheckUpdate_Click, RelativeSource={RelativeSource AncestorType=spp:Settings_Plugin}}" Header="{Binding Path=Res.CheckUpdate, Mode=OneWay, Source={x:Static spp:Strings.CheckUpdate}}" />
|
||||
<MenuItem
|
||||
Command="{Binding Path=DataContext.OpenPluginDirectory_Click,
|
||||
RelativeSource={RelativeSource AncestorType=spp:Settings_Plugin}}"
|
||||
CommandParameter="{Binding Data.AssemblyLocation}"
|
||||
Header="{Binding Path=Res.Plugin_OpenFolder,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />
|
||||
Source={x:Static spp:Strings.Plugin_OpenFolder}}" />
|
||||
<MenuItem
|
||||
Command="{Binding Path=DataContext.OpenPluginCacheDirectory_Click,
|
||||
RelativeSource={RelativeSource AncestorType=spp:Settings_Plugin}}"
|
||||
CommandParameter="{Binding Data.CacheDirectory}"
|
||||
Header="{Binding Path=Res.Plugin_OpenCacheFolder,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />
|
||||
Source={x:Static spp:Strings.Plugin_OpenCacheFolder}}" />
|
||||
<MenuItem Header="-" />
|
||||
<MenuItem
|
||||
Command="{Binding Path=DataContext.DeletePlugin_Click,
|
||||
@@ -170,7 +170,7 @@
|
||||
CommandParameter="{Binding Data}"
|
||||
Header="{Binding Path=Res.Plugin_Delete,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />
|
||||
Source={x:Static spp:Strings.Plugin_Delete}}" />
|
||||
</MenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
|
||||
@@ -16,18 +16,19 @@
|
||||
<StackPanel Spacing="{StaticResource SettingsSpacing}">
|
||||
<TextBlock
|
||||
Margin="0,0,0,10"
|
||||
Text="{Binding Path=Res.Settings_Steam, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Settings_Steam, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam}}"
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
<spp:OptionsDisplayItem Description="{Binding Source={x:Static ms:SteamSettings.SteamProgramPath}, Path=Value, Mode=OneWay}" Header="{Binding Path=Res.Settings_Steam_Path, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Source={x:Static ms:SteamSettings.SteamProgramPath}, Path=Value, Mode=OneWay}"
|
||||
Header="{Binding Path=Res.Settings_Steam_Path, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_Path}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="Segoe Fluent Icons" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
<spp:OptionsDisplayItem.ActionButton>
|
||||
<Button Command="{Binding SelectSteamProgramLocation}" Content="{Binding Path=Res.LocalAuth_ExportAuth_SelectPath, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{Binding SelectSteamProgramLocation}" Content="{Binding Path=Res.LocalAuth_ExportAuth_SelectPath, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_ExportAuth_SelectPath}}" />
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_Steam_AutoRunSteam, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_Steam_AutoRunSteam, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_AutoRunSteam}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -37,8 +38,8 @@
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
Description="{Binding Path=Res.Settings_Steam_AdminRunPrompt, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_Steam_RuningAdmin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Settings_Steam_AdminRunPrompt, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_AdminRunPrompt}}"
|
||||
Header="{Binding Path=Res.Settings_Steam_RuningAdmin, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_RuningAdmin}}"
|
||||
IsVisible="{spp:OnPlatform Windows}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="Segoe Fluent Icons" Glyph="" />
|
||||
@@ -48,7 +49,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_Steam_RuningMinimize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_Steam_RuningMinimize, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_RuningMinimize}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -57,7 +58,8 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_Steam_NoAutoUpdate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Settings_Steam_NotCheckUpdate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_Steam_NoAutoUpdate, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_NoAutoUpdate}}"
|
||||
Header="{Binding Path=Res.Settings_Steam_NotCheckUpdate, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_NotCheckUpdate}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -66,7 +68,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_Steam_RunSteamChina, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_Steam_RunSteamChina, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_RunSteamChina}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -75,7 +77,8 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_Steam_AutoPopupMessage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Header="{Binding Path=Res.Settings_Steam_CheckSteamRuningNotification, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Path=Res.Settings_Steam_AutoPopupMessage, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_AutoPopupMessage}}"
|
||||
Header="{Binding Path=Res.Settings_Steam_CheckSteamRuningNotification, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_CheckSteamRuningNotification}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -84,12 +87,13 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Description="{Binding Source={x:Static ms:SteamSettings.SteamStratParameter}, Path=Value, Mode=OneWay}" Header="{Binding Path=Res.Settings_Steam_SteamStratParameter, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:OptionsDisplayItem Description="{Binding Source={x:Static ms:SteamSettings.SteamStratParameter}, Path=Value, Mode=OneWay}"
|
||||
Header="{Binding Path=Res.Settings_Steam_SteamStratParameter, Mode=OneWay, Source={x:Static spp:Strings.Settings_Steam_SteamStratParameter}}">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="Segoe Fluent Icons" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
<spp:OptionsDisplayItem.ActionButton>
|
||||
<Button Command="{Binding EditSteamParameter}" Content="{Binding Path=Res.Edit, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{Binding EditSteamParameter}" Content="{Binding Path=Res.Edit, Mode=OneWay, Source={x:Static spp:Strings.Edit}}" />
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
<!--<spp:OptionsDisplayItem.Content>
|
||||
<TextBox Classes="clearButton"
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
<StackPanel Spacing="{StaticResource SettingsSpacing}">
|
||||
<TextBlock
|
||||
Margin="0,0,0,10"
|
||||
Text="{Binding Path=Res.Settings_UI, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Settings_UI, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI}}"
|
||||
Theme="{StaticResource SubtitleTextBlockStyle}" />
|
||||
|
||||
<Border IsEnabled="{Binding Path=User, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}">
|
||||
<ui:SettingsExpander
|
||||
Description="{Binding Path=Res.Advertisement_NoShow_Tip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Advertisement_NoShow, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Advertisement_NoShow_Tip, Mode=OneWay, Source={x:Static spp:Strings.Advertisement_NoShow_Tip}}"
|
||||
Header="{Binding Path=Res.Advertisement_NoShow, Mode=OneWay, Source={x:Static spp:Strings.Advertisement_NoShow}}"
|
||||
IsEnabled="{Binding Path=User.UserType, Mode=OneWay, Source={x:Static s:UserService.Current}, Converter={StaticResource EnumEqualValueConverter}, ConverterParameter={x:Static enum:UserType.Sponsor}}">
|
||||
<ui:SettingsExpander.IconSource>
|
||||
<ui:FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource HeartBroken}" />
|
||||
@@ -37,8 +37,8 @@
|
||||
</Border>
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
Description="{Binding Path=Res.Settings_UI_ThemeStyle, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_Theme, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Settings_UI_ThemeStyle, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_ThemeStyle}}"
|
||||
Header="{Binding Path=Res.Settings_Theme, Mode=OneWay, Source={x:Static spp:Strings.Settings_Theme}}"
|
||||
Icon="DarkTheme">
|
||||
<spp:OptionsDisplayItem.ActionButton>
|
||||
<ComboBox SelectedItem="{Binding Source={x:Static ms:UISettings.Theme}, Path=Value, Mode=TwoWay, Converter={StaticResource EnumConverter}, ConverterParameter={x:Type spp:AppTheme}}">
|
||||
@@ -56,17 +56,17 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
<spp:OptionsDisplayItem
|
||||
Description="{Binding Path=Res.Settings_UI_AccentColor, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Settings_UI_AccentColor, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_AccentColor}}"
|
||||
Expands="True"
|
||||
Header="{Binding Path=Res.Settings_ThemeAccent, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_ThemeAccent, Mode=OneWay, Source={x:Static spp:Strings.Settings_ThemeAccent}}"
|
||||
Icon="ColorLine"
|
||||
IsExpanded="{Binding Path=IsChecked, ElementName=AccentCustom, Mode=OneWay}">
|
||||
<spp:OptionsDisplayItem.ActionButton>
|
||||
<StackPanel Orientation="Horizontal" Spacing="10">
|
||||
<RadioButton Content="{Binding Path=Res.Settings_UI_SystemDefault, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsChecked="{Binding Source={x:Static ms:UISettings.UseSystemThemeAccent}, Path=Value, Mode=TwoWay}" />
|
||||
<RadioButton Content="{Binding Path=Res.Settings_UI_SystemDefault, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_SystemDefault}}" IsChecked="{Binding Source={x:Static ms:UISettings.UseSystemThemeAccent}, Path=Value, Mode=TwoWay}" />
|
||||
<RadioButton
|
||||
x:Name="AccentCustom"
|
||||
Content="{Binding Path=Res.Settings_UI_Custom, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Settings_UI_Custom, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_Custom}}"
|
||||
IsChecked="{Binding Source={x:Static ms:UISettings.UseSystemThemeAccent}, Path=!Value, Mode=OneWay}" />
|
||||
</StackPanel>
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
@@ -76,7 +76,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
Text="{Binding Path=Res.Settings_UI_PreviewColor, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Settings_UI_PreviewColor, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_PreviewColor}}" />
|
||||
|
||||
<Grid
|
||||
HorizontalAlignment="Left"
|
||||
@@ -252,7 +252,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
Text="{Binding Path=Res.Settings_UI_CustomColor, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Settings_UI_CustomColor, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_CustomColor}}" />
|
||||
|
||||
<ui:ColorPickerButton
|
||||
DockPanel.Dock="Right"
|
||||
@@ -270,8 +270,8 @@
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
Description="{Binding Path=Res.Settings_UI_DefaultLanguage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_Language, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Settings_UI_DefaultLanguage, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_DefaultLanguage}}"
|
||||
Header="{Binding Path=Res.Settings_Language, Mode=OneWay, Source={x:Static spp:Strings.Settings_Language}}"
|
||||
Navigates="False">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="Segoe Fluent Icons" Glyph="" />
|
||||
@@ -291,8 +291,8 @@
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
Description="{Binding Path=Res.Settings_UI_DefaultFonts, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_Fonts, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Settings_UI_DefaultFonts, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_DefaultFonts}}"
|
||||
Header="{Binding Path=Res.Settings_Fonts, Mode=OneWay, Source={x:Static spp:Strings.Settings_Fonts}}"
|
||||
Icon="Font"
|
||||
Navigates="False">
|
||||
<spp:OptionsDisplayItem.ActionButton>
|
||||
@@ -314,8 +314,8 @@
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
Description="{Binding Path=Res.Settings_UI_WindowBackgroundStyle, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_UI_WindowTransparencyMaterial, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Description="{Binding Path=Res.Settings_UI_WindowBackgroundStyle, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_WindowBackgroundStyle}}"
|
||||
Header="{Binding Path=Res.Settings_UI_WindowTransparencyMaterial, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_WindowTransparencyMaterial}}"
|
||||
Navigates="False">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="Segoe Fluent Icons" Glyph="" />
|
||||
@@ -336,7 +336,7 @@
|
||||
</spp:OptionsDisplayItem.ActionButton>
|
||||
</spp:OptionsDisplayItem>
|
||||
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_UI_BackgroundOpacity, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Navigates="False">
|
||||
<spp:OptionsDisplayItem Header="{Binding Path=Res.Settings_UI_BackgroundOpacity, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_BackgroundOpacity}}" Navigates="False">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</spp:OptionsDisplayItem.Icon>
|
||||
@@ -351,7 +351,7 @@
|
||||
|
||||
<spp:OptionsDisplayItem
|
||||
Expands="True"
|
||||
Header="{Binding Path=Res.Settings_UI_CustomBackgroundImage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Settings_UI_CustomBackgroundImage, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_CustomBackgroundImage}}"
|
||||
IsExpanded="{Binding Source={x:Static ms:UISettings.WindowBackgroundCustomImage}, Path=Value, Mode=OneWay}"
|
||||
Navigates="False">
|
||||
<spp:OptionsDisplayItem.Icon>
|
||||
@@ -367,7 +367,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
Text="{Binding Path=Res.PreviewPictures, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.PreviewPictures, Mode=OneWay, Source={x:Static spp:Strings.PreviewPictures}}" />
|
||||
|
||||
<Image
|
||||
Width="250"
|
||||
@@ -389,7 +389,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
Text="{Binding Path=Res.Settings_UI_BackgroundImageOpacity, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Settings_UI_BackgroundImageOpacity, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_BackgroundImageOpacity}}" />
|
||||
<Slider
|
||||
MinWidth="250"
|
||||
DockPanel.Dock="Right"
|
||||
@@ -408,11 +408,11 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
Text="{Binding Path=Res.SelectPicture, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.SelectPicture, Mode=OneWay, Source={x:Static spp:Strings.SelectPicture}}" />
|
||||
<Button
|
||||
MinWidth="150"
|
||||
Command="{Binding SelectImage_Click}"
|
||||
Content="{Binding Path=Res.Settings_UI_SelectImage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Settings_UI_SelectImage, Mode=OneWay, Source={x:Static spp:Strings.Settings_UI_SelectImage}}"
|
||||
DockPanel.Dock="Right" />
|
||||
</DockPanel>
|
||||
|
||||
@@ -425,7 +425,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
DockPanel.Dock="Left"
|
||||
Text="{Binding Path=Res.PictureZoom, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.PictureZoom, Mode=OneWay, Source={x:Static spp:Strings.PictureZoom}}" />
|
||||
<ComboBox
|
||||
MinWidth="150"
|
||||
DockPanel.Dock="Right"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<StackPanel Classes="Mid">
|
||||
<TextBlock
|
||||
HorizontalAlignment="Left"
|
||||
Text="{Binding Path=Res.User_FastLoginTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.User_FastLoginTip, Mode=OneWay, Source={x:Static spp:Strings.User_FastLoginTip}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<ItemsControl Background="Transparent" ItemsSource="{Binding ExternalLoginChannels}">
|
||||
<ItemsControl.Styles>
|
||||
@@ -107,7 +107,7 @@
|
||||
MaxLength="{x:Static com:PhoneNumberHelper.ChineseMainlandPhoneNumberLength}"
|
||||
Text="{Binding PhoneNumber}"
|
||||
TextAlignment="Left"
|
||||
Watermark="{Binding Path=Res.User_Phone, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.User_Phone, Mode=OneWay, Source={x:Static spp:Strings.User_Phone}}" />
|
||||
<Border HorizontalAlignment="Left" Cursor="Hand">
|
||||
<DropDownButton
|
||||
Margin="0"
|
||||
@@ -139,7 +139,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
MaxLength="{x:Static columns:MaxLengths.SMS_CAPTCHA}"
|
||||
Text="{Binding SmsCode}"
|
||||
Watermark="{Binding Path=Res.User_SMSCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.User_SMSCode, Mode=OneWay, Source={x:Static spp:Strings.User_SMSCode}}" />
|
||||
<Border
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Stretch"
|
||||
@@ -162,22 +162,22 @@
|
||||
HorizontalContentAlignment="Center"
|
||||
Classes="accent"
|
||||
Command="{Binding Submit}"
|
||||
Content="{Binding Path=Res.LoginAndRegister, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.LoginAndRegister, Mode=OneWay, Source={x:Static spp:Strings.LoginAndRegister}}" />
|
||||
|
||||
</StackPanel>
|
||||
|
||||
<!-- 2 加载中状态 -->
|
||||
<StackPanel Classes="Mid">
|
||||
<TextBlock Text="{Binding Path=Res.User_WaitFastLoginTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" TextWrapping="Wrap" />
|
||||
<TextBlock Text="{Binding Path=Res.User_WaitFastLoginTip, Mode=OneWay, Source={x:Static spp:Strings.User_WaitFastLoginTip}}" TextWrapping="Wrap" />
|
||||
|
||||
<WrapPanel Margin="0,20" HorizontalAlignment="Center">
|
||||
<TextBlock Text="{Binding Path=Res.User_LoginUnexpectedPrompt, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.User_LoginUnexpectedPrompt, Mode=OneWay, Source={x:Static spp:Strings.User_LoginUnexpectedPrompt}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<ui:HyperlinkButton
|
||||
Margin="5,0"
|
||||
Padding="0"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding ManualLogin}">
|
||||
<TextBlock Text="{Binding Path=Res.Login_ManualLogin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.Login_ManualLogin, Mode=OneWay, Source={x:Static spp:Strings.Login_ManualLogin}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
</ui:HyperlinkButton>
|
||||
</WrapPanel>
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
<Button
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding ChangeState}"
|
||||
Content="{Binding Path=Res.Cancel, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Cancel, Mode=OneWay, Source={x:Static spp:Strings.Cancel}}"
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<Button.CommandParameter>
|
||||
<x:Int16>0</x:Int16>
|
||||
@@ -207,7 +207,7 @@
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding ChooseChannel}"
|
||||
CommandParameter="{Binding CurrentSelectChannel}"
|
||||
Content="{Binding Path=Res.Retry, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Retry, Mode=OneWay, Source={x:Static spp:Strings.Retry}}"
|
||||
Theme="{StaticResource TransparentButton}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
@@ -220,7 +220,7 @@
|
||||
HorizontalAlignment="Center">
|
||||
<TextBlock
|
||||
FontSize="12"
|
||||
Text="{Binding Path=Res.User_RegisterAgreed, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.User_RegisterAgreed, Mode=OneWay, Source={x:Static spp:Strings.User_RegisterAgreed}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<ui:HyperlinkButton
|
||||
Margin="5,0"
|
||||
@@ -228,16 +228,16 @@
|
||||
Command="{Binding OpenHyperlink}"
|
||||
CommandParameter="Agreement"
|
||||
Cursor="Hand">
|
||||
<TextBlock Text="{Binding Path=Res.User_Agreement, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.User_Agreement, Mode=OneWay, Source={x:Static spp:Strings.User_Agreement}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
</ui:HyperlinkButton>
|
||||
<TextBlock Text="{Binding Path=Res.And, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.And, Mode=OneWay, Source={x:Static spp:Strings.And}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<ui:HyperlinkButton
|
||||
Margin="5,0"
|
||||
Padding="0"
|
||||
Command="{Binding OpenHyperlink}"
|
||||
CommandParameter="Privacy"
|
||||
Cursor="Hand">
|
||||
<TextBlock Text="{Binding Path=Res.User_Privacy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.User_Privacy, Mode=OneWay, Source={x:Static spp:Strings.User_Privacy}}" Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
</ui:HyperlinkButton>
|
||||
</WrapPanel>
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
<Button.CommandParameter>
|
||||
<x:Int16>0</x:Int16>
|
||||
</Button.CommandParameter>
|
||||
<TextBlock Text="{Binding Path=Res.User_FastLogin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.User_FastLogin, Mode=OneWay, Source={x:Static spp:Strings.User_FastLogin}}" />
|
||||
</Button>
|
||||
<Separator
|
||||
Height="18"
|
||||
@@ -272,7 +272,7 @@
|
||||
<Button.CommandParameter>
|
||||
<x:Int16>1</x:Int16>
|
||||
</Button.CommandParameter>
|
||||
<TextBlock Text="{Binding Path=Res.User_PhoneLogin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.User_PhoneLogin, Mode=OneWay, Source={x:Static spp:Strings.User_PhoneLogin}}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<DockPanel>
|
||||
<!--<Button
|
||||
Margin="0,0,0,5"
|
||||
Content="{Binding Path=Res.Notice_AllMarkHasRead,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Notice_AllMarkHasRead,Mode=OneWay,Source={x:Static spp:Strings.Notice_AllMarkHasRead}}"
|
||||
Cursor="Hand"
|
||||
DockPanel.Dock="Top"
|
||||
Theme="{StaticResource HyperlinkButton}" />-->
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
Margin="0,5"
|
||||
HorizontalAlignment="Center"
|
||||
Foreground="DodgerBlue"
|
||||
Text="{Binding Path=Res.UploadFlow, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.UploadFlow, Mode=OneWay, Source={x:Static spp:Strings.UploadFlow}}"
|
||||
Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<TextBlock
|
||||
x:Name="textBlockRead"
|
||||
@@ -37,7 +37,7 @@
|
||||
Margin="0,5"
|
||||
HorizontalAlignment="Center"
|
||||
Foreground="IndianRed"
|
||||
Text="{Binding Path=Res.DownloadFlow, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.DownloadFlow, Mode=OneWay, Source={x:Static spp:Strings.DownloadFlow}}"
|
||||
Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<TextBlock
|
||||
x:Name="textBlockWrite"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.CommunityFix_StartProxy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.CommunityFix_StartProxy, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_StartProxy}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center">
|
||||
<!--<Run Text="{Binding Path=Res.CommunityFix_StopProxy,Source={x:Static s:ResourceService.Current}},Mode=OneWay}" />
|
||||
<!--<Run Text="{Binding Path=Res.CommunityFix_StopProxy,Source={x:Static spp:Strings.CommunityFix_StopProxy}},Mode=OneWay}" />
|
||||
<Run Text=" " />
|
||||
<Run Text="{Binding Path=AccelerateTime,Source={x:Static s:ProxyService.Current}},Mode=OneWay,Converter={StaticResource StringFormatConverter}}" />-->
|
||||
<TextBlock.Text>
|
||||
@@ -85,7 +85,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.CommunityFix_StopProxy"
|
||||
Source="{x:Static s:ResourceService.Current}}" />
|
||||
Source="{x:Static spp:Strings.CommunityFix_StopProxy}}" />
|
||||
<CompiledBinding
|
||||
Converter="{StaticResource StringFormatConverter}"
|
||||
Mode="OneWay"
|
||||
@@ -123,7 +123,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.CommunityFix_MenuName, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.CommunityFix_MenuName, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_MenuName}}" />
|
||||
</Panel>
|
||||
</ToggleButton>
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
</DataTemplate>
|
||||
</ui:MenuFlyoutSubItem.ItemTemplate>
|
||||
</ui:MenuFlyoutSubItem>-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static spp:Strings.Settings_Plugin}}" />-->
|
||||
<!--<ui:MenuFlyoutSeparator />-->
|
||||
<!--<ui:MenuFlyoutItem Text="安装证书" />
|
||||
<ui:MenuFlyoutItem Text="移除证书" />
|
||||
@@ -180,7 +180,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -188,9 +188,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -198,7 +198,7 @@
|
||||
</spp:PageBase.ActionContent>
|
||||
<spp:PageBase.PaneContent>
|
||||
<StackPanel Margin="15,20" Spacing="10">
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_ProxyMode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_ProxyMode, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ProxyMode}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
|
||||
<TabStrip
|
||||
Background="{DynamicResource ControlOnImageFillColorDefaultBrush}"
|
||||
@@ -215,14 +215,14 @@
|
||||
</TabStrip.ItemTemplate>
|
||||
</TabStrip>
|
||||
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_MenuName, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_MenuName, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_MenuName}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<DockPanel>
|
||||
<ToggleSwitch
|
||||
VerticalAlignment="Center"
|
||||
Classes="NoContent"
|
||||
IsChecked="{Binding Source={x:Static s:ProxyService.Current}, Path=IsEnableScript, Mode=TwoWay}"
|
||||
OffContent="{Binding Path=Res.CommunityFix_EnableScriptService, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
OnContent="{Binding Path=Res.CommunityFix_EnableScriptService, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
OffContent="{Binding Path=Res.CommunityFix_EnableScriptService, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_EnableScriptService}}"
|
||||
OnContent="{Binding Path=Res.CommunityFix_EnableScriptService, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_EnableScriptService}}" />
|
||||
|
||||
<!--<WrapPanel>-->
|
||||
<TextBlock
|
||||
@@ -247,7 +247,7 @@
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding Source={x:Static s:ProxyService.Current}, Path=RefreshIpv6Support, Mode=OneWay}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}">
|
||||
<ui:SymbolIcon Symbol="Refresh" />
|
||||
</Button>
|
||||
</WrapPanel>-->
|
||||
@@ -256,8 +256,8 @@
|
||||
VerticalAlignment="Center"
|
||||
Classes="NoContent"
|
||||
IsChecked="{Binding Source={x:Static ms:ProxySettings.ProgramStartupRunProxy}, Path=Value, Mode=TwoWay}"
|
||||
OffContent="{Binding Path=Res.CommunityFix_AutoRunProxy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
OnContent="{Binding Path=Res.CommunityFix_AutoRunProxy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
OffContent="{Binding Path=Res.CommunityFix_AutoRunProxy, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_AutoRunProxy}}"
|
||||
OnContent="{Binding Path=Res.CommunityFix_AutoRunProxy, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_AutoRunProxy}}" />
|
||||
|
||||
<!--<StackPanel Orientation="Horizontal" Spacing="4">
|
||||
<ToggleButton
|
||||
@@ -265,7 +265,7 @@
|
||||
Theme="{StaticResource TransparentToggleButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_OnlyInstalled,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}">
|
||||
Source={x:Static spp:Strings.GameList_OnlyInstalled}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:SymbolIcon Symbol="Play" />
|
||||
</Viewbox>
|
||||
@@ -276,7 +276,7 @@
|
||||
Theme="{StaticResource TransparentToggleButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_OnlyCloudArchive,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}">
|
||||
Source={x:Static spp:Strings.GameList_OnlyCloudArchive}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:SymbolIcon Symbol="CloudSyncComplete" />
|
||||
</Viewbox>
|
||||
@@ -286,37 +286,37 @@
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding ProxySettingsCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_ProxySettings, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_ProxySettings, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ProxySettings}}" />
|
||||
|
||||
<Separator Margin="0,8" Classes="Horizontal" />
|
||||
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding SetupCertificateCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_SetupCertificate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_SetupCertificate, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_SetupCertificate}}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding DeleteCertificateCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_DeleteCertificate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_DeleteCertificate, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_DeleteCertificate}}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding OpenCertificateDirCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_OpenCertificateDir, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_OpenCertificateDir, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_OpenCertificateDir}}" />
|
||||
|
||||
<Separator Margin="0,8" Classes="Horizontal" />
|
||||
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding EditHostsFileCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_EditHostsFile, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_EditHostsFile, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_EditHostsFile}}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding ResetHostsFileCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_ResetHostsFile, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_ResetHostsFile, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ResetHostsFile}}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding OpenHostsDirCommand}"
|
||||
Content="{Binding Path=Res.CommunityFix_OpenHostsDir, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.CommunityFix_OpenHostsDir, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_OpenHostsDir}}" />
|
||||
|
||||
<!--<ui:FAComboBox ItemsSource="{Binding Source={x:Static ms:ProxySettings.ProxyModes}, Path=., Mode=OneWay}" SelectedItem="{Binding Source={x:Static ms:ProxySettings.ProxyMode}, Path=Value, Mode=TwoWay}">
|
||||
<ui:FAComboBox.ItemTemplate>
|
||||
@@ -358,7 +358,8 @@
|
||||
</ia:DataTriggerBehavior>
|
||||
</i:Interaction.Behaviors>-->
|
||||
|
||||
<spp:ContentLoader IsLoading="{Binding Source={x:Static s:ProxyService.Current}, Path=!!!ProxyDomainsList.Count, Mode=OneWay}" NoResultMessage="{Binding Path=Res.CommunityFix_ItemsEmpty, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<spp:ContentLoader IsLoading="{Binding Source={x:Static s:ProxyService.Current}, Path=!!!ProxyDomainsList.Count, Mode=OneWay}"
|
||||
NoResultMessage="{Binding Path=Res.CommunityFix_ItemsEmpty, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ItemsEmpty}}">
|
||||
<Grid ColumnDefinitions="*,Auto">
|
||||
<ItemsControl ItemsSource="{Binding Source={x:Static s:ProxyService.Current}, Path=ProxyDomainsList, Mode=OneWay}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
@@ -435,8 +436,8 @@
|
||||
x:Name="Tabs"
|
||||
ItemContainerTheme="{StaticResource TabItemStyle}"
|
||||
Theme="{StaticResource TabStripStyle}">
|
||||
<TabStripItem Content="{Binding Path=Res.CommunityFix_FlowStatistics, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TabStripItem Content="{Binding Path=Res.CommunityFix_Services, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TabStripItem Content="{Binding Path=Res.CommunityFix_FlowStatistics, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_FlowStatistics}}" />
|
||||
<TabStripItem Content="{Binding Path=Res.CommunityFix_Services, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_Services}}" />
|
||||
</TabStrip>
|
||||
<StackPanel
|
||||
Grid.Row="0"
|
||||
@@ -450,7 +451,7 @@
|
||||
</Style>
|
||||
</StackPanel.Styles>
|
||||
<!--<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock FontSize="26" Text="{Binding Path=Res.CommunityFix_AlreadyProxy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock FontSize="26" Text="{Binding Path=Res.CommunityFix_AlreadyProxy, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_AlreadyProxy}}" />
|
||||
<TextBlock
|
||||
Margin="5,0,0,0"
|
||||
FontSize="26"
|
||||
@@ -459,12 +460,12 @@
|
||||
StringFormat={}{0:hh\\:mm\\:ss}}" />
|
||||
</StackPanel>-->
|
||||
<TextBlock>
|
||||
<Run Text="{Binding Path=Res.CommunityFix_ProxyMode, StringFormat={}{0}:, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Run Text="{Binding Path=Res.CommunityFix_ProxyMode, StringFormat={}{0}:, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ProxyMode, StringFormat={}{0}:}}" />
|
||||
<Run Text="{Binding Source={x:Static ms:ProxySettings.ProxyMode}, Path=Value, Mode=OneWay, Converter={StaticResource EnumLocalizationNameConverter}}" />
|
||||
|
||||
<Run Text=" " />
|
||||
|
||||
<Run Text="{Binding Path=Res.CommunityFix_EnableScriptService, StringFormat={}{0}:, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Run Text="{Binding Path=Res.CommunityFix_EnableScriptService, StringFormat={}{0}:, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_EnableScriptService, StringFormat={}{0}:}}" />
|
||||
<Run Text="{Binding Source={x:Static s:ProxyService.Current}, Path=IsEnableScript, Converter={StaticResource StringFormatConverter}}" />
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
@@ -487,7 +488,7 @@
|
||||
Margin="0,0,0,10"
|
||||
DockPanel.Dock="Top"
|
||||
FontSize="16"
|
||||
Text="{Binding Path=Res.CommunityFix_AccelerationsEnable, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.CommunityFix_AccelerationsEnable, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_AccelerationsEnable}}" />
|
||||
<ScrollViewer>
|
||||
<ItemsControl ItemsSource="{Binding EnableProxyDomains, Source={x:Static s:ProxyService.Current}}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
@@ -514,7 +515,7 @@
|
||||
Margin="0,0,0,10"
|
||||
DockPanel.Dock="Top"
|
||||
FontSize="16"
|
||||
Text="{Binding Path=Res.CommunityFix_ScriptsEnable, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.CommunityFix_ScriptsEnable, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ScriptsEnable}}" />
|
||||
<ScrollViewer>
|
||||
<ItemsControl ItemsSource="{Binding EnableProxyScripts^, Source={x:Static s:ProxyService.Current}}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
|
||||
@@ -30,12 +30,12 @@
|
||||
</On>
|
||||
</OnFormFactor>
|
||||
</TabStrip.ItemsPanel>
|
||||
<TabStripItem Content="{Binding Path=Res.CommunityFix, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabStripItem Content="{Binding Path=Res.CommunityFix, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix}}">
|
||||
<TabStripItem.Tag>
|
||||
<x:Type TypeName="spp:AcceleratorPage" />
|
||||
</TabStripItem.Tag>
|
||||
</TabStripItem>
|
||||
<TabStripItem Content="{Binding Path=Res.ScriptConfig, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabStripItem Content="{Binding Path=Res.ScriptConfig, Mode=OneWay, Source={x:Static spp:Strings.ScriptConfig}}">
|
||||
<TabStripItem.Tag>
|
||||
<x:Type TypeName="spp:ScriptPage" />
|
||||
</TabStripItem.Tag>
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
x:DataType="spp:ProxySettingsWindowViewModel"
|
||||
mc:Ignorable="d">
|
||||
<StackPanel Margin="{StaticResource PageMargin}" Spacing="{StaticResource SettingsSpacing}">
|
||||
<ui:SettingsExpander Header="{Binding Path=Res.CommunityFix_ProxySettings, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsExpanded="True">
|
||||
<ui:SettingsExpander Header="{Binding Path=Res.CommunityFix_ProxySettings, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ProxySettings}}" IsExpanded="True">
|
||||
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.Settings_Proxy_SystemProxyIp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Settings_Proxy_SystemProxyIp, Mode=OneWay, Source={x:Static spp:Strings.Settings_Proxy_SystemProxyIp}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ui:FAComboBox
|
||||
IsEditable="True"
|
||||
@@ -27,7 +27,7 @@
|
||||
</ui:SettingsExpanderItem>
|
||||
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.Settings_Proxy_CustomDNS, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Settings_Proxy_CustomDNS, Mode=OneWay, Source={x:Static spp:Strings.Settings_Proxy_CustomDNS}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ui:FAComboBox
|
||||
IsEditable="True"
|
||||
@@ -48,35 +48,35 @@
|
||||
<Button Content="{Binding Path=Res.Refresh,Mode=OneWay,Source={x:Static resx:R.Current}}"></Button>
|
||||
</DockPanel>-->
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_AutoRunProxy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_AutoRunProxy, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_AutoRunProxy}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ToggleSwitch Classes="LeftContent" IsChecked="{Binding Source={x:Static ms:ProxySettings.ProgramStartupRunProxy}, Path=Value, Mode=TwoWay}" />
|
||||
</ui:SettingsExpanderItem.Footer>
|
||||
</ui:SettingsExpanderItem>
|
||||
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_ProxyOnlyOnScript, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_ProxyOnlyOnScript, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_ProxyOnlyOnScript}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ToggleSwitch Classes="LeftContent" IsChecked="{Binding Source={x:Static ms:ProxySettings.OnlyEnableProxyScript}, Path=Value, Mode=TwoWay}" />
|
||||
</ui:SettingsExpanderItem.Footer>
|
||||
</ui:SettingsExpanderItem>
|
||||
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_EnableHttpProxyToHttps, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_EnableHttpProxyToHttps, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_EnableHttpProxyToHttps}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ToggleSwitch Classes="LeftContent" IsChecked="{Binding Source={x:Static ms:ProxySettings.EnableHttpProxyToHttps}, Path=Value, Mode=TwoWay}" />
|
||||
</ui:SettingsExpanderItem.Footer>
|
||||
</ui:SettingsExpanderItem>
|
||||
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_EnableUseDoh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_EnableUseDoh, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_EnableUseDoh}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ToggleSwitch Classes="LeftContent" IsChecked="{Binding Source={x:Static ms:ProxySettings.UseDoh}, Path=Value, Mode=TwoWay}" />
|
||||
</ui:SettingsExpanderItem.Footer>
|
||||
</ui:SettingsExpanderItem>
|
||||
|
||||
<ui:SettingsExpanderItem>
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_CustomDohAddres, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.CommunityFix_CustomDohAddres, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_CustomDohAddres}}" />
|
||||
<ui:SettingsExpanderItem.Footer>
|
||||
<ui:FAComboBox
|
||||
IsEditable="True"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
xmlns:s="https://steampp.net/services"
|
||||
xmlns:spp="https://steampp.net/ui"
|
||||
xmlns:ui="using:FluentAvalonia.UI.Controls"
|
||||
Title="{Binding Path=Res.ScriptConfig, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.ScriptConfig, Mode=OneWay, Source={x:Static spp:Strings.ScriptConfig}}"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800"
|
||||
x:CompileBindings="True"
|
||||
@@ -37,7 +37,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.ScriptStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.ScriptStore, Mode=OneWay, Source={x:Static spp:Strings.ScriptStore}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Separator
|
||||
@@ -64,7 +64,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Import, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Import, Mode=OneWay, Source={x:Static spp:Strings.Import}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -83,7 +83,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<DropDownButton
|
||||
@@ -96,10 +96,10 @@
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<DropDownButton.Flyout>
|
||||
<ui:FAMenuFlyout Placement="BottomEdgeAlignedRight">
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.Script_Settings, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.Script_Settings, Mode=OneWay, Source={x:Static spp:Strings.Script_Settings}}" />-->
|
||||
<!--<ui:MenuFlyoutSeparator />-->
|
||||
<ui:ToggleMenuFlyoutItem IsChecked="{Binding Source={x:Static ms:ProxySettings.IsAutoCheckScriptUpdate}, Path=Value, Mode=TwoWay}" Text="{Binding Path=Res.Script_AutoUpdate, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:ToggleMenuFlyoutItem IsChecked="{Binding Source={x:Static ms:ProxySettings.IsOnlyWorkSteamBrowser}, Path=Value, Mode=TwoWay}" Text="{Binding Path=Res.CommunityFix_OnlySteamBrowser, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:ToggleMenuFlyoutItem IsChecked="{Binding Source={x:Static ms:ProxySettings.IsAutoCheckScriptUpdate}, Path=Value, Mode=TwoWay}" Text="{Binding Path=Res.Script_AutoUpdate, Mode=OneWay, Source={x:Static spp:Strings.Script_AutoUpdate}}" />
|
||||
<ui:ToggleMenuFlyoutItem IsChecked="{Binding Source={x:Static ms:ProxySettings.IsOnlyWorkSteamBrowser}, Path=Value, Mode=TwoWay}" Text="{Binding Path=Res.CommunityFix_OnlySteamBrowser, Mode=OneWay, Source={x:Static spp:Strings.CommunityFix_OnlySteamBrowser}}" />
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -107,7 +107,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -115,9 +115,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -160,7 +160,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:ScriptPageViewModel)DataContext).EditScriptItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Script_Edit, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Script_Edit, Mode=OneWay, Source={x:Static spp:Strings.Script_Edit}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:SymbolIcon Symbol="CodeHTML" />
|
||||
</Viewbox>
|
||||
@@ -169,7 +169,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:ScriptPageViewModel)DataContext).RefreshScriptItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Script_Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Script_Refresh, Mode=OneWay, Source={x:Static spp:Strings.Script_Refresh}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:SymbolIcon Symbol="Refresh" />
|
||||
</Viewbox>
|
||||
@@ -183,17 +183,17 @@
|
||||
CommandParameter="{Binding}"
|
||||
Text="{Binding Path=Res.Script_Edit,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />
|
||||
Source={x:Static spp:Strings.Script_Edit}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:ScriptPageViewModel)DataContext).RefreshScriptItemButton}"
|
||||
CommandParameter="{Binding}"
|
||||
Text="{Binding Path=Res.Script_Refresh,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />-->
|
||||
Source={x:Static spp:Strings.Script_Refresh}}" />-->
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding OpenBrowserCommand, Source={x:Static spp:App.Instance}}"
|
||||
CommandParameter="{Binding SourceLink}"
|
||||
Text="{Binding Path=Res.Script_Home, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Script_Home, Mode=OneWay, Source={x:Static spp:Strings.Script_Home}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:ScriptPageViewModel)DataContext).DownloadScriptItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
@@ -203,7 +203,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Script_Update"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Script_Update}" />
|
||||
<CompiledBinding Mode="OneWay" Path="NewVersion" />
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
@@ -213,7 +213,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:ScriptPageViewModel)DataContext).DeleteScriptItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}"
|
||||
Text="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static spp:Strings.Delete}}" />
|
||||
</ui:FAMenuFlyout>
|
||||
</spp:AppItem.MoreFlyout>
|
||||
<spp:AppItem.Image>
|
||||
@@ -230,7 +230,7 @@
|
||||
Classes="Circle"
|
||||
IsIndeterminate="True"
|
||||
IsVisible="{Binding IsLoading}"
|
||||
ToolTip.Tip="{Binding Path=Res.Script_ImportLoading, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.Script_ImportLoading, Mode=OneWay, Source={x:Static spp:Strings.Script_ImportLoading}}" />
|
||||
</Panel>
|
||||
</spp:AppItem.Image>
|
||||
</spp:AppItem>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<spp:AppItem.Status>
|
||||
<Panel>
|
||||
<Border Classes="Status" IsVisible="{Binding IsExist}">
|
||||
<TextBlock Text="{Binding Path=Res.Installed, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Installed, Mode=OneWay, Source={x:Static spp:Strings.Installed}}" />
|
||||
</Border>
|
||||
<Button
|
||||
Classes="accent"
|
||||
@@ -69,7 +69,7 @@
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding OpenBrowserCommand, Source={x:Static spp:App.Instance}}"
|
||||
CommandParameter="{Binding SourceLink}"
|
||||
Text="{Binding Path=Res.Script_Home, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Script_Home, Mode=OneWay, Source={x:Static spp:Strings.Script_Home}}" />
|
||||
</ui:FAMenuFlyout>
|
||||
</spp:AppItem.MoreFlyout>
|
||||
<spp:AppItem.Image>
|
||||
@@ -86,4 +86,4 @@
|
||||
</ItemsRepeater>
|
||||
</spp:ContentLoader>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
</UserControl>
|
||||
|
||||
+3
-3
@@ -49,7 +49,7 @@
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="{ReflectionBinding Source={x:Static s:ASFService.Current},
|
||||
Path=!IsASFRuning}"
|
||||
Text="{Binding Path=Res.ASF_Start, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.ASF_Start, Mode=OneWay, Source={x:Static spp:Strings.ASF_Start}}" />
|
||||
|
||||
<TextBlock
|
||||
Margin="28,4,0,4"
|
||||
@@ -57,7 +57,7 @@
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="{ReflectionBinding Source={x:Static s:ASFService.Current},
|
||||
Path=IsASFRuning}"
|
||||
Text="{Binding Path=Res.ASF_Stop, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.ASF_Stop, Mode=OneWay, Source={x:Static spp:Strings.ASF_Stop}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -292,4 +292,4 @@
|
||||
<TextBlock Text="{Binding Source={x:Static s:ASFService.Current}, Path=ConsoleLogText, Mode=TwoWay}" />
|
||||
</StackPanel>
|
||||
</spp:ContentLoader>
|
||||
</spp:PageBase>
|
||||
</spp:PageBase>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_Copy,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}">
|
||||
Source={x:Static spp:Strings.LocalAuth_Copy}}">
|
||||
<Viewbox Width="20">
|
||||
<ui:SymbolIcon Symbol="Copy" />
|
||||
</Viewbox>
|
||||
@@ -37,7 +37,7 @@
|
||||
Padding="8"
|
||||
Command="{Binding EditAuthNameAsync}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Auth_EditName, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Auth_EditName, Mode=OneWay, Source={x:Static spp:Strings.Auth_EditName}}">
|
||||
<Viewbox Width="16">
|
||||
<ui:SymbolIcon Symbol="Edit" />
|
||||
</Viewbox>
|
||||
@@ -47,7 +47,7 @@
|
||||
Command="{Binding ShowSteamTradeWindow}"
|
||||
IsVisible="{Binding IsSteamAuthenticator, Mode=OneWay}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_AuthTrade, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_AuthTrade, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_AuthTrade}}">
|
||||
<Viewbox Width="16">
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</Viewbox>
|
||||
@@ -55,7 +55,7 @@
|
||||
<!--<Button
|
||||
Command="{Binding ShowDetailData}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.ViewDetailedData, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.ViewDetailedData, Mode=OneWay, Source={x:Static spp:Strings.ViewDetailedData}}">
|
||||
<Viewbox Width="20">
|
||||
<ui:SymbolIcon Symbol="Calendar" />
|
||||
</Viewbox>
|
||||
@@ -63,7 +63,7 @@
|
||||
<!--<Button
|
||||
Command="{Binding ShowQrCode}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.DisplayQRCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.DisplayQRCode, Mode=OneWay, Source={x:Static spp:Strings.DisplayQRCode}}">
|
||||
<Viewbox Width="20">
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource QrCode}" />
|
||||
</Viewbox>
|
||||
@@ -142,7 +142,7 @@
|
||||
Classes="Plain"
|
||||
Command="{Binding CopyCode}"
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.Copy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Copy, Mode=OneWay, Source={x:Static spp:Strings.Copy}}">
|
||||
<!--<StackPanel Orientation="Horizontal">-->
|
||||
<TextBlock
|
||||
FontSize="20"
|
||||
|
||||
+7
-7
@@ -13,12 +13,12 @@
|
||||
mc:Ignorable="d">
|
||||
<Grid RowDefinitions="Auto,*">
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
Margin="0,0,0,20"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
Message="{Binding Path=Res.LocalAuth_ProtectionAuth_IsOnlyCurrentComputerEncryptTip, Source={x:Static s:ResourceService.Current}, Mode=OneWay}"
|
||||
Message="{Binding Path=Res.LocalAuth_ProtectionAuth_IsOnlyCurrentComputerEncryptTip, Source={x:Static spp:Strings.LocalAuth_ProtectionAuth_IsOnlyCurrentComputerEncryptTip}, Mode=OneWay}"
|
||||
Severity="Warning" />
|
||||
|
||||
<StackPanel Grid.Row="1" Spacing="10">
|
||||
@@ -27,23 +27,23 @@
|
||||
IsEnabled="{Binding HasPasswordProtection}"
|
||||
PasswordChar="{StaticResource PasswordChar}"
|
||||
Text="{Binding Password}"
|
||||
Watermark="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.LocalAuth_ProtectionAuth_Password, Mode=OneWay}" />
|
||||
Watermark="{Binding Source={x:Static spp:Strings.LocalAuth_ProtectionAuth_Password}, Path=Res.LocalAuth_ProtectionAuth_Password, Mode=OneWay}" />
|
||||
<TextBox
|
||||
Classes="revealPasswordButton"
|
||||
IsEnabled="{Binding HasPasswordProtection}"
|
||||
PasswordChar="{StaticResource PasswordChar}"
|
||||
Text="{Binding VerifyPassword}"
|
||||
Watermark="{Binding Path=Res.LocalAuth_ProtectionAuth_VerifyPassword, Source={x:Static s:ResourceService.Current}, Mode=OneWay}" />
|
||||
Watermark="{Binding Path=Res.LocalAuth_ProtectionAuth_VerifyPassword, Source={x:Static spp:Strings.LocalAuth_ProtectionAuth_VerifyPassword}, Mode=OneWay}" />
|
||||
<Grid ColumnDefinitions="*,*">
|
||||
<CheckBox
|
||||
HorizontalAlignment="Center"
|
||||
Content="{Binding Path=Res.Auth_ExportUsingPassword, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_ExportUsingPassword, Mode=OneWay, Source={x:Static spp:Strings.Auth_ExportUsingPassword}}"
|
||||
IsChecked="{Binding HasPasswordProtection}" />
|
||||
|
||||
<CheckBox
|
||||
Grid.Column="1"
|
||||
HorizontalAlignment="Center"
|
||||
Content="{Binding Path=Res.Auth_OnlylocalCanDecrypt, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_OnlylocalCanDecrypt, Mode=OneWay, Source={x:Static spp:Strings.Auth_OnlylocalCanDecrypt}}"
|
||||
IsChecked="{Binding HasLocalProtection}" />
|
||||
</Grid>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
Width="280"
|
||||
HorizontalAlignment="Center"
|
||||
Command="{Binding Export}"
|
||||
Content="{Binding Path=Res.Auth_ExportAll, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Auth_ExportAll, Mode=OneWay, Source={x:Static spp:Strings.Auth_ExportAll}}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
+13
-13
@@ -14,17 +14,17 @@
|
||||
<StackPanel Classes="InfoBox">
|
||||
<Border Classes="Item">
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_Name, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_Name}}" />
|
||||
<TextBox
|
||||
MaxLength="{x:Static spp:IAuthenticatorDTO.MaxLength_Name}"
|
||||
Text="{Binding AuthenticatorName}"
|
||||
Watermark="{Binding Path=Res.Warning_PleaseEnterAuthName, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.Warning_PleaseEnterAuthName, Mode=OneWay, Source={x:Static spp:Strings.Warning_PleaseEnterAuthName}}" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Classes="Item">
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_ImportText, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBox Text="{Binding SecretCode}" Watermark="{Binding Path=Res.GeneralAuth_EnterkeyOrLink, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_ImportText, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_ImportText}}" />
|
||||
<TextBox Text="{Binding SecretCode}" Watermark="{Binding Path=Res.GeneralAuth_EnterkeyOrLink, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_EnterkeyOrLink}}" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Classes="Item" IsVisible="{Binding Platform, Converter={StaticResource EnumEqualValueConverter}, ConverterParameter={x:Static spp:AuthenticatorPlatform.HOTP}}">
|
||||
@@ -93,11 +93,11 @@
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
Command="{Binding GenerateCode}"
|
||||
Content="{Binding Path=Res.GeneralAuth_Code, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.GeneralAuth_Code, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_Code}}" />
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
IsVisible="{Binding AuthType, Converter={StaticResource EnumEqualValueConverter}, ConverterParameter={x:Static spp:AuthType.TOTP}}"
|
||||
Text="{Binding Path=Res.GeneralAuth_VerifySuccessfulImport, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GeneralAuth_VerifySuccessfulImport, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_VerifySuccessfulImport}}" />
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
IsVisible="{Binding AuthType, Converter={StaticResource EnumEqualValueConverter}, ConverterParameter={x:Static spp:AuthType.HOTP}}"
|
||||
@@ -112,15 +112,15 @@
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<!--<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBox Text="{Binding AuthenticatorName}" Watermark="{Binding Path=Res.Warning_PleaseEnterAuthName, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_Name, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_Name}}" />
|
||||
<TextBox Text="{Binding AuthenticatorName}" Watermark="{Binding Path=Res.Warning_PleaseEnterAuthName, Mode=OneWay, Source={x:Static spp:Strings.Warning_PleaseEnterAuthName}}" />
|
||||
</StackPanel>
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_ImportText, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBox Text="{Binding SecretCode}" Watermark="{Binding Path=Res.GeneralAuth_EnterkeyOrLink, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_ImportText, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_ImportText}}" />
|
||||
<TextBox Text="{Binding SecretCode}" Watermark="{Binding Path=Res.GeneralAuth_EnterkeyOrLink, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_EnterkeyOrLink}}" />
|
||||
</StackPanel>-->
|
||||
<!--<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_VerifySuccessfulImport, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_VerifySuccessfulImport, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_VerifySuccessfulImport}}" />
|
||||
<TextBox IsReadOnly="True" Text="{Binding CurrentCode}" />
|
||||
<Button
|
||||
MinWidth="280"
|
||||
@@ -128,12 +128,12 @@
|
||||
Command="{Binding GenerateCode}"
|
||||
Content="{Binding Path=Res.GeneralAuth_Code,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />
|
||||
Source={x:Static spp:Strings.GeneralAuth_Code}}" />
|
||||
</StackPanel>-->
|
||||
<Button
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
Command="{Binding Import}"
|
||||
Content="{Binding Path=Res.ConfirmImport, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.ConfirmImport, Mode=OneWay, Source={x:Static spp:Strings.ConfirmImport}}" />
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
|
||||
+39
-41
@@ -36,7 +36,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Add, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Add, Mode=OneWay, Source={x:Static spp:Strings.Add}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<!--<Button
|
||||
@@ -55,7 +55,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.LocalAuth_CloudSync, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.LocalAuth_CloudSync, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_CloudSync}}" />
|
||||
</Panel>
|
||||
</Button>-->
|
||||
<Button
|
||||
@@ -74,7 +74,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<ToggleButton
|
||||
@@ -93,7 +93,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Settings_Auth, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Settings_Auth, Mode=OneWay, Source={x:Static spp:Strings.Settings_Auth}}" />
|
||||
</Panel>
|
||||
</ToggleButton>
|
||||
<DropDownButton
|
||||
@@ -125,16 +125,14 @@
|
||||
<!-- Text="移除机器验证" /> -->
|
||||
<!-- <ui:MenuFlyoutItem Command="{Binding EncryptHelp}" Text="加密帮助" /> -->
|
||||
<!-- </ui:MenuFlyoutSubItem> -->
|
||||
<ui:MenuFlyoutItem Command="{Binding OpenExportWindow}" Text="{Binding Path=Res.ExportAll, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Command="{Binding OpenExportWindow}" Text="{Binding Path=Res.ExportAll, Mode=OneWay, Source={x:Static spp:Strings.ExportAll}}" />
|
||||
<!--<ui:MenuFlyoutItem
|
||||
Command="{Binding ReLockAuthenticator}"
|
||||
IsEnabled="{Binding IsVerificationPass}"
|
||||
Text="{Binding Path=Res.Auth_lock,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Command="{Binding ShowRecoverWindow}" Text="{Binding Path=Res.Auth_Sync_Recover, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Command="{Binding ResetIndependentPassword}" Text="{Binding Path=Res.Auth_Sync_ResetPassword, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
Text="{Binding Path=Res.Auth_lock, Mode=OneWay, Source={x:Static spp:Strings.Auth_lock}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Command="{Binding ShowRecoverWindow}" Text="{Binding Path=Res.Auth_Sync_Recover, Mode=OneWay, Source={x:Static spp:Strings.Auth_Sync_Recover}}" />
|
||||
<ui:MenuFlyoutItem Command="{Binding ResetIndependentPassword}" Text="{Binding Path=Res.Auth_Sync_ResetPassword, Mode=OneWay, Source={x:Static spp:Strings.Auth_Sync_ResetPassword}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static spp:Strings.Settings_Plugin}}" />-->
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -142,7 +140,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -150,9 +148,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -164,7 +162,7 @@
|
||||
<TextBlock
|
||||
Grid.Row="2"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Filter, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Filter, Mode=OneWay, Source={x:Static spp:Strings.Filter}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
|
||||
<AutoCompleteBox
|
||||
@@ -174,54 +172,54 @@
|
||||
Text="{Binding SearchText}" />
|
||||
|
||||
<TextBlock
|
||||
Text="{Binding Path=Res.EncryptSettings, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.EncryptSettings, Mode=OneWay, Source={x:Static spp:Strings.EncryptSettings}}"
|
||||
Theme="{StaticResource BodyStrongTextBlockStyle}"
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_ProtectionAuth_Info, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_ProtectionAuth_Info, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_ProtectionAuth_Info}}" />
|
||||
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding ReLockAuthenticator}"
|
||||
Content="{Binding Path=Res.Auth_lock, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_lock, Mode=OneWay, Source={x:Static spp:Strings.Auth_lock}}"
|
||||
IsEnabled="{Binding IsVerificationPass}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding SetPasswordProtection}"
|
||||
Content="{Binding Path=Res.Auth_AddPasswordProtect, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_AddPasswordProtect, Mode=OneWay, Source={x:Static spp:Strings.Auth_AddPasswordProtect}}"
|
||||
IsVisible="{Binding !HasPasswordEncrypt}"
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_ProtectionAuth_EnablePasswordTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_ProtectionAuth_EnablePasswordTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_ProtectionAuth_EnablePasswordTip}}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding RemovePasswordProtection}"
|
||||
Content="{Binding Path=Res.Auth_RemovePasswordProtect, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_RemovePasswordProtect, Mode=OneWay, Source={x:Static spp:Strings.Auth_RemovePasswordProtect}}"
|
||||
IsVisible="{Binding HasPasswordEncrypt}" />
|
||||
<ToggleSwitch
|
||||
VerticalAlignment="Center"
|
||||
Classes="NoContent"
|
||||
Command="{Binding ToggleLocalProtection}"
|
||||
IsChecked="{Binding HasLocalPcEncrypt, Mode=OneWay}"
|
||||
OffContent="{Binding Path=Res.Auth_RemoveMachineValidation, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
OnContent="{Binding Path=Res.Auth_AddMachineValidation, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_ProtectionAuth_IsOnlyCurrentComputerEncryptTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
OffContent="{Binding Path=Res.Auth_RemoveMachineValidation, Mode=OneWay, Source={x:Static spp:Strings.Auth_RemoveMachineValidation}}"
|
||||
OnContent="{Binding Path=Res.Auth_AddMachineValidation, Mode=OneWay, Source={x:Static spp:Strings.Auth_AddMachineValidation}}"
|
||||
ToolTip.Tip="{Binding Path=Res.LocalAuth_ProtectionAuth_IsOnlyCurrentComputerEncryptTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_ProtectionAuth_IsOnlyCurrentComputerEncryptTip}}" />
|
||||
<!--<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding ToggleLocalProtection}"
|
||||
Content="{Binding Path=Res.Auth_AddMachineValidation, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_AddMachineValidation, Mode=OneWay, Source={x:Static spp:Strings.Auth_AddMachineValidation}}"
|
||||
IsEnabled="{Binding !HasLocalPcEncrypt}" />
|
||||
<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding ToggleLocalProtection}"
|
||||
Content="{Binding Path=Res.Auth_RemoveMachineValidation, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Auth_RemoveMachineValidation, Mode=OneWay, Source={x:Static spp:Strings.Auth_RemoveMachineValidation}}"
|
||||
IsEnabled="{Binding HasLocalPcEncrypt}" />-->
|
||||
<!--<Button
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding EncryptHelp}"
|
||||
Content="{Binding Path=Res.Auth_EncryptionHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
Content="{Binding Path=Res.Auth_EncryptionHelp, Mode=OneWay, Source={x:Static spp:Strings.Auth_EncryptionHelp}}" />-->
|
||||
</StackPanel>
|
||||
</spp:PageBase.PaneContent>
|
||||
<Panel>
|
||||
@@ -239,13 +237,13 @@
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Auth_PasswordProtectedVerifyFirst, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Auth_PasswordProtectedVerifyFirst, Mode=OneWay, Source={x:Static spp:Strings.Auth_PasswordProtectedVerifyFirst}}"
|
||||
TextWrapping="WrapWithOverflow" />
|
||||
<Button
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding Initialize}"
|
||||
Content="{Binding Path=Res.Verify, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Verify, Mode=OneWay, Source={x:Static spp:Strings.Verify}}"
|
||||
IsEnabled="True" />
|
||||
</StackPanel>
|
||||
|
||||
@@ -265,7 +263,7 @@
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.LocalAuth_NoAuthTip, Mode=OneWay}"
|
||||
Text="{Binding Source={x:Static spp:Strings.LocalAuth_NoAuthTip}, Path=Res.LocalAuth_NoAuthTip, Mode=OneWay}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</spp:ContentLoader.NoResultMessage>
|
||||
@@ -286,7 +284,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).AuthenticatorIndexMoveUp}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.Up, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.Up, Mode=OneWay, Source={x:Static spp:Strings.Up}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:SymbolIcon Symbol="ChevronUp" />
|
||||
</MenuItem.Icon>
|
||||
@@ -294,7 +292,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).AuthenticatorIndexMoveDown}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.MoveDown, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.MoveDown, Mode=OneWay, Source={x:Static spp:Strings.MoveDown}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:SymbolIcon Symbol="ChevronDown" />
|
||||
</MenuItem.Icon>
|
||||
@@ -302,7 +300,7 @@
|
||||
<!--<MenuItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).AuthenticatorIndexSticky}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.FixedTop, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.FixedTop, Mode=OneWay, Source={x:Static spp:Strings.FixedTop}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:SymbolIcon Symbol="Pin" />
|
||||
</MenuItem.Icon>
|
||||
@@ -311,7 +309,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding ShowQrCode}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.DisplayQRCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.DisplayQRCode, Mode=OneWay, Source={x:Static spp:Strings.DisplayQRCode}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource QrCode}" />
|
||||
</MenuItem.Icon>
|
||||
@@ -319,7 +317,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding ShowDetailData}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.ViewDetailedData, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.ViewDetailedData, Mode=OneWay, Source={x:Static spp:Strings.ViewDetailedData}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:SymbolIcon Symbol="Calendar" />
|
||||
</MenuItem.Icon>
|
||||
@@ -327,7 +325,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).DefaultExport}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.DefaultExport, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.DefaultExport, Mode=OneWay, Source={x:Static spp:Strings.DefaultExport}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</MenuItem.Icon>
|
||||
@@ -335,7 +333,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).ExportAuthWithSdaFile}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.Auth_ExportmaFile, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.Auth_ExportmaFile, Mode=OneWay, Source={x:Static spp:Strings.Auth_ExportmaFile}}"
|
||||
IsVisible="{Binding IsSteamAuthenticator, Mode=OneWay}">
|
||||
<MenuItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
@@ -345,7 +343,7 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).UnbindingSteamAuthAsync}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.LocalAuth_RemoveAuth, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.LocalAuth_RemoveAuth, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_RemoveAuth}}"
|
||||
IsVisible="{Binding IsSteamAuthenticator, Mode=OneWay}">
|
||||
<MenuItem.Icon>
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
@@ -355,7 +353,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:AuthenticatorHomePageViewModel)DataContext).DeleteAuthAsync}"
|
||||
CommandParameter="{Binding}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}"
|
||||
Header="{Binding Path=Res.LocalAuth_Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Header="{Binding Path=Res.LocalAuth_Delete, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_Delete}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:SymbolIcon Symbol="Delete" />
|
||||
</MenuItem.Icon>
|
||||
@@ -368,4 +366,4 @@
|
||||
</ItemsRepeater>
|
||||
</spp:ContentLoader>
|
||||
</Panel>
|
||||
</spp:PageBase>
|
||||
</spp:PageBase>
|
||||
|
||||
+4
-4
@@ -15,7 +15,7 @@
|
||||
<spp:ContentLoader
|
||||
x:Name="ContentLoader"
|
||||
IsLoading="{Binding !!!AuthenticatorDeleteBackups.Count, Mode=OneWay}"
|
||||
NoResultMessage="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.Auth_Sync_NoHasRecover, Mode=OneWay}">
|
||||
NoResultMessage="{Binding Source={x:Static spp:Strings.Auth_Sync_NoHasRecover}, Path=Res.Auth_Sync_NoHasRecover, Mode=OneWay}">
|
||||
<Grid RowDefinitions="*,Auto">
|
||||
<ItemsControl ItemsSource="{Binding AuthenticatorDeleteBackups, Mode=OneWay}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
@@ -36,14 +36,14 @@
|
||||
<TextBlock
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.GeneralAuth_Name, Mode=OneWay}"
|
||||
Text="{Binding Source={x:Static spp:Strings.GeneralAuth_Name}, Path=Res.GeneralAuth_Name, Mode=OneWay}"
|
||||
TextTrimming="CharacterEllipsis" />
|
||||
|
||||
<TextBlock
|
||||
VerticalAlignment="Top"
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
||||
Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.Auth_Sync_DeleteTime, Mode=OneWay}"
|
||||
Text="{Binding Source={x:Static spp:Strings.Auth_Sync_DeleteTime}, Path=Res.Auth_Sync_DeleteTime, Mode=OneWay}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
@@ -77,7 +77,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding Recover}"
|
||||
Content="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.Auth_Sync_VerifyRecover, Mode=OneWay}"
|
||||
Content="{Binding Source={x:Static spp:Strings.Auth_Sync_VerifyRecover}, Path=Res.Auth_Sync_VerifyRecover, Mode=OneWay}"
|
||||
IsVisible="{Binding !#ContentLoader.IsLoading}" />
|
||||
</Grid>
|
||||
</spp:ContentLoader>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<TextBlock
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.LocalAuth_ShowAuthInfo, Mode=OneWay}"
|
||||
Text="{Binding Source={x:Static spp:Strings.LocalAuth_ShowAuthInfo}, Path=Res.LocalAuth_ShowAuthInfo, Mode=OneWay}"
|
||||
TextTrimming="CharacterEllipsis" />
|
||||
<ToggleButton x:Name="ShowDetail" VerticalAlignment="Center">
|
||||
<ToggleButton.Content>
|
||||
@@ -29,7 +29,7 @@
|
||||
FontFamily="{StaticResource SymbolThemeFontFamily}"
|
||||
FontSize="16"
|
||||
Glyph="" />
|
||||
<TextBlock Text="{Binding Path=Res.ShowHide, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.ShowHide, Mode=OneWay, Source={x:Static spp:Strings.ShowHide}}" />
|
||||
</StackPanel>
|
||||
</ToggleButton.Content>
|
||||
</ToggleButton>
|
||||
@@ -38,13 +38,13 @@
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
||||
Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.LocalAuth_ShowSteamAuthTip2}"
|
||||
Text="{Binding Source={x:Static spp:Strings.LocalAuth_ShowSteamAuthTip2}, Path=Res.LocalAuth_ShowSteamAuthTip2}"
|
||||
TextWrapping="Wrap" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.LocalAuth_SteamUUID}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Source={x:Static spp:Strings.LocalAuth_SteamUUID}, Path=Res.LocalAuth_SteamUUID}" />
|
||||
<TextBox
|
||||
Margin="5,0,0,0"
|
||||
IsReadOnly="True"
|
||||
@@ -55,7 +55,7 @@
|
||||
</Border>
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.RecoveryCode}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Source={x:Static spp:Strings.RecoveryCode}, Path=Res.RecoveryCode}" />
|
||||
<TextBox
|
||||
Margin="5,0,0,0"
|
||||
IsReadOnly="True"
|
||||
@@ -67,7 +67,7 @@
|
||||
<Border Classes="Item">
|
||||
<StackPanel Spacing="10">
|
||||
<TextBlock Text="SteamGuard" />
|
||||
<TextBlock Text="{Binding Path=Res.LocalAuth_ShowSteamAuthTip1, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.LocalAuth_ShowSteamAuthTip1, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_ShowSteamAuthTip1}}" />
|
||||
<TextBox
|
||||
Height="250"
|
||||
IsReadOnly="True"
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
<Border Margin="{StaticResource PageMargin}">
|
||||
<StackPanel Spacing="10">
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
Message="{Binding Source={x:Static s:ResourceService.Current}, Path=Res.LocalAuth_SteamAppImportTip, Mode=OneWay}"
|
||||
Message="{Binding Source={x:Static spp:Strings.LocalAuth_SteamAppImportTip}, Path=Res.LocalAuth_SteamAppImportTip, Mode=OneWay}"
|
||||
Severity="Warning">
|
||||
<spp:Snackbar.ActionButton>
|
||||
<StackPanel>
|
||||
@@ -30,27 +30,27 @@
|
||||
</spp:Snackbar>
|
||||
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBox Text="{Binding ImportAuthNewName}" Watermark="{Binding Path=Res.Warning_PleaseEnterAuthName, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.GeneralAuth_Name, Mode=OneWay, Source={x:Static spp:Strings.GeneralAuth_Name}}" />
|
||||
<TextBox Text="{Binding ImportAuthNewName}" Watermark="{Binding Path=Res.Warning_PleaseEnterAuthName, Mode=OneWay, Source={x:Static spp:Strings.Warning_PleaseEnterAuthName}}" />
|
||||
</StackPanel>
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.SteamUUID, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBox Text="{Binding PhoneImportUuid}" Watermark="{Binding Path=Res.LocalAuth_SteamuuidTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.SteamUUID, Mode=OneWay, Source={x:Static spp:Strings.SteamUUID}}" />
|
||||
<TextBox Text="{Binding PhoneImportUuid}" Watermark="{Binding Path=Res.LocalAuth_SteamuuidTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_SteamuuidTip}}" />
|
||||
</StackPanel>
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding Path=Res.SteamGuardData, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.SteamGuardData, Mode=OneWay, Source={x:Static spp:Strings.SteamGuardData}}" />
|
||||
<TextBox
|
||||
Height="100"
|
||||
AcceptsReturn="True"
|
||||
Text="{Binding PhoneImportSteamGuard}"
|
||||
Watermark="{Binding Path=Res.LocalAuth_SteamGuardTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.LocalAuth_SteamGuardTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_SteamGuardTip}}" />
|
||||
</StackPanel>
|
||||
|
||||
<Button
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
Command="{Binding Import}"
|
||||
Content="{Binding Path=Res.ConfirmImport, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.ConfirmImport, Mode=OneWay, Source={x:Static spp:Strings.ConfirmImport}}" />
|
||||
</StackPanel>
|
||||
</Border>
|
||||
</UserControl>
|
||||
|
||||
+30
-30
@@ -13,11 +13,11 @@
|
||||
mc:Ignorable="d">
|
||||
<Grid RowDefinitions="Auto,*">
|
||||
<spp:Stepper SelectedIndex="{Binding SelectIndex}">
|
||||
<spp:StepperItem Content="{Binding Path=Res.Steam_Login, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.LoginVerify, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.Steam_BindTel, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.TelCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.Btn_Text_Complete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.Steam_Login, Mode=OneWay, Source={x:Static spp:Strings.Steam_Login}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.LoginVerify, Mode=OneWay, Source={x:Static spp:Strings.LoginVerify}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.Steam_BindTel, Mode=OneWay, Source={x:Static spp:Strings.Steam_BindTel}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.TelCode, Mode=OneWay, Source={x:Static spp:Strings.TelCode}}" />
|
||||
<spp:StepperItem Content="{Binding Path=Res.Btn_Text_Complete, Mode=OneWay, Source={x:Static spp:Strings.Btn_Text_Complete}}" />
|
||||
</spp:Stepper>
|
||||
|
||||
<spp:ContentLoader
|
||||
@@ -39,47 +39,47 @@
|
||||
<TextBox
|
||||
MaxWidth="280"
|
||||
Text="{Binding UserNameText}"
|
||||
Watermark="{Binding Path=Res.Steam_User, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.Steam_User, Mode=OneWay, Source={x:Static spp:Strings.Steam_User}}" />
|
||||
<TextBox
|
||||
Name="PasswordText"
|
||||
MaxWidth="280"
|
||||
Classes="revealPasswordButton"
|
||||
PasswordChar="{StaticResource PasswordChar}"
|
||||
Text="{Binding PasswordText}"
|
||||
Watermark="{Binding Path=Res.Steam_Password, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.Steam_Password, Mode=OneWay, Source={x:Static spp:Strings.Steam_Password}}" />
|
||||
<Button
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding LoginSteamImport}"
|
||||
Content="{Binding Path=Res.Login, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Login, Mode=OneWay, Source={x:Static spp:Strings.Login}}" />
|
||||
</StackPanel>
|
||||
|
||||
<!-- 邮箱验证 -->
|
||||
<Panel>
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
IsVisible="{Binding !Requires2FA}"
|
||||
Message="{Binding Path=Res.LocalAuth_EmailCodeTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Message="{Binding Path=Res.LocalAuth_EmailCodeTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_EmailCodeTip}}"
|
||||
Severity="Warning" />
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
IsVisible="{Binding Requires2FA}"
|
||||
Message="{Binding Path=Res.LocalAuth_Steam2FACodeTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Message="{Binding Path=Res.LocalAuth_Steam2FACodeTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_Steam2FACodeTip}}"
|
||||
Severity="Warning" />
|
||||
<StackPanel
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Spacing="10">
|
||||
<TextBlock IsVisible="{Binding !Requires2FA}" Text="{Binding Path=Res.EmailCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock IsVisible="{Binding Requires2FA}" Text="{Binding Path=Res.Steam2FACode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock IsVisible="{Binding !Requires2FA}" Text="{Binding Path=Res.EmailCode, Mode=OneWay, Source={x:Static spp:Strings.EmailCode}}" />
|
||||
<TextBlock IsVisible="{Binding Requires2FA}" Text="{Binding Path=Res.Steam2FACode, Mode=OneWay, Source={x:Static spp:Strings.Steam2FACode}}" />
|
||||
<TextBox
|
||||
Name="EmailAuthText"
|
||||
MinWidth="300"
|
||||
@@ -94,7 +94,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
Text="{Binding Path=Res.LocalAuth_EmailCodeTip,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}"
|
||||
Source={x:Static spp:Strings.LocalAuth_EmailCodeTip}}"
|
||||
TextAlignment="Center"
|
||||
TextWrapping="WrapWithOverflow" />-->
|
||||
<Button
|
||||
@@ -102,18 +102,18 @@
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding LoginSteamImport}"
|
||||
Content="{Binding Path=Res.Continue, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Continue, Mode=OneWay, Source={x:Static spp:Strings.Continue}}" />
|
||||
</StackPanel>
|
||||
</Panel>
|
||||
|
||||
<!-- 绑定手机 -->
|
||||
<Panel>
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
Message="{Binding Path=Res.Warning_SteamAuthPhoneBind, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Message="{Binding Path=Res.Warning_SteamAuthPhoneBind, Mode=OneWay, Source={x:Static spp:Strings.Warning_SteamAuthPhoneBind}}"
|
||||
Severity="Warning" />
|
||||
<StackPanel
|
||||
HorizontalAlignment="Center"
|
||||
@@ -124,7 +124,7 @@
|
||||
<TextBlock
|
||||
Margin="0,0,0,6"
|
||||
DockPanel.Dock="Top"
|
||||
Text="{Binding Path=Res.User_Phone, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.User_Phone, Mode=OneWay, Source={x:Static spp:Strings.User_Phone}}" />
|
||||
<TextBox
|
||||
Name="PhoneNumberText"
|
||||
MaxWidth="300"
|
||||
@@ -137,18 +137,18 @@
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding LoginSteamImport}"
|
||||
Content="{Binding Path=Res.Continue, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Continue, Mode=OneWay, Source={x:Static spp:Strings.Continue}}" />
|
||||
</StackPanel>
|
||||
</Panel>
|
||||
|
||||
<!-- 验证手机 -->
|
||||
<Panel>
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
Message="{Binding Path=Res.LocalAuth_SMSCodeTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Message="{Binding Path=Res.LocalAuth_SMSCodeTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_SMSCodeTip}}"
|
||||
Severity="Warning" />
|
||||
<StackPanel
|
||||
HorizontalAlignment="Center"
|
||||
@@ -158,18 +158,18 @@
|
||||
<TextBlock
|
||||
Margin="0,0,0,6"
|
||||
DockPanel.Dock="Top"
|
||||
Text="{Binding Path=Res.RecoveryCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.RecoveryCode, Mode=OneWay, Source={x:Static spp:Strings.RecoveryCode}}" />
|
||||
<TextBox
|
||||
MaxWidth="300"
|
||||
IsReadOnly="True"
|
||||
Text="{Binding RevocationCodeText, Mode=OneWay}" />
|
||||
</DockPanel>
|
||||
<!--<CheckBox Content="{Binding Path=Res.RecoveryCode_Remember, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<CheckBox Content="{Binding Path=Res.RecoveryCode_Remember, Mode=OneWay, Source={x:Static spp:Strings.RecoveryCode_Remember}}" />-->
|
||||
<DockPanel>
|
||||
<TextBlock
|
||||
Margin="0,0,0,6"
|
||||
DockPanel.Dock="Top"
|
||||
Text="{Binding Path=Res.SMSCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.SMSCode, Mode=OneWay, Source={x:Static spp:Strings.SMSCode}}" />
|
||||
<TextBox
|
||||
Name="PhoneCodeText"
|
||||
MaxWidth="300"
|
||||
@@ -180,25 +180,25 @@
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding LoginSteamImport}"
|
||||
Content="{Binding Path=Res.Continue, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Continue, Mode=OneWay, Source={x:Static spp:Strings.Continue}}" />
|
||||
</StackPanel>
|
||||
</Panel>
|
||||
|
||||
<!-- 完成 -->
|
||||
<Panel>
|
||||
<spp:Snackbar
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Title="{Binding Path=Res.Notice_Tray_Title, Mode=OneWay, Source={x:Static spp:Strings.Notice_Tray_Title}}"
|
||||
VerticalAlignment="Top"
|
||||
IsClosable="False"
|
||||
IsOpen="True"
|
||||
Message="{Binding Path=Res.RecoveryCode_RememberTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Message="{Binding Path=Res.RecoveryCode_RememberTip, Mode=OneWay, Source={x:Static spp:Strings.RecoveryCode_RememberTip}}"
|
||||
Severity="Success" />
|
||||
<StackPanel VerticalAlignment="Center" Spacing="10">
|
||||
<DockPanel IsVisible="{Binding RevocationCodeText, Mode=OneWay, Converter={StaticResource IsNullConverter}, ConverterParameter=invert}">
|
||||
<TextBlock
|
||||
Margin="0,0,0,6"
|
||||
DockPanel.Dock="Top"
|
||||
Text="{Binding Path=Res.RecoveryCode, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.RecoveryCode, Mode=OneWay, Source={x:Static spp:Strings.RecoveryCode}}" />
|
||||
<TextBox
|
||||
MaxWidth="300"
|
||||
IsReadOnly="True"
|
||||
@@ -208,7 +208,7 @@
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
Command="{Binding Reset}"
|
||||
Content="{Binding Path=Res.Confirm, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Confirm, Mode=OneWay, Source={x:Static spp:Strings.Confirm}}" />
|
||||
</StackPanel>
|
||||
</Panel>
|
||||
</Carousel>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Settings_Auth, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Settings_Auth, Mode=OneWay, Source={x:Static spp:Strings.Settings_Auth}}" />
|
||||
</Panel>
|
||||
</ToggleButton>
|
||||
<DropDownButton
|
||||
@@ -55,7 +55,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -64,9 +64,9 @@
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -77,4 +77,4 @@
|
||||
111
|
||||
</spp:PageBase.PaneContent>
|
||||
|
||||
</spp:PageBase>
|
||||
</spp:PageBase>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
x:CompileBindings="True"
|
||||
x:DataType="spp:SteamTradePageViewModel"
|
||||
mc:Ignorable="d">
|
||||
<spp:ContentLoader CustomLoadingText="{Binding Path=Res.EnableAccelerationPrompt, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsLoading="{Binding IsLoading}">
|
||||
<spp:ContentLoader CustomLoadingText="{Binding Path=Res.EnableAccelerationPrompt, Mode=OneWay, Source={x:Static spp:Strings.EnableAccelerationPrompt}}" IsLoading="{Binding IsLoading}">
|
||||
<Panel>
|
||||
<!-- 登录 -->
|
||||
<StackPanel
|
||||
@@ -32,21 +32,21 @@
|
||||
<TextBox
|
||||
MaxWidth="280"
|
||||
Text="{Binding UserNameText}"
|
||||
Watermark="{Binding Path=Res.Steam_User, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.Steam_User, Mode=OneWay, Source={x:Static spp:Strings.Steam_User}}" />
|
||||
<TextBox
|
||||
Name="PasswordText"
|
||||
MaxWidth="280"
|
||||
Classes="revealPasswordButton"
|
||||
PasswordChar="{StaticResource PasswordChar}"
|
||||
Text="{Binding PasswordText}"
|
||||
Watermark="{Binding Path=Res.Steam_Password, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<CheckBox Content="{ReflectionBinding Path=Res.User_Rememberme, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsChecked="{Binding RemenberLogin}" />
|
||||
Watermark="{Binding Path=Res.Steam_Password, Mode=OneWay, Source={x:Static spp:Strings.Steam_Password}}" />
|
||||
<CheckBox Content="{ReflectionBinding Path=Res.User_Rememberme, Mode=OneWay, Source={x:Static spp:Strings.User_Rememberme}}" IsChecked="{Binding RemenberLogin}" />
|
||||
<Button
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding Login}"
|
||||
Content="{Binding Path=Res.Login, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Login, Mode=OneWay, Source={x:Static spp:Strings.Login}}" />
|
||||
</StackPanel>
|
||||
|
||||
<!-- 确认交易 -->
|
||||
@@ -62,7 +62,7 @@
|
||||
Margin="8,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding SelectAllCommand}"
|
||||
Content="{Binding Path=Res.SelectAll, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.SelectAll, Mode=OneWay, Source={x:Static spp:Strings.SelectAll}}"
|
||||
IsChecked="{Binding SelectedAll, Mode=OneWay}" />
|
||||
<ui:CommandBar
|
||||
HorizontalAlignment="Right"
|
||||
@@ -71,7 +71,7 @@
|
||||
DockPanel.Dock="Right"
|
||||
IsSticky="False">
|
||||
<ui:CommandBar.PrimaryCommands>
|
||||
<ui:CommandBarButton Command="{Binding Logout}" Label="{Binding Path=Res.Logout, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:CommandBarButton Command="{Binding Logout}" Label="{Binding Path=Res.Logout, Mode=OneWay, Source={x:Static spp:Strings.Logout}}">
|
||||
<ui:CommandBarButton.IconSource>
|
||||
<ui:FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</ui:CommandBarButton.IconSource>
|
||||
@@ -79,12 +79,12 @@
|
||||
<ui:CommandBarButton
|
||||
Command="{Binding Refresh}"
|
||||
IconSource="Refresh"
|
||||
Label="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Label="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
<ui:CommandBarButton
|
||||
Command="{Binding CancelAllTrade}"
|
||||
IconSource="Cancel"
|
||||
Label="{Binding Path=Res.BatchReject, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:CommandBarButton Command="{Binding ConfirmAllTrade}" Label="{Binding Path=Res.BatchPass, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Label="{Binding Path=Res.BatchReject, Mode=OneWay, Source={x:Static spp:Strings.BatchReject}}" />
|
||||
<ui:CommandBarButton Command="{Binding ConfirmAllTrade}" Label="{Binding Path=Res.BatchPass, Mode=OneWay, Source={x:Static spp:Strings.BatchPass}}">
|
||||
<ui:CommandBarButton.IconSource>
|
||||
<ui:FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource CheckMark}" />
|
||||
</ui:CommandBarButton.IconSource>
|
||||
@@ -100,7 +100,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="{Binding !!!Confirmations.Count}"
|
||||
Text="{Binding Path=Res.LocalAuth_AuthTrade_Null, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.LocalAuth_AuthTrade_Null, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_AuthTrade_Null}}" />
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
|
||||
<ItemsRepeater ItemsSource="{Binding Confirmations}">
|
||||
<ItemsRepeater.Layout>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
Text="想玩游戏" />
|
||||
</ui:MenuFlyoutSubItem>
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutSubItem IsVisible="{Binding $parent[UserControl].((spp:PlatformAccount)DataContext).IsSteamPlatform}" Text="{Binding Path=Res.Copy, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:MenuFlyoutSubItem IsVisible="{Binding $parent[UserControl].((spp:PlatformAccount)DataContext).IsSteamPlatform}" Text="{Binding Path=Res.Copy, Mode=OneWay, Source={x:Static spp:Strings.Copy}}">
|
||||
<ui:MenuFlyoutSubItem Text="复制个人资料">
|
||||
<ui:MenuFlyoutItem Command="{Binding CopyToClipboardCommand, Source={x:Static spp:App.Instance}}" Text="社区 URL">
|
||||
<ui:MenuFlyoutItem.CommandParameter>
|
||||
@@ -101,7 +101,7 @@
|
||||
</ui:MenuFlyoutItem>
|
||||
</ui:MenuFlyoutSubItem>
|
||||
</ui:MenuFlyoutSubItem>
|
||||
<ui:MenuFlyoutSubItem IsVisible="{Binding $parent[UserControl].((spp:PlatformAccount)DataContext).IsSteamPlatform}" Text="{Binding Path=Res.OpenLink, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:MenuFlyoutSubItem IsVisible="{Binding $parent[UserControl].((spp:PlatformAccount)DataContext).IsSteamPlatform}" Text="{Binding Path=Res.OpenLink, Mode=OneWay, Source={x:Static spp:Strings.OpenLink}}">
|
||||
<ui:MenuFlyoutItem Command="{Binding OpenBrowserCommand, Source={x:Static spp:App.Instance}}" Text="Steam 社区">
|
||||
<ui:MenuFlyoutItem.CommandParameter>
|
||||
<MultiBinding Converter="{StaticResource StringFormatConverter}">
|
||||
@@ -182,12 +182,12 @@
|
||||
<ui:MenuFlyoutItem
|
||||
Click="OpenUserDataFolderMenuItem_Click"
|
||||
IsVisible="{Binding $parent[UserControl].((spp:PlatformAccount)DataContext).IsSteamPlatform}"
|
||||
Text="{Binding Path=Res.UserChange_ShowUserDataFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.UserChange_ShowUserDataFolder, Mode=OneWay, Source={x:Static spp:Strings.UserChange_ShowUserDataFolder}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[UserControl].((spp:PlatformAccount)DataContext).DeleteAccountCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}"
|
||||
Text="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static spp:Strings.Delete}}" />
|
||||
</ui:FAMenuFlyout>
|
||||
</UserControl.Resources>
|
||||
<ScrollViewer>
|
||||
@@ -197,7 +197,7 @@
|
||||
<spp:ContentLoader
|
||||
IsLoading="{Binding IsLoading}"
|
||||
IsShowNoResultText="{Binding !!!Accounts.Count, Mode=OneWay}"
|
||||
NoResultMessage="{Binding Path=Res.UserChange_NoUserTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.UserChange_NoUserTip, Mode=OneWay, Source={x:Static spp:Strings.UserChange_NoUserTip}}">
|
||||
<ItemsControl Grid.Row="1" ItemsSource="{Binding Accounts}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
@@ -215,11 +215,11 @@
|
||||
ContextFlyout="{StaticResource SharedMenuFlyout}"
|
||||
Description="{Binding LastLoginTime, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}"
|
||||
MoreFlyout="{StaticResource SharedMenuFlyout}"
|
||||
Status="{Binding Path=Res.UserChange_RecentLogin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Status="{Binding Path=Res.UserChange_RecentLogin, Mode=OneWay, Source={x:Static spp:Strings.UserChange_RecentLogin}}"
|
||||
Tags="{Binding AliasName}">
|
||||
<spp:AppItem.Status>
|
||||
<Border Classes="Status" IsVisible="{Binding MostRecent}">
|
||||
<TextBlock Text="{Binding Path=Res.UserChange_RecentLogin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.UserChange_RecentLogin, Mode=OneWay, Source={x:Static spp:Strings.UserChange_RecentLogin}}" />
|
||||
</Border>
|
||||
</spp:AppItem.Status>
|
||||
<i:Interaction.Behaviors>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.UserChange_LoginNewAccount, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.UserChange_LoginNewAccount, Mode=OneWay, Source={x:Static spp:Strings.UserChange_LoginNewAccount}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -68,7 +68,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.GameAccount_SaveCurrentAccount, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameAccount_SaveCurrentAccount, Mode=OneWay, Source={x:Static spp:Strings.GameAccount_SaveCurrentAccount}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -88,7 +88,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.AccountChange_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.AccountChange_Title, Mode=OneWay, Source={x:Static spp:Strings.AccountChange_Title}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -107,7 +107,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<DropDownButton
|
||||
@@ -124,7 +124,7 @@
|
||||
x:Name="PlatformSettingButton"
|
||||
IsVisible="{Binding !IsSelectedSteam}"
|
||||
Text="平台设置" />
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay,Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay,Source={x:Static spp:Strings.Settings_Plugin}}" />-->
|
||||
<ui:MenuFlyoutSeparator IsVisible="{Binding !IsSelectedSteam}" />
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -132,7 +132,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -140,9 +140,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -169,7 +169,7 @@
|
||||
<Button.Flyout>
|
||||
<MenuFlyout Placement="BottomEdgeAlignedLeft">
|
||||
<MenuItem
|
||||
Header="{Binding Path=Res.AddPlatform, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Header="{Binding Path=Res.AddPlatform, Mode=OneWay, Source={x:Static spp:Strings.AddPlatform}}"
|
||||
IsVisible="{Binding !!AddGamePlatforms.Count}"
|
||||
ItemsSource="{Binding AddGamePlatforms}">
|
||||
<MenuItem.Styles>
|
||||
@@ -200,13 +200,13 @@
|
||||
</MenuItem.DataTemplates>-->
|
||||
</MenuItem>
|
||||
<MenuItem Header="-" />
|
||||
<MenuItem Command="{Binding LoginNewCommand}" Header="{Binding Path=Res.UserChange_LoginNewAccount, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<MenuItem Command="{Binding LoginNewCommand}" Header="{Binding Path=Res.UserChange_LoginNewAccount, Mode=OneWay, Source={x:Static spp:Strings.UserChange_LoginNewAccount}}">
|
||||
<MenuItem.Icon>
|
||||
<ui:SymbolIcon Symbol="Add" />
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<!--<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutSubItem Text="{Binding Path=Res.GameAccount_EndProcessWay, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:MenuFlyoutSubItem Text="{Binding Path=Res.GameAccount_EndProcessWay, Mode=OneWay, Source={x:Static spp:Strings.GameAccount_EndProcessWay}}">
|
||||
<ui:RadioMenuFlyoutItem
|
||||
GroupName="KillMethond"
|
||||
IconSource="Games"
|
||||
@@ -217,7 +217,7 @@
|
||||
IconSource="Icons"
|
||||
Text="Direct" />
|
||||
</ui:MenuFlyoutSubItem>
|
||||
<ui:MenuFlyoutSubItem Text="{Binding Path=Res.GameAccount_StartProcessWay, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:MenuFlyoutSubItem Text="{Binding Path=Res.GameAccount_StartProcessWay, Mode=OneWay, Source={x:Static spp:Strings.GameAccount_StartProcessWay}}">
|
||||
<ui:RadioMenuFlyoutItem
|
||||
GroupName="StartMethond"
|
||||
IconSource="Games"
|
||||
@@ -228,7 +228,7 @@
|
||||
Text="Direct" />
|
||||
</ui:MenuFlyoutSubItem>
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:ToggleMenuFlyoutItem IconSource="Safe" Text="{Binding Path=Res.AdministratorStartup, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<ui:ToggleMenuFlyoutItem IconSource="Safe" Text="{Binding Path=Res.AdministratorStartup, Mode=OneWay, Source={x:Static spp:Strings.AdministratorStartup}}" />-->
|
||||
</MenuFlyout>
|
||||
</Button.Flyout>
|
||||
</Button>
|
||||
|
||||
+3
-3
@@ -17,7 +17,7 @@
|
||||
<spp:ContentLoader
|
||||
IsLoading="False"
|
||||
IsShowNoResultText="{Binding IsAuthorizedListEmpty}"
|
||||
NoResultMessage="{Binding Path=Res.SteamAccountPage_ShareEmpt, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.SteamAccountPage_ShareEmpt, Mode=OneWay, Source={x:Static spp:Strings.SteamAccountPage_ShareEmpt}}">
|
||||
<ScrollViewer>
|
||||
<ItemsControl Classes="DraggableOrder" ItemsSource="{Binding AuthorizedList}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
@@ -30,7 +30,7 @@
|
||||
<spp:AppItem
|
||||
Title="{Binding SteamNickName}"
|
||||
MaxHeight="92"
|
||||
Status="{Binding Path=Res.Disabled, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Status="{Binding Path=Res.Disabled, Mode=OneWay, Source={x:Static spp:Strings.Disabled}}"
|
||||
Tags="{Binding TimeusedTime, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}">
|
||||
<spp:AppItem.MoreFlyout>
|
||||
<ui:FAMenuFlyout>
|
||||
@@ -51,7 +51,7 @@
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[UserControl].((spp:SteamFamilyShareManagePageViewModel)DataContext).RemoveButton_Click}"
|
||||
CommandParameter="{Binding}"
|
||||
Text="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static spp:Strings.Delete}}" />
|
||||
</ui:FAMenuFlyout>
|
||||
</spp:AppItem.MoreFlyout>
|
||||
<spp:AppItem.Status>
|
||||
|
||||
@@ -27,10 +27,10 @@
|
||||
Mode=TwoWay}"
|
||||
OffContent="{Binding Path=Res.GameList_SteamShutdown_EnableWatchDownloading,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}"
|
||||
Source={x:Static s:Strings.GameList_SteamShutdown_EnableWatchDownloading}}"
|
||||
OnContent="{Binding Path=Res.GameList_SteamShutdown_EnableWatchDownloading,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}" />-->
|
||||
Source={x:Static s:Strings.GameList_SteamShutdown_EnableWatchDownloading}}" />-->
|
||||
|
||||
<ToggleSplitButton IsChecked="{Binding Source={x:Static s:SteamConnectService.Current}, Path=IsWatchSteamDownloading, Mode=TwoWay}" ToolTip.Tip="启用此按钮才会启动监听 Steam 下载数据并在下载完时执行对应操作!">
|
||||
<ToggleSplitButton.Content>
|
||||
@@ -40,7 +40,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.GameList_SteamShutdown_DownloadComplete"
|
||||
Source="{x:Static s:ResourceService.Current}}" />
|
||||
Source="{x:Static spp:Strings.GameList_SteamShutdown_DownloadComplete}}" />
|
||||
<CompiledBinding
|
||||
Converter="{StaticResource EnumLocalizationNameConverter}"
|
||||
Mode="OneWay"
|
||||
@@ -79,13 +79,13 @@
|
||||
DockPanel.Dock="Right"
|
||||
IsHitTestVisible="False" />
|
||||
|
||||
<CheckBox Content="{Binding Path=Res.SelectAll, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsChecked="{Binding IsAllCheck, Mode=TwoWay}" />
|
||||
<CheckBox Content="{Binding Path=Res.SelectAll, Mode=OneWay, Source={x:Static spp:Strings.SelectAll}}" IsChecked="{Binding IsAllCheck, Mode=TwoWay}" />
|
||||
</StackPanel>
|
||||
</spp:PageBase.ActionContent>
|
||||
<spp:ContentLoader
|
||||
IsLoading="false"
|
||||
IsShowNoResultText="{Binding !!!DownloadingApps.Count, Mode=OneWay}"
|
||||
NoResultMessage="{Binding Path=Res.GameList_SteamShutdown_AppsEmpty, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.GameList_SteamShutdown_AppsEmpty, Mode=OneWay, Source={x:Static spp:Strings.GameList_SteamShutdown_AppsEmpty}}">
|
||||
<ItemsControl ItemsSource="{Binding DownloadingApps}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
@@ -109,7 +109,7 @@
|
||||
<WrapPanel>
|
||||
<TextBlock
|
||||
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
||||
Text="{Binding Path=Res.Downloaded, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Downloaded, Mode=OneWay, Source={x:Static spp:Strings.Downloaded}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock
|
||||
Margin="5,0,0,0"
|
||||
@@ -141,7 +141,7 @@
|
||||
<WrapPanel>
|
||||
<TextBlock
|
||||
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
||||
Text="{Binding Path=Res.Installed, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.Installed, Mode=OneWay, Source={x:Static spp:Strings.Installed}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock
|
||||
Margin="5,0,0,0"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
x:DataType="spp:EditAppInfoPageViewModel"
|
||||
mc:Ignorable="d">
|
||||
<TabControl DockPanel.Dock="Top">
|
||||
<TabItem Header="{Binding Path=Res.Info, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabItem Header="{Binding Path=Res.Info, Mode=OneWay, Source={x:Static spp:Strings.Info}}">
|
||||
<ScrollViewer>
|
||||
<StackPanel Classes="InfoBox">
|
||||
|
||||
@@ -27,28 +27,28 @@
|
||||
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Name, Mode=OneWay, Source={x:Static spp:Strings.Name}}" />
|
||||
<TextBox Text="{Binding App.Name}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.SortAs, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.SortAs, Mode=OneWay, Source={x:Static spp:Strings.SortAs}}" />
|
||||
<TextBox Text="{Binding App.SortAs}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.Developer, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Developer, Mode=OneWay, Source={x:Static spp:Strings.Developer}}" />
|
||||
<TextBox Text="{Binding App.Developer}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.Publisher, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Publisher, Mode=OneWay, Source={x:Static spp:Strings.Publisher}}" />
|
||||
<TextBox Text="{Binding App.Publisher}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
@@ -62,27 +62,27 @@
|
||||
|
||||
<Border Classes="Item">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.SupportSystem, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.SupportSystem, Mode=OneWay, Source={x:Static spp:Strings.SupportSystem}}" />
|
||||
<TextBlock Classes="right" Text="{Binding App.OSList}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
|
||||
<Border Classes="Item" IsVisible="{Binding App.IsInstalled}">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.DiskUsage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.DiskUsage, Mode=OneWay, Source={x:Static spp:Strings.DiskUsage}}" />
|
||||
<TextBlock Classes="right" Text="{Binding App.SizeOnDisk, Converter={StaticResource StringFormatConverter}, ConverterParameter=size}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
|
||||
<Border Classes="Item" IsVisible="{Binding App.IsInstalled}">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.InstalledPath, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.InstalledPath, Mode=OneWay, Source={x:Static spp:Strings.InstalledPath}}" />
|
||||
<ui:HyperlinkButton
|
||||
HorizontalAlignment="Right"
|
||||
VerticalContentAlignment="Stretch"
|
||||
Command="{Binding OpenFolder}"
|
||||
CommandParameter="{Binding App.InstalledDir}"
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}, Converter={StaticResource StringFormatConverter}, ConverterParameter={x:Null}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_BrowseCustomFolder}, Converter={StaticResource StringFormatConverter}, ConverterParameter={x:Null}}">
|
||||
<TextBlock Text="{Binding App.InstalledDir}" TextWrapping="Wrap" />
|
||||
</ui:HyperlinkButton>
|
||||
</DockPanel>
|
||||
@@ -90,7 +90,7 @@
|
||||
|
||||
<Border Classes="Item" IsVisible="{Binding App.IsInstalled}">
|
||||
<DockPanel>
|
||||
<TextBlock Text="{Binding Path=Res.LastUpdatedDateTime, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.LastUpdatedDateTime, Mode=OneWay, Source={x:Static spp:Strings.LastUpdatedDateTime}}" />
|
||||
<TextBlock Classes="right" Text="{Binding App.LastUpdated, StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
@@ -99,7 +99,7 @@
|
||||
</ScrollViewer>
|
||||
</TabItem>
|
||||
|
||||
<TabItem Header="{Binding Path=Res.Media, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabItem Header="{Binding Path=Res.Media, Mode=OneWay, Source={x:Static spp:Strings.Media}}">
|
||||
<Panel>
|
||||
<DockPanel
|
||||
x:Name="SteamGridDBContent"
|
||||
@@ -111,12 +111,12 @@
|
||||
HorizontalAlignment="Stretch"
|
||||
HorizontalContentAlignment="Center"
|
||||
Click="HideGridDialog_Click"
|
||||
Content="{Binding Path=Res.Back, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Back, Mode=OneWay, Source={x:Static spp:Strings.Back}}"
|
||||
DockPanel.Dock="Top" />
|
||||
<spp:ContentLoader
|
||||
IsLoading="{Binding IsLoadingSteamGrid}"
|
||||
IsShowNoResultText="{Binding IsSteamGridEmpty}"
|
||||
NoResultMessage="{Binding Path=Res.FailedGetImageFromSteamGridDB, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.FailedGetImageFromSteamGridDB, Mode=OneWay, Source={x:Static spp:Strings.FailedGetImageFromSteamGridDB}}">
|
||||
<ScrollViewer DockPanel.Dock="Bottom">
|
||||
<ItemsControl
|
||||
ItemsSource="{Binding SteamGridItems}"
|
||||
@@ -143,15 +143,15 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).OpenSteamGridDBImageUrlCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.OpenImageInBrowser, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Header="{Binding Path=Res.OpenImageInBrowser, Mode=OneWay, Source={x:Static spp:Strings.OpenImageInBrowser}}" />
|
||||
<MenuItem
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).OpenSteamGridDBAppUrlCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.OpenSteamGridDBInBrowser, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Header="{Binding Path=Res.OpenSteamGridDBInBrowser, Mode=OneWay, Source={x:Static spp:Strings.OpenSteamGridDBInBrowser}}" />
|
||||
<MenuItem
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).OpenSteamGridDBAuthorUrlCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Header="{Binding Path=Res.OpenTheAuthorPageInBrowser, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Header="{Binding Path=Res.OpenTheAuthorPageInBrowser, Mode=OneWay, Source={x:Static spp:Strings.OpenTheAuthorPageInBrowser}}" />
|
||||
</MenuFlyout>
|
||||
</spp:AppItem.MoreFlyout>
|
||||
<spp:AppItem.Image>
|
||||
@@ -175,7 +175,7 @@
|
||||
<DockPanel>
|
||||
<StackPanel Margin="0">
|
||||
<WrapPanel>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.HorizontalTitlePage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.HorizontalTitlePage, Mode=OneWay, Source={x:Static spp:Strings.HorizontalTitlePage}}" />
|
||||
<Button
|
||||
Margin="5,0"
|
||||
Padding="5"
|
||||
@@ -183,7 +183,7 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Header}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static spp:Strings.GetImageFromSteamGridDB}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="CloudDownload" />
|
||||
</Button>
|
||||
<Button
|
||||
@@ -192,21 +192,21 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Header}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static spp:Strings.Reset}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="Redo" />
|
||||
</Button>
|
||||
</WrapPanel>
|
||||
|
||||
<!--<TextBlock Text="{Binding Path=Res.HorizontalTitlePage,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"/>
|
||||
<!--<TextBlock Text="{Binding Path=Res.HorizontalTitlePage,Mode=OneWay,Source={x:Static spp:Strings.HorizontalTitlePage}}"/>
|
||||
<Button Classes="Hyperlink"
|
||||
FontSize="12"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static spp:Strings.GetImageFromSteamGridDB}}"
|
||||
Tag="{x:Static spp:SteamGridItemType.Header}"
|
||||
Click="ShowGridDialog_Click"/>-->
|
||||
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static spp:Strings.RecommendedResolution}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
@@ -230,7 +230,7 @@
|
||||
<DockPanel>
|
||||
<StackPanel Margin="0">
|
||||
<WrapPanel>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.VerticalTitlePage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.VerticalTitlePage, Mode=OneWay, Source={x:Static spp:Strings.VerticalTitlePage}}" />
|
||||
<Button
|
||||
Margin="5,0"
|
||||
Padding="5"
|
||||
@@ -238,7 +238,7 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Grid}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static spp:Strings.GetImageFromSteamGridDB}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="CloudDownload" />
|
||||
</Button>
|
||||
<Button
|
||||
@@ -247,20 +247,20 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Grid}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static spp:Strings.Reset}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="Redo" />
|
||||
</Button>
|
||||
</WrapPanel>
|
||||
<!--<TextBlock Text="{Binding Path=Res.VerticalTitlePage,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"/>
|
||||
<!--<TextBlock Text="{Binding Path=Res.VerticalTitlePage,Mode=OneWay,Source={x:Static spp:Strings.VerticalTitlePage}}"/>
|
||||
<Button Classes="Hyperlink"
|
||||
FontSize="12"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static spp:Strings.GetImageFromSteamGridDB}}"
|
||||
Tag="{x:Static spp:SteamGridItemType.Grid}"
|
||||
Click="ShowGridDialog_Click"/>-->
|
||||
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static spp:Strings.RecommendedResolution}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
@@ -284,7 +284,7 @@
|
||||
<DockPanel>
|
||||
<StackPanel Margin="0">
|
||||
<WrapPanel>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.Background, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.Background, Mode=OneWay, Source={x:Static spp:Strings.Background}}" />
|
||||
<Button
|
||||
Margin="5,0"
|
||||
Padding="5"
|
||||
@@ -292,7 +292,7 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Hero}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static spp:Strings.GetImageFromSteamGridDB}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="CloudDownload" />
|
||||
</Button>
|
||||
<Button
|
||||
@@ -301,20 +301,20 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Hero}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static spp:Strings.Reset}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="Redo" />
|
||||
</Button>
|
||||
</WrapPanel>
|
||||
<!--<TextBlock Text="{Binding Path=Res.Background,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"/>
|
||||
<!--<TextBlock Text="{Binding Path=Res.Background,Mode=OneWay,Source={x:Static spp:Strings.Background}}"/>
|
||||
<Button Classes="Hyperlink"
|
||||
FontSize="12"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static spp:Strings.GetImageFromSteamGridDB}}"
|
||||
Tag="{x:Static spp:SteamGridItemType.Hero}"
|
||||
Click="ShowGridDialog_Click"/>-->
|
||||
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static spp:Strings.RecommendedResolution}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
@@ -338,7 +338,7 @@
|
||||
<DockPanel>
|
||||
<StackPanel Margin="0">
|
||||
<WrapPanel>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.Icon, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Path=Res.Icon, Mode=OneWay, Source={x:Static spp:Strings.Icon}}" />
|
||||
<Button
|
||||
Margin="5,0"
|
||||
Padding="5"
|
||||
@@ -346,7 +346,7 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Logo}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GetImageFromSteamGridDB, Mode=OneWay, Source={x:Static spp:Strings.GetImageFromSteamGridDB}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="CloudDownload" />
|
||||
</Button>
|
||||
<Button
|
||||
@@ -355,18 +355,18 @@
|
||||
Cursor="Hand"
|
||||
Tag="{x:Static spp:SteamGridItemType.Logo}"
|
||||
Theme="{StaticResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Reset, Mode=OneWay, Source={x:Static spp:Strings.Reset}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="Redo" />
|
||||
</Button>
|
||||
</WrapPanel>
|
||||
<!--<Button Classes="Hyperlink"
|
||||
FontSize="12"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.GetImageFromSteamGridDB,Mode=OneWay,Source={x:Static spp:Strings.GetImageFromSteamGridDB}}"
|
||||
Tag="{x:Static spp:SteamGridItemType.Logo}"
|
||||
Click="ShowGridDialog_Click"/>-->
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Text="{Binding Path=Res.RecommendedResolution, Mode=OneWay, Source={x:Static spp:Strings.RecommendedResolution}}"
|
||||
Theme="{StaticResource CaptionTextBlockStyle}" />
|
||||
<TextBlock
|
||||
Classes="prompt"
|
||||
@@ -391,7 +391,7 @@
|
||||
</Panel>
|
||||
</TabItem>
|
||||
|
||||
<TabItem Header="{Binding Path=Res.LaunchItem, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsVisible="{Binding App.IsInstalled}">
|
||||
<TabItem Header="{Binding Path=Res.LaunchItem, Mode=OneWay, Source={x:Static spp:Strings.LaunchItem}}" IsVisible="{Binding App.IsInstalled}">
|
||||
<ScrollViewer>
|
||||
<StackPanel Classes="InfoBox">
|
||||
<ItemsRepeater ItemsSource="{Binding App.LaunchItems}">
|
||||
@@ -403,23 +403,23 @@
|
||||
<Border Classes="Item">
|
||||
<StackPanel Spacing="5">
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.Name, Mode=OneWay, Source={x:Static spp:Strings.Name}}" />
|
||||
<TextBox Text="{Binding Label}" />
|
||||
</DockPanel>
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.ExecutableFile, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.ExecutableFile, Mode=OneWay, Source={x:Static spp:Strings.ExecutableFile}}" />
|
||||
<TextBox Text="{Binding Executable}" />
|
||||
</DockPanel>
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.Arguments, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.Arguments, Mode=OneWay, Source={x:Static spp:Strings.Arguments}}" />
|
||||
<TextBox Text="{Binding Arguments}" />
|
||||
</DockPanel>
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.WorkingDir, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.WorkingDir, Mode=OneWay, Source={x:Static spp:Strings.WorkingDir}}" />
|
||||
<TextBox Text="{Binding WorkingDir}" />
|
||||
</DockPanel>
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.SupportSystem, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.SupportSystem, Mode=OneWay, Source={x:Static spp:Strings.SupportSystem}}" />
|
||||
<ui:FAComboBox IsEditable="True" Text="{Binding Platform, Mode=TwoWay}">
|
||||
<ui:FAComboBox.Items>
|
||||
<x:String>windows</x:String>
|
||||
@@ -436,7 +436,7 @@
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).UpLaunchItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Content="{Binding Path=Res.MoveUp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.MoveUp, Mode=OneWay, Source={x:Static spp:Strings.MoveUp}}"
|
||||
Cursor="Hand" />
|
||||
<Button
|
||||
Grid.Column="1"
|
||||
@@ -445,7 +445,7 @@
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).DownLaunchItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Content="{Binding Path=Res.MoveDown, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.MoveDown, Mode=OneWay, Source={x:Static spp:Strings.MoveDown}}"
|
||||
Cursor="Hand" />
|
||||
<Button
|
||||
Grid.Column="2"
|
||||
@@ -454,7 +454,7 @@
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).DeleteLaunchItemCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Content="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static spp:Strings.Delete}}"
|
||||
Cursor="Hand" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
@@ -478,25 +478,25 @@
|
||||
</ScrollViewer>
|
||||
</TabItem>
|
||||
|
||||
<TabItem Header="{Binding Path=Res.SaveFile, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsVisible="{Binding App.IsCloudArchive}">
|
||||
<TabItem Header="{Binding Path=Res.SaveFile, Mode=OneWay, Source={x:Static spp:Strings.SaveFile}}" IsVisible="{Binding App.IsCloudArchive}">
|
||||
<ScrollViewer>
|
||||
<StackPanel Classes="InfoBox">
|
||||
<Border Classes="Item">
|
||||
<StackPanel Spacing="5">
|
||||
<DockPanel>
|
||||
<StackPanel Orientation="Horizontal" Spacing="10">
|
||||
<Label Content="{Binding Path=Res.CloudSaveFileSize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.CloudSaveFileSize, Mode=OneWay, Source={x:Static spp:Strings.CloudSaveFileSize}}" />
|
||||
<Button
|
||||
Command="{Binding ManageCloudArchive_Click}"
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_CloudArchiveManager, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_CloudArchiveManager, Mode=OneWay, Source={x:Static spp:Strings.GameList_CloudArchiveManager}}">
|
||||
<ui:SymbolIcon FontSize="18" Symbol="CloudBackup" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<TextBlock Classes="right" Text="{Binding App.CloudQuota, Converter={StaticResource StringFormatConverter}, ConverterParameter=size}" />
|
||||
</DockPanel>
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.CloudMaxnumFiles, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.CloudMaxnumFiles, Mode=OneWay, Source={x:Static spp:Strings.CloudMaxnumFiles}}" />
|
||||
<TextBlock Classes="right" Text="{Binding App.CloudMaxnumFiles}" />
|
||||
</DockPanel>
|
||||
</StackPanel>
|
||||
@@ -523,13 +523,13 @@
|
||||
<TextBlock Classes="right" Text="{Binding Pattern}" />
|
||||
</DockPanel>
|
||||
<DockPanel>
|
||||
<Label Content="{Binding Path=Res.DirPath, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Label Content="{Binding Path=Res.DirPath, Mode=OneWay, Source={x:Static spp:Strings.DirPath}}" />
|
||||
<ui:HyperlinkButton
|
||||
HorizontalAlignment="Right"
|
||||
HorizontalContentAlignment="Stretch"
|
||||
Command="{Binding $parent[UserControl].((spp:EditAppInfoPageViewModel)DataContext).OpenFolder}"
|
||||
CommandParameter="{Binding FormatDirPath}"
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}, Converter={StaticResource StringFormatConverter}, ConverterParameter={x:Null}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Settings_General_BrowseCustomFolder, Mode=OneWay, Source={x:Static spp:Strings.Settings_General_BrowseCustomFolder}, Converter={StaticResource StringFormatConverter}, ConverterParameter={x:Null}}">
|
||||
<TextBlock
|
||||
HorizontalAlignment="Stretch"
|
||||
Text="{Binding FormatDirPath}"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.SaveEditedAppInfo_SaveToSteam, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.SaveEditedAppInfo_SaveToSteam, Mode=OneWay, Source={x:Static spp:Strings.SaveEditedAppInfo_SaveToSteam}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -54,7 +54,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<DropDownButton
|
||||
@@ -80,7 +80,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -88,9 +88,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -99,7 +99,7 @@
|
||||
<spp:ContentLoader
|
||||
IsLoading="false"
|
||||
IsShowNoResultText="{Binding !!!SteamEditedApps.Count, Mode=OneWay}"
|
||||
NoResultMessage="{Binding Path=Res.SaveEditedAppInfo_AppsEmpty, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.SaveEditedAppInfo_AppsEmpty, Mode=OneWay, Source={x:Static spp:Strings.SaveEditedAppInfo_AppsEmpty}}">
|
||||
<ItemsControl ItemsSource="{Binding SteamEditedApps}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
@@ -119,7 +119,7 @@
|
||||
Cursor="Hand">
|
||||
<spp:AppItem.Status>
|
||||
<Border Classes="Status">
|
||||
<TextBlock Text="{Binding Path=Res.Edit, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Edit, Mode=OneWay, Source={x:Static spp:Strings.Edit}}" />
|
||||
</Border>
|
||||
</spp:AppItem.Status>
|
||||
<!--<spp:AppItem.ActionButton>
|
||||
@@ -127,7 +127,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:EditAppsPageViewModel)DataContext).DeleteButtonCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RemoveItemBtn}}">
|
||||
<Viewbox>
|
||||
<ui:SymbolIcon Symbol="Delete" />
|
||||
</Viewbox>
|
||||
|
||||
@@ -23,29 +23,29 @@
|
||||
CommandParameter="{Binding}"
|
||||
IconSource="Play"
|
||||
IsVisible="{Binding IsInstalled}"
|
||||
Text="{Binding Path=Res.GameList_Play, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_Play, Mode=OneWay, Source={x:Static spp:Strings.GameList_Play}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).InstallOrStartAppCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
IconSource="Download"
|
||||
IsVisible="{Binding !IsInstalled}"
|
||||
Text="{Binding Path=Res.GameList_Install, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_Install, Mode=OneWay, Source={x:Static spp:Strings.GameList_Install}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).EditAppInfoClickCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
IconSource="Edit"
|
||||
Text="{Binding Path=Res.GameList_EditAppInfo, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_EditAppInfo, Mode=OneWay, Source={x:Static spp:Strings.GameList_EditAppInfo}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).ManageCloudArchive_ClickCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
IconSource="CloudSync"
|
||||
IsVisible="{Binding IsCloudArchive}"
|
||||
Text="{Binding Path=Res.GameList_CloudArchiveManager, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_CloudArchiveManager, Mode=OneWay, Source={x:Static spp:Strings.GameList_CloudArchiveManager}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).UnlockAchievement_ClickCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
IconSource="Diagnostic"
|
||||
Text="{Binding Path=Res.Achievement_Manage, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Text="{Binding Path=Res.Achievement_Manage, Mode=OneWay, Source={x:Static spp:Strings.Achievement_Manage}}">
|
||||
<ui:MenuFlyoutItem.IconSource>
|
||||
<ui:FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</ui:MenuFlyoutItem.IconSource>
|
||||
@@ -53,7 +53,7 @@
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).AddAFKAppListCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Text="{Binding Path=Res.GameList_AddAfkGameList, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Text="{Binding Path=Res.GameList_AddAfkGameList, Mode=OneWay, Source={x:Static spp:Strings.GameList_AddAfkGameList}}">
|
||||
<ui:MenuFlyoutItem.IconSource>
|
||||
<ui:FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||
</ui:MenuFlyoutItem.IconSource>
|
||||
@@ -62,7 +62,7 @@
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).NavAppToSteamViewCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Text="{Binding Path=Res.GameList_NavToSteamView, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Text="{Binding Path=Res.GameList_NavToSteamView, Mode=OneWay, Source={x:Static spp:Strings.GameList_NavToSteamView}}">
|
||||
<ui:MenuFlyoutItem.IconSource>
|
||||
<ui:PathIconSource Data="{StaticResource Steam}" />
|
||||
</ui:MenuFlyoutItem.IconSource>
|
||||
@@ -70,7 +70,7 @@
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding $parent[spp:PageBase].((spp:GameListPageViewModel)DataContext).NavAppScreenshotToSteamViewCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Text="{Binding Path=Res.GameList_NavScreenshotToSteamView, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Text="{Binding Path=Res.GameList_NavScreenshotToSteamView, Mode=OneWay, Source={x:Static spp:Strings.GameList_NavScreenshotToSteamView}}">
|
||||
<ui:MenuFlyoutItem.IconSource>
|
||||
<ui:SymbolIconSource Symbol="Image" />
|
||||
</ui:MenuFlyoutItem.IconSource>
|
||||
@@ -80,23 +80,23 @@
|
||||
CommandParameter="{Binding}"
|
||||
IconSource="OpenFolder"
|
||||
IsVisible="{Binding IsInstalled}"
|
||||
Text="{Binding Path=Res.GameList_OpenFolder, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_OpenFolder, Mode=OneWay, Source={x:Static spp:Strings.GameList_OpenFolder}}" />
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutSubItem Text="{Binding Path=Res.OpenLink, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<ui:MenuFlyoutSubItem Text="{Binding Path=Res.OpenLink, Mode=OneWay, Source={x:Static spp:Strings.OpenLink}}">
|
||||
<ui:MenuFlyoutItem
|
||||
Click="AppOpenLink_MenuItem_Click"
|
||||
IconSource="Link"
|
||||
Text="{Binding Path=Res.GameList_OpenStoreUrl, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_OpenStoreUrl, Mode=OneWay, Source={x:Static spp:Strings.GameList_OpenStoreUrl}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Click="AppOpenLink_MenuItem_Click"
|
||||
IconSource="Link"
|
||||
Tag="steamdb"
|
||||
Text="{Binding Path=Res.GameList_OpenSteamDBUrl, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_OpenSteamDBUrl, Mode=OneWay, Source={x:Static spp:Strings.GameList_OpenSteamDBUrl}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Click="AppOpenLink_MenuItem_Click"
|
||||
IconSource="Link"
|
||||
Tag="steamcardexchange"
|
||||
Text="{Binding Path=Res.GameList_OpenSteamCardUrl, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_OpenSteamCardUrl, Mode=OneWay, Source={x:Static spp:Strings.GameList_OpenSteamCardUrl}}" />
|
||||
</ui:MenuFlyoutSubItem>
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutItem
|
||||
@@ -104,7 +104,7 @@
|
||||
CommandParameter="{Binding}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}"
|
||||
IconSource="Hide"
|
||||
Text="{Binding Path=Res.GameList_HideTheGame, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
Text="{Binding Path=Res.GameList_HideTheGame, Mode=OneWay, Source={x:Static spp:Strings.GameList_HideTheGame}}">
|
||||
<ui:MenuFlyoutItem.IconSource>
|
||||
<ui:FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource Hide}" />
|
||||
</ui:MenuFlyoutItem.IconSource>
|
||||
@@ -147,7 +147,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Filter, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Filter, Mode=OneWay, Source={x:Static spp:Strings.Filter}}" />
|
||||
</Panel>
|
||||
</ToggleButton>
|
||||
<!--<Button
|
||||
@@ -185,7 +185,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<DropDownButton
|
||||
@@ -198,8 +198,8 @@
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<DropDownButton.Flyout>
|
||||
<ui:FAMenuFlyout Placement="BottomEdgeAlignedRight">
|
||||
<ui:MenuFlyoutItem Command="{Binding ShowHideAppCommand}" Text="{Binding Path=Res.Game_Hidden, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<ui:MenuFlyoutItem Command="{Binding ShowHideAppCommand}" Text="{Binding Path=Res.Game_Hidden, Mode=OneWay, Source={x:Static spp:Strings.Game_Hidden}}" />
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay, Source={x:Static spp:Strings.Settings_Plugin}}" />-->
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -207,7 +207,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -215,9 +215,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -237,7 +237,7 @@
|
||||
Classes="Search"
|
||||
Text="{Binding SearchText}" />
|
||||
|
||||
<!--<TextBlock Text="{Binding Path=Res.Game_LayoutWay, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<!--<TextBlock Text="{Binding Path=Res.Game_LayoutWay, Mode=OneWay, Source={x:Static spp:Strings.Game_LayoutWay}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
|
||||
<TabStrip
|
||||
Background="{DynamicResource ControlOnImageFillColorDefaultBrush}"
|
||||
@@ -250,7 +250,7 @@
|
||||
<TabStripItem Content="" FontFamily="{StaticResource SymbolThemeFontFamily}" />
|
||||
</TabStrip>-->
|
||||
|
||||
<TextBlock Text="{Binding Path=Res.FilterRequirement, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
<TextBlock Text="{Binding Path=Res.FilterRequirement, Mode=OneWay, Source={x:Static spp:Strings.FilterRequirement}}" Theme="{StaticResource BodyStrongTextBlockStyle}" />
|
||||
|
||||
<DockPanel>
|
||||
<DropDownButton
|
||||
@@ -323,7 +323,7 @@
|
||||
Padding="8"
|
||||
IsChecked="{Binding IsInstalledFilter, Mode=TwoWay}"
|
||||
Theme="{StaticResource TransparentToggleButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_OnlyInstalled, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_OnlyInstalled, Mode=OneWay, Source={x:Static spp:Strings.GameList_OnlyInstalled}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:SymbolIcon Symbol="Play" />
|
||||
</Viewbox>
|
||||
@@ -333,7 +333,7 @@
|
||||
Padding="8"
|
||||
IsChecked="{Binding IsCloudArchiveFilter, Mode=TwoWay}"
|
||||
Theme="{StaticResource TransparentToggleButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_OnlyCloudArchive, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_OnlyCloudArchive, Mode=OneWay, Source={x:Static spp:Strings.GameList_OnlyCloudArchive}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:SymbolIcon Symbol="CloudSyncComplete" />
|
||||
</Viewbox>
|
||||
@@ -345,7 +345,7 @@
|
||||
<spp:ContentLoader
|
||||
IsLoading="{Binding Source={x:Static s:SteamConnectService.Current}, Path=IsLoadingGameList, Mode=OneWay}"
|
||||
IsShowNoResultText="{Binding !!!SteamApps.Count}"
|
||||
NoResultMessage="{Binding Path=Res.GameList_IsEmpty, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.GameList_IsEmpty, Mode=OneWay, Source={x:Static spp:Strings.GameList_IsEmpty}}">
|
||||
<spp:ContentLoader.GestureRecognizers>
|
||||
<ScrollGestureRecognizer CanHorizontallyScroll="True" CanVerticallyScroll="True" />
|
||||
</spp:ContentLoader.GestureRecognizers>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<spp:ContentLoader
|
||||
IsLoading="False"
|
||||
IsShowNoResultText="{Binding IsHideGameListEmpty}"
|
||||
NoResultMessage="{Binding Path=Res.GameList_AddHideAppEmpty, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.GameList_AddHideAppEmpty, Mode=OneWay, Source={x:Static spp:Strings.GameList_AddHideAppEmpty}}">
|
||||
<ItemsControl ItemsSource="{Binding HideGameList}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
@@ -26,7 +26,7 @@
|
||||
<Button
|
||||
Command="{Binding $parent[UserControl].((spp:HideAppsPageViewModel)DataContext).RemoveHideAppCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Content="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
Content="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static spp:Strings.Delete}}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}" />
|
||||
</ui:SettingsExpander.Footer>
|
||||
</ui:SettingsExpander>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
IsIndeterminate="True"
|
||||
IsVisible="{Binding RunLoaingState}"
|
||||
Orientation="Vertical"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RuningWait, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RuningWait, Mode=OneWay, Source={x:Static spp:Strings.GameList_RuningWait}}" />
|
||||
<Button
|
||||
Padding="8,4"
|
||||
Command="{Binding RunOrStopAllButton_Click}"
|
||||
@@ -48,7 +48,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.GameList_RuningBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_RuningBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RuningBtn}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -68,7 +68,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.GameList_StopBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_StopBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_StopBtn}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<Button
|
||||
@@ -87,7 +87,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<DropDownButton
|
||||
@@ -100,12 +100,12 @@
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<DropDownButton.Flyout>
|
||||
<ui:FAMenuFlyout Placement="BottomEdgeAlignedRight">
|
||||
<ui:ToggleMenuFlyoutItem IsChecked="{Binding Source={x:Static ms:GameLibrarySettings.IsAutoAFKApps}, Path=Value}" Text="{Binding Path=Res.GameList_AutoAFK, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:ToggleMenuFlyoutItem IsChecked="{Binding Source={x:Static ms:GameLibrarySettings.IsAutoAFKApps}, Path=Value}" Text="{Binding Path=Res.GameList_AutoAFK, Mode=OneWay, Source={x:Static spp:Strings.GameList_AutoAFK}}" />
|
||||
<ui:MenuFlyoutItem
|
||||
Command="{Binding DeleteAllButton_Click}"
|
||||
Foreground="{DynamicResource SystemFillColorCriticalBrush}"
|
||||
IconSource="Delete"
|
||||
Text="{Binding Path=Res.GameList_RemoveBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_RemoveBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RemoveBtn}}" />
|
||||
<ui:MenuFlyoutSeparator />
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -113,7 +113,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -121,9 +121,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -132,7 +132,7 @@
|
||||
<spp:ContentLoader
|
||||
IsLoading="false"
|
||||
IsShowNoResultText="{Binding !!!IdleGameList.Count, Mode=OneWay}"
|
||||
NoResultMessage="{Binding Path=Res.GameList_AddIdeaAppEmpty, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
NoResultMessage="{Binding Path=Res.GameList_AddIdeaAppEmpty, Mode=OneWay, Source={x:Static spp:Strings.GameList_AddIdeaAppEmpty}}">
|
||||
<ItemsControl ItemsSource="{Binding IdleGameList}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
@@ -159,7 +159,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Text="{Binding Path=Res.GameList_RunState, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_RunState, Mode=OneWay, Source={x:Static spp:Strings.GameList_RunState}}" />
|
||||
</WrapPanel>
|
||||
<WrapPanel IsVisible="{Binding Process, Converter={StaticResource IsNullConverter}, Mode=OneWay}">
|
||||
<Ellipse
|
||||
@@ -170,7 +170,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Text="{Binding Path=Res.GameList_StopState, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_StopState, Mode=OneWay, Source={x:Static spp:Strings.GameList_StopState}}" />
|
||||
</WrapPanel>
|
||||
</Panel>
|
||||
</Border>
|
||||
@@ -182,7 +182,7 @@
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}">
|
||||
Source={x:Static spp:Strings.Current}}">
|
||||
<Viewbox>
|
||||
<ui:SymbolIcon Symbol="Delete" />
|
||||
</Viewbox>
|
||||
@@ -261,7 +261,7 @@
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
IsVisible="{Binding !Process, Converter={StaticResource IsNullConverter}}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_StopItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_StopItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_StopItemBtn}}">
|
||||
<Viewbox Width="60" Height="60">
|
||||
<ui:SymbolIcon Symbol="Pause" />
|
||||
</Viewbox>
|
||||
@@ -275,7 +275,7 @@
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
IsVisible="{Binding Process, Converter={StaticResource IsNullConverter}}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RuningItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RuningItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RuningItemBtn}}">
|
||||
<Viewbox Width="60" Height="60">
|
||||
<ui:SymbolIcon Symbol="Play" />
|
||||
</Viewbox>
|
||||
@@ -288,7 +288,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:IdleAppsPageViewModel)DataContext).DeleteButtonCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RemoveItemBtn}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource Close}" />
|
||||
</Viewbox>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</On>
|
||||
</OnFormFactor>
|
||||
</TabStrip.ItemsPanel>
|
||||
<TabStripItem Content="{Binding Path=Res.Library, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabStripItem Content="{Binding Path=Res.Library, Mode=OneWay, Source={x:Static spp:Strings.Library}}">
|
||||
<TabStripItem.Tag>
|
||||
<x:Type TypeName="spp:GameListPage" />
|
||||
</TabStripItem.Tag>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
Command="{Binding RefreshStats_Click}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Achievement_RefreshTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Achievement_RefreshTip, Mode=OneWay, Source={x:Static spp:Strings.Achievement_RefreshTip}}">
|
||||
<Viewbox
|
||||
Width="22"
|
||||
Height="22"
|
||||
@@ -46,7 +46,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
Command="{Binding ResetAllStats_Click}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Achievement_ResetTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Achievement_ResetTip, Mode=OneWay, Source={x:Static spp:Strings.Achievement_ResetTip}}">
|
||||
<Viewbox
|
||||
Width="22"
|
||||
Height="22"
|
||||
@@ -61,7 +61,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
Command="{Binding SaveChange_Click}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.Achievement_StoreTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.Achievement_StoreTip, Mode=OneWay, Source={x:Static spp:Strings.Achievement_StoreTip}}">
|
||||
<Viewbox
|
||||
Width="22"
|
||||
Height="22"
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
<spp:ContentLoader Grid.Row="1" IsLoading="{Binding !!!Achievements.Count, Mode=OneWay}">
|
||||
<TabControl Padding="0">
|
||||
<TabItem Header="{Binding Path=Res.Achievement_Unlock, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabItem Header="{Binding Path=Res.Achievement_Unlock, Mode=OneWay, Source={x:Static spp:Strings.Achievement_Unlock}}">
|
||||
<DataGrid IsReadOnly="True" ItemsSource="{Binding Achievements}">
|
||||
<DataGrid.Columns>
|
||||
<!-- CheckBox -->
|
||||
@@ -105,7 +105,7 @@
|
||||
CanUserSort="True"
|
||||
SortMemberPath="IsChecked">
|
||||
<DataGridTemplateColumn.Header>
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Icon, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Icon, Mode=OneWay, Source={x:Static spp:Strings.Achievement_Icon}}" />
|
||||
</DataGridTemplateColumn.Header>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate x:DataType="spp:AchievementInfo">
|
||||
@@ -127,7 +127,7 @@
|
||||
CanUserSort="True"
|
||||
SortMemberPath="Name">
|
||||
<DataGridTemplateColumn.Header>
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Name, Mode=OneWay, Source={x:Static spp:Strings.Achievement_Name}}" />
|
||||
</DataGridTemplateColumn.Header>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate x:DataType="spp:AchievementInfo">
|
||||
@@ -135,7 +135,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
IsVisible="{Binding IsProtection}"
|
||||
Text="{Binding Path=Res.Achievement_IsProtection, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Achievement_IsProtection, Mode=OneWay, Source={x:Static spp:Strings.Achievement_IsProtection}}" />
|
||||
<StackPanel
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Vertical"
|
||||
@@ -157,7 +157,7 @@
|
||||
CanUserSort="True"
|
||||
SortMemberPath="Description">
|
||||
<DataGridTemplateColumn.Header>
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Description, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Description, Mode=OneWay, Source={x:Static spp:Strings.Achievement_Description}}" />
|
||||
</DataGridTemplateColumn.Header>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate x:DataType="spp:AchievementInfo">
|
||||
@@ -172,7 +172,7 @@
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</TabItem>
|
||||
<TabItem Header="{Binding Path=Res.Achievement_StatsEdit, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabItem Header="{Binding Path=Res.Achievement_StatsEdit, Mode=OneWay, Source={x:Static spp:Strings.Achievement_StatsEdit}}">
|
||||
<DataGrid IsReadOnly="False" ItemsSource="{Binding Statistics}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
Command="{Binding RefreshList}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.RefreshList, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.RefreshList, Mode=OneWay, Source={x:Static spp:Strings.RefreshList}}">
|
||||
<Viewbox
|
||||
Width="22"
|
||||
Height="22"
|
||||
@@ -44,7 +44,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
Command="{Binding UploadFile}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_UploadCloudArchiveFile, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_UploadCloudArchiveFile, Mode=OneWay, Source={x:Static spp:Strings.GameList_UploadCloudArchiveFile}}">
|
||||
<Viewbox
|
||||
Width="22"
|
||||
Height="22"
|
||||
@@ -59,7 +59,7 @@
|
||||
VerticalContentAlignment="Center"
|
||||
Command="{Binding ClearAllFiles}"
|
||||
Theme="{DynamicResource TransparentButton}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RemoveBtn}}">
|
||||
<Viewbox
|
||||
Width="22"
|
||||
Height="22"
|
||||
@@ -103,7 +103,7 @@
|
||||
</StackPanel>
|
||||
|
||||
<TabControl Padding="0">
|
||||
<TabItem Header="{Binding Path=Res.GameList_CloudArchiveManager, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabItem Header="{Binding Path=Res.GameList_CloudArchiveManager, Mode=OneWay, Source={x:Static spp:Strings.GameList_CloudArchiveManager}}">
|
||||
<DataGrid
|
||||
x:Name="CloudGrid"
|
||||
IsReadOnly="True"
|
||||
@@ -113,12 +113,12 @@
|
||||
<MenuItem
|
||||
Command="{Binding $parent[Window].((spp:CloudArchiveAppPageViewModel)DataContext).DownloadFile}"
|
||||
CommandParameter="{Binding #CloudGrid.SelectedItem}"
|
||||
Header="{Binding Path=Res.Download, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Header="{Binding Path=Res.Download, Mode=OneWay, Source={x:Static spp:Strings.Download}}" />
|
||||
<MenuItem Header="-" />
|
||||
<MenuItem
|
||||
Command="{Binding $parent[Window].((spp:CloudArchiveAppPageViewModel)DataContext).DeleteFile}"
|
||||
CommandParameter="{Binding #CloudGrid.SelectedItem}"
|
||||
Header="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Header="{Binding Path=Res.Delete, Mode=OneWay, Source={x:Static spp:Strings.Delete}}" />
|
||||
</MenuFlyout>
|
||||
</DataGrid.ContextFlyout>
|
||||
<DataGrid.Styles>
|
||||
@@ -157,7 +157,7 @@
|
||||
CanUserSort="True"
|
||||
SortMemberPath="Name">
|
||||
<DataGridTemplateColumn.Header>
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Name, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.Achievement_Name, Mode=OneWay, Source={x:Static spp:Strings.Achievement_Name}}" />
|
||||
</DataGridTemplateColumn.Header>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate x:DataType="spp:SteamRemoteFile">
|
||||
@@ -172,7 +172,7 @@
|
||||
CanUserSort="True"
|
||||
SortMemberPath="Size">
|
||||
<DataGridTemplateColumn.Header>
|
||||
<TextBlock Text="{Binding Path=Res.FileSize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.FileSize, Mode=OneWay, Source={x:Static spp:Strings.FileSize}}" />
|
||||
</DataGridTemplateColumn.Header>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate x:DataType="spp:SteamRemoteFile">
|
||||
@@ -215,7 +215,7 @@
|
||||
CanUserSort="True"
|
||||
SortMemberPath="CreateTime">
|
||||
<DataGridTemplateColumn.Header>
|
||||
<TextBlock Text="{Binding Path=Res.CreateTime, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock Text="{Binding Path=Res.CreateTime, Mode=OneWay, Source={x:Static spp:Strings.CreateTime}}" />
|
||||
</DataGridTemplateColumn.Header>
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate x:DataType="spp:SteamRemoteFile">
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<DropDownButton.Flyout>
|
||||
<ui:FAMenuFlyout Placement="BottomEdgeAlignedRight">
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay,Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay,Source={x:Static spp:Strings.Settings_Plugin}}" />-->
|
||||
<!--<ui:MenuFlyoutSeparator />-->
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -59,7 +59,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -67,9 +67,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
@@ -120,7 +120,7 @@
|
||||
<TextBlock
|
||||
Margin="10,0"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.GameRelated_Borderless_MoveMouseTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameRelated_Borderless_MoveMouseTip, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_MoveMouseTip}}" />
|
||||
</WrapPanel>
|
||||
|
||||
<StackPanel
|
||||
@@ -129,19 +129,19 @@
|
||||
Orientation="Vertical"
|
||||
Spacing="10">
|
||||
<TextBlock TextWrapping="WrapWithOverflow">
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_Title, Mode=OneWay, Source={x:Static s:ResourceService.Current}, StringFormat={}{0}:}" />
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_Title, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Title}, StringFormat={}{0}:}" />
|
||||
<Run Text="{ReflectionBinding SelectWindow.Title, Mode=OneWay}" />
|
||||
</TextBlock>
|
||||
<TextBlock TextWrapping="WrapWithOverflow">
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_ClassName, Mode=OneWay, Source={x:Static s:ResourceService.Current}, StringFormat={}{0}:}" />
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_ClassName, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_ClassName}, StringFormat={}{0}:}" />
|
||||
<Run Text="{ReflectionBinding SelectWindow.ClassName, Mode=OneWay}" />
|
||||
</TextBlock>
|
||||
<TextBlock TextWrapping="WrapWithOverflow">
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_Process, Mode=OneWay, Source={x:Static s:ResourceService.Current}, StringFormat={}{0}:}" />
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_Process, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Process}, StringFormat={}{0}:}" />
|
||||
<Run Text="{ReflectionBinding SelectWindow.Name, Mode=OneWay}" />
|
||||
</TextBlock>
|
||||
<TextBlock TextWrapping="WrapWithOverflow">
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_Path, Mode=OneWay, Source={x:Static s:ResourceService.Current}, StringFormat={}{0}:}" />
|
||||
<Run Text="{Binding Path=Res.GameRelated_Borderless_Path, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Path}, StringFormat={}{0}:}" />
|
||||
<Run Text="{ReflectionBinding SelectWindow.Path, Mode=OneWay}" />
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
@@ -153,20 +153,20 @@
|
||||
<Setter Property="Margin" Value="3" />
|
||||
</Style>
|
||||
</WrapPanel.Styles>
|
||||
<Button Command="{ReflectionBinding WindowKill_Click}" Content="{Binding Path=Res.GameRelated_Borderless_KillProcess, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding BorderlessWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_BorderlessWindow, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding MaximizeWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Maximize, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding NormalWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Normal, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding HideWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Hide, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding ShowWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Show, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding WindowKill_Click}" Content="{Binding Path=Res.GameRelated_Borderless_KillProcess, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_KillProcess}}" />
|
||||
<Button Command="{ReflectionBinding BorderlessWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_BorderlessWindow, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_BorderlessWindow}}" />
|
||||
<Button Command="{ReflectionBinding MaximizeWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Maximize, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Maximize}}" />
|
||||
<Button Command="{ReflectionBinding NormalWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Normal, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Normal}}" />
|
||||
<Button Command="{ReflectionBinding HideWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Hide, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Hide}}" />
|
||||
<Button Command="{ReflectionBinding ShowWindow_Click}" Content="{Binding Path=Res.GameRelated_Borderless_Show, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_Show}}" />
|
||||
<Button
|
||||
Command="{ReflectionBinding ToWallerpaperWindow_Click}"
|
||||
Content="{Binding Path=Res.GameRelated_Borderless_ToWallerpaper, Mode=OneWay, Source={x:Static s:ResourceService.Current}}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameRelated_Borderless_ToWallerpaperTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<Button Command="{ReflectionBinding ResetWallerpaper_Click}" Content="{Binding Path=Res.GameRelated_Borderless_ResetWallerpaper, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.GameRelated_Borderless_ToWallerpaper, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_ToWallerpaper}}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameRelated_Borderless_ToWallerpaperTip, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_ToWallerpaperTip}}" />
|
||||
<Button Command="{ReflectionBinding ResetWallerpaper_Click}" Content="{Binding Path=Res.GameRelated_Borderless_ResetWallerpaper, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_ResetWallerpaper}}" />
|
||||
</WrapPanel>
|
||||
|
||||
<!--<TextBlock Text="{ReflectionBinding Path=Res.GameRelated_Borderless_ToWallerpaperTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}, StringFormat=*{0}}" TextWrapping="WrapWithOverflow" />-->
|
||||
<!--<TextBlock Text="{ReflectionBinding Path=Res.GameRelated_Borderless_ToWallerpaperTip, Mode=OneWay, Source={x:Static spp:Strings.GameRelated_Borderless_ToWallerpaperTip}, StringFormat=*{0}}" TextWrapping="WrapWithOverflow" />-->
|
||||
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.Refresh, Mode=OneWay, Source={x:Static spp:Strings.Refresh}}" />
|
||||
</Panel>
|
||||
</Button>
|
||||
<DropDownButton
|
||||
@@ -58,7 +58,7 @@
|
||||
Theme="{StaticResource TransparentButton}">
|
||||
<DropDownButton.Flyout>
|
||||
<ui:FAMenuFlyout Placement="BottomEdgeAlignedRight">
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay,Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem x:Name="PluginSettingButton" Text="{Binding Path=Res.Settings_Plugin, Mode=OneWay,Source={x:Static spp:Strings.Settings_Plugin}}" />-->
|
||||
<!--<ui:MenuFlyoutSeparator />-->
|
||||
<ui:MenuFlyoutItem IsEnabled="False">
|
||||
<ui:MenuFlyoutItem.Text>
|
||||
@@ -66,7 +66,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.Plugin_Version"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.Plugin_Version}" />
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Version"
|
||||
@@ -74,9 +74,9 @@
|
||||
</MultiBinding>
|
||||
</ui:MenuFlyoutItem.Text>
|
||||
</ui:MenuFlyoutItem>
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />-->
|
||||
<!--<ui:MenuFlyoutItem Text="{Binding Path=Res.ViewInStore, Mode=OneWay, Source={x:Static spp:Strings.ViewInStore}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.UseHelp, Mode=OneWay, Source={x:Static spp:Strings.UseHelp}}" />
|
||||
<ui:MenuFlyoutItem Text="{Binding Path=Res.AboutThisPlugin, Mode=OneWay, Source={x:Static spp:Strings.AboutThisPlugin}}" />-->
|
||||
</ui:FAMenuFlyout>
|
||||
</DropDownButton.Flyout>
|
||||
</DropDownButton>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</On>
|
||||
</OnFormFactor>
|
||||
</TabStrip.ItemsPanel>
|
||||
<TabStripItem Content="{Binding Path=Res.Library, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
<TabStripItem Content="{Binding Path=Res.Library, Mode=OneWay, Source={x:Static spp:Strings.Library}}">
|
||||
<TabStripItem.Tag>
|
||||
<x:Type TypeName="spp:BorderlessGamePage" />
|
||||
</TabStripItem.Tag>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
Margin="28,4,0,4"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Text="{Binding Path=Res.SteamIdle_Settings, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.SteamIdle_Settings, Mode=OneWay, Source={x:Static spp:Strings.SteamIdle_Settings}}" />
|
||||
</Panel>
|
||||
</ToggleButton>
|
||||
</StackPanel>
|
||||
@@ -58,7 +58,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.SteamIdle_UserExpString_"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.SteamIdle_UserExpString_}" />
|
||||
<CompiledBinding Mode="OneWay" Path="UserIdleInfo.UserLevel" />
|
||||
<CompiledBinding Mode="OneWay" Path="UserIdleInfo.CurrentExp" />
|
||||
</MultiBinding>
|
||||
@@ -96,7 +96,7 @@
|
||||
<CompiledBinding
|
||||
Mode="OneWay"
|
||||
Path="Res.SteamIdle_UserNextExpString_"
|
||||
Source="{x:Static s:ResourceService.Current}" />
|
||||
Source="{x:Static spp:Strings.SteamIdle_UserNextExpString_}" />
|
||||
<CompiledBinding Mode="OneWay" Path="UserIdleInfo.NextLevel" />
|
||||
<CompiledBinding Mode="OneWay" Path="UserIdleInfo.UpExp" />
|
||||
</MultiBinding>
|
||||
@@ -241,7 +241,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Text="{Binding Path=Res.GameList_RunState, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_RunState, Mode=OneWay, Source={x:Static spp:Strings.GameList_RunState}}" />
|
||||
</WrapPanel>
|
||||
<WrapPanel IsVisible="{Binding App.Process, Converter={StaticResource IsNullConverter}, Mode=OneWay}">
|
||||
<Ellipse
|
||||
@@ -252,7 +252,7 @@
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontSize="12"
|
||||
Text="{Binding Path=Res.GameList_StopState, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Text="{Binding Path=Res.GameList_StopState, Mode=OneWay, Source={x:Static spp:Strings.GameList_StopState}}" />
|
||||
</WrapPanel>
|
||||
</Panel>
|
||||
</Border>
|
||||
@@ -264,7 +264,7 @@
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn,
|
||||
Mode=OneWay,
|
||||
Source={x:Static s:ResourceService.Current}}">
|
||||
Source={x:Static spp:Strings.GameList_RemoveItemBtn}}">
|
||||
<Viewbox>
|
||||
<ui:SymbolIcon Symbol="Delete" />
|
||||
</Viewbox>
|
||||
@@ -343,7 +343,7 @@
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
IsVisible="{Binding !Process, Converter={StaticResource IsNullConverter}}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_StopItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_StopItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_StopItemBtn}}">
|
||||
<Viewbox Width="60" Height="60">
|
||||
<ui:SymbolIcon Symbol="Pause" />
|
||||
</Viewbox>
|
||||
@@ -357,7 +357,7 @@
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
IsVisible="{Binding Process, Converter={StaticResource IsNullConverter}}"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RuningItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RuningItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RuningItemBtn}}">
|
||||
<Viewbox Width="60" Height="60">
|
||||
<ui:SymbolIcon Symbol="Play" />
|
||||
</Viewbox>
|
||||
@@ -370,7 +370,7 @@
|
||||
Command="{Binding $parent[spp:PageBase].((spp:IdleAppsPageViewModel)DataContext).DeleteButtonCommand}"
|
||||
CommandParameter="{Binding}"
|
||||
Cursor="Hand"
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn, Mode=OneWay, Source={x:Static s:ResourceService.Current}}">
|
||||
ToolTip.Tip="{Binding Path=Res.GameList_RemoveItemBtn, Mode=OneWay, Source={x:Static spp:Strings.GameList_RemoveItemBtn}}">
|
||||
<Viewbox Width="20" Height="20">
|
||||
<ui:FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource Close}" />
|
||||
</Viewbox>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
x:CompileBindings="True"
|
||||
x:DataType="spp:IdleSteamLoginPageViewModel"
|
||||
mc:Ignorable="d">
|
||||
<spp:ContentLoader CustomLoadingText="{Binding Path=Res.EnableAccelerationPrompt, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsLoading="{Binding IsLoading}">
|
||||
<spp:ContentLoader CustomLoadingText="{Binding Path=Res.EnableAccelerationPrompt, Mode=OneWay, Source={x:Static spp:Strings.EnableAccelerationPrompt}}" IsLoading="{Binding IsLoading}">
|
||||
<Panel IsVisible="{Binding !IsLoading}">
|
||||
<!-- 登录 -->
|
||||
<StackPanel
|
||||
@@ -32,22 +32,22 @@
|
||||
<TextBox
|
||||
MaxWidth="280"
|
||||
Text="{Binding UserNameText}"
|
||||
Watermark="{Binding Path=Res.Steam_User, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Watermark="{Binding Path=Res.Steam_User, Mode=OneWay, Source={x:Static spp:Strings.Steam_User}}" />
|
||||
<TextBox
|
||||
Name="PasswordText"
|
||||
MaxWidth="280"
|
||||
Classes="revealPasswordButton"
|
||||
PasswordChar="{StaticResource PasswordChar}"
|
||||
Text="{Binding PasswordText}"
|
||||
Watermark="{Binding Path=Res.Steam_Password, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<CheckBox Content="{ReflectionBinding Path=Res.User_Rememberme, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" IsChecked="{Binding RemenberLogin}" />
|
||||
Watermark="{Binding Path=Res.Steam_Password, Mode=OneWay, Source={x:Static spp:Strings.Steam_Password}}" />
|
||||
<CheckBox Content="{ReflectionBinding Path=Res.User_Rememberme, Mode=OneWay, Source={x:Static spp:Strings.User_Rememberme}}" IsChecked="{Binding RemenberLogin}" />
|
||||
|
||||
<Button
|
||||
MinWidth="280"
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding Login}"
|
||||
Content="{Binding Path=Res.Login, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Login, Mode=OneWay, Source={x:Static spp:Strings.Login}}" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
@@ -60,8 +60,8 @@
|
||||
<CompiledBinding Path="RequiresEmailAuth" />
|
||||
</MultiBinding>
|
||||
</StackPanel.IsVisible>
|
||||
<TextBlock IsVisible="{Binding Requires2FA}" Text="{Binding Path=Res.LocalAuth_Steam2FACodeTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock IsVisible="{Binding RequiresEmailAuth}" Text="{Binding Path=Res.LocalAuth_EmailCodeTip, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
<TextBlock IsVisible="{Binding Requires2FA}" Text="{Binding Path=Res.LocalAuth_Steam2FACodeTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_Steam2FACodeTip}}" />
|
||||
<TextBlock IsVisible="{Binding RequiresEmailAuth}" Text="{Binding Path=Res.LocalAuth_EmailCodeTip, Mode=OneWay, Source={x:Static spp:Strings.LocalAuth_EmailCodeTip}}" />
|
||||
<TextBox
|
||||
FontSize="22"
|
||||
Text="{Binding TwofactorCode, Mode=TwoWay}"
|
||||
@@ -72,7 +72,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
HorizontalContentAlignment="Center"
|
||||
Command="{Binding Login}"
|
||||
Content="{Binding Path=Res.Btn_Text_Continue, Mode=OneWay, Source={x:Static s:ResourceService.Current}}" />
|
||||
Content="{Binding Path=Res.Btn_Text_Continue, Mode=OneWay, Source={x:Static spp:Strings.Btn_Text_Continue}}" />
|
||||
</StackPanel>
|
||||
</Panel>
|
||||
</spp:ContentLoader>
|
||||
|
||||
Reference in New Issue
Block a user