diff --git a/data/translations.telegram.org/en/android/groups_and_channels.html b/data/translations.telegram.org/en/android/groups_and_channels.html index e15efa7bc4..1ce837e48f 100644 --- a/data/translations.telegram.org/en/android/groups_and_channels.html +++ b/data/translations.telegram.org/en/android/groups_and_channels.html @@ -13125,7 +13125,7 @@
-
Are you sure you want to discard the selection?
+
Do you want to discard the selection?
DiscardSelectionAlertMessage
diff --git a/data/translations.telegram.org/en/macos/settings.html b/data/translations.telegram.org/en/macos/settings.html index 3a84cb4ce5..67f0db340d 100644 --- a/data/translations.telegram.org/en/macos/settings.html +++ b/data/translations.telegram.org/en/macos/settings.html @@ -6765,7 +6765,7 @@
- +
VoiceChat.RequestAccess
diff --git a/data/webappcontent.telegram.org/demo.html b/data/webappcontent.telegram.org/demo.html index 67076d5788..c10f4d795e 100644 --- a/data/webappcontent.telegram.org/demo.html +++ b/data/webappcontent.telegram.org/demo.html @@ -99,6 +99,9 @@ .err { color: red; } + .status_need { + display: none; + } #fixed_wrap { position: fixed; left: 0; @@ -184,7 +187,7 @@
Data passed to webview. - + Checking hash...
@@ -345,21 +348,21 @@ $('#webview_data').html(JSON.stringify(initDataUnsafe, null, 2)); $('#theme_data').html(JSON.stringify(Telegram.WebApp.themeParams, null, 2)); $('#regular_link').attr('href', $('#regular_link').attr('href') + location.hash); $('#text_field').focus(); -if (initDataUnsafe.query_id && initData) { - $('#webview_data_status').show(); +if (initDataUnsafe.query_id && initData && $('#webview_data_status').hasClass('status_need')) { + $('#webview_data_status').removeClass('status_need'); $.ajax('/demo/checkData', { type: 'POST', data: {_auth: initData}, dataType: 'json', success: function(result) { if (result.ok) { - $('#webview_data_status').html('Hash is correct').addClass('ok'); + $('#webview_data_status').html('Hash is correct (async)').addClass('ok'); } else { - $('#webview_data_status').html(result.error).addClass('err'); + $('#webview_data_status').html(result.error + ' (async)').addClass('err'); } }, error: function(xhr) { - $('#webview_data_status').html('Server error').addClass('err'); + $('#webview_data_status').html('Server error (async)').addClass('err'); } }); }