Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Commit 55015ac

Browse files
Merge pull request #59 from Standaard-boos/Media
More consistency in language
2 parents 45178f9 + 82ba397 commit 55015ac

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

View/MatchingProfilePage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:VM="clr-namespace:ViewModel;assembly=ViewModel"
88
mc:Ignorable="d"
99
d:DesignHeight="1920" d:DesignWidth="1080"
10-
Title="MatchingProfilePage">
10+
Title="Match">
1111

1212
<Page.Resources>
1313
<VM:MatchingProfilePageViewModel x:Key="vm"/>

View/OpgevenRelaties.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:VM="clr-namespace:ViewModel"
88
mc:Ignorable="d"
99
d:DesignHeight="450" d:DesignWidth="800"
10-
Title="OpgevenRelaties">
10+
Title="Opgeven relaties">
1111

1212
<Grid>
1313
<Grid.ColumnDefinitions>

View/OverviewMatches.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:ViewModel="clr-namespace:ViewModel;assembly=ViewModel"
66
mc:Ignorable="d"
77
d:DesignHeight="450" d:DesignWidth="800"
8-
Title="Je matches">
8+
Title="Jouw matches">
99

1010
<Page.DataContext>
1111
<ViewModel:OverviewMatchesViewModel/>

View/ProfilePage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:VM="clr-namespace:ViewModel;assembly=ViewModel"
88
mc:Ignorable="d"
99
d:DesignHeight="1920" d:DesignWidth="1080"
10-
Title="Profile">
10+
Title="Profiel">
1111

1212
<ScrollViewer VerticalScrollBarVisibility="Auto" IsEnabled="True">
1313
<Grid x:Name="AllGrids" Background="{StaticResource BackgroundSecundary}">

View/ProfileSettings.xaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
xmlns:components="clr-namespace:View.Components"
1010
mc:Ignorable="d"
1111
d:DesignHeight="450" d:DesignWidth="800"
12-
Title="ProfileSettings">
12+
Title="{Binding SelectedItem.Header, ElementName=SettingsTabs}">
1313

1414
<Page.DataContext>
1515
<VM:SettingsPageViewModel/>
@@ -24,7 +24,7 @@
2424
<RowDefinition Height="85*"/>
2525
<RowDefinition Height="15*"/>
2626
</Grid.RowDefinitions>
27-
<TabControl TabStripPlacement="Top" Padding="0" BorderThickness="0" Grid.RowSpan="2">
27+
<TabControl x:Name="SettingsTabs" TabStripPlacement="Top" Padding="0" BorderThickness="0" Grid.RowSpan="2">
2828
<TabItem Header="Persoonlijk" Selector.Selected="TabControl_Selected">
2929
<Grid Background="{StaticResource BackgroundSecundary}">
3030
<Grid.RowDefinitions>
@@ -52,7 +52,7 @@
5252
<DatePicker Grid.Column="2" HorizontalAlignment="Left" Grid.Row="4" VerticalAlignment="Center" Width="220" Text="{Binding DateOfBirth, Mode=TwoWay}"/>
5353
<RadioButton Content="Man" IsChecked="{Binding Sex, Mode=TwoWay}" Grid.Column="2" HorizontalAlignment="Left" Grid.Row="5" VerticalAlignment="Center"/>
5454
<RadioButton Content="Vrouw" IsChecked="{Binding Sex, Mode=TwoWay, ConverterParameter=true, Converter={StaticResource InvertBoolConverter}}" Grid.Column="2" HorizontalAlignment="Left" Margin="80,0,0,0" Grid.Row="5" VerticalAlignment="Center"/>
55-
<Label Content="Persoonlijk" FontSize="22" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center"/>
55+
<!--<Label Content="Persoonlijk" FontSize="22" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center"/>-->
5656
</Grid>
5757
</TabItem>
5858
<TabItem Header="School" Selector.Selected="TabControl_Selected">
@@ -75,7 +75,7 @@
7575
<TextBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="1" Text="{Binding SchoolName, Mode=TwoWay}" TextWrapping="Wrap" VerticalAlignment="Center" Width="220" Height="18"/>
7676
<TextBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="2" Text="{Binding Study, Mode=TwoWay}" TextWrapping="Wrap" VerticalAlignment="Center" Width="220" Height="18"/>
7777
<TextBox Grid.Column="2" HorizontalAlignment="Left" Grid.Row="3" Text="{Binding SchoolCity, Mode=TwoWay}" TextWrapping="Wrap" VerticalAlignment="Center" Width="220" Height="18"/>
78-
<Label Content="School" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>
78+
<!--<Label Content="School" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>-->
7979
</Grid>
8080
</TabItem>
8181
<TabItem Header="Beschrijving" Selector.Selected="TabControl_Selected">
@@ -93,7 +93,7 @@
9393
</Grid.ColumnDefinitions>
9494
<Label Content="Schrijf hier wat leuks over jezelf (max 420 woorden)." Grid.Column="1" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Center" Height="26" Width="281"/>
9595
<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Description, Mode=TwoWay}" TextWrapping="Wrap" Grid.ColumnSpan="1" />
96-
<Label Content="Beschrijving" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>
96+
<!--<Label Content="Beschrijving" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>-->
9797
</Grid>
9898
</TabItem>
9999
<TabItem Header="Interesses" Selector.Selected="TabControl_Selected">
@@ -108,7 +108,7 @@
108108
<ColumnDefinition Width="70*"/>
109109
<ColumnDefinition Width="25*"/>
110110
</Grid.ColumnDefinitions>
111-
<Label Content="Interesses" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>
111+
<!--<Label Content="Interesses" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>-->
112112
<ItemsControl x:Name="InterestControl" Grid.Column="1" Grid.Row="1" ItemsSource="{Binding ChosenInterests, Mode=TwoWay}">
113113
<ItemsControl.ItemsPanel>
114114
<ItemsPanelTemplate>
@@ -128,6 +128,7 @@
128128
<StackPanel.DataContext>
129129
<VM:ProfilePagePhotosViewModel/>
130130
</StackPanel.DataContext>
131+
<!--<Label Content="Profielfoto's" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20"/>-->
131132
<ItemsControl ItemsSource="{Binding Images}" Margin="20">
132133
<!-- Example array for design -->
133134
<!--<d:ItemsControl.ItemsSource>

