Skip to content

Commit

Permalink
Fix localization bug
Browse files Browse the repository at this point in the history
See issue #7
  • Loading branch information
valnoxy committed Jul 23, 2023
1 parent 7f8f93d commit c9cf148
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions GoAwayEdge/GoAwayEdge.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
Expand All @@ -13,7 +13,7 @@
<AssemblyName>GoAwayEdge</AssemblyName>
<Company>Exploitox</Company>
<Authors>valnoxy</Authors>
<Version>1.1.0.38</Version>
<Version>1.1.1.42</Version>
<Copyright>Copyright (c) 2018 - 2023 Exploitox. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/valnoxy/GoAwayEdge</PackageProjectUrl>
<RepositoryUrl>https://github.com/valnoxy/GoAwayEdge</RepositoryUrl>
Expand Down
8 changes: 4 additions & 4 deletions GoAwayEdge/Installer.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:local="clr-namespace:GoAwayEdge"
mc:Ignorable="d"
Title="{StaticResource Title}" MaxHeight="500" MaxWidth="800"
Title="{DynamicResource Title}" MaxHeight="500" MaxWidth="800"
MinHeight="500" MinWidth="800" Height="500" Width="800"
WindowStartupLocation="CenterScreen"
ExtendsContentIntoTitleBar="True"
Expand All @@ -31,11 +31,11 @@
<Label Content="Version 1.2.0" VerticalContentAlignment="Bottom" x:Name="VersionLbl"/>
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="{StaticResource Back}" Margin="0,0,5,0" Click="BackBtn_OnClick" x:Name="BackBtn" IsEnabled="false"/>
<Button Content="{StaticResource Next}" Margin="0,0,5,0" Click="NextBtn_OnClick" x:Name="NextBtn" IsEnabled="false"/>
<Button Content="{DynamicResource Back}" Margin="0,0,5,0" Click="BackBtn_OnClick" x:Name="BackBtn" IsEnabled="false"/>
<Button Content="{DynamicResource Next}" Margin="0,0,5,0" Click="NextBtn_OnClick" x:Name="NextBtn" IsEnabled="false"/>
</StackPanel>
</DockPanel>

<ui:TitleBar x:Name="Bar" Title="{StaticResource Title}" Grid.Row="0" ShowMaximize="false"/>
<ui:TitleBar x:Name="Bar" Title="{DynamicResource Title}" Grid.Row="0" ShowMaximize="false"/>
</Grid>
</ui:UiWindow>
4 changes: 2 additions & 2 deletions GoAwayEdge/Pages/Installation.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
d:DesignHeight="450" d:DesignWidth="800">
<StackPanel>
<ui:SymbolIcon Symbol="Apps24" FontSize="80" />
<Label Content="{StaticResource SetupProgressTitle}"
<Label Content="{DynamicResource SetupProgressTitle}"
HorizontalAlignment="Center"
FontSize="30"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"/>
<Label Content="{StaticResource SetupProgressDescription}"
<Label Content="{DynamicResource SetupProgressDescription}"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Margin="0,15,0,0"
FontSize="14"
Expand Down
6 changes: 3 additions & 3 deletions GoAwayEdge/Pages/InstallationSuccess.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
d:DesignHeight="450" d:DesignWidth="800">
<StackPanel>
<ui:SymbolIcon Symbol="CheckmarkCircle24" FontSize="80" />
<Label Content="{StaticResource SetupFinishedTitle}"
<Label Content="{DynamicResource SetupFinishedTitle}"
HorizontalAlignment="Center"
FontSize="30"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"/>
<Label Content="{StaticResource SetupFinishedDescription}"
<Label Content="{DynamicResource SetupFinishedDescription}"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Margin="0,15,0,0"
FontSize="14"
HorizontalAlignment="Center"/>
<ui:Hyperlink HorizontalAlignment="Center" NavigateUri="https://paypal.me/valnoxy" Content="{StaticResource DonateButton}"/>
<ui:Hyperlink HorizontalAlignment="Center" NavigateUri="https://paypal.me/valnoxy" Content="{DynamicResource DonateButton}"/>
</StackPanel>
</UserControl>
6 changes: 3 additions & 3 deletions GoAwayEdge/Pages/License.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<StackPanel>
<TextBlock Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{StaticResource LicenseNote}"/>
<TextBlock Foreground="{DynamicResource TextFillColorPrimaryBrush}" Text="{DynamicResource LicenseNote}"/>

