You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0dd18bb
Browse filesBrowse the repository at this point in the historyBrowse files
- suggest restarting as most common solution
- suggest toggling hardware acceleration
- desktop app: add desktop settings button, remove references to "your browser" and similar
- remove lockdown mode link; not used enough to justify
defaultMessage="Your browser {webGlLink} which is needed for this site to run. Try updating your browser and graphics drivers or restarting your computer."
72
-
description="WebGL missing message. {webGLLink} is a link with the text 'does not support WebGL' from Scratch's translations"
73
-
id="tw.webglModal.description"
77
+
defaultMessage="{APP_NAME} requires WebGL, however your computer does not seem to support it. This is often a temporary error that can be fixed by restarting your computer."
78
+
description="Error message when browser does not support WebGL."
79
+
id="tw.browserModal.webgl1"
74
80
values={{
75
-
webGlLink: (
76
-
<ahref="https://get.webgl.org/">
77
-
<FormattedMessage
78
-
defaultMessage="does not support WebGL"
79
-
description="link part of your browser does not support WebGL message"
80
-
id="gui.webglModal.webgllink"
81
-
/>
82
-
</a>
83
-
)
84
-
}}
85
-
/>
86
-
</p>
87
-
<p>
88
-
<FormattedMessage
89
-
defaultMessage="Make sure you're using a recent version of Google Chrome, Mozilla Firefox, Microsoft Edge, or Apple Safari."
90
-
description="A message that appears in the browser not supported modal"
91
-
id="tw.browserModal.desc"
92
-
/>
93
-
</p>
94
-
<p>
95
-
<FormattedMessage
96
-
defaultMessage="On Apple devices, you must disable {lockdownMode}."
97
-
description="Part of the browser not supported message. Lockdown Mode refers to https://support.apple.com/en-us/HT212650"
description="Links to an Apple support page about Lockdown Mode: https://support.apple.com/en-us/HT212650 Try to translate this the same as Apple."
105
-
id="tw.lockdownMode2"
106
-
/>
107
-
</a>
108
-
)
81
+
APP_NAME
109
82
}}
110
83
/>
111
84
</p>
85
+
86
+
{props.onClickDesktopSettings ? (
87
+
<React.Fragment>
88
+
<p>
89
+
<FormattedMessage
90
+
defaultMessage={'You can also try toggling the "Hardware Acceleration" option in desktop settings:'}
91
+
description="Error message when browser does not support WebGL (desktop app version)"
92
+
id="tw.browserModal.webglDesktop"
93
+
values={{
94
+
APP_NAME
95
+
}}
96
+
/>
97
+
</p>
98
+
<divclassName={styles.desktopSettingsOuter}>
99
+
<button
100
+
onClick={props.onClickDesktopSettings}
101
+
className={styles.desktopSettingsInner}
102
+
>
103
+
<FormattedMessage
104
+
defaultMessage="Open Desktop Settings"
105
+
description="Button in unsupported system modal to open desktop settings"
106
+
id="tw.browserModal.desktopSettings"
107
+
/>
108
+
</button>
109
+
</div>
110
+
</React.Fragment>
111
+
) : (
112
+
<p>
113
+
<FormattedMessage
114
+
defaultMessage={'Use a recent version of Chrome, Firefox, or Safari, and ensure your graphics drivers are up to date. You can also try toggling the "Graphics Acceleration" or "Hardware Acceleration" option in your browser\'s settings.'}
115
+
description="Error message when browser does not support WebGL (browser version). Chrome calls it graphics acceleration and Firefox calls it hardware acceleration; consider seeing how they actually translate these"
0 commit comments