mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Add hidden buttons to langpack.
This commit is contained in:
parent
a74c5ee719
commit
22f504ca21
2 changed files with 4 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue