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,
|
icon,
|
||||||
"<font=\"Barlow-Black SDF\" material=\"Barlow-Black Outline\">",
|
"<font=\"Barlow-Black SDF\" material=\"Barlow-Black Outline\">",
|
||||||
textColor,
|
textColor,
|
||||||
TranslationController.Instance.GetString(key),
|
customRole.RoleName,
|
||||||
"</color></font>"
|
"</color></font>"
|
||||||
),
|
),
|
||||||
"<font=\"Barlow-Black SDF\" material=\"Barlow-Black Outline\">" + roleCount + "</font>",
|
"<font=\"Barlow-Black SDF\" material=\"Barlow-Black Outline\">" + roleCount + "</font>",
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ public interface ICustomRole : IOptionable
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the medium description of the role. Used in the role guide and options menu.
|
/// Gets the medium description of the role. Used in the role guide and options menu.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
string RoleMedDescription => MiraLocaleManager.Get(RoleMedDescriptionLocale);
|
string RoleMedDescription => MiraLocaleManager.Get(RoleMedDescriptionLocale, RoleLongDescription);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the role's medium description id for localization.
|
/// Gets the role's medium description id for localization.
|
||||||
|
|||||||
Reference in new issue
Block a user