mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Add media viewer title to lang pack keys.
This commit is contained in:
parent
32e650548f
commit
832d426c1c
2 changed files with 2 additions and 1 deletions
|
@ -2434,6 +2434,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_mediaview_set_userpic" = "Set as Main";
|
"lng_mediaview_set_userpic" = "Set as Main";
|
||||||
"lng_mediaview_report_profile_photo" = "Report";
|
"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_to" = "Image was saved to your {downloads} folder";
|
||||||
"lng_mediaview_saved_images_to" = "Images were saved to your {downloads} folder";
|
"lng_mediaview_saved_images_to" = "Images were saved to your {downloads} folder";
|
||||||
"lng_mediaview_downloads" = "Downloads";
|
"lng_mediaview_downloads" = "Downloads";
|
||||||
|
|
|
@ -500,7 +500,7 @@ OverlayWidget::OverlayWidget()
|
||||||
update();
|
update();
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
|
||||||
_window->setTitle(u"Media viewer"_q);
|
_window->setTitle(tr::lng_mediaview_title(tr::now));
|
||||||
_window->setTitleStyle(st::mediaviewTitle);
|
_window->setTitleStyle(st::mediaviewTitle);
|
||||||
|
|
||||||
if constexpr (Platform::IsMac()) {
|
if constexpr (Platform::IsMac()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue