Skip to content

Commit

Permalink
Merge pull request #466 from Leo-Corporation/vNext
Browse files Browse the repository at this point in the history
Version 4.5.1.2409
  • Loading branch information
lpeyr authored Sep 8, 2024
2 parents ec90f19 + 64c66dc commit 2c9a4fc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Gavilya/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ protected override void OnStartup(StartupEventArgs e)
if (currentProfile.Settings.Language != Language.Default)
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(currentProfile.Settings.Language switch
{
Language.en_US => "en-US",
Language.ru_RU => "ru-RU",
Language.fr_FR => "fr-FR",
Language.zh_CN => "zh-CN",
_ => "en-US",
});

currentProfile.Settings.EnableSearchShortcut ??= true;
Expand Down
2 changes: 1 addition & 1 deletion Gavilya/Gavilya.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<UseWindowsForms>True</UseWindowsForms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Title>Gavilya</Title>
<Version>4.5.0.2407</Version>
<Version>4.5.1.2409</Version>
<Authors>Léo Corporation</Authors>
<Description>Gavilya is a simple game launcher for Windows.</Description>
<Copyright>© 2024</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion Gavilya/Helpers/Context.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
namespace Gavilya.Helpers;
public static class Context
{
public static string Version => "4.5.0.2407";
public static string Version => "4.5.1.2409";
public static string LastVersionLink => "https://raw.githubusercontent.com/Leo-Corporation/LeoCorp-Docs/master/Liens/Update%20System/Gavilya/Version.txt";
}
3 changes: 2 additions & 1 deletion Gavilya/Models/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,6 @@ public enum Language
Default,
en_US,
fr_FR,
zh_CN
zh_CN,
ru_RU
}
1 change: 1 addition & 0 deletions Gavilya/Views/SettingsViews/LanguageView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<ComboBoxItem Content="English (United States)" />
<ComboBoxItem Content="Français (France)" />
<ComboBoxItem Content="中文(简体)" />
<ComboBoxItem Content="Русский (Россия)" />
</ComboBox>
<Button
x:Name="SaveButton"
Expand Down

0 comments on commit 2c9a4fc

Please sign in to comment.