diff --git a/FModel/Methods/IconGenerator/ItemGenerator/DrawText.cs b/FModel/Methods/IconGenerator/ItemGenerator/DrawText.cs index b71484bd..3d7df7ea 100644 --- a/FModel/Methods/IconGenerator/ItemGenerator/DrawText.cs +++ b/FModel/Methods/IconGenerator/ItemGenerator/DrawText.cs @@ -6,6 +6,7 @@ using System.Drawing; using System.Linq; using System.IO; using System.Collections.Generic; +using FModel.Methods.Serializer.LocRes; namespace FModel { @@ -504,6 +505,10 @@ namespace FModel return string.Format(SearchResource.getTextByKey("CosmeticItemDescription_SetMembership_NotRich", setToken["DisplayName"]["source_string"].Value(), "Fort.Cosmetics"), translatedName); } + else if (HotfixedStrings.HotfixedStringsDict != null && HotfixedStrings.HotfixedStringsDict.ContainsKey(setName + "_DisplayName")) + { + return string.Format("\nPart of the {0} set.", HotfixedStrings.HotfixedStringsDict[setName + "_DisplayName"]["en"]); + } else return string.Format("\nPart of the {0} set.", setToken["DisplayName"]["source_string"].Value()); }