diff --git a/public/unsupported.html b/public/unsupported.html
index d83f11248..5625effd2 100644
--- a/public/unsupported.html
+++ b/public/unsupported.html
@@ -2,6 +2,18 @@
Unsupported browser
+
+
+
diff --git a/src/components/middle/MiddleColumn.tsx b/src/components/middle/MiddleColumn.tsx
index 81c2c3c4b..f95bf1a44 100644
--- a/src/components/middle/MiddleColumn.tsx
+++ b/src/components/middle/MiddleColumn.tsx
@@ -25,7 +25,9 @@ import {
TMP_CHAT_ID,
MAX_SCREEN_WIDTH_FOR_EXPAND_PINNED_MESSAGES,
} from '../../config';
-import { IS_ANDROID, IS_IOS, MASK_IMAGE_DISABLED } from '../../util/windowEnvironment';
+import {
+ IS_ANDROID, IS_IOS, IS_TRANSLATION_SUPPORTED, MASK_IMAGE_DISABLED,
+} from '../../util/windowEnvironment';
import { DropAreaState } from './composer/DropArea';
import {
selectCanAnimateInterface,
@@ -608,7 +610,7 @@ function MiddleColumn({
/>
-
+ {IS_TRANSLATION_SUPPORTED && }
diff --git a/src/index.html b/src/index.html
index e415ec351..a460e350f 100644
--- a/src/index.html
+++ b/src/index.html
@@ -77,16 +77,18 @@
var isCompatible = hasPromise && hasWebSockets && hasWebCrypto && hasObjectFromEntries;
- if (isCompatible) {
+ if (isCompatible || (window.localStorage && window.localStorage.getItem('tt-ignore-compat'))) {
window.isCompatTestPassed = true;
return;
}
- console.warn('Compatibility test report:');
- console.warn('Promise', hasPromise);
- console.warn('WebSocket', hasWebSockets);
- console.warn('WebCrypto', hasWebCrypto);
- console.warn('Object.fromEntries', hasObjectFromEntries);
+ if (window.console && console.warn) {
+ console.warn('Compatibility test report:');
+ console.warn('Promise', hasPromise);
+ console.warn('WebSocket', hasWebSockets);
+ console.warn('WebCrypto', hasWebCrypto);
+ console.warn('Object.fromEntries', hasObjectFromEntries);
+ }
document.body.innerHTML = '