Skip to content

Commit 86c3fbf

Browse files
committed
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into bigEmoj
# Conflicts: # Telegram/SourceFiles/core/version.h # Telegram/lib_ui
2 parents 1957b11 + 4950b52 commit 86c3fbf

File tree

220 files changed

+4661
-1171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+4661
-1171
lines changed

.devcontainer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "CentOS",
3+
"image": "tdesktop:centos_env",
4+
"customizations": {
5+
"vscode": {
6+
"settings": {
7+
"C_Cpp.intelliSenseEngine": "disabled",
8+
"clangd.arguments": [
9+
"--compile-commands-dir=${workspaceFolder}/out"
10+
],
11+
"cmake.generator": "Ninja Multi-Config",
12+
"cmake.buildDirectory": "${workspaceFolder}/out"
13+
},
14+
"extensions": [
15+
"ms-vscode.cpptools-extension-pack",
16+
"llvm-vs-code-extensions.vscode-clangd",
17+
"TheQtCompany.qt",
18+
"ms-python.python",
19+
"ms-azuretools.vscode-docker",
20+
"eamodio.gitlens"
21+
]
22+
}
23+
},
24+
"capAdd": [
25+
"SYS_PTRACE"
26+
],
27+
"securityOpt": [
28+
"seccomp=unconfined"
29+
],
30+
"workspaceMount": "source=${localWorkspaceFolder},target=/usr/src/tdesktop,type=bind,consistency=cached",
31+
"workspaceFolder": "/usr/src/tdesktop"
32+
}

.github/workflows/linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
fi
8484
8585
docker run --rm \
86+
-u $(id -u) \
8687
-v $PWD:/usr/src/tdesktop \
8788
-e CONFIG=Debug \
8889
tdesktop:centos_env \
@@ -114,8 +115,8 @@ jobs:
114115
if: env.UPLOAD_ARTIFACT == 'true'
115116
run: |
116117
cd $REPO_NAME/out/Debug
117-
sudo mkdir artifact
118-
sudo mv {Telegram,Updater} artifact/
118+
mkdir artifact
119+
mv {Telegram,Updater} artifact/
119120
- uses: actions/upload-artifact@v4
120121
if: env.UPLOAD_ARTIFACT == 'true'
121122
name: Upload artifact.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Release/
1919
ipch/
2020
.vs/
2121
.vscode/
22+
.cache/
2223

2324
/Telegram/log.txt
2425
/Telegram/data

Telegram/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,7 @@ PRIVATE
959959
info/global_media/info_global_media_inner_widget.h
960960
info/global_media/info_global_media_provider.cpp
961961
info/global_media/info_global_media_provider.h
962+
info/media/info_media_buttons.cpp
962963
info/media/info_media_buttons.h
963964
info/media/info_media_common.cpp
964965
info/media/info_media_common.h
@@ -1205,6 +1206,8 @@ PRIVATE
12051206
media/streaming/media_streaming_video_track.h
12061207
media/view/media_view_group_thumbs.cpp
12071208
media/view/media_view_group_thumbs.h
1209+
media/view/media_view_open_common.cpp
1210+
media/view/media_view_open_common.h
12081211
media/view/media_view_overlay_opengl.cpp
12091212
media/view/media_view_overlay_opengl.h
12101213
media/view/media_view_overlay_raster.cpp
@@ -1223,7 +1226,6 @@ PRIVATE
12231226
media/view/media_view_playback_controls.h
12241227
media/view/media_view_playback_progress.cpp
12251228
media/view/media_view_playback_progress.h
1226-
media/view/media_view_open_common.h
12271229
media/system_media_controls_manager.h
12281230
media/system_media_controls_manager.cpp
12291231
menu/menu_antispam_validator.cpp
@@ -1473,6 +1475,8 @@ PRIVATE
14731475
settings/settings_privacy_security.h
14741476
settings/settings_scale_preview.cpp
14751477
settings/settings_scale_preview.h
1478+
settings/settings_shortcuts.cpp
1479+
settings/settings_shortcuts.h
14761480
settings/settings_type.h
14771481
settings/settings_websites.cpp
14781482
settings/settings_websites.h

Telegram/Resources/default_shortcuts-custom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// This is a list of your own shortcuts for Telegram Desktop
22
// You can see full list of commands in the 'shortcuts-default.json' file
33
// Place a null value instead of a command string to switch the shortcut off
4+
// You can also edit them in Settings > Chat Settings > Keyboard Shortcuts.
45

