1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-25 06:36:08 +03:00

add english

This commit is contained in:
next-autumn 2021-04-30 11:33:58 +08:00
parent 66d9f3b81a
commit 5a21895442
5 changed files with 184 additions and 70 deletions

View File

@ -2,6 +2,8 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:String x:Key="TabItemHeaderAppDeployment">Deployment</sys:String>
<sys:String x:Key="TabItemHeaderReadme">Readme</sys:String>
<sys:String x:Key="LanguageText">Language</sys:String>
<sys:String x:Key="LanguageChinese">Chinese</sys:String>
<sys:String x:Key="LanguageEnglish">English</sys:String>
@ -9,6 +11,7 @@
<sys:String x:Key="AddHost">Add Host</sys:String>
<sys:String x:Key="ViewConfig">Configuration</sys:String>
<sys:String x:Key="ViewSub">Subscription</sys:String>
<sys:String x:Key="Random">Random</sys:String>
<!--table-->
@ -63,5 +66,50 @@
<sys:String x:Key="PorxyAddressNotNull">Please enter proxy host</sys:String>
<sys:String x:Key="ProxyProtNotNull">Please enter proxy port</sys:String>
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS over TCP With XTLS&#x0a;Preferred</sys:String>
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;XTLS is Preferred</sys:String>
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;Support CDN</sys:String>
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">"VLESS mKCP&#x0a;low delay</sys:String>
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;Support CDN</sys:String>
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;low delay</sys:String>
<sys:String x:Key="SSDesc" xml:space="preserve">ShadowSocks&#x0a;Support CDN</sys:String>
<sys:String x:Key="TrojanDesc" xml:space="preserve">Trojan over TCP with TLS&#x0a;Trojan</sys:String>
<sys:String x:Key="XrayDomain">Address</sys:String>
<sys:String x:Key="XrayMarkDomain">GuiseHost</sys:String>
<sys:String x:Key="XrayUUID">UUID</sys:String>
<sys:String x:Key="VlessWsPath">VLESS WS Path</sys:String>
<sys:String x:Key="VlessKcpSeed">VLESS KCP Seed</sys:String>
<sys:String x:Key="VlessKcpType">VLESS KCP Type</sys:String>
<sys:String x:Key="VlessKcpPort">VLESS KCP Port</sys:String>
<sys:String x:Key="VmessWsPath">VMESS WS Path</sys:String>
<sys:String x:Key="VmessKcpSeed">VMESS KCP Seed</sys:String>
<sys:String x:Key="VmessKcpType">VMESS KCP Type</sys:String>
<sys:String x:Key="VmessKcpPort">VMESS KCP Port</sys:String>
<sys:String x:Key="SSPassword">SS Pwd</sys:String>
<sys:String x:Key="SSMethods">SS Method</sys:String>
<sys:String x:Key="TrojanPassword">Trojan Pwd</sys:String>
<sys:String x:Key="XrayPort">xray Port</sys:String>
<sys:String x:Key="XrayPortDefault">default port is 443</sys:String>
<!--Terminal Window-->
<sys:String x:Key="TerminalTitle">Console</sys:String>
<sys:String x:Key="InstallActions">xray/settings</sys:String>
<sys:String x:Key="InstallXray">Install</sys:String>
<sys:String x:Key="UpdateSettings">UpdateSettings</sys:String>
<sys:String x:Key="UpdateXrayCore">UpdateXray</sys:String>
<sys:String x:Key="UninstallXray">UninstallXray</sys:String>
<sys:String x:Key="SettingActions">cert/web</sys:String>
<sys:String x:Key="UpdateCert">UpdateCert</sys:String>
<sys:String x:Key="UploadSelfCert">UploadSelfCert</sys:String>
<sys:String x:Key="UploadWeb">UploadWebite</sys:String>
<sys:String x:Key="UninstallCaddy">UninstallCaddy</sys:String>
<sys:String x:Key="ReadmeInstallXray">Install: Finally output "please enjoy" to indicate completion, go to [Configuration] or [Config] to view the node</sys:String>
<sys:String x:Key="ReadmeUpdateSettings">Update Settings: After modifying the node configuration information, there is no need to reinstall, this function can update the configuration</sys:String>
<sys:String x:Key="ReadmeUpdateCert">Update Cert: The certificate is automatically updated by default, but it is not guaranteed to be updated successfully. If it fails, please use [Update Cert] to update manually</sys:String>
<sys:String x:Key="ReadmeUploadWeb">Upload website: Disguise the website, the correct static webpage must have an index.html file (please check), and then upload the website compressed package.</sys:String>
<sys:String x:Key="ReadmeWebsiteDemo">The following is a static web page connection provided by netizens, please check whether there is an index.html file by yourself</sys:String>
</ResourceDictionary>

