mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
Added missed label about similar channels to box for doubled limits.
This commit is contained in:
parent
9f73242cc5
commit
d754014321
4 changed files with 19 additions and 3 deletions
|
@ -2591,6 +2591,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_premium_double_limits_subtitle_accounts" = "Connected Accounts";
|
||||
"lng_premium_double_limits_about_accounts#one" = "Connect {count} account with different mobile numbers";
|
||||
"lng_premium_double_limits_about_accounts#other" = "Connect {count} accounts with different mobile numbers";
|
||||
|
||||
"lng_premium_double_limits_subtitle_similar_channels" = "Similar Channel";
|
||||
"lng_premium_double_limits_about_similar_channels#one" = "View up to {count} similar channel";
|
||||
"lng_premium_double_limits_about_similar_channels#other" = "View up to {count} similar channels";
|
||||
//
|
||||
|
||||
"lng_premium_gift_title" = "Gift Telegram Premium";
|
||||
|
|
|
@ -1526,6 +1526,18 @@ void DoubledLimitsPreviewBox(
|
|||
Main::Domain::kPremiumMaxAccounts,
|
||||
till,
|
||||
});
|
||||
{
|
||||
const auto premium = limits.similarChannelsPremium();
|
||||
entries.push_back({
|
||||
tr::lng_premium_double_limits_subtitle_similar_channels(),
|
||||
tr::lng_premium_double_limits_about_similar_channels(
|
||||
lt_count,
|
||||
rpl::single(float64(premium)),
|
||||
Ui::Text::RichLangValue),
|
||||
limits.similarChannelsDefault(),
|
||||
premium,
|
||||
});
|
||||
}
|
||||
Ui::Premium::ShowListBox(
|
||||
box,
|
||||
st::defaultPremiumLimits,
|
||||
|
|
|
@ -137,6 +137,7 @@ using Order = std::vector<QString>;
|
|||
tr::lng_business_subtitle_chatbots(),
|
||||
tr::lng_business_about_chatbots(),
|
||||
PremiumFeature::BusinessBots,
|
||||
true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -146,6 +147,7 @@ using Order = std::vector<QString>;
|
|||
tr::lng_business_subtitle_chat_intro(),
|
||||
tr::lng_business_about_chat_intro(),
|
||||
PremiumFeature::ChatIntro,
|
||||
true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -155,6 +157,7 @@ using Order = std::vector<QString>;
|
|||
tr::lng_business_subtitle_chat_links(),
|
||||
tr::lng_business_about_chat_links(),
|
||||
PremiumFeature::ChatLinks,
|
||||
true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
@ -211,7 +211,6 @@ using Order = std::vector<QString>;
|
|||
tr::lng_premium_summary_subtitle_tags_for_messages(),
|
||||
tr::lng_premium_summary_about_tags_for_messages(),
|
||||
PremiumFeature::TagsForMessages,
|
||||
true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -221,7 +220,6 @@ using Order = std::vector<QString>;
|
|||
tr::lng_premium_summary_subtitle_last_seen(),
|
||||
tr::lng_premium_summary_about_last_seen(),
|
||||
PremiumFeature::LastSeen,
|
||||
true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -231,7 +229,6 @@ using Order = std::vector<QString>;
|
|||
tr::lng_premium_summary_subtitle_message_privacy(),
|
||||
tr::lng_premium_summary_about_message_privacy(),
|
||||
PremiumFeature::MessagePrivacy,
|
||||
true,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue