From e13cf8bdaf71076d956647ee724a9376c0b4730f Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 16 Jun 2022 15:00:05 +0000 Subject: [PATCH] Update content of files --- data/web/telegram.org/js/telegram-web-app.js | 5 +++++ data/web/translations.telegram.org/en/ios.html | 6 +++--- .../translations.telegram.org/en/ios/bots_and_payments.html | 3 +++ .../en/ios/groups_and_channels.html | 6 ++++++ data/web/translations.telegram.org/en/ios/unsorted.html | 6 ------ data/web/webappcontent.telegram.org/cafe.html | 2 +- data/web/webappcontent.telegram.org/demo.html | 2 +- 7 files changed, 19 insertions(+), 11 deletions(-) diff --git a/data/web/telegram.org/js/telegram-web-app.js b/data/web/telegram.org/js/telegram-web-app.js index e233e5932c..f5c9d0a06e 100644 --- a/data/web/telegram.org/js/telegram-web-app.js +++ b/data/web/telegram.org/js/telegram-web-app.js @@ -380,6 +380,11 @@ } function setThemeParams(theme_params) { + // temp iOS fix + if (theme_params.bg_color == '#1c1c1d' && + theme_params.bg_color == theme_params.secondary_bg_color) { + theme_params.secondary_bg_color = '#2c2c2e'; + } var color; for (var key in theme_params) { if (color = parseColorToHex(theme_params[key])) { diff --git a/data/web/translations.telegram.org/en/ios.html b/data/web/translations.telegram.org/en/ios.html index 1747a46b20..8a960076f7 100644 --- a/data/web/translations.telegram.org/en/ios.html +++ b/data/web/translations.telegram.org/en/ios.html @@ -201,7 +201,7 @@
diff --git a/data/web/translations.telegram.org/en/ios/bots_and_payments.html b/data/web/translations.telegram.org/en/ios/bots_and_payments.html index ece1d8683e..332e5f20b3 100644 --- a/data/web/translations.telegram.org/en/ios/bots_and_payments.html +++ b/data/web/translations.telegram.org/en/ios/bots_and_payments.html @@ -414,6 +414,9 @@ "WebApp.RemoveConfirmationTitle": [ "Remove Bot" ], + "WebApp.Settings": [ + "Settings" + ], "Your_card_has_expired": [ "Your card has expired." ], diff --git a/data/web/translations.telegram.org/en/ios/groups_and_channels.html b/data/web/translations.telegram.org/en/ios/groups_and_channels.html index ccc8f14c07..1632d8f49c 100644 --- a/data/web/translations.telegram.org/en/ios/groups_and_channels.html +++ b/data/web/translations.telegram.org/en/ios/groups_and_channels.html @@ -1,4 +1,10 @@ { + "AccessDenied.LocationPreciseDenied": [ + "To share your specific location in this chat, please go to Settings > Privacy > Location Services > Telegram and set Precise Location to On." + ], + "AccessDenied.Title": [ + "Please Allow Access" + ], "Attachment.AllMedia": [ "All" ], diff --git a/data/web/translations.telegram.org/en/ios/unsorted.html b/data/web/translations.telegram.org/en/ios/unsorted.html index 28c34b5b15..fc0f4e54a1 100644 --- a/data/web/translations.telegram.org/en/ios/unsorted.html +++ b/data/web/translations.telegram.org/en/ios/unsorted.html @@ -2,9 +2,6 @@ "AccessDenied.LocationDisabled": [ "Telegram needs access to your location so that you can share it with your contacts.

Please go to your deviceā€˜s settings > Privacy > Location Services and set it to ON." ], - "AccessDenied.LocationPreciseDenied": [ - "To share your specific location in this chat, please go to Settings > Privacy > Location Services > Telegram and set Precise Location to On." - ], "AccessDenied.QrCode": [ "Telegram needs access to your photo library so that you can scan QR codes.

Please go to your device's settings > Privacy > Photos and set Telegram to ON." ], @@ -2247,9 +2244,6 @@ "WebApp.Send": [ "Send" ], - "WebApp.Settings": [ - "Settings" - ], "Weekday.Friday": [ "Friday" ], diff --git a/data/web/webappcontent.telegram.org/cafe.html b/data/web/webappcontent.telegram.org/cafe.html index 6407d75491..056b7f327f 100644 --- a/data/web/webappcontent.telegram.org/cafe.html +++ b/data/web/webappcontent.telegram.org/cafe.html @@ -9,7 +9,7 @@ - + +