Übetsetzung aller Benutzerseiten hinzugefügt

This commit is contained in:
2026-02-17 11:51:52 +01:00
parent e50f578547
commit 94479d259c
11 changed files with 980 additions and 76 deletions

View File

@@ -2,6 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:properties="clr-namespace:SkyTeam"
Title="AdminDashboard" Title="AdminDashboard"
Background="{DynamicResource PageBackground}"> Background="{DynamicResource PageBackground}">
@@ -19,8 +20,8 @@
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="ShieldAccount" Width="36" Height="36" Foreground="White" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="ShieldAccount" Width="36" Height="36" Foreground="White" Margin="0,0,10,0"/>
<StackPanel> <StackPanel>
<TextBlock Text="Sky Team ADMIN" FontSize="20" FontWeight="Bold" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.AdminHeaderTitle}" FontSize="20" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="Management Console" FontSize="12" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.AdminHeaderSubtitle}" FontSize="12" Foreground="White"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</Border> </Border>
@@ -29,19 +30,19 @@
<Button Height="50" Margin="5" Click="ShowUsers_Click"> <Button Height="50" Margin="5" Click="ShowUsers_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="AccountGroup" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="AccountGroup" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Benutzer verwalten"/> <TextBlock Text="{x:Static properties:Resources.AdminSidebarManageUsers}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="ShowFlights_Click"> <Button Height="50" Margin="5" Click="ShowFlights_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Flüge verwalten"/> <TextBlock Text="{x:Static properties:Resources.AdminSidebarManageFlights}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="Logout_Click"> <Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="Logout_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Abmelden"/> <TextBlock Text="{x:Static properties:Resources.AdminSidebarLogout}"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>
@@ -56,7 +57,7 @@
<RowDefinition Height="*"/> <RowDefinition Height="*"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<TextBlock Text="Alle Benutzer" FontSize="24" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.AdminUsersTitle}" FontSize="24" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
<DataGrid x:Name="AllUsersGrid" Grid.Row="1" Margin="0,10,0,20" AutoGenerateColumns="False" IsReadOnly="True" SelectionMode="Single" SelectionChanged="AllUsersGrid_SelectionChanged"> <DataGrid x:Name="AllUsersGrid" Grid.Row="1" Margin="0,10,0,20" AutoGenerateColumns="False" IsReadOnly="True" SelectionMode="Single" SelectionChanged="AllUsersGrid_SelectionChanged">
<DataGrid.Columns> <DataGrid.Columns>
@@ -69,8 +70,8 @@
</DataGrid> </DataGrid>
<StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0,0,0,10"> <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0,0,0,10">
<TextBlock Text="Buchungen des ausgewählten Benutzers" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}" VerticalAlignment="Center"/> <TextBlock Text="{x:Static properties:Resources.AdminUserBookingsTitle}" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}" VerticalAlignment="Center"/>
<Button Content="Benutzer Löschen" Background="#D32F2F" Foreground="White" FontWeight="Bold" Margin="20,0,0,0" Padding="10,5" Click="DeleteUser_Click"/> <Button Content="{x:Static properties:Resources.AdminDeleteUserButton}" Background="#D32F2F" Foreground="White" FontWeight="Bold" Margin="20,0,0,0" Padding="10,5" Click="DeleteUser_Click"/>
</StackPanel> </StackPanel>
<DataGrid x:Name="UserBookingsGrid" Grid.Row="3" AutoGenerateColumns="False" IsReadOnly="True" Background="{DynamicResource CardBackground}"> <DataGrid x:Name="UserBookingsGrid" Grid.Row="3" AutoGenerateColumns="False" IsReadOnly="True" Background="{DynamicResource CardBackground}">
@@ -91,7 +92,7 @@
<RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/>
</Grid.RowDefinitions> </Grid.RowDefinitions>
<TextBlock Text="Flugplan &amp; Management" FontSize="24" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}" Margin="0,0,0,10"/> <TextBlock Text="{x:Static properties:Resources.AdminFlightsTitle}" FontSize="24" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}" Margin="0,0,0,10"/>
<DataGrid x:Name="AllFlightsGrid" Grid.Row="1" Margin="0,0,0,20" AutoGenerateColumns="False" IsReadOnly="True"> <DataGrid x:Name="AllFlightsGrid" Grid.Row="1" Margin="0,0,0,20" AutoGenerateColumns="False" IsReadOnly="True">
<DataGrid.Columns> <DataGrid.Columns>
@@ -110,7 +111,7 @@
<Border Grid.Row="2" Background="{DynamicResource CardBackground}" CornerRadius="8" Padding="15" BorderBrush="#DDD" BorderThickness="1"> <Border Grid.Row="2" Background="{DynamicResource CardBackground}" CornerRadius="8" Padding="15" BorderBrush="#DDD" BorderThickness="1">
<StackPanel> <StackPanel>
<TextBlock Text="Neuen Flug hinzufügen (ID wird generiert: SYJ-XXX)" FontWeight="Bold" Margin="0,0,0,10"/> <TextBlock Text="{x:Static properties:Resources.AdminAddFlightTitle}" FontWeight="Bold" Margin="0,0,0,10"/>
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
@@ -124,7 +125,8 @@
</Grid.RowDefinitions> </Grid.RowDefinitions>
<StackPanel Margin="5"> <StackPanel Margin="5">
<Label Content="Von:"/> <Label Content="{Binding Source={x:Static properties:Resources.PrepositionVon}, StringFormat='{}{0}:'}"/>
<ComboBox x:Name="AddFromCombo" IsEditable="True"> <ComboBox x:Name="AddFromCombo" IsEditable="True">
<ComboBoxItem Content="Berlin"/> <ComboBoxItem Content="Berlin"/>
<ComboBoxItem Content="München"/> <ComboBoxItem Content="München"/>
@@ -146,7 +148,7 @@
</StackPanel> </StackPanel>
<StackPanel Grid.Column="1" Margin="5"> <StackPanel Grid.Column="1" Margin="5">
<Label Content="Nach:"/> <Label Content="{Binding Source={x:Static properties:Resources.To}, StringFormat='{}{0}:'}"/>
<ComboBox x:Name="AddToCombo" IsEditable="True"> <ComboBox x:Name="AddToCombo" IsEditable="True">
<ComboBoxItem Content="Mallorca"/> <ComboBoxItem Content="Mallorca"/>
<ComboBoxItem Content="Berlin"/> <ComboBoxItem Content="Berlin"/>
@@ -170,24 +172,24 @@
</StackPanel> </StackPanel>
<StackPanel Grid.Column="2" Margin="5"> <StackPanel Grid.Column="2" Margin="5">
<Label Content="Datum:"/> <Label Content="{Binding Source={x:Static properties:Resources.DateLabel}, StringFormat='{}{0}:'}"/>
<DatePicker x:Name="AddDatePick"/> <DatePicker x:Name="AddDatePick"/>
</StackPanel> </StackPanel>
<StackPanel Grid.Column="3" Margin="5"> <StackPanel Grid.Column="3" Margin="5">
<Label Content="Preis (€):"/> <Label Content="{Binding Source={x:Static properties:Resources.PriceLabel}, StringFormat='{}{0}:'}"/>
<TextBox x:Name="AddPriceTxt"/> <TextBox x:Name="AddPriceTxt"/>
</StackPanel> </StackPanel>
<StackPanel Grid.Row="1" Grid.Column="0" Margin="5"> <StackPanel Grid.Row="1" Grid.Column="0" Margin="5">
<Label Content="Flugzeug:"/> <Label Content="{Binding Source={x:Static properties:Resources.PlaneLabel}, StringFormat='{}{0}:'}"/>
<ComboBox x:Name="PlaneCombo" DisplayMemberPath="Modell" SelectedValuePath="Id"/> <ComboBox x:Name="PlaneCombo" DisplayMemberPath="Modell" SelectedValuePath="Id"/>
</StackPanel> </StackPanel>
<StackPanel Grid.Row="1" Grid.Column="1" Margin="5"> <StackPanel Grid.Row="1" Grid.Column="1" Margin="5">
<Label Content="Pilot:"/> <Label Content="{Binding Source={x:Static properties:Resources.PilotLabel}, StringFormat='{}{0}:'}"/>
<ComboBox x:Name="PilotCombo" DisplayMemberPath="FullName" SelectedValuePath="Id"/> <ComboBox x:Name="PilotCombo" DisplayMemberPath="FullName" SelectedValuePath="Id"/>
</StackPanel> </StackPanel>
<Button Grid.Row="1" Grid.Column="3" Content="Flug Erstellen" Background="#1E88E5" Foreground="White" FontWeight="Bold" VerticalAlignment="Bottom" Height="30" Margin="5" Click="AddFlight_Click"/> <Button Grid.Row="1" Grid.Column="3" Content="{x:Static properties:Resources.AdminCreateFlightButton}" Background="#1E88E5" Foreground="White" FontWeight="Bold" VerticalAlignment="Bottom" Height="30" Margin="5" Click="AddFlight_Click"/>
</Grid> </Grid>
</StackPanel> </StackPanel>
</Border> </Border>