View File

@ -2,6 +2,8 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:String x:Key="TabItemHeaderAppDeployment">应用布署</sys:String>
<sys:String x:Key="TabItemHeaderReadme">说明文档</sys:String>
<sys:String x:Key="LanguageText">语言</sys:String>
<sys:String x:Key="LanguageChinese">中文</sys:String>
<sys:String x:Key="LanguageEnglish">英文</sys:String>
@ -9,6 +11,7 @@
<sys:String x:Key="AddHost">添加主机</sys:String>
<sys:String x:Key="ViewConfig">导出配置</sys:String>
<sys:String x:Key="ViewSub">导出订阅</sys:String>
<sys:String x:Key="Random">随机</sys:String>
<!--table-->
<sys:String x:Key="MainTableSelection">选择</sys:String>
@ -22,6 +25,7 @@
<sys:String x:Key="MainTableEditor">编辑</sys:String>
<sys:String x:Key="MainTableDelete">删除</sys:String>
<sys:String x:Key="Connect">连接</sys:String>
<sys:String x:Key="Install">安装</sys:String>
<sys:String x:Key="Edit">编辑</sys:String>
@ -32,7 +36,6 @@
<sys:String x:Key="Warning">提示</sys:String>
<sys:String x:Key="Error">错误</sys:String>
<!--Host Window-->
<sys:String x:Key="HostWindowTitle">服务器管理</sys:String>
<sys:String x:Key="ConnectionGroupName">连接</sys:String>
@ -60,5 +63,54 @@
<sys:String x:Key="PorxyAddressNotNull">请输入代理地址</sys:String>
<sys:String x:Key="ProxyProtNotNull">请输入代理端口号</sys:String>
<sys:String x:Key="VlessXtlsDesc">VLESS Over TCP With XTLS&#x0a;性能数倍,首选方式。</sys:String>
<sys:String x:Key="VlessTcpDesc">VLESS over TCP with TLS&#x0a;仍推荐XTLS。</sys:String>
<sys:String x:Key="VlessWsDesc">VLESS over WS with TLS&#x0a;推荐支持CDN。</sys:String>
<sys:String x:Key="VlessKcpDesc">"VLESS mKCP&#x0a;游戏推荐,延迟低。</sys:String>
<sys:String x:Key="VmessWsDesc">VMESS over WS with TLS&#x0a;推荐支持CDN。</sys:String>
<sys:String x:Key="VmessKcpDesc">VMESS mKCP&#x0a;游戏推荐,延迟低。</sys:String>
<sys:String x:Key="SSDesc">ShadowSocks&#x0a;SS支持udp。</sys:String>
<sys:String x:Key="TrojanDesc">Trojan over TCP with TLS&#x0a;Trojan。</sys:String>
<sys:String x:Key="XrayDomain">域名</sys:String>
<sys:String x:Key="XrayMarkDomain">伪装域名</sys:String>
<sys:String x:Key="XrayUUID">UUID</sys:String>
<sys:String x:Key="VlessWsPath">VLESS WS路径</sys:String>
<sys:String x:Key="VlessKcpSeed">VLESS KCP Seed</sys:String>
<sys:String x:Key="VlessKcpType">VLESS KCP伪装</sys:String>
<sys:String x:Key="VlessKcpPort">VLESS KCP端口</sys:String>
<sys:String x:Key="VmessWsPath">VMESS WS路径</sys:String>
<sys:String x:Key="VmessKcpSeed">VMESS KCP Seed</sys:String>
<sys:String x:Key="VmessKcpType">VMESS KCP伪装</sys:String>
<sys:String x:Key="VmessKcpPort">VMESS KCP端口</sys:String>
<sys:String x:Key="SSPassword">SS密码</sys:String>
<sys:String x:Key="SSMethods">SS加密方式</sys:String>
<sys:String x:Key="TrojanPassword">Trojan密码</sys:String>
<sys:String x:Key="XrayPort">xray端口</sys:String>
<sys:String x:Key="XrayPortDefault">默认端口443不建议修改</sys:String>
<!--Terminal Window-->
<sys:String x:Key="TerminalTitle">控制台</sys:String>
<sys:String x:Key="InstallActions">内核/配置</sys:String>
<sys:String x:Key="InstallXray">一键安装</sys:String>
<sys:String x:Key="UpdateSettings">更新配置</sys:String>
<sys:String x:Key="UpdateXrayCore">更新xray内核</sys:String>
<sys:String x:Key="UninstallXray">卸载代理</sys:String>
<sys:String x:Key="SettingActions">证书/网站</sys:String>
<sys:String x:Key="UpdateCert">续签证书</sys:String>
<sys:String x:Key="UploadSelfCert">上传自有证书</sys:String>
<sys:String x:Key="UploadWeb">上传网站</sys:String>
<sys:String x:Key="UninstallCaddy">卸载Caddy</sys:String>
<sys:String x:Key="ReadmeInstallXray">一键安装: 最后输出 “请尽情享用” 表示完成,到[查看配置]或[导出配置]查看节点</sys:String>
<sys:String x:Key="ReadmeUpdateSettings">更新配置: 修改节点配置信息后,不需要重新安装,这个功能就可以更新配置了</sys:String>
<sys:String x:Key="ReadmeUpdateCert">续签证书: 证书默认是自动续签,但不保证都能续签成功,如果失败请用[续签证书]手动续签</sys:String>
<sys:String x:Key="ReadmeUploadWeb">上传网站: 伪装网站正确的静态网页要有index.html文件(请检查),然后将网站压缩包上传。</sys:String>
<sys:String x:Key="ReadmeWebsiteDemo">如下是网友提供的静态网页连接请自行检查是否有index.html文件</sys:String>
</ResourceDictionary>

