From 278b2ab633cc289712a5143b158b83461aa1ac33 Mon Sep 17 00:00:00 2001
From: Travis Ralston
Date: Thu, 14 Mar 2019 13:03:32 -0600
Subject: [PATCH 1/3] Update CompatibilityPage to match officially supported
browsers
See https://github.com/vector-im/riot-web/pull/9177
---
src/components/structures/CompatibilityPage.js | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/components/structures/CompatibilityPage.js b/src/components/structures/CompatibilityPage.js
index 28521cb1b7..65e7233d34 100644
--- a/src/components/structures/CompatibilityPage.js
+++ b/src/components/structures/CompatibilityPage.js
@@ -48,19 +48,13 @@ module.exports = React.createClass({
{ _t(
- 'Please install Chrome or Firefox ' +
- 'for the best experience.',
+ 'Please install Chrome, Firefox, ' +
+ 'or Safari for the best experience.',
{},
{
'chromeLink': (sub) => {sub},
'firefoxLink': (sub) => {sub},
- },
- )}
- { _t('Safari and Opera work too.',
- {},
- {
'safariLink': (sub) => {sub},
- 'operaLink': (sub) => {sub},
},
)}
From caabf078ad93a4c1c3f7297b9cb224db29684aed Mon Sep 17 00:00:00 2001
From: Travis Ralston
Date: Thu, 14 Mar 2019 15:09:17 -0600
Subject: [PATCH 2/3] i18n
---
src/i18n/strings/en_EN.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 2bda11a1dd..e23be021e8 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1288,8 +1288,7 @@
"Find other public servers or use a custom server": "Find other public servers or use a custom server",
"Sorry, your browser is not able to run Riot.": "Sorry, your browser is not able to run Riot.",
"Riot uses many advanced browser features, some of which are not available or experimental in your current browser.": "Riot uses many advanced browser features, some of which are not available or experimental in your current browser.",
- "Please install Chrome or Firefox for the best experience.": "Please install Chrome or Firefox for the best experience.",
- "Safari and Opera work too.": "Safari and Opera work too.",
+ "Please install Chrome, Firefox, or Safari for the best experience.": "Please install Chrome, Firefox, or Safari for the best experience.",
"With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!": "With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!",
"I understand the risks and wish to continue": "I understand the risks and wish to continue",
"Couldn't load page": "Couldn't load page",
From e70ac5330e95a388fa1dbc13dc6ea2948e3048a0 Mon Sep 17 00:00:00 2001
From: Travis Ralston
Date: Fri, 15 Mar 2019 11:39:10 -0600
Subject: [PATCH 3/3] Improve links to firefox and safari
---
src/components/structures/CompatibilityPage.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/structures/CompatibilityPage.js b/src/components/structures/CompatibilityPage.js
index 65e7233d34..c6abba4eb3 100644
--- a/src/components/structures/CompatibilityPage.js
+++ b/src/components/structures/CompatibilityPage.js
@@ -53,8 +53,8 @@ module.exports = React.createClass({
{},
{
'chromeLink': (sub) => {sub},
- 'firefoxLink': (sub) => {sub},
- 'safariLink': (sub) => {sub},
+ 'firefoxLink': (sub) => {sub},
+ 'safariLink': (sub) => {sub},
},
)}