Skip to content

Commit e7a3db4

Browse files
committed
Updated to 5.13.0.
2 parents 3ba9489 + f8920e5 commit e7a3db4

File tree

130 files changed

+3461
-874
lines changed

Some content is hidden

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

130 files changed

+3461
-874
lines changed

Telegram/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ PRIVATE
153153
api/api_peer_colors.h
154154
api/api_peer_photo.cpp
155155
api/api_peer_photo.h
156+
api/api_peer_search.cpp
157+
api/api_peer_search.h
156158
api/api_polls.cpp
157159
api/api_polls.h
158160
api/api_premium.cpp

Telegram/Resources/animations/media_forbidden.tgs

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
670 Bytes
Loading
1.05 KB
Loading
1.39 KB
Loading
630 Bytes
Loading
1.17 KB
Loading
Loading
472 Bytes
Loading
Loading
Loading

Telegram/Resources/langs/lang.strings

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
12171217

12181218
"lng_settings_quick_dialog_action_title" = "Chat list quick action";
12191219
"lng_settings_quick_dialog_action_about" = "Choose the action you want to perform when you middle-click or swipe left in the chat list.";
1220+
"lng_settings_quick_dialog_action_both" = "Swipe left and Middle-click";
1221+
"lng_settings_quick_dialog_action_swipe" = "Swipe left";
12201222
"lng_settings_quick_dialog_action_mute" = "Mute";
12211223
"lng_settings_quick_dialog_action_unmute" = "Unmute";
12221224
"lng_settings_quick_dialog_action_pin" = "Pin";
@@ -1228,6 +1230,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
12281230
"lng_settings_quick_dialog_action_delete" = "Delete";
12291231
"lng_settings_quick_dialog_action_disabled" = "Change folder";
12301232

1233+
"lng_settings_generic_subscribe" = "Subscribe to {link} to use this setting.";
1234+
"lng_settings_generic_subscribe_link" = "Telegram Premium";
1235+
12311236
"lng_sessions_header" = "This device";
12321237
"lng_sessions_other_header" = "Active Devices";
12331238
"lng_sessions_other_desc" = "You can log in to Telegram from other mobile, tablet and desktop devices, using the same phone number. All your data will be instantly synchronized.";
@@ -1343,6 +1348,16 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
13431348
"lng_edit_privacy_gifts_always_title" = "Always allow";
13441349
"lng_edit_privacy_gifts_never_title" = "Never allow";
13451350

1351+
"lng_edit_privacy_gifts_types" = "Accepted Gift Types";
1352+
"lng_edit_privacy_gifts_premium" = "Premium Subscriptions";
1353+
"lng_edit_privacy_gifts_unlimited" = "Unlimited";
1354+
"lng_edit_privacy_gifts_limited" = "Limited-Edition";
1355+
"lng_edit_privacy_gifts_unique" = "Unique";
1356+
"lng_edit_privacy_gifts_types_about" = "Choose the types of gifts that you accept.";
1357+
"lng_edit_privacy_gifts_show_icon" = "Show Gift Icon in Chats";
1358+
"lng_edit_privacy_gifts_show_icon_about" = "Display the {emoji}Gift icon in the message input field for both participants in all chats.";
1359+
"lng_edit_privacy_gifts_restricted" = "This user doesn't accept gifts.";
1360+
13461361
"lng_edit_privacy_calls_title" = "Calls";
13471362
"lng_edit_privacy_calls_header" = "Who can call me";
13481363
"lng_edit_privacy_calls_always_empty" = "Always allow";
@@ -2222,6 +2237,13 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
22222237
"lng_action_paid_message_some#other" = "send {count} messages";
22232238
"lng_action_paid_message_got#one" = "You received {count} Star from {name}";
22242239
"lng_action_paid_message_got#other" = "You received {count} Stars from {name}";
2240+
"lng_action_paid_message_refund#one" = "{from} refunded {count} Star to you";
2241+
"lng_action_paid_message_refund#other" = "{from} refunded {count} Stars to you";
2242+
"lng_action_paid_message_refund_self#one" = "You refunded {count} Star to {name}";
2243+
"lng_action_paid_message_refund_self#other" = "You refunded {count} Stars to {name}";
2244+
"lng_action_message_price_free" = "Messages are now free in this group.";
2245+
"lng_action_message_price_paid#one" = "Messages now cost {count} Star each in this group.";
2246+
"lng_action_message_price_paid#other" = "Messages now cost {count} Stars each in this group.";
22252247
"lng_you_paid_stars#one" = "You paid {count} Star.";
22262248
"lng_you_paid_stars#other" = "You paid {count} Stars.";
22272249

