From d41ab95fa4912e3dc18bf8389caba9143b663439 Mon Sep 17 00:00:00 2001
From: Atony <75191600+AtonyGit@users.noreply.github.com>
Date: Sat, 19 Sep 2026 15:16:09 -0500
Subject: [PATCH] Allow older mods to fallback med text to tab text
---
MiraAPI/Patches/Options/NotificationPopperPatch.cs | 2 +-
MiraAPI/Roles/ICustomRole.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MiraAPI/Patches/Options/NotificationPopperPatch.cs b/MiraAPI/Patches/Options/NotificationPopperPatch.cs
index 8024ea4..8b0023c 100644
--- a/MiraAPI/Patches/Options/NotificationPopperPatch.cs
+++ b/MiraAPI/Patches/Options/NotificationPopperPatch.cs
@@ -31,7 +31,7 @@ public static class NotificationPopperPatch
icon,
"",
textColor,
- TranslationController.Instance.GetString(key),
+ customRole.RoleName,
""
),
"" + roleCount + "",
diff --git a/MiraAPI/Roles/ICustomRole.cs b/MiraAPI/Roles/ICustomRole.cs
index 50a9224..adda079 100644
--- a/MiraAPI/Roles/ICustomRole.cs
+++ b/MiraAPI/Roles/ICustomRole.cs
@@ -48,7 +48,7 @@ public interface ICustomRole : IOptionable
///
/// Gets the medium description of the role. Used in the role guide and options menu.
///
- string RoleMedDescription => MiraLocaleManager.Get(RoleMedDescriptionLocale);
+ string RoleMedDescription => MiraLocaleManager.Get(RoleMedDescriptionLocale, RoleLongDescription);
///
/// Gets the role's medium description id for localization.