Ukrainisch und Arabisch als Sprachen hinzugefügt
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using MySql.Data.MySqlClient;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Media;
|
||||
@@ -100,6 +101,11 @@ namespace SkyTeam
|
||||
string culture = selectedItem.Tag.ToString();
|
||||
Thread.CurrentThread.CurrentUICulture = new CultureInfo(culture);
|
||||
|
||||
if (culture == "ar")
|
||||
this.FlowDirection = FlowDirection.RightToLeft;
|
||||
else
|
||||
this.FlowDirection = FlowDirection.LeftToRight;
|
||||
|
||||
NavigationService.Navigate(new SettingsPage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user