View File

@@ -2,6 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:properties="clr-namespace:SkyTeam"
Title="BuchungenPage" Title="BuchungenPage"
Background="{DynamicResource PageBackground}"> Background="{DynamicResource PageBackground}">
@@ -19,8 +20,8 @@
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/> <Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/>
<StackPanel> <StackPanel>
<TextBlock Text="Sky Team Airlines" FontSize="20" FontWeight="Bold" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderTitle}" FontSize="20" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="Sichere und komfortable Flüge weltweit" FontSize="12" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderSubtitle}" FontSize="12" Foreground="White"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</Border> </Border>
@@ -30,42 +31,42 @@
<Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Home" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarHome}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0"> <Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Meine Buchungen" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarBookings}" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Einstellungen" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarSettings}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click"> <Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Abmelden"/> <TextBlock Text="{x:Static properties:Resources.SidebarLogout}"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>
<Grid Grid.Row="1" Grid.Column="1" Margin="30"> <Grid Grid.Row="1" Grid.Column="1" Margin="30">
<StackPanel> <StackPanel>
<TextBlock Text="Meine Buchungen" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarBookings}" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Ihre reservierten Flüge im Überblick" FontSize="16" Foreground="{DynamicResource SecondaryText}" Margin="0,0,0,20"/> <TextBlock Text="{x:Static properties:Resources.FlightOverviewTitle}" FontSize="16" Foreground="{DynamicResource SecondaryText}" Margin="0,0,0,20"/>
<Border x:Name="NoBookingsView" Visibility="Visible" Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="40"> <Border x:Name="NoBookingsView" Visibility="Visible" Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="40">
<StackPanel HorizontalAlignment="Center"> <StackPanel HorizontalAlignment="Center">
<iconPacks:PackIconMaterial Kind="AirplaneOff" Width="50" Height="50" Foreground="#888"/> <iconPacks:PackIconMaterial Kind="AirplaneOff" Width="50" Height="50" Foreground="#888"/>
<TextBlock Text="Sie haben noch keinen Flug reserviert." FontSize="18" Margin="0,15,0,5" TextAlignment="Center" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.NoFlightReserved}" FontSize="18" Margin="0,15,0,5" TextAlignment="Center" Foreground="{DynamicResource PrimaryText}"/>
<Button Content="Jetzt reservieren" Width="180" Height="45" Background="#FF1E88E5" Foreground="White" FontWeight="Bold" Margin="0,20,0,0" Click="OpenReservierungSuche_Click"/> <Button Content="{x:Static properties:Resources.ReserveNow}" Width="180" Height="45" Background="#FF1E88E5" Foreground="White" FontWeight="Bold" Margin="0,20,0,0" Click="OpenReservierungSuche_Click"/>
</StackPanel> </StackPanel>
</Border> </Border>
@@ -78,16 +79,16 @@
Background="{DynamicResource CardBackground}" Background="{DynamicResource CardBackground}"
SelectionMode="Single"> SelectionMode="Single">
<DataGrid.Columns> <DataGrid.Columns>
<DataGridTextColumn Header="Buchungs ID" Binding="{Binding BuchungId}" Width="80"/> <DataGridTextColumn Header="{x:Static properties:Resources.BookingIdLabel}" Binding="{Binding BuchungId}" Width="100"/>
<DataGridTextColumn Header="Flug Nr." Binding="{Binding Flugnummer}" Width="*"/> <DataGridTextColumn Header="{x:Static properties:Resources.FlightNumberShortLabel}" Binding="{Binding Flugnummer}" Width="*"/>
<DataGridTextColumn Header="Von" Binding="{Binding Abflugort}" Width="*"/> <DataGridTextColumn Header="{x:Static properties:Resources.PrepositionVon}" Binding="{Binding Abflugort}" Width="*"/>
<DataGridTextColumn Header="Nach" Binding="{Binding Zielort}" Width="*"/> <DataGridTextColumn Header="{x:Static properties:Resources.To}" Binding="{Binding Zielort}" Width="*"/>
<DataGridTextColumn Header="Datum" Binding="{Binding Abflugdatum}" Width="*"/> <DataGridTextColumn Header="{x:Static properties:Resources.DateLabel}" Binding="{Binding Abflugdatum}" Width="*"/>
<DataGridTextColumn Header="Status" Binding="{Binding Status}" Width="100"/> <DataGridTextColumn Header="{x:Static properties:Resources.StatusLabel}" Binding="{Binding Status}" Width="100"/>
</DataGrid.Columns> </DataGrid.Columns>
</DataGrid> </DataGrid>
<Button x:Name="CancelBtn" Visibility="Collapsed" Content="Flug Stornieren" Background="#D32F2F" Foreground="White" FontWeight="Bold" Width="150" Height="40" HorizontalAlignment="Right" Margin="0,15,0,0" Click="CancelBooking_Click"/> <Button x:Name="CancelBtn" Visibility="Collapsed" Content="{x:Static properties:Resources.CancelFlightButton}" Background="#D32F2F" Foreground="White" FontWeight="Bold" Width="150" Height="40" HorizontalAlignment="Right" Margin="0,15,0,0" Click="CancelBooking_Click"/>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Grid> </Grid>

View File

@@ -4,6 +4,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SkyTeam" xmlns:local="clr-namespace:SkyTeam"
xmlns:properties="clr-namespace:SkyTeam"
Title="Sky Team Airlines" Title="Sky Team Airlines"
Height="700" Height="700"
Width="1100" Width="1100"
@@ -13,7 +14,7 @@
<Window.Effect> <Window.Effect>
<DropShadowEffect/> <DropShadowEffect/>
</Window.Effect> </Window.Effect>
<Grid x:Name="Main"> <Grid x:Name="Main">
<Frame x:Name="MainFrame" <Frame x:Name="MainFrame"

View File