View File

@ -89,25 +89,37 @@
Width="1000"
AutoGenerateColumns="False">
<DataGrid.Columns>
<DataGridCheckBoxColumn Header="{DynamicResource MainTableSelection}"
Binding="{Binding Path=IsChecked, UpdateSourceTrigger=PropertyChanged}"
<DataGridCheckBoxColumn Binding="{Binding Path=IsChecked, UpdateSourceTrigger=PropertyChanged}"
IsReadOnly="False"
Width="80"/>
<DataGridTextColumn Header="{DynamicResource MainTableRemark}"
Binding="{Binding Path=Host.Tag}"
Width="180"/>
<DataGridTextColumn Header="{DynamicResource MainTableHost}"
Binding="{Binding Path=Host.Address}"
Width="180"/>
<DataGridTextColumn Header="{DynamicResource MainTablePort}"
Binding="{Binding Path=Host.Port}"
Width="100"/>
<DataGridTextColumn Header="{DynamicResource MainTableProxy}"
Binding="{Binding Path=Host.Proxy.Type}"
Width="100"/>
Width="80">
<DataGridCheckBoxColumn.Header>
<TextBlock Text="{DynamicResource MainTableSelection}" />
</DataGridCheckBoxColumn.Header>
</DataGridCheckBoxColumn>
<DataGridTextColumn Binding="{Binding Path=Host.Tag}" Width="180">
<DataGridTextColumn.Header>
<TextBlock Text="{DynamicResource MainTableRemark}" />
</DataGridTextColumn.Header>
</DataGridTextColumn>
<DataGridTextColumn Binding="{Binding Path=Host.Address}" Width="180">
<DataGridTextColumn.Header>
<TextBlock Text="{DynamicResource MainTableHost}" />
</DataGridTextColumn.Header>
</DataGridTextColumn>
<DataGridTextColumn Binding="{Binding Path=Host.Port}" Width="100">
<DataGridTextColumn.Header>
<TextBlock Text="{DynamicResource MainTablePort}" />
</DataGridTextColumn.Header>
</DataGridTextColumn>
<DataGridTextColumn Binding="{Binding Path=Host.Proxy.Type}" Width="100">
<DataGridTextColumn.Header>
<TextBlock Text="{DynamicResource MainTableProxy}" />
</DataGridTextColumn.Header>
</DataGridTextColumn>
<DataGridTemplateColumn>
<DataGridTemplateColumn.Header>
<TextBlock Text="{DynamicResource Actions}" />
<TextBlock Text="{DynamicResource MainTableActions}" />
</DataGridTemplateColumn.Header>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
@ -132,7 +144,7 @@
Height="40"
FontSize="15"
Style="{StaticResource MaterialDesignNavigationRailTabItem}"
Header="说明文档">
Header="{DynamicResource TabItemHeaderReadme}">
<StackPanel>
<StackPanel Margin="0,0,0,0">
<TextBlock Margin="0,0,0,5" Text="新书指引:" FontWeight="Black" />