View/SearchPreferencePage.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
xmlns:vm="clr-namespace:ViewModel;assembly=ViewModel"
88
mc:Ignorable="d"
99
d:DesignHeight="450" d:DesignWidth="800"
10-
Title="SearchPreferencePage">
10+
Title="Zoekvoorkeuren">
1111

1212
<Page.Resources>
1313
<vm:SearchPreferencePageViewModel x:Key="vm"/>
@@ -24,7 +24,6 @@
2424
<ColumnDefinition Width="70*"/>
2525
<ColumnDefinition Width="25*"/>
2626
</Grid.ColumnDefinitions>
27-
<Label Content="Zoekvoorkeuren" Grid.Column="1" FontSize="22" HorizontalAlignment="Left" VerticalAlignment="Center"/>
2827
<StackPanel DataContext="{StaticResource vm}" Grid.Column="1" Grid.Row="1">
2928
<ToggleButton x:Name = "cb1" Content = "Vrienden"
3029
Margin = "5" Width = "100" HorizontalAlignment = "Left" IsChecked="{Binding Friend}" />

ViewModel/MainPageViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ private ObservableCollection<MainMenuNavigationItemData> SetObservableCollection
103103
MainWindowPage = @"HomePages\HomePageBeforeLogin.xaml";
104104
collection.Add(new MainMenuNavigationItemData("Home", MainWindowPage, null));
105105
}
106-
collection.Add(new MainMenuNavigationItemData("Profile", "ProfilePage.xaml", null));
106+
collection.Add(new MainMenuNavigationItemData("Profiel", "ProfilePage.xaml", null));
107107
collection.Add(new MainMenuNavigationItemData("Zoeken naar matches", "MatchingProfilePage.xaml", null));
108108
collection.Add(new MainMenuNavigationItemData("Mijn matches", "OverviewMatches.xaml", null));
109109
collection.Add(new MainMenuNavigationItemData("Zoekvoorkeuren", "SearchPreferencePage.xaml", null));
110-
collection.Add(new MainMenuNavigationItemData("Settings", "ProfileSettings.xaml", null));
110+
collection.Add(new MainMenuNavigationItemData("Instellingen", "ProfileSettings.xaml", null));
111111

112112
return collection;
113113
}

0 commit comments

Comments
 (0)