Skip to content

Commit

Permalink
Use a separate string for Your Stars in Settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jul 6, 2024
1 parent df277b3 commit 149c69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Telegram/Resources/langs/lang.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_settings_faq" = "Telegram FAQ";
"lng_settings_faq_link" = "https://telegram.org/faq#general-questions";
"lng_settings_features" = "Telegram Features";
"lng_settings_credits" = "Your Stars";
"lng_settings_logout" = "Log Out";
"lng_sure_logout" = "Are you sure you want to log out?";

Expand Down
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/settings/settings_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ void SetupPremium(
AddPremiumStar(
AddButtonWithLabel(
wrap->entity(),
tr::lng_credits_summary_title(),
tr::lng_settings_credits(),
controller->session().creditsValue(
) | rpl::map([=](uint64 c) {
return c ? Lang::FormatCountToShort(c).string : QString{};
Expand Down

0 comments on commit 149c69c

Please sign in to comment.