@@ -2955,8 +2977,29 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
29552977
"lng_chatbots_include_button" = "Select Chats";
29562978
"lng_chatbots_exclude_about" = "Select chats or entire chat categories which the bot will not have access to.";
29572979
"lng_chatbots_permissions_title" = "Bot permissions";
2980+
2981+
"lng_chatbots_manage_messages" = "Manage Messages";
2982+
"lng_chatbots_read" = "Read Messages";
29582983
"lng_chatbots_reply" = "Reply to Messages";
2959-
"lng_chatbots_reply_about" = "The bot can only reply on your behalf in chats that were active during the last 24h.";
2984+
"lng_chatbots_mark_as_read" = "Mark Messages as Read";
2985+
"lng_chatbots_delete_sent" = "Delete Sent Messages";
2986+
"lng_chatbots_delete_received" = "Delete Received Messages";
2987+
2988+
"lng_chatbots_manage_profile" = "Manage Profile";
2989+
"lng_chatbots_edit_name" = "Edit Name";
2990+
"lng_chatbots_edit_bio" = "Edit Bio";
2991+
"lng_chatbots_edit_userpic" = "Edit Profile Picture";
2992+
"lng_chatbots_edit_username" = "Edit Username";
2993+
2994+
"lng_chatbots_manage_gifts" = "Manage Gifts and Stars";
2995+
"lng_chatbots_view_gifts" = "View Gifts";
2996+
"lng_chatbots_sell_gifts" = "Sell Gifts";
2997+
"lng_chatbots_gift_settings" = "Change Gift Settings";
2998+
"lng_chatbots_transfer_gifts" = "Transfer and Upgrade Gifts";
2999+
"lng_chatbots_transfer_stars" = "Transfer Stars";
3000+
3001+
"lng_chatbots_manage_stories" = "Manage Stories";
3002+
29603003
"lng_chatbots_remove" = "Remove Bot";
29613004
"lng_chatbots_not_found" = "Chatbot not found.";
29623005
"lng_chatbots_not_supported" = "This bot doesn't support Telegram Business yet.";
@@ -3391,6 +3434,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
33913434
"lng_gift_stars_limited" = "limited";
33923435
"lng_gift_stars_sold_out" = "sold out";
33933436
"lng_gift_stars_tabs_all" = "All Gifts";
3437+
"lng_gift_stars_tabs_my" = "My Gifts";
33943438
"lng_gift_stars_tabs_limited" = "Limited";
33953439
"lng_gift_stars_tabs_in_stock" = "In Stock";
33963440
"lng_gift_send_title" = "Send a Gift";
@@ -3420,7 +3464,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
34203464
"lng_gift_limited_of_one" = "unique";
34213465
"lng_gift_limited_of_count" = "1 of {amount}";
34223466
"lng_gift_collectible_tag" = "gift";
3423-
"lng_gift_price_unique" = "Unique";
34243467
"lng_gift_view_unpack" = "Unpack";
34253468
"lng_gift_anonymous_hint" = "Only you can see the sender's name.";
34263469
"lng_gift_anonymous_hint_channel" = "Only admins of this channel can see the sender's name.";
@@ -4389,6 +4432,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
43894432
"lng_search_filter_private" = "Private chats";
43904433
"lng_search_filter_group" = "Group chats";
43914434
"lng_search_filter_channel" = "Channels";
4435+
"lng_search_sponsored_button" = "Ad ⋮";
43924436

43934437
"lng_media_save_progress" = "{ready} of {total} {mb}";
43944438
"lng_mediaview_save_as" = "Save As...";
@@ -5803,6 +5847,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
58035847
"lng_sponsored_revenued_info1_title" = "Respect Your Privacy";
58045848
"lng_sponsored_revenued_info1_description" = "Ads on Telegram do not use your personal information and are based on the channel in which you see them.";
58055849
"lng_sponsored_revenued_info1_bot_description" = "Ads on Telegram do not use your personal information and are based on the mini app in which you see them.";
5850+
"lng_sponsored_revenued_info1_search_description" = "Ads on Telegram do not use your personal information and are based on the search query you entered.";
58065851
"lng_sponsored_revenued_info2_title" = "Help the Channel Creator";
58075852
"lng_sponsored_revenued_info2_bot_title" = "Help the Bot Developer";
58085853
"lng_sponsored_revenued_info2_description" = "50% of the revenue from Telegram Ads goes to the owner of the channel where they are displayed.";
@@ -5811,9 +5856,12 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
58115856
"lng_sponsored_revenued_info3_description#one" = "You can turn off ads by subscribing to {link}, and Level {count} channels can remove them for their subscribers.";
58125857
"lng_sponsored_revenued_info3_description#other" = "You can turn off ads by subscribing to {link}, and Level {count} channels can remove them for their subscribers.";
58135858
"lng_sponsored_revenued_info3_bot_description" = "You can turn off ads in mini apps by subscribing to {link}.";
5859+
"lng_sponsored_revenued_info3_search_description" = "You can turn off ads by subscribing to Telegram Premium. {link}";
5860+
"lng_sponsored_revenued_info3_search_link" = "Subscribe {arrow}";
58145861
"lng_sponsored_revenued_footer_title" = "Can I Launch an Ad?";
58155862
"lng_sponsored_revenued_footer_description" = "Anyone can create an ad to display in this channel — with minimal budgets. Check out the **Telegram Ad Platform** for details. {link}";
58165863
"lng_sponsored_revenued_footer_bot_description" = "Anyone can create an ad to display in this bot — with minimal budgets. Check out the **Telegram Ad Platform** for details. {link}";
5864+
"lng_sponsored_revenued_footer_search_description" = "Anyone can create an ad to display in search results for any query. Check out the **Telegram Ad Platform** for details. {link}";
58175865
"lng_sponsored_top_bar_hide" = "remove";
58185866

