Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into feature/resx
  • Loading branch information
ennerperez authored Mar 18, 2024
commit 14550655f3e5ead73e54464daf42d519c403fe71
12 changes: 5 additions & 7 deletions src/App.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
using System.IO;
using System.Reflection;
using System.Text;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Threading;

using Avalonia;
using Avalonia.Controls;
Expand All @@ -11,13 +15,6 @@
using Avalonia.Media;
using Avalonia.Media.Fonts;
using Avalonia.Styling;
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;

namespace SourceGit
{
Expand Down Expand Up @@ -91,6 +88,7 @@ public static void SendNotification(string context, string message)
public static void SetLocale(string localeKey)
{
var app = Current as App;

localeKey = localeKey.Replace("_", "-");

Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(localeKey);
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.