View File

@ -17,21 +17,21 @@
<CheckBox Margin="0,10,0,0"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_VLESS_TCP_XTLS}">
<Label Content="VLESS Over TCP With XTLS&#x0a;性能数倍,首选方式。" FontSize="13" Foreground="LimeGreen" />
<Label Content="{DynamicResource VlessXtlsDesc}" FontSize="13" Foreground="LimeGreen" />
</CheckBox>
<!--TCP-->
<CheckBox Margin="0,15,0,0"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_VLESS_TCP}">
<Label Content="VLESS over TCP with TLS&#x0a;仍推荐XTLS" FontSize="13" Foreground="LimeGreen" />
<Label Content="{DynamicResource VlessTcpDesc}" FontSize="13" Foreground="LimeGreen" />
</CheckBox>
<!--WebSocket-->
<CheckBox Margin="0,15,0,0"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_VLESS_WS}">
<Label Content="VLESS over WS with TLS&#x0a;推荐支持CDN。" FontSize="13" Foreground="LimeGreen" />
<Label Content="{DynamicResource VlessWsDesc}" FontSize="13" Foreground="LimeGreen" />
</CheckBox>
<!--mKCP-->
@ -39,7 +39,7 @@
Foreground="LimeGreen"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_VLESS_KCP}">
<Label Content="VLESS mKCP&#x0a;游戏推荐,延迟低。" FontSize="13" Foreground="LimeGreen" />
<Label Content="{DynamicResource VlessKcpDesc}" FontSize="13" Foreground="LimeGreen" />
</CheckBox>
<!--TCP-->
@ -53,21 +53,21 @@
<CheckBox Margin="0,15,0,0"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_VMESS_WS}">
<Label Content="VMESS over WS with TLS&#x0a;推荐支持CDN。" FontSize="13" Foreground="Blue" />
<Label Content="{DynamicResource VmessWsDesc}" FontSize="13" Foreground="Blue" />
</CheckBox>
<!--mKCP-->
<CheckBox Margin="0,15,0,0"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_VMESS_KCP}">
<Label Foreground="Blue" FontSize="13" Content="VMESS mKCP&#x0a;游戏推荐,延迟低。" />
<Label Foreground="Blue" FontSize="13" Content="{DynamicResource VmessKcpDesc}" />
</CheckBox>
<!--ss-->
<CheckBox Margin="0,15,0,0"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.CheckedShadowSocks}">
<Label Content="ShadowSocks&#x0a;SS支持udp。" FontSize="13" Foreground="Fuchsia" />
<Label Content="{DynamicResource SSDesc}" FontSize="13" Foreground="Fuchsia" />
</CheckBox>
<!--Trojan-->
@ -75,7 +75,7 @@
Foreground="CadetBlue"
Style="{StaticResource MahApps.Styles.CheckBox}"
IsChecked="{Binding Path=Settings.Checked_Trojan_TCP}">
<Label Content="Trojan over TCP with TLS&#x0a;Trojan" FontSize="13" Foreground="CadetBlue" />
<Label Content="{DynamicResource TrojanDesc}" FontSize="13" Foreground="CadetBlue" />
</CheckBox>
<!--gRPC-->
@ -94,21 +94,21 @@
<!--Domain-->
<StackPanel Margin="40,15,0,0"
Orientation="Horizontal">
<Label Content="域名" Width="120" />
<Label Content="{DynamicResource XrayDomain}" Width="120" />
<TextBox Text="{Binding Path=Settings.Domain}" Width="260" />
</StackPanel>
<!--Mask Domain-->
<StackPanel Margin="40,15,0,0"
Orientation="Horizontal">
<Label Content="伪装域名" Width="120" />
<Label Content="{DynamicResource XrayMarkDomain}" Width="120" />
<TextBox Text="{Binding Path=Settings.MaskDomain}" Width="260" />
</StackPanel>
<!--UUID-->
<StackPanel Margin="40,10,0,0"
Orientation="Horizontal">
<Label Content="UUID" Width="120" />
<Label Content="{DynamicResource XrayUUID}" Width="120" />
<TextBox Text="{Binding Path=Settings.UUID}"
Width="260" />
@ -117,7 +117,7 @@
Margin="5,0,0,0"
FontSize="12"
Command="{Binding Path=Settings.RandomUuid}"
Content="随机" />
Content="{DynamicResource Random}" />
</StackPanel>
<!--WebSocket Path-->
@ -127,7 +127,7 @@
Binding Path=Settings.Checked_VLESS_WS,
Converter={StaticResource VisibleConverter}
}">
<Label Content="VLESS WS路径" Foreground="LimeGreen" Width="120" />
<Label Content="{DynamicResource VlessWsPath}" Foreground="LimeGreen" Width="120" />
<TextBox Text="{Binding Path=Settings.VLESS_WS_Path}"
Width="260" />
</StackPanel>
@ -139,7 +139,7 @@
Binding Path=Settings.Checked_VLESS_KCP,
Converter={StaticResource VisibleConverter}
}">
<Label Content="VLESS KCP Seed" Foreground="LimeGreen" Width="120" />
<Label Content="{DynamicResource VlessKcpSeed}" Foreground="LimeGreen" Width="120" />
<TextBox Text="{Binding Path=Settings.VLESS_KCP_Seed}" Width="260" />
</StackPanel>
@ -150,7 +150,7 @@
Converter={StaticResource VisibleConverter}
}" Orientation="Horizontal">
<Label Content="VLESS KCP伪装" Foreground="LimeGreen" Width="120" />
<Label Content="{DynamicResource VlessKcpType}" Foreground="LimeGreen" Width="120" />
<ComboBox Width="260"
ItemsSource="{Binding Path=Settings.KcpTypes}"
SelectedValue="{Binding Settings.VLESS_KCP_Type,Mode=TwoWay}">
@ -164,7 +164,7 @@
Converter={StaticResource VisibleConverter}
}"
Orientation="Horizontal">
<Label Content="VLESS KCP端口" Width="120" Foreground="LimeGreen" />
<Label Content="{DynamicResource VlessKcpPort}" Width="120" Foreground="LimeGreen" />
<TextBox Text="{Binding Path=Settings.VLESS_KCP_Port}" Width="260" />
</StackPanel>
@ -202,7 +202,7 @@
Binding Path=Settings.Checked_VMESS_WS,
Converter={StaticResource VisibleConverter}
}">
<Label Content="VMESS WS路径" Foreground="Blue" Width="120" />
<Label Content="{DynamicResource VmessWsPath}" Foreground="Blue" Width="120" />
<TextBox Text="{Binding Path=Settings.VMESS_WS_Path}"
VerticalAlignment="Bottom"
Width="260" />
@ -215,7 +215,7 @@
Binding Path=Settings.Checked_VMESS_KCP,
Converter={StaticResource VisibleConverter}
}">
<Label Content="VMESS KCP Seed" Foreground="Blue" Width="120" />
<Label Content="{DynamicResource VmessKcpSeed}" Foreground="Blue" Width="120" />
<TextBox Text="{Binding Path=Settings.VMESS_KCP_Seed}" Width="260" />
</StackPanel>
@ -226,7 +226,7 @@
Binding Path=Settings.Checked_VMESS_KCP,
Converter={StaticResource VisibleConverter}
}">
<Label Content="VMESS KCP伪装" Foreground="Blue" Width="120" VerticalAlignment="Bottom"/>
<Label Content="{DynamicResource VmessKcpType}" Foreground="Blue" Width="120" VerticalAlignment="Bottom"/>
<ComboBox Width="260"
VerticalAlignment="Bottom"
ItemsSource="{Binding Path=Settings.KcpTypes}"
@ -241,7 +241,7 @@
Binding Path=Settings.Checked_VMESS_KCP,
Converter={StaticResource VisibleConverter}
}">
<Label Content="VMESS KCP端口" Foreground="Blue" Width="120" />
<Label Content="{DynamicResource VmessKcpPort}" Foreground="Blue" Width="120" />
<TextBox Text="{Binding Path=Settings.VMESS_KCP_Port}" Width="260" />
</StackPanel>
@ -252,7 +252,7 @@
Binding Path=Settings.CheckedShadowSocks,
Converter={StaticResource VisibleConverter}
}">
<Label Content="SS密码" Foreground="Fuchsia" Width="120" />
<Label Content="{DynamicResource SSPassword}" Foreground="Fuchsia" Width="120" />
<TextBox Text="{Binding Path=Settings.ShadowSocksPassword}"
Width="260"/>
</StackPanel>
@ -264,7 +264,7 @@
Binding Path=Settings.CheckedShadowSocks,
Converter={StaticResource VisibleConverter}
}">
<Label Content="SS加密方式" Foreground="Fuchsia" Width="120" />
<Label Content="{DynamicResource SSMethods}" Foreground="Fuchsia" Width="120" />
<ComboBox Width="260"
ItemsSource="{Binding Settings.ShadowSocksMethods}"
SelectedValue="{Binding Settings.ShadowSocksMethod}">
@ -278,7 +278,7 @@
Binding Path=Settings.Checked_Trojan_TCP,
Converter={StaticResource VisibleConverter}
}">
<Label Content="Trojan密码" Foreground="CadetBlue" Width="120" />
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
<TextBox Text="{Binding Path=Settings.TrojanPassword}"
Width="260" />
</StackPanel>
@ -286,9 +286,9 @@
<!--xray prot-->
<StackPanel Margin="40,15,0,0"
Orientation="Horizontal">
<Label Content="Xray端口" Foreground="Gray" Width="120" />
<Label Content="{DynamicResource XrayPort}" Foreground="Gray" Width="120" />
<TextBox Text="{Binding Path=Settings.Port}" Width="120" />
<Label Content="默认端口443不建议修改" Foreground="Red" />
<Label Content="{DynamicResource XrayPortDefault}" Foreground="Red" />
</StackPanel>
</StackPanel>
</StackPanel>

