Add proxy locales

This commit is contained in:
doteq 2023-05-08 16:18:22 +02:00
parent 447940cf36
commit ece8c139ed
2 changed files with 15 additions and 8 deletions

View file

@ -512,6 +512,13 @@
"SettingsTabAudio": "Audio",
"SettingsTabNetwork": "Network",
"SettingsTabNetworkConnection": "Network Connection",
"SettingsTabNetworkProxy": "Proxy",
"SettingsTabNetworkProxyEnabled": "Proxy enabled",
"SettingsTabNetworkProxyEnabledTooltip": "Sends all HTTP requests through the proxy server. Useful for intercepting network traffic and mocking responses.",
"SettingsTabNetworkProxyAddress": "Proxy address",
"SettingsTabNetworkProxyAddressTooltip": "IP address and port of your HTTP proxy server.",
"SettingsTabNetworkProxyIpAddress": "IP address",
"SettingsTabNetworkProxyPort": "Port",
"SettingsTabCpuCache": "CPU Cache",
"SettingsTabCpuMemory": "CPU Mode",
"DialogUpdaterFlatpakNotSupportedMessage": "Please update Ryujinx via FlatHub.",

View file

@ -44,33 +44,33 @@
</StackPanel>
<Separator Height="1" />
<StackPanel Orientation="Vertical" Spacing="2">
<TextBlock Classes="h1" Text="Proxy" />
<TextBlock Classes="h1" Text="{locale:Locale SettingsTabNetworkProxy}" />
</StackPanel>
<StackPanel
Margin="10,0,0,0"
HorizontalAlignment="Stretch"
Orientation="Vertical">
<CheckBox Margin="10,0,0,0" IsChecked="{Binding EnableProxy}">
<TextBlock Text="Proxy enabled"
ToolTip.Tip="Sends all HTTP requests through the proxy server. Useful for intercepting network traffic and mocking responses." />
<TextBlock Text="{locale:Locale SettingsTabNetworkProxyEnabled}"
ToolTip.Tip="{locale:Locale SettingsTabNetworkProxyEnabledTooltip}" />
</CheckBox>
<StackPanel Margin="10,0,0,0" Orientation="Horizontal">
<TextBlock VerticalAlignment="Center"
Text="Proxy address"
ToolTip.Tip="IP address and port of your HTTP proxy server"
Text="{locale:Locale SettingsTabNetworkProxyAddress}"
ToolTip.Tip="{locale:Locale SettingsTabNetworkProxyAddressTooltip}"
Width="200" />
<TextBox Margin="0,0,5,0"
Text="{Binding ProxyIpAddress}"
Width="250"
Watermark="IP address"
ToolTip.Tip="IP address"
Watermark="{locale:Locale SettingsTabNetworkProxyIpAddress}"
ToolTip.Tip="{locale:Locale SettingsTabNetworkProxyIpAddress}"
IsEnabled="{Binding EnableProxy}"/>
<NumericUpDown Width="50"
Value="{Binding ProxyPort}"
ShowButtonSpinner="False"
Minimum="0"
Maximum="65535"
ToolTip.Tip="Port"
ToolTip.Tip="{locale:Locale SettingsTabNetworkProxyPort}"
IsEnabled="{Binding EnableProxy}"/>
</StackPanel>
</StackPanel>