56
[
67
// {
447 Bytes
Loading
671 Bytes
Loading
1004 Bytes
Loading

Telegram/Resources/langs/lang.strings

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,46 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
642642
"lng_settings_chat_quick_action_react" = "Send reaction with double click";
643643
"lng_settings_chat_corner_reaction" = "Reaction button on messages";
644644

645+
"lng_settings_shortcuts" = "Keyboard shortcuts";
646+
647+
"lng_shortcuts_reset" = "Reset to default";
648+
"lng_shortcuts_recording" = "Recording...";
649+
"lng_shortcuts_add_another" = "Add another";
650+
651+
"lng_shortcuts_close" = "Close the window";
652+
"lng_shortcuts_lock" = "Lock the application";
653+
"lng_shortcuts_minimize" = "Minimize the window";
654+
"lng_shortcuts_quit" = "Quit the application";
655+
"lng_shortcuts_media_play" = "Play the media";
656+
"lng_shortcuts_media_pause" = "Pause the media";
657+
"lng_shortcuts_media_play_pause" = "Toggle media playback";
658+
"lng_shortcuts_media_stop" = "Stop media playback";
659+
"lng_shortcuts_media_previous" = "Previous track";
660+
"lng_shortcuts_media_next" = "Next track";
661+
"lng_shortcuts_search" = "Search messages";
662+
"lng_shortcuts_chat_previous" = "Previous chat";
663+
"lng_shortcuts_chat_next" = "Next chat";
664+
"lng_shortcuts_chat_first" = "First chat";
665+
"lng_shortcuts_chat_last" = "Last chat";
666+
"lng_shortcuts_chat_self" = "Saved Messages";
667+
"lng_shortcuts_chat_pinned_n" = "Pinned chat #{index}";
668+
"lng_shortcuts_show_account_n" = "Account #{index}";
669+
"lng_shortcuts_show_all_chats" = "All Chats folder";
670+
"lng_shortcuts_show_folder_n" = "Folder #{index}";
671+
"lng_shortcuts_show_folder_last" = "Last folder";
672+
"lng_shortcuts_folder_next" = "Next folder";
673+
"lng_shortcuts_folder_previous" = "Previous folder";
674+
"lng_shortcuts_scheduled" = "Scheduled messages";
675+
"lng_shortcuts_archive" = "Archived chats";
676+
"lng_shortcuts_contacts" = "Contacts list";
677+
"lng_shortcuts_just_send" = "Just send";
678+
"lng_shortcuts_silent_send" = "Silent send";
679+
"lng_shortcuts_schedule" = "Schedule";
680+
"lng_shortcuts_read_chat" = "Mark chat as read";
681+
"lng_shortcuts_archive_chat" = "Archive chat";
682+
"lng_shortcuts_media_fullscreen" = "Toggle video fullscreen";
683+
"lng_shortcuts_show_chat_menu" = "Show chat menu";
684+
645685
"lng_settings_chat_reactions_title" = "Quick Reaction";
646686
"lng_settings_chat_reactions_subtitle" = "Choose your favorite reaction";
647687
"lng_settings_chat_message_reply_from" = "Bob Harris";
@@ -2026,13 +2066,19 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
20262066
"lng_action_gift_unique_sent" = "You sent a unique collectible item";
20272067
"lng_action_gift_upgraded" = "{user} turned the gift from you into a unique collectible";
20282068
"lng_action_gift_upgraded_channel" = "{user} turned this gift to {channel} into a unique collectible";
2069+
"lng_action_gift_upgraded_self_channel" = "You turned this gift to {channel} into a unique collectible";
20292070
"lng_action_gift_upgraded_mine" = "You turned the gift from {user} into a unique collectible";
20302071
"lng_action_gift_upgraded_self" = "You turned this gift into a unique collectible";
20312072
"lng_action_gift_transferred" = "{user} transferred you a gift";
20322073
"lng_action_gift_transferred_channel" = "{user} transferred a gift to {channel}";
2074+
"lng_action_gift_transferred_unknown" = "Someone transferred you a gift";
2075+
"lng_action_gift_transferred_unknown_channel" = "Someone transferred a gift to {channel}";
2076+
"lng_action_gift_transferred_self" = "You transferred a unique collectible";
2077+
"lng_action_gift_transferred_self_channel" = "You transferred a gift to {channel}";
20332078
"lng_action_gift_transferred_mine" = "You transferred a gift to {user}";
20342079
"lng_action_gift_received_anonymous" = "Unknown user sent you a gift for {cost}";
20352080
"lng_action_gift_sent_channel" = "{user} sent a gift to {name} for {cost}";
2081+
"lng_action_gift_sent_self_channel" = "You sent a gift to {name} for {cost}";
20362082
"lng_action_gift_self_bought" = "You bought a gift for {cost}";
20372083
"lng_action_gift_self_subtitle" = "Saved Gift";
20382084
"lng_action_gift_self_about#one" = "Display this gift on your page or convert it to **{count}** Star.";
@@ -2545,6 +2591,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
25452591
"lng_premium_double_limits_subtitle_accounts" = "Connected Accounts";
25462592
"lng_premium_double_limits_about_accounts#one" = "Connect {count} account with different mobile numbers";
25472593
"lng_premium_double_limits_about_accounts#other" = "Connect {count} accounts with different mobile numbers";
2594+
2595+
"lng_premium_double_limits_subtitle_similar_channels" = "Similar Channel";
2596+
"lng_premium_double_limits_about_similar_channels#one" = "View up to {count} similar channel";
2597+
"lng_premium_double_limits_about_similar_channels#other" = "View up to {count} similar channels";
25482598
//
25492599

25502600
"lng_premium_gift_title" = "Gift Telegram Premium";
@@ -2994,9 +3044,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
29943044

29953045
"lng_boost_channel_ask" = "Ask your **Premium** subscribers to boost your channel with this link:";
29963046
"lng_boost_channel_ask_button" = "Copy Link";
2997-
"lng_boost_channel_or" = "or";
2998-
"lng_boost_channel_gifting" = "Boost your channel by gifting your subscribers Telegram Premium. {link}";
2999-
"lng_boost_channel_gifting_link" = "Get boosts >";
3047+
//"lng_boost_channel_or" = "or";
3048+
//"lng_boost_channel_gifting" = "Boost your channel by gifting your subscribers Telegram Premium. {link}";
3049+
//"lng_boost_channel_gifting_link" = "Get boosts >";
3050+
"lng_boost_group_ask" = "Ask your **Premium** members to boost your group with this link:";
3051+
//"lng_boost_group_gifting" = "Boost your group by gifting your members Telegram Premium. {link}";
30003052

30013053
"lng_feature_stories#one" = "**{count}** Story Per Day";
30023054
"lng_feature_stories#other" = "**{count}** Stories Per Day";
@@ -3320,6 +3372,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
33203372
"lng_gift_unique_backdrop" = "Backdrop";
33213373
"lng_gift_unique_symbol" = "Symbol";
33223374
"lng_gift_unique_rarity" = "Only {percent} of such collectibles have this attribute.";
3375+
"lng_gift_unique_availability_label" = "Quantity";
33233376
"lng_gift_unique_availability#one" = "{count} of {amount} issued";
33243377
"lng_gift_unique_availability#other" = "{count} of {amount} issued";
33253378
"lng_gift_unique_info" = "Gifted to {recipient} on {date}.";
@@ -3830,6 +3883,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
38303883
"lng_choose_image" = "Choose an image";
38313884
"lng_choose_file" = "Choose a file";
38323885
"lng_choose_files" = "Choose Files";
3886+
"lng_choose_cover" = "Choose video cover";
3887+
"lng_choose_cover_bad" = "Can't use this file as a caption.";
38333888
"lng_game_tag" = "Game";
38343889

38353890
"lng_context_new_window" = "Open in new window";
@@ -3946,6 +4001,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
39464001
"lng_context_read_show" = "show when";
39474002
"lng_context_edit_shortcut" = "Edit Shortcut";
39484003
"lng_context_delete_shortcut" = "Delete Quick Reply";
4004+
"lng_context_gift_send" = "Send Another Gift";
39494005

39504006
"lng_add_tag_about" = "Tag this message with an emoji for quick search.";
39514007
"lng_subscribe_tag_about" = "Organize your Saved Messages with tags. {link}";
@@ -3974,6 +4030,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
39744030
"lng_context_disable_spoiler" = "Remove Spoiler";
39754031
"lng_context_make_paid" = "Make This Content Paid";
39764032
"lng_context_change_price" = "Change Price";
4033+
"lng_context_edit_cover" = "Edit Cover";
4034+
"lng_context_clear_cover" = "Clear Cover";
39774035

39784036
"lng_context_mention" = "Mention";
39794037
"lng_context_search_from" = "Search messages";
@@ -4103,6 +4161,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
41034161
"lng_reply_cant_forward" = "Sorry, you can't reply to a message that was sent before the group was upgraded to a supergroup. Do you wish to forward it and add your comment?";
41044162

41054163
"lng_share_title" = "Share to";
4164+
"lng_share_at_time_title" = "Share at {time} to";
41064165
"lng_share_copy_link" = "Copy share link";
41074166
"lng_share_confirm" = "Send";
41084167
"lng_share_wrong_user" = "This game was opened from a different user.";
@@ -4226,7 +4285,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
42264285
"lng_media_save_progress" = "{ready} of {total} {mb}";
42274286
"lng_mediaview_save_as" = "Save As...";
42284287
"lng_mediaview_copy" = "Copy";
4288+
"lng_mediaview_copy_frame" = "Copy Frame";
42294289
"lng_mediaview_forward" = "Forward";
4290+
"lng_mediaview_share_at_time" = "Share at {time}";
42304291
"lng_mediaview_delete" = "Delete";
42314292
"lng_mediaview_save_to_profile" = "Post to Profile";
42324293
"lng_mediaview_pin_story_done" = "Story pinned";

Telegram/Resources/uwp/AppX/AppxManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Identity Name="TelegramMessengerLLP.TelegramDesktop"
1111
ProcessorArchitecture="ARCHITECTURE"
1212
Publisher="CN=536BC709-8EE1-4478-AF22-F0F0F26FF64A"
13-
Version="5.10.6.0" />
13+
Version="5.11.1.0" />
1414
<Properties>
1515
<DisplayName>Telegram Desktop</DisplayName>
1616
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

0 commit comments

Comments
 (0)