diff --git a/CharacterRecordsGenerator/Record.cs b/CharacterRecordsGenerator/Record.cs index dd8ede5..714d22b 100644 --- a/CharacterRecordsGenerator/Record.cs +++ b/CharacterRecordsGenerator/Record.cs @@ -17,7 +17,7 @@ namespace CharacterRecordsGenerator public string LastName { get; set; } = string.Empty; [ProtoMember(4)] - public string NameSuffix { get; set; } = string.Empty; + public string SpokenLanguages { get; set; } = string.Empty; [ProtoMember(5)] public SpeciesType Species { get; set; } = SpeciesType.Human; diff --git a/CharacterRecordsGenerator/RecordEditor.xaml b/CharacterRecordsGenerator/RecordEditor.xaml index c685d29..417bd6c 100644 --- a/CharacterRecordsGenerator/RecordEditor.xaml +++ b/CharacterRecordsGenerator/RecordEditor.xaml @@ -71,11 +71,12 @@ VerticalAlignment="Top" Grid.Column="1" Height="15.96"/> + Text="{Binding Path=Citizenship}" + controls:TextBoxHelper.Watermark="Coalition of Colonies" TabIndex="4" /> - + TextWrapping="Wrap" VerticalAlignment="Top" controls:TextBoxHelper.Watermark="Tau Ceti Basic, Tradeband" + Text="{Binding Path=SpokenLanguages}" TabIndex="8" /> + /// /// - public static string SpaceIfValue(this string val) => string.IsNullOrWhiteSpace(val) ? string.Empty : $" {val} "; + public static string SpaceIfValue(this string val) => string.IsNullOrWhiteSpace(val) ? string.Empty : $"{val} "; public static string IfEmpty(this string target, string fallback) => target.IsEmpty() ? fallback : target;