58195867
"lng_telegram_features_url" = "https://t.me/TelegramTips";
@@ -6299,6 +6347,19 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
62996347
"lng_qr_box_transparent_background" = "Transparent Background";
63006348
"lng_qr_box_font_size" = "Font size";
63016349

6350+
"lng_frozen_bar_title" = "Your account is frozen!";
6351+
"lng_frozen_bar_text" = "Click to view details {arrow}";
6352+
"lng_frozen_restrict_title" = "Your account is frozen";
6353+
"lng_frozen_restrict_text" = "Click to view details";
6354+
"lng_frozen_title" = "Your Account is Frozen";
6355+
"lng_frozen_subtitle1" = "Violation of Terms";
6356+
"lng_frozen_text1" = "Your account was frozen for breaking Telegram's Terms and Conditions.";
6357+
"lng_frozen_subtitle2" = "Read-Only Mode";
6358+
"lng_frozen_text2" = "You can access your account but can't send messages or take actions.";
6359+
"lng_frozen_subtitle3" = "Appeal Before Deactivation";
6360+
"lng_frozen_text3" = "Appeal via {link} before {date}, or your account will be deleted.";
6361+
"lng_frozen_appeal_button" = "Submit an Appeal";
6362+
63026363
// Wnd specific
63036364

63046365
"lng_wnd_choose_program_menu" = "Choose Default Program...";

Telegram/Resources/qrc/telegram/animations.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<file alias="noresults.tgs">../../animations/noresults.tgs</file>
3131
<file alias="hello_status.tgs">../../animations/hello_status.tgs</file>
3232
<file alias="starref_link.tgs">../../animations/starref_link.tgs</file>
33+
<file alias="media_forbidden.tgs">../../animations/media_forbidden.tgs</file>
3334

3435
<file alias="dice_idle.tgs">../../animations/dice/dice_idle.tgs</file>
3536
<file alias="dart_idle.tgs">../../animations/dice/dart_idle.tgs</file>

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.12.6.0" />
13+
Version="5.13.0.0" />
1414
<Properties>
1515
<DisplayName>Telegram Desktop</DisplayName>
1616
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>

Telegram/Resources/winrc/Telegram.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ IDI_ICON1 ICON "..\\art\\icon256.ico"
4444
//
4545

4646
VS_VERSION_INFO VERSIONINFO
47-
FILEVERSION 5,12,6,0
48-
PRODUCTVERSION 5,12,6,0
47+
FILEVERSION 5,13,0,0
48+
PRODUCTVERSION 5,13,0,0
4949
FILEFLAGSMASK 0x3fL
5050
#ifdef _DEBUG
5151
FILEFLAGS 0x1L
@@ -62,10 +62,10 @@ BEGIN
6262
BEGIN
6363
VALUE "CompanyName", ""
6464
VALUE "FileDescription", "Telegram Desktop"
65-
VALUE "FileVersion", "5.12.6.0"
65+
VALUE "FileVersion", "5.13.0.0"
6666
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
6767
VALUE "ProductName", "Telegram Desktop"
68-
VALUE "ProductVersion", "5.12.6.0"
68+
VALUE "ProductVersion", "5.13.0.0"
6969
END
7070
END
7171
BLOCK "VarFileInfo"

Telegram/Resources/winrc/Updater.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
3535
//
3636

3737
VS_VERSION_INFO VERSIONINFO
38-
FILEVERSION 5,12,6,0
39-
PRODUCTVERSION 5,12,6,0
38+
FILEVERSION 5,13,0,0
39+
PRODUCTVERSION 5,13,0,0
4040
FILEFLAGSMASK 0x3fL
4141
#ifdef _DEBUG
4242
FILEFLAGS 0x1L
@@ -53,10 +53,10 @@ BEGIN
5353
BEGIN
5454
VALUE "CompanyName", ""
5555
VALUE "FileDescription", "Telegram Desktop Updater"
56-
VALUE "FileVersion", "5.12.6.0"
56+
VALUE "FileVersion", "5.13.0.0"
5757
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
5858
VALUE "ProductName", "Telegram Desktop"
59-
VALUE "ProductVersion", "5.12.6.0"
59+
VALUE "ProductVersion", "5.13.0.0"
6060
END
6161
END
6262
BLOCK "VarFileInfo"

Telegram/SourceFiles/api/api_confirm_phone.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ void ConfirmPhone::resolve(
150150
}, [](const MTPDauth_sentCodeSuccess &) {
151151
LOG(("API Error: Unexpected auth.sentCodeSuccess "
152152
"(Api::ConfirmPhone)."));
153+
}, [](const MTPDauth_sentCodePaymentRequired &) {
154+
LOG(("API Error: Unexpected auth.sentCodePaymentRequired "
155+
"(Api::ConfirmPhone)."));
153156
});
154157
}).fail([=](const MTP::Error &error) {
155158
_sendRequestId = 0;

0 commit comments

Comments
 (0)