Skip to content

Commit dc63a5e

Browse files
committed
Updated to 5.14.3.
2 parents 838a073 + d22afa3 commit dc63a5e

Some content is hidden

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

49 files changed

+792
-294
lines changed

.devcontainer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@
55
"vscode": {
66
"settings": {
77
"C_Cpp.intelliSenseEngine": "disabled",
8-
"clangd.arguments": [
9-
"--compile-commands-dir=${workspaceFolder}/out"
10-
],
118
"cmake.generator": "Ninja Multi-Config",
12-
"cmake.buildDirectory": "${workspaceFolder}/out"
9+
"cmake.buildDirectory": "${workspaceFolder}/out",
10+
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
1311
},
1412
"extensions": [
1513
"ms-vscode.cpptools-extension-pack",

.github/workflows/mac.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
macos:
4242
name: MacOS
43-
runs-on: macos-13
43+
runs-on: macos-latest
4444

4545
strategy:
4646
matrix:
@@ -115,8 +115,7 @@ jobs:
115115
116116
./configure.sh \
117117
-D CMAKE_CONFIGURATION_TYPES=Debug \
118-
-D CMAKE_C_FLAGS="-Werror" \
119-
-D CMAKE_CXX_FLAGS="-Werror" \
118+
-D CMAKE_COMPILE_WARNING_AS_ERROR=ON \
120119
-D CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO \
121120
-D TDESKTOP_API_TEST=ON \
122121
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF \

.github/workflows/mac_packaged.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,38 @@ jobs:
118118
119119
cmake --build build --parallel
120120
121+
- name: TDE2E cache.
122+
id: cache-tde2e
123+
uses: actions/cache@v4
124+
with:
125+
path: ${{ env.LibrariesPath }}/tde2e
126+
key: ${{ runner.OS }}-tde2e-${{ env.CACHE_KEY }}
127+
- name: TDE2E.
128+
if: steps.cache-tde2e.outputs.cache-hit != 'true'
129+
run: |
130+
cd $LibrariesPath
131+
132+
git init tde2e
133+
cd tde2e
134+
git remote add origin $GIT/tdlib/td.git
135+
git fetch --depth=1 origin 51743dfd01dff6179e2d8f7095729caa4e2222e9
136+
git reset --hard FETCH_HEAD
137+
138+
cmake -Bbuild -GNinja . \
139+
-DCMAKE_BUILD_TYPE=Debug \
140+
-DCMAKE_INSTALL_PREFIX=$PWD/build/prefix \
141+
-DCMAKE_C_FLAGS_DEBUG="" \
142+
-DCMAKE_CXX_FLAGS_DEBUG="" \
143+
-DTD_E2E_ONLY=ON
144+
145+
cmake --build build --parallel
146+
cmake --install build
147+
121148
- name: Telegram Desktop build.
122149
if: env.ONLY_CACHE == 'false'
123150
env:
124151
tg_owt_DIR: ${{ env.LibrariesPath }}/tg_owt/build
152+
tde2e_DIR: ${{ env.LibrariesPath }}/tde2e/build/prefix
125153
run: |
126154
cd $REPO_NAME
127155

.github/workflows/win.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,10 @@ jobs:
178178
%TDESKTOP_BUILD_ARCH% ^
179179
%TDESKTOP_BUILD_API% ^
180180
-D CMAKE_CONFIGURATION_TYPES=Debug ^
181-
-D CMAKE_C_FLAGS="/WX" ^
182-
-D CMAKE_CXX_FLAGS="/WX" ^
181+
-D CMAKE_COMPILE_WARNING_AS_ERROR=ON ^
182+
-D CMAKE_MSVC_DEBUG_INFORMATION_FORMAT= ^
183183
-D DESKTOP_APP_DISABLE_AUTOUPDATE=OFF ^
184184
-D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF ^
185-
-D DESKTOP_APP_NO_PDB=ON ^
186185
%TDESKTOP_BUILD_DEFINE%
187186
188187
cmake --build ..\out --config Debug --parallel

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ipch/
2020
.vs/
2121
.vscode/
2222
.cache/
23+
compile_commands.json
2324

2425
/Telegram/log.txt
2526
/Telegram/data

Telegram/Resources/langs/cloud_lang.strings

Lines changed: 72 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
1616
"cloud_lng_passport_in_ar" = "Arabic";
1717
"cloud_lng_passport_in_az" = "Azerbaijani";
1818
"cloud_lng_passport_in_bg" = "Bulgarian";
19-
"cloud_lng_passport_in_bn" = "Bangla";
19+
"cloud_lng_passport_in_bn" = "Bengali";
2020
"cloud_lng_passport_in_cs" = "Czech";
2121
"cloud_lng_passport_in_da" = "Danish";
2222
"cloud_lng_passport_in_de" = "German";
@@ -64,7 +64,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
6464
"cloud_lng_translate_to_ar" = "Arabic";
6565
"cloud_lng_translate_to_az" = "Azerbaijani";
6666
"cloud_lng_translate_to_bg" = "Bulgarian";
67-
// "cloud_lng_translate_to_bn" = "Bangla";
67+
// "cloud_lng_translate_to_bn" = "Bengali";
6868
"cloud_lng_translate_to_cs" = "Czech";
6969
"cloud_lng_translate_to_da" = "Danish";
7070
"cloud_lng_translate_to_de" = "German";
@@ -109,50 +109,116 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
109109
"cloud_lng_translate_to_uz" = "Uzbek";
110110
"cloud_lng_translate_to_vi" = "Vietnamese";
111111

112+
"cloud_lng_language_af" = "Afrikaans";
113+
"cloud_lng_language_am" = "Amharic";
112114
"cloud_lng_language_ar" = "Arabic";
113115
"cloud_lng_language_az" = "Azerbaijani";
116+
"cloud_lng_language_be" = "Belarusian";
114117
"cloud_lng_language_bg" = "Bulgarian";
115-
// "cloud_lng_language_bn" = "Bangla";
118+
"cloud_lng_language_bn" = "Bengali";
119+
"cloud_lng_language_bs" = "Bosnian";
120+
"cloud_lng_language_ca" = "Catalan";
121+
// "cloud_lng_language_ceb" = "Cebuano";
122+
"cloud_lng_language_co" = "Corsican";
116123
"cloud_lng_language_cs" = "Czech";
124+
"cloud_lng_language_cy" = "Welsh";
117125
"cloud_lng_language_da" = "Danish";
118126
"cloud_lng_language_de" = "German";
119-
// "cloud_lng_language_dv" = "Divehi";
120-
// "cloud_lng_language_dz" = "Dzongkha";
127+
"cloud_lng_language_dv" = "Divehi";
128+
"cloud_lng_language_dz" = "Dzongkha";
121129
"cloud_lng_language_el" = "Greek";
122130
"cloud_lng_language_en" = "English";
131+
"cloud_lng_language_eo" = "Esperanto";
123132
"cloud_lng_language_es" = "Spanish";
124133
"cloud_lng_language_et" = "Estonian";
134+
"cloud_lng_language_eu" = "Basque";
125135
"cloud_lng_language_fa" = "Persian";
136+
"cloud_lng_language_fi" = "Finnish";
126137
"cloud_lng_language_fr" = "French";
138+
"cloud_lng_language_fy" = "Frisian";
139+
"cloud_lng_language_ga" = "Irish";
140+
"cloud_lng_language_gd" = "Scots Gaelic";
141+
"cloud_lng_language_gl" = "Galician";
142+
"cloud_lng_language_gu" = "Gujarati";
143+
"cloud_lng_language_ha" = "Hausa";
144+
"cloud_lng_language_haw" = "Hawaiian";
127145
"cloud_lng_language_he" = "Hebrew";
146+
"cloud_lng_language_hi" = "Hindi";
147+
// "cloud_lng_language_hmn" = "Hmong";
128148
"cloud_lng_language_hr" = "Croatian";
149+
"cloud_lng_language_ht" = "Haitian Creole";
129150
"cloud_lng_language_hu" = "Hungarian";
130151
"cloud_lng_language_hy" = "Armenian";
131152
"cloud_lng_language_id" = "Indonesian";
153+
"cloud_lng_language_ig" = "Igbo";
132154
"cloud_lng_language_is" = "Icelandic";
133155
"cloud_lng_language_it" = "Italian";
156+
"cloud_lng_language_iw" = "Hebrew (Obsolete code)";
134157
"cloud_lng_language_ja" = "Japanese";
158+
"cloud_lng_language_jv" = "Javanese";
135159
"cloud_lng_language_ka" = "Georgian";
136-
// "cloud_lng_language_km" = "Khmer";
160+
"cloud_lng_language_kk" = "Kazakh";
161+
"cloud_lng_language_km" = "Khmer";
162+
"cloud_lng_language_kn" = "Kannada";
137163
"cloud_lng_language_ko" = "Korean";
164+
"cloud_lng_language_ku" = "Kurdish";
165+
"cloud_lng_language_ky" = "Kyrgyz";
166+
"cloud_lng_language_la" = "Latin";
167+
"cloud_lng_language_lb" = "Luxembourgish";
138168
"cloud_lng_language_lo" = "Lao";
139169
"cloud_lng_language_lt" = "Lithuanian";
140170
"cloud_lng_language_lv" = "Latvian";
171+
"cloud_lng_language_mg" = "Malagasy";
172+
"cloud_lng_language_mi" = "Maori";
141173
"cloud_lng_language_mk" = "Macedonian";
174+
"cloud_lng_language_ml" = "Malayalam";
142175
"cloud_lng_language_mn" = "Mongolian";
176+
"cloud_lng_language_mr" = "Marathi";
143177
"cloud_lng_language_ms" = "Malay";
178+
"cloud_lng_language_mt" = "Maltese";
144179
"cloud_lng_language_my" = "Burmese";
145180
"cloud_lng_language_ne" = "Nepali";
146181
"cloud_lng_language_nl" = "Dutch";
182+
"cloud_lng_language_no" = "Norwegian";
183+
"cloud_lng_language_ny" = "Nyanja";
184+
"cloud_lng_language_or" = "Odia (Oriya)";
185+
"cloud_lng_language_pa" = "Punjabi";
147186
"cloud_lng_language_pl" = "Polish";
187+
"cloud_lng_language_ps" = "Pashto";
148188
"cloud_lng_language_pt" = "Portuguese";
149189
"cloud_lng_language_ro" = "Romanian";
150190
"cloud_lng_language_ru" = "Russian";
191+
"cloud_lng_language_rw" = "Kinyarwanda";
192+
"cloud_lng_language_sd" = "Sindhi";
193+
"cloud_lng_language_si" = "Sinhala";
151194
"cloud_lng_language_sk" = "Slovak";
152195
"cloud_lng_language_sl" = "Slovenian";
196+
"cloud_lng_language_sm" = "Samoan";
197+
"cloud_lng_language_sn" = "Shona";
198+
"cloud_lng_language_so" = "Somali";
199+
"cloud_lng_language_sq" = "Albanian";
200+
"cloud_lng_language_sr" = "Serbian";
201+
"cloud_lng_language_st" = "Sesotho";
202+
"cloud_lng_language_su" = "Sundanese";
203+
"cloud_lng_language_sv" = "Swedish";
204+
"cloud_lng_language_sw" = "Swahili";
205+
"cloud_lng_language_ta" = "Tamil";
206+
"cloud_lng_language_te" = "Telugu";
207+
"cloud_lng_language_tg" = "Tajik";
153208
"cloud_lng_language_th" = "Thai";
154209
"cloud_lng_language_tk" = "Turkmen";
210+
"cloud_lng_language_tl" = "Tagalog";
155211
"cloud_lng_language_tr" = "Turkish";
212+
"cloud_lng_language_tt" = "Tatar";
213+
"cloud_lng_language_ug" = "Uyghur";
156214
"cloud_lng_language_uk" = "Ukrainian";
215+
"cloud_lng_language_ur" = "Urdu";
157216
"cloud_lng_language_uz" = "Uzbek";
158217
"cloud_lng_language_vi" = "Vietnamese";
218+
"cloud_lng_language_xh" = "Xhosa";
219+
"cloud_lng_language_yi" = "Yiddish";
220+
"cloud_lng_language_yo" = "Yoruba";
221+
"cloud_lng_language_zh" = "Chinese";
222+
// "cloud_lng_language_zh-CN" = "Chinese (Simplified)";
223+
// "cloud_lng_language_zh-TW" = "Chinese (Traditional)";
224+
"cloud_lng_language_zu" = "Zulu";

Telegram/Resources/langs/lang.strings

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
871871
"lng_settings_disconnect" = "Disconnect";
872872
"lng_settings_connected_title" = "Connected websites";
873873

874+
"lng_settings_suggestion_phone_number_title" = "Is {phone} still your number?";
875+
"lng_settings_suggestion_phone_number_about" = "Keep your number up to date to ensure you can always log into Telegram. {link}";
876+
"lng_settings_suggestion_phone_number_about_link" = "https://telegram.org/faq#q-i-have-a-new-phone-number-what-do-i-do";
877+
"lng_settings_suggestion_phone_number_change" = "Please change your phone number in the official Telegram app on your phone as soon as possible. {emoji}";
878+
874879
"lng_settings_power_menu" = "Battery and Animations";
875880
"lng_settings_power_title" = "Power Usage";
876881
"lng_settings_power_subtitle" = "Power saving options";
@@ -2286,6 +2291,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
22862291
"lng_peer_gifts_title" = "Gifts";
22872292
"lng_peer_gifts_about" = "These gifts were sent to {user} by other users.";
22882293
"lng_peer_gifts_about_mine" = "These gifts were sent to you by other users. Click on a gift to convert it to Stars or change its privacy settings.";
2294+
"lng_peer_gifts_empty_search" = "No matching gifts";
2295+
"lng_peer_gifts_view_all" = "View All Gifts";
22892296
"lng_peer_gifts_notify" = "Notify About New Gifts";
22902297
"lng_peer_gifts_notify_enabled" = "You will receive a message from Telegram when your channel receives a gift.";
22912298
"lng_peer_gifts_filter_by_value" = "Sort by Value";
@@ -3005,6 +3012,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
30053012
"lng_chatbots_include_button" = "Select Chats";
30063013
"lng_chatbots_exclude_about" = "Select chats or entire chat categories which the bot will not have access to.";
30073014
"lng_chatbots_permissions_title" = "Bot permissions";
3015+
"lng_chatbots_warning_title" = "Warning";
3016+
"lng_chatbots_warning_both_text" = "The bot {bot} will be able to **manage your gifts and stars**, including giving them away to other users.";
3017+
"lng_chatbots_warning_gifts_text" = "The bot {bot} will be able to **manage your gifts**, including giving them away to other users.";
3018+
"lng_chatbots_warning_stars_text" = "The bot {bot} will be able to **transfer your stars**.";
3019+
"lng_chatbots_warning_username_text" = "The bot {bot} will be able to **set and remove usernames** for your account, which may result in the loss of your current username.";
30083020

30093021
"lng_chatbots_manage_messages" = "Manage Messages";
30103022
"lng_chatbots_read" = "Read Messages";
@@ -3498,6 +3510,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
34983510
"lng_gift_buy_resale_button" = "Buy for {cost}";
34993511
"lng_gift_buy_resale_confirm" = "Do you want to buy {name} for {price} and gift it to {user}?";
35003512
"lng_gift_buy_resale_confirm_self" = "Do you want to buy {name} for {price}?";
3513+
"lng_gift_buy_price_change_title" = "Price change!";
3514+
"lng_gift_buy_price_change_text" = "This gift price was changed and now is {price}. Do you still want to buy?";
35013515
"lng_gift_sent_title" = "Gift Sent!";
35023516
"lng_gift_sent_resale_done" = "{user} has been notified about your gift.";
35033517
"lng_gift_sent_resale_done_self" = "{gift} is now yours.";

Telegram/Resources/qrc/telegram/animations.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<RCC>
22
<qresource prefix="/animations">
33
<file alias="blocked_peers_empty.tgs">../../animations/blocked_peers_empty.tgs</file>
4+
<file alias="change_number.tgs">../../animations/change_number.tgs</file>
45
<file alias="filters.tgs">../../animations/filters.tgs</file>
56
<file alias="cloud_filters.tgs">../../animations/cloud_filters.tgs</file>
67
<file alias="local_passcode_enter.tgs">../../animations/local_passcode_enter.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.14.2.0" />
13+
Version="5.14.3.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,14,2,0
48-
PRODUCTVERSION 5,14,2,0
47+
FILEVERSION 5,14,3,0
48+
PRODUCTVERSION 5,14,3,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.14.2.0"
65+
VALUE "FileVersion", "5.14.3.0"
6666
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
6767
VALUE "ProductName", "Telegram Desktop"
68-
VALUE "ProductVersion", "5.14.2.0"
68+
VALUE "ProductVersion", "5.14.3.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,14,2,0
39-
PRODUCTVERSION 5,14,2,0
38+
FILEVERSION 5,14,3,0
39+
PRODUCTVERSION 5,14,3,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.14.2.0"
56+
VALUE "FileVersion", "5.14.3.0"
5757
VALUE "LegalCopyright", "Copyright (C) 2014-2025"
5858
VALUE "ProductName", "Telegram Desktop"
59-
VALUE "ProductVersion", "5.14.2.0"
59+
VALUE "ProductVersion", "5.14.3.0"
6060
END
6161
END
6262
BLOCK "VarFileInfo"

0 commit comments

Comments
 (0)