From 0396a6230188a2c0b4d50bdb0726d9b07751d347 Mon Sep 17 00:00:00 2001 From: stubbfel Date: Wed, 25 Sep 2013 13:41:26 +0200 Subject: [PATCH] sort infolist --- .../CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs | 9 ++++++--- .../CampusAppWP8/Resources/AppResources.Designer.cs | 9 +++++++++ CampusAppWP8/CampusAppWP8/Resources/AppResources.resx | 3 +++ 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs index d7902536..e1c72f7c 100644 --- a/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs +++ b/CampusAppWP8/CampusAppWP8/Pages/Campusmap/CampusMapPage.xaml.cs @@ -631,12 +631,15 @@ namespace CampusAppWP8.Pages.Campusmap msgText += place.GetInformationsValue(Constants.PisInformationName_Name); msgText = Wp8StringManager.AddNewLine(msgText); - string shortDesc = place.GetInformationsValue(Constants.PisInformationName_ShortDesc); - if (shortDesc == null) + string type = place.GetInformationsValue(Constants.PisInformationName_Typ); + if (type != null) { - shortDesc = place.GetInformationsValue(Constants.PisInformationName_Typ); + msgText += AppResources.PlaceLabel_Type + ": "; + msgText += type; + msgText = Wp8StringManager.AddNewLine(msgText); } + string shortDesc = place.GetInformationsValue(Constants.PisInformationName_ShortDesc); if (shortDesc != null) { msgText += AppResources.PlaceLabel_ShortDesc + ": "; diff --git a/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs b/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs index 4266b9b1..0d621fb5 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs +++ b/CampusAppWP8/CampusAppWP8/Resources/AppResources.Designer.cs @@ -789,6 +789,15 @@ namespace CampusAppWP8.Resources { } } + /// + /// Sucht eine lokalisierte Zeichenfolge, die Type ähnelt. + /// + public static string PlaceLabel_Type { + get { + return ResourceManager.GetString("PlaceLabel_Type", resourceCulture); + } + } + /// /// Sucht eine lokalisierte Zeichenfolge, die Placenews ähnelt. /// diff --git a/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx b/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx index 5d761f8a..9528d551 100644 --- a/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx +++ b/CampusAppWP8/CampusAppWP8/Resources/AppResources.resx @@ -464,4 +464,7 @@ Für dieses Gebäude gibt es eine Raumübersicht. Soll diese angezeigt werden? + + Type + \ No newline at end of file