From c71987d3f993424c9b5caa28c578ca4c49f418b9 Mon Sep 17 00:00:00 2001 From: Nix Silvam Date: Thu, 22 Aug 2024 17:38:08 +0300 Subject: [PATCH] fix namepreset --- Content.Shared/Humanoid/NamingSystem.cs | 2 +- Resources/Locale/en-US/species/namepreset.ftl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Humanoid/NamingSystem.cs b/Content.Shared/Humanoid/NamingSystem.cs index 1cf9487d087..1ca85cf0ebf 100644 --- a/Content.Shared/Humanoid/NamingSystem.cs +++ b/Content.Shared/Humanoid/NamingSystem.cs @@ -43,7 +43,7 @@ public string GetName(string species, Gender? gender = null) // Parkstation-Ipc-Start case SpeciesNaming.FirstDashLast: return Loc.GetString("namepreset-firstdashlast", - ("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto))); + ("first", GetFirstName(speciesProto, gender)), ("last", GetLastName(speciesProto, gender))); // Parkstation-Ipc-End case SpeciesNaming.FirstLast: default: diff --git a/Resources/Locale/en-US/species/namepreset.ftl b/Resources/Locale/en-US/species/namepreset.ftl index 092d0b6d62c..6eddeab8b0a 100644 --- a/Resources/Locale/en-US/species/namepreset.ftl +++ b/Resources/Locale/en-US/species/namepreset.ftl @@ -1,7 +1,8 @@ namepreset-first = {$first} namepreset-firstlast = {$first} {$last} namepreset-firstdashfirst = {$first1}-{$first2} -# Start ADT tweak: Drask +# Start ADT tweak: Drask, IPC namepreset-firstdashfirstdashfirst = { $first1 }-{ $first2 }-{ $first3 } +namepreset-firstdashlast = { $first }-{ $last } # End ADT tweak namepreset-thefirstoflast = The {$first} of {$last}