diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 1fedad680..d9e5dba0a 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -19,6 +19,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_menu_set_status" = "Set Emoji Status"; "lng_menu_change_status" = "Change Emoji Status"; "lng_menu_my_stories" = "My Stories"; +"lng_menu_my_groups" = "My Groups"; +"lng_menu_my_channels" = "My Channels"; "lng_disable_notifications_from_tray" = "Disable notifications"; "lng_enable_notifications_from_tray" = "Enable notifications"; diff --git a/Telegram/SourceFiles/window/window_main_menu.cpp b/Telegram/SourceFiles/window/window_main_menu.cpp index d94e1648b..0276c3771 100644 --- a/Telegram/SourceFiles/window/window_main_menu.cpp +++ b/Telegram/SourceFiles/window/window_main_menu.cpp @@ -218,7 +218,8 @@ not_null AddMyChannelsBox( button, st::defaultPopupMenu); (*menu)->addAction( - chats ? u"My Groups"_q : u"My Channels"_q, + (chats ? tr::lng_menu_my_groups : tr::lng_menu_my_channels)( + tr::now), [=] { controller->uiShow()->showBox(Box(myChannelsBox)); }, nullptr); (*menu)->popup(QCursor::pos());