mirror of
https://github.com/4sval/FModel.git
synced 2026-03-23 18:24:36 -05:00
hotfixed string support for the english version of a cosmetic set
This commit is contained in:
parent
8cce7701d6
commit
2d50ee41e7
|
|
@ -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<string>(), "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<string>());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user