diff --git a/data/locale/en-US.ini b/data/locale/en-US.ini index 24f6bd09..5280bfe2 100644 --- a/data/locale/en-US.ini +++ b/data/locale/en-US.ini @@ -48,11 +48,7 @@ UI.About.Title="About StreamFX" UI.About.Text="
StreamFX is made possible by all the supporters on Patreon, on Github Sponsors, and anyone donating through PayPal. Additional thanks go out to all the translators helping out with the localization on Crowdin. You all are amazing!
" UI.About.Role.Contributor="Contributor" UI.About.Role.Translator="Translator" -UI.About.Role.Family="%s's Family" -UI.About.Role.Friend="%s's Friend" -UI.About.Role.Supporter.Github="Github Sponsor" -UI.About.Role.Supporter.Patreon="Patreon Supporter" -UI.About.Role.Supporter.Twitch="Twitch Subscriber" +UI.About.Role.Supporter="Supporter" UI.About.Role.Creator="Content Creator" UI.About.Version="Version:" diff --git a/source/ui/ui-about-entry.cpp b/source/ui/ui-about-entry.cpp index d8887b68..d34b9e77 100644 --- a/source/ui/ui-about-entry.cpp +++ b/source/ui/ui-about-entry.cpp @@ -19,14 +19,12 @@ #include "ui-about-entry.hpp" -constexpr std::string_view i18n_role_contributor = "UI.About.Role.Contributor"; -constexpr std::string_view i18n_role_translator = "UI.About.Role.Translator"; -constexpr std::string_view i18n_role_family = "UI.About.Role.Family"; -constexpr std::string_view i18n_role_friend = "UI.About.Role.Friend"; -constexpr std::string_view i18n_role_supporter_patreon = "UI.About.Role.Supporter.Patreon"; -constexpr std::string_view i18n_role_supporter_github = "UI.About.Role.Supporter.Github"; -constexpr std::string_view i18n_role_supporter_twitch = "UI.About.Role.Supporter.Twitch"; -constexpr std::string_view i18n_role_creator = "UI.About.Role.Creator"; +constexpr std::string_view i18n_role_contributor = "UI.About.Role.Contributor"; +constexpr std::string_view i18n_role_translator = "UI.About.Role.Translator"; +constexpr std::string_view i18n_role_family = "UI.About.Role.Family"; +constexpr std::string_view i18n_role_friend = "UI.About.Role.Friend"; +constexpr std::string_view i18n_role_supporter = "UI.About.Role.Supporter"; +constexpr std::string_view i18n_role_creator = "UI.About.Role.Creator"; streamfx::ui::about_entry::about_entry(QWidget* parent, streamfx::ui::about::entry& entry) : QWidget(parent), _link() { @@ -43,28 +41,8 @@ streamfx::ui::about_entry::about_entry(QWidget* parent, streamfx::ui::about::ent case streamfx::ui::about::role_type::TRANSLATOR: title->setText(D_TRANSLATE(i18n_role_translator.data())); break; - case streamfx::ui::about::role_type::FAMILY: { - const char* txt = D_TRANSLATE(i18n_role_family.data()); - std::vector