Skip to content

Commit

Permalink
Clarify the intent of the contact name record (new-frontiers-14#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
dffdff2423 authored and Samsterious committed Apr 26, 2024
1 parent 17f1765 commit 32fc4f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Content.Client/_CD/Records/UI/RecordEditorGui.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc 'humanoid-profile-editor-cd-records-contact-name'}" />
<Control HorizontalExpand="True" />
<LineEdit Name="ContactNameEdit" HorizontalAlignment="Right" MinSize="270 0"/>
<LineEdit Name="ContactNameEdit" HorizontalAlignment="Right" MinSize="350 0"/>
</BoxContainer>
<Control MinSize="0 20"/>
<!-- Employment stuff -->
Expand Down
2 changes: 1 addition & 1 deletion Content.Shared/_CD/Records/CharacterRecords.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void EnsureValid()
Height = Math.Clamp(Height, 0, MaxHeight);
Weight = Math.Clamp(Weight, 0, MaxWeight);
EmergencyContactName =
ClampString(EmergencyContactName, HumanoidCharacterProfile.MaxNameLength);
ClampString(EmergencyContactName, TextMedLen);
IdentifyingFeatures = ClampString(IdentifyingFeatures, TextMedLen);
Allergies = ClampString(Allergies, TextMedLen);
DrugAllergies = ClampString(DrugAllergies, TextMedLen);
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/_CD/records/editor.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ humanoid-profile-editor-cd-records-tab = Records
# General
humanoid-profile-editor-cd-records-height = Height (cm):
humanoid-profile-editor-cd-records-weight = Weight (kg):
humanoid-profile-editor-cd-records-contact-name = Emergency Contact:
humanoid-profile-editor-cd-records-contact-name = Emergency Contact Names(s):
# Employment
humanoid-profile-editor-cd-records-employment = Employment
Expand Down

0 comments on commit 32fc4f2

Please sign in to comment.