mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Allow older mods to fallback med text to tab text
This commit is contained in:
1 parent
0cb0527ddf
commit
d41ab95fa4
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ public static class NotificationPopperPatch
|
||||
icon,
|
||||
"<font=\"Barlow-Black SDF\" material=\"Barlow-Black Outline\">",
|
||||
textColor,
|
||||
TranslationController.Instance.GetString(key),
|
||||
customRole.RoleName,
|
||||
"</color></font>"
|
||||
),
|
||||
"<font=\"Barlow-Black SDF\" material=\"Barlow-Black Outline\">" + roleCount + "</font>",
|
||||
|
||||
@@ -48,7 +48,7 @@ public interface ICustomRole : IOptionable
|
||||
/// <summary>
|
||||
/// Gets the medium description of the role. Used in the role guide and options menu.
|
||||
/// </summary>
|
||||
string RoleMedDescription => MiraLocaleManager.Get(RoleMedDescriptionLocale);
|
||||
string RoleMedDescription => MiraLocaleManager.Get(RoleMedDescriptionLocale, RoleLongDescription);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the role's medium description id for localization.
|
||||
|
||||
Reference in new issue
Block a user