sort infolist

This commit is contained in:
stubbfel
2013-09-25 13:41:26 +02:00
parent dd709f8937
commit 0396a62301
3 changed files with 18 additions and 3 deletions

View File

@@ -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 + ": ";

View File

@@ -789,6 +789,15 @@ namespace CampusAppWP8.Resources {
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Type ähnelt.
/// </summary>
public static string PlaceLabel_Type {
get {
return ResourceManager.GetString("PlaceLabel_Type", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Placenews ähnelt.
/// </summary>

View File

@@ -464,4 +464,7 @@
<data name="MsgBox_ShowRoomList" xml:space="preserve">
<value>Für dieses Gebäude gibt es eine Raumübersicht. Soll diese angezeigt werden?</value>
</data>
<data name="PlaceLabel_Type" xml:space="preserve">
<value>Type</value>
</data>
</root>