Improve icons and phrases.
BIN
Telegram/Resources/icons/info/edit/hidden_members.png
Normal file
After Width: | Height: | Size: 461 B |
BIN
Telegram/Resources/icons/info/edit/hidden_members@2x.png
Normal file
After Width: | Height: | Size: 810 B |
BIN
Telegram/Resources/icons/info/edit/hidden_members@3x.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 988 B |
Before Width: | Height: | Size: 1.5 KiB |
BIN
Telegram/Resources/icons/menu/spoiler_off.png
Normal file
After Width: | Height: | Size: 797 B |
BIN
Telegram/Resources/icons/menu/spoiler_off@2x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
Telegram/Resources/icons/menu/spoiler_off@3x.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
Telegram/Resources/icons/menu/spoiler_on.png
Normal file
After Width: | Height: | Size: 713 B |
BIN
Telegram/Resources/icons/menu/spoiler_on@2x.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/menu/spoiler_on@3x.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
|
@ -2326,7 +2326,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_context_animated_reactions_many#other" = "Reactions contain emoji from **{count} packs**.";
|
||||
|
||||
"lng_context_spoiler_effect" = "Hide with Spoiler";
|
||||
"lng_context_disable_spoiler" = "Disable Spoiler Effect";
|
||||
"lng_context_disable_spoiler" = "Remove Spoiler";
|
||||
|
||||
"lng_downloads_section" = "Downloads";
|
||||
"lng_downloads_view_in_chat" = "View in chat";
|
||||
|
|
|
@ -36,7 +36,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
rpl::single(QString()),
|
||||
[] {},
|
||||
st::manageGroupTopicsButton,
|
||||
{ &st::infoRoundedIconAntiSpam, Settings::kIconPurple }
|
||||
{ &st::infoRoundedIconHideMembers, Settings::kIconDarkBlue }
|
||||
))->toggleOn(rpl::single(
|
||||
(megagroup->flags() & ChannelDataFlag::ParticipantsHidden) != 0
|
||||
) | rpl::then(state->toggled.events()));
|
||||
|
|
|
@ -532,7 +532,7 @@ void SendFilesBox::addMenuButton() {
|
|||
? tr::lng_context_disable_spoiler(tr::now)
|
||||
: tr::lng_context_spoiler_effect(tr::now)),
|
||||
[=] { toggleSpoilers(!spoilered); },
|
||||
(spoilered ? &st::menuIconDisable : &st::menuIconSpoiler));
|
||||
spoilered ? &st::menuIconSpoilerOff : &st::menuIconSpoiler);
|
||||
if (hasSendMenu()) {
|
||||
_menu->addSeparator();
|
||||
}
|
||||
|
|
|
@ -388,6 +388,7 @@ infoRoundedIconInviteLinks: icon {{ "info/edit/group_manage_links", settingsIcon
|
|||
infoRoundedIconReactions: icon {{ "info/edit/group_manage_reactions", settingsIconFg }};
|
||||
infoRoundedIconSignature: icon {{ "info/edit/channel_manage_signature", settingsIconFg }};
|
||||
infoRoundedIconAntiSpam: icon {{ "info/edit/antispam", settingsIconFg }};
|
||||
infoRoundedIconHideMembers: icon {{ "info/edit/hidden_members", settingsIconFg }};
|
||||
|
||||
infoIconShare: icon {{ "info/info_share", infoIconFg }};
|
||||
infoIconEdit: icon {{ "info/info_edit", infoIconFg }};
|
||||
|
|
|
@ -269,7 +269,7 @@ void AbstractSingleMediaPreview::showContextMenu(QPoint position) {
|
|||
? tr::lng_context_disable_spoiler(tr::now)
|
||||
: tr::lng_context_spoiler_effect(tr::now), [=] {
|
||||
setSpoiler(!spoilered);
|
||||
}, spoilered ? &st::menuIconDisable : &st::menuIconSpoiler);
|
||||
}, spoilered ? &st::menuIconSpoilerOff : &st::menuIconSpoiler);
|
||||
|
||||
if (_menu->empty()) {
|
||||
_menu = nullptr;
|
||||
|
|
|
@ -593,7 +593,7 @@ void AlbumPreview::showContextMenu(
|
|||
? tr::lng_context_disable_spoiler(tr::now)
|
||||
: tr::lng_context_spoiler_effect(tr::now), [=] {
|
||||
thumb->setSpoiler(!spoilered);
|
||||
}, spoilered ? &st::menuIconDisable : &st::menuIconSpoiler);
|
||||
}, spoilered ? &st::menuIconSpoilerOff : &st::menuIconSpoiler);
|
||||
|
||||
if (_menu->empty()) {
|
||||
_menu = nullptr;
|
||||
|
|
|
@ -94,7 +94,8 @@ menuIconStartStreamWith: icon {{ "menu/start_stream_with", menuIconColor }};
|
|||
menuIconVideoChat: icon {{ "menu/video_chat", menuIconColor }};
|
||||
menuIconTranslate: icon {{ "menu/translate", menuIconColor }};
|
||||
menuIconReportAntiSpam: icon {{ "menu/false_positive", menuIconColor }};
|
||||
menuIconSpoiler: icon {{ "menu/spoiler", menuIconColor }};
|
||||
menuIconSpoiler: icon {{ "menu/spoiler_on", menuIconColor }};
|
||||
menuIconSpoilerOff: icon {{ "menu/spoiler_off", menuIconColor }};
|
||||
menuIconDisable: icon {{ "menu/disable", menuIconColor }};
|
||||
menuIconPhotoSet: icon {{ "menu/photo_set", menuIconColor }};
|
||||
menuIconPhotoSuggest: icon {{ "menu/photo_suggest", menuIconColor }};
|
||||
|
|