Show correct sticker effects title.
This commit is contained in:
parent
b92a05011f
commit
b01244fc42
2 changed files with 4 additions and 2 deletions
|
@ -562,7 +562,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_reaction_gif" = "{reaction} to your GIF";
|
"lng_reaction_gif" = "{reaction} to your GIF";
|
||||||
|
|
||||||
"lng_effect_add_title" = "Add an animated effect";
|
"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_effect_send" = "Send with Effect";
|
||||||
|
|
||||||
"lng_languages" = "Languages";
|
"lng_languages" = "Languages";
|
||||||
|
|
|
@ -2239,7 +2239,9 @@ void StickersListWidget::refreshRecentStickers(bool performResize) {
|
||||||
Data::Stickers::RecentSetId,
|
Data::Stickers::RecentSetId,
|
||||||
nullptr,
|
nullptr,
|
||||||
(SetFlag::Official | SetFlag::Special),
|
(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,
|
shortName,
|
||||||
recentPack.size(),
|
recentPack.size(),
|
||||||
externalLayout,
|
externalLayout,
|
||||||
|
|
Loading…
Reference in a new issue