Ukrainisch und Arabisch als Sprachen hinzugefügt
This commit is contained in:
165
SkyTeam/Resources.ar.resx
Normal file
165
SkyTeam/Resources.ar.resx
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="BookFlightButton" xml:space="preserve">
|
||||||
|
<value>احجز الرحلة الآن</value>
|
||||||
|
</data>
|
||||||
|
<data name="HeaderSubtitle" xml:space="preserve">
|
||||||
|
<value>رحلات آمنة ومريحة حول العالم</value>
|
||||||
|
</data>
|
||||||
|
<data name="HeaderTitle" xml:space="preserve">
|
||||||
|
<value>سكاي تيم للطيران</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServiceDataSecurity" xml:space="preserve">
|
||||||
|
<value>إدارة بيانات آمنة</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServiceDataSecurityDesc" xml:space="preserve">
|
||||||
|
<value>CRUD كامل للعملاء والرحلات والطيارين</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServicePersonalSupport" xml:space="preserve">
|
||||||
|
<value>دعم عملاء شخصي</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServicePersonalSupportDesc" xml:space="preserve">
|
||||||
|
<value>تخطيط رحلات مخصص واحتياجات فردية</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServicesTitle" xml:space="preserve">
|
||||||
|
<value>خدماتنا</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarBookings" xml:space="preserve">
|
||||||
|
<value>حجوزاتي</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarHome" xml:space="preserve">
|
||||||
|
<value>الرئيسية</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarLogout" xml:space="preserve">
|
||||||
|
<value>تسجيل الخروج</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarSettings" xml:space="preserve">
|
||||||
|
<value>الإعدادات</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeDescription" xml:space="preserve">
|
||||||
|
<value>تقدم سكاي تيم للطيران خدمات طائرات خاصة مريحة للمسافرين من رجال الأعمال. تضمن أسطولنا الحديث من أحدث الطائرات الخاصة أقصى درجات الراحة في رحلاتك.</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeSubtitle" xml:space="preserve">
|
||||||
|
<value>خدمات طيران حصرية للطائرات الخاصة</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeTitle" xml:space="preserve">
|
||||||
|
<value>مرحبًا بكم في سكاي تيم للطيران</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<data name="BookFlightButton" xml:space="preserve">
|
<data name="BookFlightButton" xml:space="preserve">
|
||||||
<value />
|
<value>Book Flight Now</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="HeaderSubtitle" xml:space="preserve">
|
<data name="HeaderSubtitle" xml:space="preserve">
|
||||||
<value>Safe and comfortable flights worldwide</value>
|
<value>Safe and comfortable flights worldwide</value>
|
||||||
|
|||||||
165
SkyTeam/Resources.uk.resx
Normal file
165
SkyTeam/Resources.uk.resx
Normal file
@@ -0,0 +1,165 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="BookFlightButton" xml:space="preserve">
|
||||||
|
<value>Забронювати рейс</value>
|
||||||
|
</data>
|
||||||
|
<data name="HeaderSubtitle" xml:space="preserve">
|
||||||
|
<value>Безпечні та комфортні перельоти по всьому світу</value>
|
||||||
|
</data>
|
||||||
|
<data name="HeaderTitle" xml:space="preserve">
|
||||||
|
<value>Sky Team Airlines (UA)</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServiceDataSecurity" xml:space="preserve">
|
||||||
|
<value>Безпечне управління даними</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServiceDataSecurityDesc" xml:space="preserve">
|
||||||
|
<value>Повний CRUD для клієнтів, рейсів, пілотів</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServicePersonalSupport" xml:space="preserve">
|
||||||
|
<value>Персональне обслуговування клієнтів</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServicePersonalSupportDesc" xml:space="preserve">
|
||||||
|
<value>Індивідуальне планування рейсу та особисті потреби</value>
|
||||||
|
</data>
|
||||||
|
<data name="ServicesTitle" xml:space="preserve">
|
||||||
|
<value>Наші послуги</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarBookings" xml:space="preserve">
|
||||||
|
<value>Мої бронювання</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarHome" xml:space="preserve">
|
||||||
|
<value>Головна</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarLogout" xml:space="preserve">
|
||||||
|
<value>Вийти</value>
|
||||||
|
</data>
|
||||||
|
<data name="SidebarSettings" xml:space="preserve">
|
||||||
|
<value>Налаштування</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeDescription" xml:space="preserve">
|
||||||
|
<value>Sky Team Airlines пропонує комфортні послуги приватних джетів для бізнес-подорожуючих. Наш сучасний парк новітніх бізнес-джетів гарантує максимальний комфорт під час польотів.</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeSubtitle" xml:space="preserve">
|
||||||
|
<value>Ексклюзивні послуги з перельотів приватними джетами</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeTitle" xml:space="preserve">
|
||||||
|
<value>Ласкаво просимо до Sky Team Airlines</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@@ -126,6 +126,8 @@
|
|||||||
SelectionChanged="LanguageComboBox_SelectionChanged">
|
SelectionChanged="LanguageComboBox_SelectionChanged">
|
||||||
<ComboBoxItem Content="Deutsch" Tag="de"/>
|
<ComboBoxItem Content="Deutsch" Tag="de"/>
|
||||||
<ComboBoxItem Content="English" Tag="en"/>
|
<ComboBoxItem Content="English" Tag="en"/>
|
||||||
|
<ComboBoxItem Content="Українська" Tag="uk"/>
|
||||||
|
<ComboBoxItem Content="العربية" Tag="ar"/>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using MySql.Data.MySqlClient;
|
using MySql.Data.MySqlClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
|
using System.Threading;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
@@ -100,6 +101,11 @@ namespace SkyTeam
|
|||||||
string culture = selectedItem.Tag.ToString();
|
string culture = selectedItem.Tag.ToString();
|
||||||
Thread.CurrentThread.CurrentUICulture = new CultureInfo(culture);
|
Thread.CurrentThread.CurrentUICulture = new CultureInfo(culture);
|
||||||
|
|
||||||
|
if (culture == "ar")
|
||||||
|
this.FlowDirection = FlowDirection.RightToLeft;
|
||||||
|
else
|
||||||
|
this.FlowDirection = FlowDirection.LeftToRight;
|
||||||
|
|
||||||
NavigationService.Navigate(new SettingsPage());
|
NavigationService.Navigate(new SettingsPage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net8.0-windows</TargetFramework>
|
<TargetFramework>net8.0-windows</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
|||||||
Reference in New Issue
Block a user