Show correct sticker effects title.

This commit is contained in:
John Preston 2024-05-13 12:31:23 +04:00
parent b92a05011f
commit b01244fc42
2 changed files with 4 additions and 2 deletions

View file

@ -562,7 +562,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_reaction_gif" = "{reaction} to your GIF";
"lng_effect_add_title" = "Add an animated effect";
"lng_effect_stickers_title" = "Message Effects";
"lng_effect_stickers_title" = "Effects from stickers";
"lng_effect_send" = "Send with Effect";
"lng_languages" = "Languages";

View file

@ -2239,7 +2239,9 @@ void StickersListWidget::refreshRecentStickers(bool performResize) {
Data::Stickers::RecentSetId,
nullptr,
(SetFlag::Official | SetFlag::Special),
tr::lng_recent_stickers(tr::now),
(_isEffects
? tr::lng_effect_stickers_title(tr::now)
: tr::lng_recent_stickers(tr::now)),
shortName,
recentPack.size(),
externalLayout,