Browse Source

Replace references to riot.im

pull/14502/head
J. Ryan Stinnett 2 years ago
parent
commit
acb22f4fe5
  1. 4
      src/async-components/structures/CompatibilityView.tsx
  2. 4
      src/async-components/structures/ErrorView.tsx
  3. 2
      src/i18n/strings/en_EN.json
  4. 4
      src/vector/app.tsx
  5. 2
      src/vector/mobile_guide/index.js
  6. 4
      src/vector/static/incompatible-browser.html
  7. 4
      src/vector/static/unable-to-load.html

4
src/async-components/structures/CompatibilityView.tsx

@ -97,8 +97,8 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
<div className="mx_HomePage_row mx_Center mx_Spacer">
<p className="mx_Spacer">
<a href="https://riot.im" target="_blank" className="mx_FooterLink">
{ _t("Go to Riot.im") }
<a href="https://element.io" target="_blank" className="mx_FooterLink">
{ _t("Go to element.io") }
</a>
</p>
</div>

4
src/async-components/structures/ErrorView.tsx

@ -48,8 +48,8 @@ const ErrorView: React.FC<IProps> = ({title, messages}) => {
</div>
<div className="mx_HomePage_row mx_Center mx_Spacer">
<p className="mx_Spacer">
<a href="https://riot.im" target="_blank" className="mx_FooterLink">
{ _t("Go to Riot.im") }
<a href="https://element.io" target="_blank" className="mx_FooterLink">
{ _t("Go to element.io") }
</a>
</p>
</div>

2
src/i18n/strings/en_EN.json

@ -27,7 +27,7 @@
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> 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",
"Go to element.io": "Go to element.io",
"Failed to start": "Failed to start",
"Welcome to Element": "Welcome to Element",
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Decentralised, encrypted chat &amp; collaboration powered by [matrix]",

4
src/vector/app.tsx

@ -86,11 +86,11 @@ function onNewScreen(screen: string) {
//
// If we're in electron, we should never pass through a file:// URL otherwise
// the identity server will try to 302 the browser to it, which breaks horribly.
// so in that instance, hardcode to use riot.im/app for now instead.
// so in that instance, hardcode to use app.element.io for now instead.
function makeRegistrationUrl(params: object) {
let url;
if (window.location.protocol === "vector:") {
url = 'https://riot.im/app/#/register';
url = 'https://app.element.io/#/register';
} else {
url = (
window.location.protocol + '//' +

2
src/vector/mobile_guide/index.js

@ -93,7 +93,7 @@ async function initPage() {
if (hsUrl !== 'https://matrix.org/') {
document.getElementById('configure_riot_button').href =
"https://riot.im/config/config?hs_url=" + encodeURIComponent(hsUrl) +
"https://app.element.io/config/config?hs_url=" + encodeURIComponent(hsUrl) +
"&is_url=" + encodeURIComponent(isUrl);
document.getElementById('step1_heading').innerHTML= '1: Install the app';
document.getElementById('step2_container').style.display = 'block';

4
src/vector/static/incompatible-browser.html

@ -482,8 +482,8 @@
</div>
<div class="mx_HomePage_row mx_Center mx_Spacer">
<p class="mx_Spacer">
<a href="https://riot.im" target="_blank" class="mx_FooterLink">
Go to Riot.im
<a href="https://element.io" target="_blank" class="mx_FooterLink">
Go to element.io
</a>
</p>
</div>

4
src/vector/static/unable-to-load.html

@ -189,8 +189,8 @@
</div>
<div class="mx_HomePage_row mx_Center mx_Spacer">
<p class="mx_Spacer">
<a href="https://riot.im" target="_blank" class="mx_FooterLink">
Go to Riot.im
<a href="https://element.io" target="_blank" class="mx_FooterLink">
Go to element.io
</a>
</p>
</div>

Loading…
Cancel
Save