<ui:Card Margin="0,10,0,10">
<ScrollViewer Height="240" Margin="0,-5,-10,0">
<TextBlock x:Name="LicenseBlock" />
</ScrollViewer>
</ui:Card>

<RadioButton Content="{StaticResource LicenseAccept}" Click="AcceptLicenseRb_Click"/>
<RadioButton Content="{StaticResource LicenseDecline}" IsChecked="true" Click="DeclineLicenseRb_Click"/>
<RadioButton Content="{DynamicResource LicenseAccept}" Click="AcceptLicenseRb_Click"/>
<RadioButton Content="{DynamicResource LicenseDecline}" IsChecked="true" Click="DeclineLicenseRb_Click"/>
</StackPanel>
</Grid>
</UserControl>
18 changes: 9 additions & 9 deletions GoAwayEdge/Pages/Settings.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<StackPanel>
<Label FontSize="20" Content="{StaticResource SettingsTitle}" Foreground="{DynamicResource TextFillColorPrimaryBrush}"/>
<Label FontSize="20" Content="{DynamicResource SettingsTitle}" Foreground="{DynamicResource TextFillColorPrimaryBrush}"/>
<StackPanel Margin="0,5,0,0">
<ui:CardControl Icon="Channel24">
<ui:CardControl.Header>
Expand All @@ -21,11 +21,11 @@
<TextBlock
FontSize="13"
FontWeight="Medium"
Text="{StaticResource SettingsEdgeChannelTitle}" />
Text="{DynamicResource SettingsEdgeChannelTitle}" />
<TextBlock
FontSize="12"
Foreground="{DynamicResource TextFillColorTertiaryBrush}"
Text="{StaticResource SettingsEdgeChannelDescription}" />
Text="{DynamicResource SettingsEdgeChannelDescription}" />
</StackPanel>
<ComboBox Grid.Column="1" x:Name="EdgeChannelBox" Width="180" SelectionChanged="EdgeChannelBox_OnSelectionChanged"/>
</Grid>
Expand All @@ -45,11 +45,11 @@
<TextBlock
FontSize="13"
FontWeight="Medium"
Text="{StaticResource SettingsSearchEngineTitle}" />
Text="{DynamicResource SettingsSearchEngineTitle}" />
<TextBlock
FontSize="12"
Foreground="{DynamicResource TextFillColorTertiaryBrush}"
Text="{StaticResource SettingsSearchEngineDescription}" />
Text="{DynamicResource SettingsSearchEngineDescription}" />
</StackPanel>
<ComboBox Grid.Column="1" x:Name="SearchEngineBox" Width="180" SelectionChanged="SearchEngineBox_OnSelectionChanged"/>
</Grid>
Expand All @@ -69,11 +69,11 @@
<TextBlock
FontSize="13"
FontWeight="Medium"
Text="{StaticResource SettingsCustomSearchEngineTitle}" />
Text="{DynamicResource SettingsCustomSearchEngineTitle}" />
<TextBlock
FontSize="12"
Foreground="{DynamicResource TextFillColorTertiaryBrush}"
Text="{StaticResource SettingsCustomSearchEngineDescription}"/>
Text="{DynamicResource SettingsCustomSearchEngineDescription}"/>
</StackPanel>
<ui:TextBox Grid.Column="1" Width="300" x:Name="QueryUrlTextBox" TextChanged="QueryUrlTextBox_OnTextChanged" PlaceholderText="https://www.google.com/search?q="/>
</Grid>
Expand All @@ -93,11 +93,11 @@
<TextBlock
FontSize="13"
FontWeight="Medium"
Text="{StaticResource SettingsUninstallTitle}" />
Text="{DynamicResource SettingsUninstallTitle}" />
<TextBlock
FontSize="12"
Foreground="{DynamicResource TextFillColorTertiaryBrush}"
Text="{StaticResource SettingsUninstallDescription}"
Text="{DynamicResource SettingsUninstallDescription}"
x:Name="EdgeUninstallNote"/>
</StackPanel>
<ui:ToggleSwitch Grid.Column="1" x:Name="UninstallSwitch" Click="UninstallSwitch_OnClick"/>
Expand Down

0 comments on commit c9cf148

Please sign in to comment.