@@ -60,6 +60,132 @@ namespace SkyTeam {
} }
} }
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Neuen Flug hinzufügen (ID wird generiert: SYJ-XXX) ähnelt.
/// </summary>
public static string AdminAddFlightTitle {
get {
return ResourceManager.GetString("AdminAddFlightTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flug Erstellen ähnelt.
/// </summary>
public static string AdminCreateFlightButton {
get {
return ResourceManager.GetString("AdminCreateFlightButton", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flug Löschen ähnelt.
/// </summary>
public static string AdminDeleteFlightButton {
get {
return ResourceManager.GetString("AdminDeleteFlightButton", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Benutzer Löschen ähnelt.
/// </summary>
public static string AdminDeleteUserButton {
get {
return ResourceManager.GetString("AdminDeleteUserButton", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flugplan &amp; Management ähnelt.
/// </summary>
public static string AdminFlightsTitle {
get {
return ResourceManager.GetString("AdminFlightsTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Management Console ähnelt.
/// </summary>
public static string AdminHeaderSubtitle {
get {
return ResourceManager.GetString("AdminHeaderSubtitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Sky Team ADMIN ähnelt.
/// </summary>
public static string AdminHeaderTitle {
get {
return ResourceManager.GetString("AdminHeaderTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Abmelden ähnelt.
/// </summary>
public static string AdminSidebarLogout {
get {
return ResourceManager.GetString("AdminSidebarLogout", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flüge verwalten ähnelt.
/// </summary>
public static string AdminSidebarManageFlights {
get {
return ResourceManager.GetString("AdminSidebarManageFlights", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Benutzer verwalten ähnelt.
/// </summary>
public static string AdminSidebarManageUsers {
get {
return ResourceManager.GetString("AdminSidebarManageUsers", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Buchungen des ausgewählten Benutzers ähnelt.
/// </summary>
public static string AdminUserBookingsTitle {
get {
return ResourceManager.GetString("AdminUserBookingsTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Alle Benutzer ähnelt.
/// </summary>
public static string AdminUsersTitle {
get {
return ResourceManager.GetString("AdminUsersTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Verfügbare Flüge ähnelt.
/// </summary>
public static string AvailableFlightsTitle {
get {
return ResourceManager.GetString("AvailableFlightsTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Buchen ähnelt.
/// </summary>
public static string BookButtonLabel {
get {
return ResourceManager.GetString("BookButtonLabel", resourceCulture);
}
}
/// <summary> /// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Jetzt Flug buchen ähnelt. /// Sucht eine lokalisierte Zeichenfolge, die Jetzt Flug buchen ähnelt.
/// </summary> /// </summary>
@@ -69,6 +195,132 @@ namespace SkyTeam {
} }
} }
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Buchungs-ID ähnelt.
/// </summary>
public static string BookingIdLabel {
get {
return ResourceManager.GetString("BookingIdLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flug stornieren ähnelt.
/// </summary>
public static string CancelFlightButton {
get {
return ResourceManager.GetString("CancelFlightButton", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Wählen Sie Ihre bevorzugte Sprache ähnelt.
/// </summary>
public static string ChooseLanguage {
get {
return ResourceManager.GetString("ChooseLanguage", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Passen Sie Ihr Erlebnis an ähnelt.
/// </summary>
public static string CustomizeExperience {
get {
return ResourceManager.GetString("CustomizeExperience", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Gefahrenzone ähnelt.
/// </summary>
public static string DangerZone {
get {
return ResourceManager.GetString("DangerZone", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Dark Mode ähnelt.
/// </summary>
public static string DarkMode {
get {
return ResourceManager.GetString("DarkMode", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Datum ähnelt.
/// </summary>
public static string DateLabel {
get {
return ResourceManager.GetString("DateLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Konto löschen ähnelt.
/// </summary>
public static string DeleteAccount {
get {
return ResourceManager.GetString("DeleteAccount", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Das Löschen Ihres Kontos ist endgültig und kann nicht rückgängig gemacht werden. ähnelt.
/// </summary>
public static string DeleteAccountWarning {
get {
return ResourceManager.GetString("DeleteAccountWarning", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Abflugdaten ähnelt.
/// </summary>
public static string DepartureDate {
get {
return ResourceManager.GetString("DepartureDate", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Dunkles Design aktivieren ähnelt.
/// </summary>
public static string EnableDarkMode {
get {
return ResourceManager.GetString("EnableDarkMode", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flug Nummer ähnelt.
/// </summary>
public static string FlightNumberLabel {
get {
return ResourceManager.GetString("FlightNumberLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flug-Nr. ähnelt.
/// </summary>
public static string FlightNumberShortLabel {
get {
return ResourceManager.GetString("FlightNumberShortLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Ihre reservierten Flüge im Überblick ähnelt.
/// </summary>
public static string FlightOverviewTitle {
get {
return ResourceManager.GetString("FlightOverviewTitle", resourceCulture);
}
}
/// <summary> /// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Sichere und komfortable Flüge weltweit ähnelt. /// Sucht eine lokalisierte Zeichenfolge, die Sichere und komfortable Flüge weltweit ähnelt.
/// </summary> /// </summary>
@@ -87,6 +339,96 @@ namespace SkyTeam {
} }
} }
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Sprache ähnelt.
/// </summary>
public static string Language {
get {
return ResourceManager.GetString("Language", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Sie haben noch keinen Flug reserviert. ähnelt.
/// </summary>
public static string NoFlightReserved {
get {
return ResourceManager.GetString("NoFlightReserved", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Pilot ähnelt.
/// </summary>
public static string PilotLabel {
get {
return ResourceManager.GetString("PilotLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flugzeug ähnelt.
/// </summary>
public static string PlaneLabel {
get {
return ResourceManager.GetString("PlaneLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Von ähnelt.
/// </summary>
public static string PrepositionVon {
get {
return ResourceManager.GetString("PrepositionVon", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Preis (€) ähnelt.
/// </summary>
public static string PriceLabel {
get {
return ResourceManager.GetString("PriceLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Jetzt reservieren ähnelt.
/// </summary>
public static string ReserveNow {
get {
return ResourceManager.GetString("ReserveNow", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Flüge suchen ähnelt.
/// </summary>
public static string SearchFlights {
get {
return ResourceManager.GetString("SearchFlights", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Datum auswählen ähnelt.
/// </summary>
public static string SelectDate {
get {
return ResourceManager.GetString("SelectDate", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Wählen Sie einen Flug aus und klicken Sie auf Buchen ähnelt.
/// </summary>
public static string SelectFlightInstruction {
get {
return ResourceManager.GetString("SelectFlightInstruction", resourceCulture);
}
}
/// <summary> /// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Sichere Datenverwaltung ähnelt. /// Sucht eine lokalisierte Zeichenfolge, die Sichere Datenverwaltung ähnelt.
/// </summary> /// </summary>
@@ -168,6 +510,33 @@ namespace SkyTeam {
} }
} }
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Status ähnelt.
/// </summary>
public static string StatusLabel {
get {
return ResourceManager.GetString("StatusLabel", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Nach ähnelt.
/// </summary>
public static string To {
get {
return ResourceManager.GetString("To", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Bis ähnelt.
/// </summary>
public static string ToLabel {
get {
return ResourceManager.GetString("ToLabel", resourceCulture);
}
}
/// <summary> /// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Sky Team Airlines bietet komfortable Veranstaltung von Privatjets für Geschäftsreisende. Unsere moderne Flotte mit den neuesten Businessjets garantiert Ihnen maximalen Komfort auf Ihren Flügen. ähnelt. /// Sucht eine lokalisierte Zeichenfolge, die Sky Team Airlines bietet komfortable Veranstaltung von Privatjets für Geschäftsreisende. Unsere moderne Flotte mit den neuesten Businessjets garantiert Ihnen maximalen Komfort auf Ihren Flügen. ähnelt.
/// </summary> /// </summary>

View File

@@ -117,15 +117,105 @@
<resheader name="writer"> <resheader name="writer">
<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="AdminAddFlightTitle" xml:space="preserve">
<value> إضافة رحلة جديدة</value>
</data>
<data name="AdminCreateFlightButton" xml:space="preserve">
<value>إنشاء رحلة</value>
</data>
<data name="DateLabel" xml:space="preserve">
<value>التاريخ</value>
</data>
<data name="AdminDeleteFlightButton" xml:space="preserve">
<value>حذف الرحلة</value>
</data>
<data name="AdminDeleteUserButton" xml:space="preserve">
<value>حذف المستخدم</value>
</data>
<data name="AdminFlightsTitle" xml:space="preserve">
<value>جدول الرحلات وإدارة</value>
</data>
<data name="PrepositionVon" xml:space="preserve">
<value>من</value>
</data>
<data name="AdminHeaderSubtitle" xml:space="preserve">
<value>وحدة إدارة</value>
</data>
<data name="AdminHeaderTitle" xml:space="preserve">
<value>سكاي تيم الإدارة</value>
</data>
<data name="PilotLabel" xml:space="preserve">
<value>الطيار</value>
</data>
<data name="PriceLabel" xml:space="preserve">
<value>السعر (€)</value>
</data>
<data name="AdminSidebarLogout" xml:space="preserve">
<value>تسجيل الخروج</value>
</data>
<data name="AdminSidebarManageFlights" xml:space="preserve">
<value>إدارة الرحلات</value>
</data>
<data name="AdminSidebarManageUsers" xml:space="preserve">
<value>إدارة المستخدمين</value>
</data>
<data name="AdminUserBookingsTitle" xml:space="preserve">
<value>حجوزات المستخدم المحدد</value>
</data>
<data name="AdminUsersTitle" xml:space="preserve">
<value>جميع المستخدمين</value>
</data>
<data name="BookFlightButton" xml:space="preserve"> <data name="BookFlightButton" xml:space="preserve">
<value>احجز الرحلة الآن</value> <value>احجز الرحلة الآن</value>
</data> </data>
<data name="ChooseLanguage" xml:space="preserve">
<value>اختر لغتك المفضلة</value>
</data>
<data name="CustomizeExperience" xml:space="preserve">
<value>خصص تجربتك</value>
</data>
<data name="DangerZone" xml:space="preserve">
<value>منطقة الخطر</value>
</data>
<data name="DarkMode" xml:space="preserve">
<value>الوضع الداكن</value>
</data>
<data name="DeleteAccount" xml:space="preserve">
<value>حذف الحساب</value>
</data>
<data name="DeleteAccountWarning" xml:space="preserve">
<value>حذف حسابك نهائي ولا يمكن التراجع عنه.</value>
</data>
<data name="DepartureDate" xml:space="preserve">
<value>تاريخ الرحلة</value>
</data>
<data name="EnableDarkMode" xml:space="preserve">
<value>تفعيل الوضع الداكن</value>
</data>
<data name="FlightOverviewTitle" xml:space="preserve">
<value>نظرة عامة على الرحلات المحجوزة الخاصة بك</value>
</data>
<data name="HeaderSubtitle" xml:space="preserve"> <data name="HeaderSubtitle" xml:space="preserve">
<value>رحلات آمنة ومريحة حول العالم</value> <value>رحلات آمنة ومريحة حول العالم</value>
</data> </data>
<data name="HeaderTitle" xml:space="preserve"> <data name="HeaderTitle" xml:space="preserve">
<value>سكاي تيم للطيران</value> <value>سكاي تيم للطيران</value>
</data> </data>
<data name="Language" xml:space="preserve">
<value>اللغة</value>
</data>
<data name="NoFlightReserved" xml:space="preserve">
<value>لم تقم بحجز أي رحلة بعد.</value>
</data>
<data name="ReserveNow" xml:space="preserve">
<value>احجز الآن</value>
</data>
<data name="SearchFlights" xml:space="preserve">
<value>ابحث عن الرحلات</value>
</data>
<data name="SelectDate" xml:space="preserve">
<value>اختر التاريخ</value>
</data>
<data name="ServiceDataSecurity" xml:space="preserve"> <data name="ServiceDataSecurity" xml:space="preserve">
<value>إدارة بيانات آمنة</value> <value>إدارة بيانات آمنة</value>
</data> </data>
@@ -153,6 +243,9 @@
<data name="SidebarSettings" xml:space="preserve"> <data name="SidebarSettings" xml:space="preserve">
<value>الإعدادات</value> <value>الإعدادات</value>
</data> </data>
<data name="To" xml:space="preserve">
<value>إلى</value>
</data>
<data name="WelcomeDescription" xml:space="preserve"> <data name="WelcomeDescription" xml:space="preserve">
<value>تقدم سكاي تيم للطيران خدمات طائرات خاصة مريحة للمسافرين من رجال الأعمال. تضمن أسطولنا الحديث من أحدث الطائرات الخاصة أقصى درجات الراحة في رحلاتك.</value> <value>تقدم سكاي تيم للطيران خدمات طائرات خاصة مريحة للمسافرين من رجال الأعمال. تضمن أسطولنا الحديث من أحدث الطائرات الخاصة أقصى درجات الراحة في رحلاتك.</value>
</data> </data>
@@ -162,4 +255,34 @@
<data name="WelcomeTitle" xml:space="preserve"> <data name="WelcomeTitle" xml:space="preserve">
<value>مرحبًا بكم في سكاي تيم للطيران</value> <value>مرحبًا بكم في سكاي تيم للطيران</value>
</data> </data>
<data name="FlightNumberLabel" xml:space="preserve">
<value>رقم الرحلة</value>
</data>
<data name="ToLabel" xml:space="preserve">
<value>إلى</value>
</data>
<data name="PlaneLabel" xml:space="preserve">
<value>الطائرة</value>
</data>
<data name="BookButtonLabel" xml:space="preserve">
<value>حجز</value>
</data>
<data name="AvailableFlightsTitle" xml:space="preserve">
<value>الرحلات المتاحة</value>
</data>
<data name="SelectFlightInstruction" xml:space="preserve">
<value>اختر رحلة ثم اضغط على حجز</value>
</data>
<data name="BookingIdLabel" xml:space="preserve">
<value>رقم الحجز</value>
</data>
<data name="FlightNumberShortLabel" xml:space="preserve">
<value>رقم الرحلة</value>
</data>
<data name="StatusLabel" xml:space="preserve">
<value>الحالة</value>
</data>
<data name="CancelFlightButton" xml:space="preserve">
<value>إلغاء الرحلة</value>
</data>
</root> </root>

View File

@@ -117,15 +117,105 @@
<resheader name="writer"> <resheader name="writer">
<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="AdminAddFlightTitle" xml:space="preserve">
<value>Add new flight (ID generated: SYJ-XXX)</value>
</data>
<data name="AdminCreateFlightButton" xml:space="preserve">
<value>Create flight</value>
</data>
<data name="DateLabel" xml:space="preserve">
<value>Date</value>
</data>
<data name="AdminDeleteFlightButton" xml:space="preserve">
<value>Delete flight</value>
</data>
<data name="AdminDeleteUserButton" xml:space="preserve">
<value>Delete user</value>
</data>
<data name="AdminFlightsTitle" xml:space="preserve">
<value>Flight schedule &amp; management</value>
</data>
<data name="PrepositionVon" xml:space="preserve">
<value>From</value>
</data>
<data name="AdminHeaderSubtitle" xml:space="preserve">
<value>Management Console</value>
</data>
<data name="AdminHeaderTitle" xml:space="preserve">
<value>Sky Team ADMIN</value>
</data>
<data name="PilotLabel" xml:space="preserve">
<value>Pilot</value>
</data>
<data name="PriceLabel" xml:space="preserve">
<value>Price (€)</value>
</data>
<data name="AdminSidebarLogout" xml:space="preserve">
<value>Logout</value>
</data>
<data name="AdminSidebarManageFlights" xml:space="preserve">
<value>Manage flights</value>
</data>
<data name="AdminSidebarManageUsers" xml:space="preserve">
<value>Manage users</value>
</data>
<data name="AdminUserBookingsTitle" xml:space="preserve">
<value>Selected user bookings</value>
</data>
<data name="AdminUsersTitle" xml:space="preserve">
<value>All users</value>
</data>
<data name="BookFlightButton" xml:space="preserve"> <data name="BookFlightButton" xml:space="preserve">
<value>Book Flight Now</value> <value>Book Flight Now</value>
</data> </data>
<data name="ChooseLanguage" xml:space="preserve">
<value>Choose your preferred language</value>
</data>
<data name="CustomizeExperience" xml:space="preserve">
<value>Customize your experience</value>
</data>
<data name="DangerZone" xml:space="preserve">
<value>Danger Zone</value>
</data>
<data name="DarkMode" xml:space="preserve">
<value>Dark Mode</value>
</data>
<data name="DeleteAccount" xml:space="preserve">
<value>Delete Account</value>
</data>
<data name="DeleteAccountWarning" xml:space="preserve">
<value>Deleting your account is permanent and cannot be undone.</value>
</data>
<data name="DepartureDate" xml:space="preserve">
<value>Departure Date</value>
</data>
<data name="EnableDarkMode" xml:space="preserve">
<value>Enable dark theme</value>
</data>
<data name="FlightOverviewTitle" xml:space="preserve">
<value>Your reserved flights overview</value>
</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>
</data> </data>
<data name="HeaderTitle" xml:space="preserve"> <data name="HeaderTitle" xml:space="preserve">
<value>Sky Team Airlines</value> <value>Sky Team Airlines</value>
</data> </data>
<data name="Language" xml:space="preserve">
<value>Language</value>
</data>
<data name="NoFlightReserved" xml:space="preserve">
<value>You have not reserved any flight yet.</value>
</data>
<data name="ReserveNow" xml:space="preserve">
<value>Reserve now</value>
</data>
<data name="SearchFlights" xml:space="preserve">
<value>Search Flights</value>
</data>
<data name="SelectDate" xml:space="preserve">
<value>Select Date</value>
</data>
<data name="ServiceDataSecurity" xml:space="preserve"> <data name="ServiceDataSecurity" xml:space="preserve">
<value>Secure Data Management</value> <value>Secure Data Management</value>
</data> </data>
@@ -153,6 +243,9 @@
<data name="SidebarSettings" xml:space="preserve"> <data name="SidebarSettings" xml:space="preserve">
<value>Settings</value> <value>Settings</value>
</data> </data>
<data name="To" xml:space="preserve">
<value>To</value>
</data>
<data name="WelcomeDescription" xml:space="preserve"> <data name="WelcomeDescription" xml:space="preserve">
<value>Sky Team Airlines offers comfortable private jet services for business travelers. Our modern fleet with the latest business jets guarantees maximum comfort on your flights.</value> <value>Sky Team Airlines offers comfortable private jet services for business travelers. Our modern fleet with the latest business jets guarantees maximum comfort on your flights.</value>
</data> </data>
@@ -162,4 +255,34 @@
<data name="WelcomeTitle" xml:space="preserve"> <data name="WelcomeTitle" xml:space="preserve">
<value>Welcome to Sky Team Airlines</value> <value>Welcome to Sky Team Airlines</value>
</data> </data>
<data name="FlightNumberLabel" xml:space="preserve">
<value>Flight Number</value>
</data>
<data name="ToLabel" xml:space="preserve">
<value>To</value>
</data>
<data name="PlaneLabel" xml:space="preserve">
<value>Plane</value>
</data>
<data name="BookButtonLabel" xml:space="preserve">
<value>Book</value>
</data>
<data name="AvailableFlightsTitle" xml:space="preserve">
<value>Available Flights</value>
</data>
<data name="SelectFlightInstruction" xml:space="preserve">
<value>Select a flight and click on Book</value>
</data>
<data name="BookingIdLabel" xml:space="preserve">
<value>Booking ID</value>
</data>
<data name="FlightNumberShortLabel" xml:space="preserve">
<value>Flight No.</value>
</data>
<data name="StatusLabel" xml:space="preserve">
<value>Status</value>
</data>
<data name="CancelFlightButton" xml:space="preserve">
<value>Cancel Flight</value>
</data>
</root> </root>

View File

@@ -117,15 +117,105 @@
<resheader name="writer"> <resheader name="writer">
<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="AdminAddFlightTitle" xml:space="preserve">
<value>Neuen Flug hinzufügen (ID wird generiert: SYJ-XXX)</value>
</data>
<data name="AdminCreateFlightButton" xml:space="preserve">
<value>Flug Erstellen</value>
</data>
<data name="DateLabel" xml:space="preserve">
<value>Datum</value>
</data>
<data name="AdminDeleteFlightButton" xml:space="preserve">
<value>Flug Löschen</value>
</data>
<data name="AdminDeleteUserButton" xml:space="preserve">
<value>Benutzer Löschen</value>
</data>
<data name="AdminFlightsTitle" xml:space="preserve">
<value>Flugplan &amp; Management</value>
</data>
<data name="PrepositionVon" xml:space="preserve">
<value>Von</value>
</data>
<data name="AdminHeaderSubtitle" xml:space="preserve">
<value>Management Console</value>
</data>
<data name="AdminHeaderTitle" xml:space="preserve">
<value>Sky Team ADMIN</value>
</data>
<data name="PilotLabel" xml:space="preserve">
<value>Pilot</value>
</data>
<data name="PriceLabel" xml:space="preserve">
<value>Preis (€)</value>
</data>
<data name="AdminSidebarLogout" xml:space="preserve">
<value>Abmelden</value>
</data>
<data name="AdminSidebarManageFlights" xml:space="preserve">
<value>Flüge verwalten</value>
</data>
<data name="AdminSidebarManageUsers" xml:space="preserve">
<value>Benutzer verwalten</value>
</data>
<data name="AdminUserBookingsTitle" xml:space="preserve">
<value>Buchungen des ausgewählten Benutzers</value>
</data>
<data name="AdminUsersTitle" xml:space="preserve">
<value>Alle Benutzer</value>
</data>
<data name="BookFlightButton" xml:space="preserve"> <data name="BookFlightButton" xml:space="preserve">
<value>Jetzt Flug buchen</value> <value>Jetzt Flug buchen</value>
</data> </data>
<data name="ChooseLanguage" xml:space="preserve">
<value>Wählen Sie Ihre bevorzugte Sprache</value>
</data>
<data name="CustomizeExperience" xml:space="preserve">
<value>Passen Sie Ihr Erlebnis an</value>
</data>
<data name="DangerZone" xml:space="preserve">
<value>Gefahrenzone</value>
</data>
<data name="DarkMode" xml:space="preserve">
<value>Dark Mode</value>
</data>
<data name="DeleteAccount" xml:space="preserve">
<value>Konto löschen</value>
</data>
<data name="DeleteAccountWarning" xml:space="preserve">
<value>Das Löschen Ihres Kontos ist endgültig und kann nicht rückgängig gemacht werden.</value>
</data>
<data name="DepartureDate" xml:space="preserve">
<value>Abflugdaten</value>
</data>
<data name="EnableDarkMode" xml:space="preserve">
<value>Dunkles Design aktivieren</value>
</data>
<data name="FlightOverviewTitle" xml:space="preserve">
<value>Ihre reservierten Flüge im Überblick</value>
</data>
<data name="HeaderSubtitle" xml:space="preserve"> <data name="HeaderSubtitle" xml:space="preserve">
<value>Sichere und komfortable Flüge weltweit</value> <value>Sichere und komfortable Flüge weltweit</value>
</data> </data>
<data name="HeaderTitle" xml:space="preserve"> <data name="HeaderTitle" xml:space="preserve">
<value>Sky Team Airlines</value> <value>Sky Team Airlines</value>
</data> </data>
<data name="Language" xml:space="preserve">
<value>Sprache</value>
</data>
<data name="NoFlightReserved" xml:space="preserve">
<value>Sie haben noch keinen Flug reserviert.</value>
</data>
<data name="ReserveNow" xml:space="preserve">
<value>Jetzt reservieren</value>
</data>
<data name="SearchFlights" xml:space="preserve">
<value>Flüge suchen</value>
</data>
<data name="SelectDate" xml:space="preserve">
<value>Datum auswählen</value>
</data>
<data name="ServiceDataSecurity" xml:space="preserve"> <data name="ServiceDataSecurity" xml:space="preserve">
<value>Sichere Datenverwaltung</value> <value>Sichere Datenverwaltung</value>
</data> </data>
@@ -153,6 +243,9 @@
<data name="SidebarSettings" xml:space="preserve"> <data name="SidebarSettings" xml:space="preserve">
<value>Einstellungen</value> <value>Einstellungen</value>
</data> </data>
<data name="To" xml:space="preserve">
<value>Nach</value>
</data>
<data name="WelcomeDescription" xml:space="preserve"> <data name="WelcomeDescription" xml:space="preserve">
<value>Sky Team Airlines bietet komfortable Veranstaltung von Privatjets für Geschäftsreisende. Unsere moderne Flotte mit den neuesten Businessjets garantiert Ihnen maximalen Komfort auf Ihren Flügen.</value> <value>Sky Team Airlines bietet komfortable Veranstaltung von Privatjets für Geschäftsreisende. Unsere moderne Flotte mit den neuesten Businessjets garantiert Ihnen maximalen Komfort auf Ihren Flügen.</value>
</data> </data>
@@ -162,4 +255,34 @@
<data name="WelcomeTitle" xml:space="preserve"> <data name="WelcomeTitle" xml:space="preserve">
<value>Willkommen bei Sky Team Airlines</value> <value>Willkommen bei Sky Team Airlines</value>
</data> </data>
<data name="FlightNumberLabel" xml:space="preserve">
<value>Flug Nummer</value>
</data>
<data name="ToLabel" xml:space="preserve">
<value>Bis</value>
</data>
<data name="PlaneLabel" xml:space="preserve">
<value>Flugzeug</value>
</data>
<data name="BookButtonLabel" xml:space="preserve">
<value>Buchen</value>
</data>
<data name="AvailableFlightsTitle" xml:space="preserve">
<value>Verfügbare Flüge</value>
</data>
<data name="SelectFlightInstruction" xml:space="preserve">
<value>Wählen Sie einen Flug aus und klicken Sie auf Buchen</value>
</data>
<data name="BookingIdLabel" xml:space="preserve">
<value>Buchungs-ID</value>
</data>
<data name="FlightNumberShortLabel" xml:space="preserve">
<value>Flug-Nr.</value>
</data>
<data name="StatusLabel" xml:space="preserve">
<value>Status</value>
</data>
<data name="CancelFlightButton" xml:space="preserve">
<value>Flug stornieren</value>
</data>
</root> </root>

View File

@@ -117,15 +117,105 @@
<resheader name="writer"> <resheader name="writer">
<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="AdminAddFlightTitle" xml:space="preserve">
<value>Додати новий рейс (ID генерується: SYJ-XXX)</value>
</data>
<data name="AdminCreateFlightButton" xml:space="preserve">
<value>Створити рейс</value>
</data>
<data name="DateLabel" xml:space="preserve">
<value>Дата</value>
</data>
<data name="AdminDeleteFlightButton" xml:space="preserve">
<value>Видалити рейс</value>
</data>
<data name="AdminDeleteUserButton" xml:space="preserve">
<value>Видалити користувача</value>
</data>
<data name="AdminFlightsTitle" xml:space="preserve">
<value>Розклад рейсів та управління</value>
</data>
<data name="PrepositionVon" xml:space="preserve">
<value>Звідки</value>
</data>
<data name="AdminHeaderSubtitle" xml:space="preserve">
<value>Консоль управління</value>
</data>
<data name="AdminHeaderTitle" xml:space="preserve">
<value>Sky Team ADMIN</value>
</data>
<data name="PilotLabel" xml:space="preserve">
<value>Пілот</value>
</data>
<data name="PriceLabel" xml:space="preserve">
<value>Ціна (€)</value>
</data>
<data name="AdminSidebarLogout" xml:space="preserve">
<value>Вийти</value>
</data>
<data name="AdminSidebarManageFlights" xml:space="preserve">
<value>Керування рейсами</value>
</data>
<data name="AdminSidebarManageUsers" xml:space="preserve">
<value>Керування користувачами</value>
</data>
<data name="AdminUserBookingsTitle" xml:space="preserve">
<value>Бронювання обраного користувача</value>
</data>
<data name="AdminUsersTitle" xml:space="preserve">
<value>Усі користувачі</value>
</data>
<data name="BookFlightButton" xml:space="preserve"> <data name="BookFlightButton" xml:space="preserve">
<value>Забронювати рейс</value> <value>Забронювати рейс</value>
</data> </data>
<data name="ChooseLanguage" xml:space="preserve">
<value>Виберіть бажану мову</value>
</data>
<data name="CustomizeExperience" xml:space="preserve">
<value>Налаштуйте свій досвід</value>
</data>
<data name="DangerZone" xml:space="preserve">
<value>Зона ризику</value>
</data>
<data name="DarkMode" xml:space="preserve">
<value>Темний режим</value>
</data>
<data name="DeleteAccount" xml:space="preserve">
<value>Видалити акаунт</value>
</data>
<data name="DeleteAccountWarning" xml:space="preserve">
<value>Видалення вашого акаунту є остаточним і не можна скасувати.</value>
</data>
<data name="DepartureDate" xml:space="preserve">
<value>Дата вильоту</value>
</data>
<data name="EnableDarkMode" xml:space="preserve">
<value>Увімкнути темну тему</value>
</data>
<data name="FlightOverviewTitle" xml:space="preserve">
<value>Ваші заброньовані рейси</value>
</data>
<data name="HeaderSubtitle" xml:space="preserve"> <data name="HeaderSubtitle" xml:space="preserve">
<value>Безпечні та комфортні перельоти по всьому світу</value> <value>Безпечні та комфортні перельоти по всьому світу</value>
</data> </data>
<data name="HeaderTitle" xml:space="preserve"> <data name="HeaderTitle" xml:space="preserve">
<value>Sky Team Airlines (UA)</value> <value>Sky Team Airlines (UA)</value>
</data> </data>
<data name="Language" xml:space="preserve">
<value>Мова</value>
</data>
<data name="NoFlightReserved" xml:space="preserve">
<value>Ви ще не забронювали жодного рейсу.</value>
</data>
<data name="ReserveNow" xml:space="preserve">
<value>Забронювати зараз</value>
</data>
<data name="SearchFlights" xml:space="preserve">
<value>Пошук рейсів</value>
</data>
<data name="SelectDate" xml:space="preserve">
<value>Виберіть дату</value>
</data>
<data name="ServiceDataSecurity" xml:space="preserve"> <data name="ServiceDataSecurity" xml:space="preserve">
<value>Безпечне управління даними</value> <value>Безпечне управління даними</value>
</data> </data>
@@ -153,6 +243,9 @@
<data name="SidebarSettings" xml:space="preserve"> <data name="SidebarSettings" xml:space="preserve">
<value>Налаштування</value> <value>Налаштування</value>
</data> </data>
<data name="To" xml:space="preserve">
<value>Куди</value>
</data>
<data name="WelcomeDescription" xml:space="preserve"> <data name="WelcomeDescription" xml:space="preserve">
<value>Sky Team Airlines пропонує комфортні послуги приватних джетів для бізнес-подорожуючих. Наш сучасний парк новітніх бізнес-джетів гарантує максимальний комфорт під час польотів.</value> <value>Sky Team Airlines пропонує комфортні послуги приватних джетів для бізнес-подорожуючих. Наш сучасний парк новітніх бізнес-джетів гарантує максимальний комфорт під час польотів.</value>
</data> </data>
@@ -162,4 +255,34 @@
<data name="WelcomeTitle" xml:space="preserve"> <data name="WelcomeTitle" xml:space="preserve">
<value>Ласкаво просимо до Sky Team Airlines</value> <value>Ласкаво просимо до Sky Team Airlines</value>
</data> </data>
<data name="FlightNumberLabel" xml:space="preserve">
<value>Номер рейсу</value>
</data>
<data name="ToLabel" xml:space="preserve">
<value>До</value>
</data>
<data name="PlaneLabel" xml:space="preserve">
<value>Літак</value>
</data>
<data name="BookButtonLabel" xml:space="preserve">
<value>Забронювати</value>
</data>
<data name="AvailableFlightsTitle" xml:space="preserve">
<value>Доступні рейси</value>
</data>
<data name="SelectFlightInstruction" xml:space="preserve">
<value>Виберіть рейс і натисніть «Забронювати»</value>
</data>
<data name="BookingIdLabel" xml:space="preserve">
<value>ID бронювання</value>
</data>
<data name="FlightNumberShortLabel" xml:space="preserve">
<value>№ рейсу</value>
</data>
<data name="StatusLabel" xml:space="preserve">
<value>Статус</value>
</data>
<data name="CancelFlightButton" xml:space="preserve">
<value>Скасувати рейс</value>
</data>
</root> </root>

View File

@@ -2,6 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:properties="clr-namespace:SkyTeam"
Title="SettingsPage" Title="SettingsPage"
Background="{DynamicResource PageBackground}"> Background="{DynamicResource PageBackground}">
@@ -19,8 +20,8 @@
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/> <Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/>
<StackPanel> <StackPanel>
<TextBlock Text="Sky Team Airlines" FontSize="20" FontWeight="Bold" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderTitle}" FontSize="20" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="Sichere und komfortable Flüge weltweit" FontSize="12" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderSubtitle}" FontSize="12" Foreground="White"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</Border> </Border>
@@ -30,44 +31,44 @@
<Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Home" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarHome}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="BookingsButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="BookingsButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Meine Buchungen" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarBookings}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Background="{DynamicResource CardBackground}" BorderThickness="0"> <Button Height="50" Margin="5" Background="{DynamicResource CardBackground}" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Einstellungen" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarSettings}" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click"> <Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Abmelden"/> <TextBlock Text="{x:Static properties:Resources.SidebarLogout}"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>
<Grid Grid.Row="1" Grid.Column="1" Margin="30"> <Grid Grid.Row="1" Grid.Column="1" Margin="30">
<StackPanel> <StackPanel>
<TextBlock Text="Einstellungen" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarSettings}" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Passen Sie Ihr Erlebnis an" FontSize="16" Foreground="{DynamicResource SecondaryText}" Margin="0,0,0,25"/> <TextBlock Text="{x:Static properties:Resources.CustomizeExperience}" FontSize="16" Foreground="{DynamicResource SecondaryText}" Margin="0,0,0,25"/>
<Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="25" Margin="0,0,0,25"> <Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="25" Margin="0,0,0,25">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"> <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<iconPacks:PackIconMaterial Kind="ThemeLightDark" Width="32" Height="32" Foreground="{DynamicResource PrimaryText}" Margin="0,0,15,0"/> <iconPacks:PackIconMaterial Kind="ThemeLightDark" Width="32" Height="32" Foreground="{DynamicResource PrimaryText}" Margin="0,0,15,0"/>
<StackPanel VerticalAlignment="Center" Width="300"> <StackPanel VerticalAlignment="Center" Width="300">
<TextBlock Text="Dark Mode" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.DarkMode}" FontSize="18" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Dunkles Design aktivieren" FontSize="14" Foreground="{DynamicResource SecondaryText}"/> <TextBlock Text="{x:Static properties:Resources.EnableDarkMode}" FontSize="14" Foreground="{DynamicResource SecondaryText}"/>
</StackPanel> </StackPanel>
<ToggleButton x:Name="DarkModeToggle" Width="60" Height="30" Checked="DarkModeToggle_Checked" Unchecked="DarkModeToggle_Unchecked"> <ToggleButton x:Name="DarkModeToggle" Width="60" Height="30" Checked="DarkModeToggle_Checked" Unchecked="DarkModeToggle_Unchecked">
@@ -111,12 +112,12 @@
Margin="0,0,15,0"/> Margin="0,0,15,0"/>
<StackPanel Width="300"> <StackPanel Width="300">
<TextBlock Text="Sprache" <TextBlock Text="{x:Static properties:Resources.Language}"
FontSize="18" FontSize="18"
FontWeight="Bold" FontWeight="Bold"
Foreground="{DynamicResource PrimaryText}"/> Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Wählen Sie Ihre bevorzugte Sprache" <TextBlock Text="{x:Static properties:Resources.ChooseLanguage}"
FontSize="14" FontSize="14"
Foreground="{DynamicResource SecondaryText}"/> Foreground="{DynamicResource SecondaryText}"/>
</StackPanel> </StackPanel>
@@ -137,15 +138,15 @@
<StackPanel> <StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15"> <StackPanel Orientation="Horizontal" Margin="0,0,0,15">
<iconPacks:PackIconMaterial Kind="Alert" Width="24" Height="24" Foreground="#D32F2F" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Alert" Width="24" Height="24" Foreground="#D32F2F" Margin="0,0,10,0"/>
<TextBlock Text="Gefahrenzone" FontSize="20" FontWeight="Bold" Foreground="#D32F2F"/> <TextBlock Text="{x:Static properties:Resources.DangerZone}" FontSize="20" FontWeight="Bold" Foreground="#D32F2F"/>
</StackPanel> </StackPanel>
<TextBlock Text="Das Löschen Ihres Kontos ist endgültig und kann nicht rückgängig gemacht werden." FontSize="14" Foreground="#B71C1C" Margin="0,0,0,15"/> <TextBlock Text="{x:Static properties:Resources.DeleteAccountWarning}" FontSize="14" Foreground="#B71C1C" Margin="0,0,0,15"/>
<Button x:Name="DeleteAccountButton" Width="220" Height="45" Background="#D32F2F" Foreground="White" FontWeight="Bold" HorizontalAlignment="Left" Click="DeleteAccountButton_Click"> <Button x:Name="DeleteAccountButton" Width="220" Height="45" Background="#D32F2F" Foreground="White" FontWeight="Bold" HorizontalAlignment="Left" Click="DeleteAccountButton_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="AccountRemove" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="AccountRemove" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Konto löschen"/> <TextBlock Text="{x:Static properties:Resources.DeleteAccount}"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>

View File

@@ -2,9 +2,46 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:properties="clr-namespace:SkyTeam"
Title="ReservierungssuchePage" Title="ReservierungssuchePage"
Background="{DynamicResource PageBackground}"> Background="{DynamicResource PageBackground}">
<Page.Resources>
<!-- Стиль для внутреннего DatePickerTextBox -->
<Style TargetType="DatePickerTextBox">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="DatePickerTextBox">
<Grid>
<ScrollViewer x:Name="PART_ContentHost"/>
<!-- Наш placeholder -->
<TextBlock
Text="{x:Static properties:Resources.SelectDate}"
Foreground="Gray"
Margin="5,0,0,0"
VerticalAlignment="Center"
IsHitTestVisible="False"
Visibility="Collapsed"
x:Name="PlaceholderText"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="Text" Value="">
<Setter TargetName="PlaceholderText"
Property="Visibility"
Value="Visible"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Page.Resources>
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/>
@@ -20,8 +57,8 @@
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/> <Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/>
<StackPanel> <StackPanel>
<TextBlock Text="Sky Team Airlines" FontSize="20" FontWeight="Bold" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderTitle}" FontSize="20" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="Sichere und komfortable Flüge weltweit" FontSize="12" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderSubtitle}" FontSize="12" Foreground="White"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</Border> </Border>
@@ -31,42 +68,42 @@
<Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Home" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarHome}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0"> <Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Meine Buchungen" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarBookings}" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Einstellungen" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarSettings}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click"> <Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Abmelden"/> <TextBlock Text="{x:Static properties:Resources.SidebarLogout}"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>
<Grid Grid.Row="1" Grid.Column="1" Margin="30"> <Grid Grid.Row="1" Grid.Column="1" Margin="30">
<StackPanel Margin="0,0,0,25"> <StackPanel Margin="0,0,0,25">
<TextBlock Text="Flug suchen" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SearchFlights}" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Wählen Sie Ihr Ziel aus der Liste" FontSize="16" Foreground="{DynamicResource SecondaryText}"/> <TextBlock Text="Wählen Sie Ihr Ziel aus der Liste" FontSize="16" Foreground="{DynamicResource SecondaryText}"/>
</StackPanel> </StackPanel>
<Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="30"> <Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="30">
<StackPanel Width="350"> <StackPanel Width="350">
<TextBlock Text="Von" FontWeight="SemiBold" Margin="0,0,0,5" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.PrepositionVon}" FontWeight="SemiBold" Margin="0,0,0,5" Foreground="{DynamicResource PrimaryText}"/>
<ComboBox x:Name="FromBox" Height="40" Margin="0,0,0,15" IsEditable="True"> <ComboBox x:Name="FromBox" Height="40" Margin="0,0,0,15" IsEditable="True">
<ComboBoxItem Content="Berlin"/> <ComboBoxItem Content="Berlin"/>
<ComboBoxItem Content="München"/> <ComboBoxItem Content="München"/>
@@ -86,7 +123,7 @@
<ComboBoxItem Content="Paderborn"/> <ComboBoxItem Content="Paderborn"/>
</ComboBox> </ComboBox>
<TextBlock Text="Nach" FontWeight="SemiBold" Margin="0,0,0,5" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.To}" FontWeight="SemiBold" Margin="0,0,0,5" Foreground="{DynamicResource PrimaryText}"/>
<ComboBox x:Name="ToBox" Height="40" Margin="0,0,0,15" IsEditable="True"> <ComboBox x:Name="ToBox" Height="40" Margin="0,0,0,15" IsEditable="True">
<ComboBoxItem Content="Mallorca"/> <ComboBoxItem Content="Mallorca"/>
<ComboBoxItem Content="Berlin"/> <ComboBoxItem Content="Berlin"/>
@@ -108,10 +145,10 @@
<ComboBoxItem Content="Dubai"/> <ComboBoxItem Content="Dubai"/>
</ComboBox> </ComboBox>
<TextBlock Text="Abflugdatum" FontWeight="SemiBold" Margin="0,0,0,5" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.DepartureDate}" FontWeight="SemiBold" Margin="0,0,0,5" Foreground="{DynamicResource PrimaryText}"/>
<DatePicker x:Name="DateBox" Height="40" Margin="0,0,0,25"/> <DatePicker x:Name="DateBox" Height="40" Margin="0,0,0,25"/>
<Button Content="Flüge suchen" <Button Content="{x:Static properties:Resources.SearchFlights}"
Height="45" Height="45"
FontWeight="Bold" FontWeight="Bold"
Background="#FF1E88E5" Background="#FF1E88E5"

View File

@@ -2,6 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
xmlns:properties="clr-namespace:SkyTeam"
Title="verfuegbareFluge" Title="verfuegbareFluge"
Background="{DynamicResource PageBackground}"> Background="{DynamicResource PageBackground}">
@@ -19,8 +20,8 @@
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/> <Ellipse Width="36" Height="36" Fill="White" Margin="0,0,10,0"/>
<StackPanel> <StackPanel>
<TextBlock Text="Sky Team Airlines" FontSize="20" FontWeight="Bold" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderTitle}" FontSize="20" FontWeight="Bold" Foreground="White"/>
<TextBlock Text="Sichere und komfortable Flüge weltweit" FontSize="12" Foreground="White"/> <TextBlock Text="{x:Static properties:Resources.HeaderSubtitle}" FontSize="12" Foreground="White"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</Border> </Border>
@@ -30,36 +31,36 @@
<Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="HomeButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Home" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Home" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarHome}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0"> <Button Height="50" Margin="5" Click="BookingsButton_Click" Background="{DynamicResource CardBackground}" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Airplane" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Meine Buchungen" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarBookings}" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0"> <Button Height="50" Margin="5" Click="SettingsButton_Click" Background="Transparent" BorderThickness="0">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/> <iconPacks:PackIconMaterial Kind="Cog" Width="20" Margin="0,0,10,0" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Einstellungen" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.SidebarSettings}" Foreground="{DynamicResource PrimaryText}"/>
</StackPanel> </StackPanel>
</Button> </Button>
<Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click"> <Button Height="50" Margin="5" Background="#FFEBEB" BorderBrush="#FFB71C1C" Foreground="#D32F2F" FontWeight="Bold" Click="LogoutButton_Click">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/> <iconPacks:PackIconMaterial Kind="Logout" Width="20" Margin="0,0,10,0"/>
<TextBlock Text="Abmelden"/> <TextBlock Text="{x:Static properties:Resources.SidebarLogout}"/>
</StackPanel> </StackPanel>
</Button> </Button>
</StackPanel> </StackPanel>
<Grid Grid.Row="1" Grid.Column="1" Margin="30"> <Grid Grid.Row="1" Grid.Column="1" Margin="30">
<StackPanel Margin="0,0,0,25"> <StackPanel Margin="0,0,0,25">
<TextBlock Text="Verfügbare Flüge" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/> <TextBlock Text="{x:Static properties:Resources.AvailableFlightsTitle}" FontSize="28" FontWeight="Bold" Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Wählen Sie einen Flug aus und klicken Sie auf Buchen" FontSize="16" Foreground="{DynamicResource SecondaryText}"/> <TextBlock Text="{x:Static properties:Resources.SelectFlightInstruction}" FontSize="16" Foreground="{DynamicResource SecondaryText}"/>
</StackPanel> </StackPanel>
<Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="20"> <Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="20">
@@ -79,17 +80,17 @@
SelectionMode="Single" SelectionMode="Single"
Margin="0,0,0,20"> Margin="0,0,0,20">
<DataGrid.Columns> <DataGrid.Columns>
<DataGridTextColumn Header="Flug Nummer" Width="120" Binding="{Binding FlightNumber}"/> <DataGridTextColumn Header="{x:Static properties:Resources.FlightNumberLabel}" Width="120" Binding="{Binding FlightNumber}"/>
<DataGridTextColumn Header="Von" Width="100" Binding="{Binding From}"/> <DataGridTextColumn Header="{x:Static properties:Resources.PrepositionVon}" Width="100" Binding="{Binding From}"/>
<DataGridTextColumn Header="Bis" Width="100" Binding="{Binding To}"/> <DataGridTextColumn Header="{x:Static properties:Resources.ToLabel}" Width="100" Binding="{Binding To}"/>
<DataGridTextColumn Header="Pilot" Width="120" Binding="{Binding Pilot}"/> <DataGridTextColumn Header="{x:Static properties:Resources.PilotLabel}" Width="120" Binding="{Binding Pilot}"/>
<DataGridTextColumn Header="Flugzeug" Width="120" Binding="{Binding Plane}"/> <DataGridTextColumn Header="{x:Static properties:Resources.PlaneLabel}" Width="120" Binding="{Binding Plane}"/>
<DataGridTextColumn Header="Datum" Width="140" Binding="{Binding Date}"/> <DataGridTextColumn Header="{x:Static properties:Resources.DateLabel}" Width="140" Binding="{Binding Date}"/>
</DataGrid.Columns> </DataGrid.Columns>
</DataGrid> </DataGrid>
<Button Grid.Row="1" <Button Grid.Row="1"
Content="Buchen" Content="{x:Static properties:Resources.BookButtonLabel}"
Height="45" Height="45"
Width="140" Width="140"
HorizontalAlignment="Right" HorizontalAlignment="Right"