View File

@ -7,7 +7,7 @@
xmlns:metro="http://metro.mahapps.com/winfx/xaml/controls"
mc:Ignorable="d"
FontSize="15"
Title="主机控制台" Height="600" Width="800">
Title="{DynamicResource TerminalTitle}" Height="640" Width="900">
<StackPanel>
<TextBox IsReadOnly="True"
Block.LineHeight="18"
@ -24,85 +24,87 @@
Orientation="Vertical"
HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal">
<TextBlock Text="内核/配置"
<TextBlock Text="{DynamicResource InstallActions}"
VerticalAlignment="Center"
Width="100"
Margin="0,0,10,0"/>
<Button Content="一键安装"
<Button Content="{DynamicResource InstallXray}"
Click="Install"
Height="26"
IsEnabled="{Binding HasConnected}"
Width="120"/>
Width="150"/>
<Button Content="更新配置"
<Button Content="{DynamicResource UpdateSettings}"
Margin="10,0,0,0"
Click="UpdateXraySettings"
Height="26"
IsEnabled="{Binding HasConnected}"
Width="120"/>
Width="150"/>
<Button Content="更新Xray内核"
<Button Content="{DynamicResource UpdateXrayCore}"
Margin="10,0,0,0"
Click="UpdateXrayCore"
Height="26"
IsEnabled="{Binding HasConnected}"
Width="120"/>
Width="150"/>
<Button Content="卸载代理"
<Button Content="{DynamicResource UninstallXray}"
Margin="10,0,0,0"
Click="UninstallXray"
Height="26"
Width="120"
Width="150"
IsEnabled="{Binding HasConnected}"/>
</StackPanel>
<StackPanel Orientation="Horizontal"
Margin="0,10,0,0">
<TextBlock Text="证书/网站"
<TextBlock Text="{DynamicResource SettingActions}"
VerticalAlignment="Center"
Width="100"
Margin="0,0,10,0"/>
<Button Content="续签证书"
<Button Content="{DynamicResource UpdateCert}"
Margin="0,0,0,0"
Height="26"
Width="120"
Width="150"
IsEnabled="{Binding HasConnected}"
Click="InstallCert"/>
<Button Content="上传自有证书"
<Button Content="{DynamicResource UploadSelfCert}"
Margin="10,0,0,0"
Height="26"
Width="120"
Width="150"
IsEnabled="{Binding HasConnected}"
Click="UploadCert"/>
<Button Content="上传网站"
<Button Content="{DynamicResource UploadWeb}"
Margin="10,0,0,0"
Height="26"
Width="120"
Width="150"
IsEnabled="{Binding HasConnected}"
Click="UploadWeb"/>
<Button Content="卸载Caddy"
<Button Content="{DynamicResource UninstallCaddy}"
Margin="10,0,0,0"
Click="UninstallCaddy"
Height="26"
IsEnabled="{Binding HasConnected}"
Width="120"/>
Width="150"/>
</StackPanel>
</StackPanel>
<StackPanel Margin="10,0,0,0">
<Label Content="说明:"/>
<Label Content="说明(Readme)"/>
<StackPanel Margin="10,0,0,0">
<Label Content="一键安装: 最后输出 “请尽情享用” 表示完成,到[查看配置]或[导出配置]查看节点" />
<Label Content="更新配置: 修改节点配置信息后,不需要重新安装,这个功能就可以更新配置了" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeInstallXray}" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeUpdateSettings}" />
<Label Content="续签证书: 证书默认是自动续签,但不保证都能续签成功,如果失败请用[续签证书]手动续签" />
<Label Content="上传网站: 伪装网站正确的静态网页要有index.html文件(请检查),然后将网站压缩包上传。" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeUpdateCert}" />
<TextBlock TextWrapping="WrapWithOverflow" Text="{DynamicResource ReadmeUploadWeb}" />
</StackPanel>
<Label Margin="0,10,0,0" Content="如下是网友提供的静态网页连接请自行检查是否有index.html文件" />
<Label Margin="0,10,0,0" Content="{DynamicResource ReadmeWebsiteDemo}" />
<StackPanel Orientation="Horizontal">
<TextBlock Margin="10,0,0,0">
<Hyperlink NavigateUri="https://www.themezy.com" Click="OpenLink">Themezy</Hyperlink>