Add "View reactions" phrase to the langpack.

This commit is contained in:
John Preston 2024-01-09 17:51:29 +04:00
parent 4471eb587d
commit 9401e7cb51
2 changed files with 2 additions and 1 deletions

View file

@ -4348,6 +4348,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_stories_views#one" = "{count} view";
"lng_stories_views#other" = "{count} views";
"lng_stories_no_views" = "No views";
"lng_stories_view_reactions" = "View reactions";
"lng_stories_unsupported" = "This story is not supported\nby your version of Telegram.";
"lng_stories_cant_reply" = "You can't reply to this story.";
"lng_stories_about_silent" = "This video has no sound.";

View file

@ -421,7 +421,7 @@ void RecentViews::updatePartsGeometry() {
void RecentViews::updateText() {
const auto text = (_data.type == RecentViewsType::Channel)
? u"View reactions"_q
? tr::lng_stories_view_reactions(tr::now)
: _data.views
? (tr::lng_stories_views(tr::now, lt_count, _data.views)
+ (_data.reactions