Add media viewer title to lang pack keys.

This commit is contained in:
John Preston 2023-03-15 16:27:54 +04:00
parent 32e650548f
commit 832d426c1c
2 changed files with 2 additions and 1 deletions

View File

@ -2434,6 +2434,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_mediaview_set_userpic" = "Set as Main";
"lng_mediaview_report_profile_photo" = "Report";
"lng_mediaview_title" = "Media viewer";
"lng_mediaview_saved_to" = "Image was saved to your {downloads} folder";
"lng_mediaview_saved_images_to" = "Images were saved to your {downloads} folder";
"lng_mediaview_downloads" = "Downloads";

View File

@ -500,7 +500,7 @@ OverlayWidget::OverlayWidget()
update();
}, lifetime());
_window->setTitle(u"Media viewer"_q);
_window->setTitle(tr::lng_mediaview_title(tr::now));
_window->setTitleStyle(st::mediaviewTitle);
if constexpr (Platform::IsMac()) {