mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Add hidden buttons to langpack.
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -218,7 +218,8 @@ not_null<Ui::SettingsButton*> 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());
|
||||
|
||||
Reference in New Issue
Block a user