From 329d3ea9059a88a006b94f906918755eb498d24d Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 28 Apr 2020 00:52:41 +0100 Subject: [PATCH] extract svgs and i18n Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/themes/riot/img/download/apple.svg | 97 ++++++ res/themes/riot/img/download/fdroid.svg | 135 ++++++++ res/themes/riot/img/download/google.svg | 70 ++++ .../structures/CompatibilityView.tsx | 308 +----------------- src/i18n/strings/en_EN.json | 1 + 5 files changed, 306 insertions(+), 305 deletions(-) create mode 100644 res/themes/riot/img/download/apple.svg create mode 100644 res/themes/riot/img/download/fdroid.svg create mode 100644 res/themes/riot/img/download/google.svg diff --git a/res/themes/riot/img/download/apple.svg b/res/themes/riot/img/download/apple.svg new file mode 100644 index 00000000..9de39edc --- /dev/null +++ b/res/themes/riot/img/download/apple.svg @@ -0,0 +1,97 @@ + + Download on the App Store. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/themes/riot/img/download/fdroid.svg b/res/themes/riot/img/download/fdroid.svg new file mode 100644 index 00000000..847196f5 --- /dev/null +++ b/res/themes/riot/img/download/fdroid.svg @@ -0,0 +1,135 @@ + + Get it on F-Droid. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/themes/riot/img/download/google.svg b/res/themes/riot/img/download/google.svg new file mode 100644 index 00000000..d54aca16 --- /dev/null +++ b/res/themes/riot/img/download/google.svg @@ -0,0 +1,70 @@ + + Download on the Google Play Store. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/async-components/structures/CompatibilityView.tsx b/src/async-components/structures/CompatibilityView.tsx index 9cd090cc..2feca485 100644 --- a/src/async-components/structures/CompatibilityView.tsx +++ b/src/async-components/structures/CompatibilityView.tsx @@ -76,318 +76,16 @@ const CompatibilityView: React.FC = ({ onAccept }) => {

iOS (iPhone or iPad)

- - Download on the App Store. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Apple App Store

Android

- - Created with Sketch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Google Play Store - - Get it on F-Droid. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + F-Droid diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 01c80908..1656d082 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -25,6 +25,7 @@ "Please install Chrome, Firefox, or Safari for the best experience.": "Please install Chrome, Firefox, or Safari for the best experience.", "You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.", "I understand the risks and wish to continue": "I understand the risks and wish to continue", + "Go to Riot.im": "Go to Riot.im", "Failed to start": "Failed to start", "Welcome to Riot.im": "Welcome to Riot.im", "Decentralised, encrypted chat & collaboration powered by [matrix]": "Decentralised, encrypted chat & collaboration powered by [matrix]",