diff --git a/src/components/structures/VectorEmbeddedPage.js b/src/components/structures/VectorEmbeddedPage.js index fc3b41a504..537b80bc57 100644 --- a/src/components/structures/VectorEmbeddedPage.js +++ b/src/components/structures/VectorEmbeddedPage.js @@ -25,7 +25,7 @@ import { _t } from 'matrix-react-sdk/src/languageHandler'; export default class VectorEmbeddedPage extends EmbeddedPage { static replaces = 'EmbeddedPage'; - // we're overriding the base component here, for Riot-specific tweaks + // we're overriding the base component here, for Element-specific tweaks translate(s) { s = sanitizeHtml(_t(s)); // ugly fix for https://github.com/vector-im/riot-web/issues/4243 diff --git a/src/vector/index.html b/src/vector/index.html index 58483bd88f..4cda4b37a5 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -2,7 +2,7 @@
-Set up Riot on iOS or Android
+Set up Element on iOS or Android
Tap the button above, or manually enable Use custom server and enter:
Homeserver:
Identity Server:
@@ -339,7 +339,7 @@ body {${message}
${contactMsg}
`; + message = `${message}
${contactMsg}
`; const toHide = document.getElementsByClassName("mx_HomePage_container"); const errorContainers = document.getElementsByClassName("mx_HomePage_errorContainer"); @@ -27,7 +27,7 @@ function renderConfigError(message) { } async function initPage() { - document.getElementById('back_to_riot_button').onclick = onBackToRiotClick; + document.getElementById('back_to_element_button').onclick = onBackToElementClick; let config = await getVectorConfig('..'); @@ -92,7 +92,7 @@ async function initPage() { if (isUrl && !isUrl.endsWith('/')) isUrl += '/'; if (hsUrl !== 'https://matrix.org/') { - document.getElementById('configure_riot_button').href = + document.getElementById('configure_element_button').href = "https://app.element.io/config/config?hs_url=" + encodeURIComponent(hsUrl) + "&is_url=" + encodeURIComponent(isUrl); document.getElementById('step1_heading').innerHTML= '1: Install the app'; diff --git a/src/vector/platform/WebPlatform.ts b/src/vector/platform/WebPlatform.ts index 2539440fdc..9d3c635c86 100644 --- a/src/vector/platform/WebPlatform.ts +++ b/src/vector/platform/WebPlatform.ts @@ -186,7 +186,7 @@ export default class WebPlatform extends VectorBasePlatform { let appName = u.format(); // Remove leading slashes if present appName = appName.replace(/^\/\//, ""); - // `appName` is now in the format `riot.im/develop`. + // `appName` is now in the format `develop.element.io`. const ua = new UAParser(); const browserName = ua.getBrowser().name || "unknown browser"; diff --git a/src/vector/static/incompatible-browser.html b/src/vector/static/incompatible-browser.html index 7caee20488..1d685d5394 100644 --- a/src/vector/static/incompatible-browser.html +++ b/src/vector/static/incompatible-browser.html @@ -168,8 +168,8 @@Riot uses many advanced browser features, some of which are not available or experimental in your current browser.
+Element uses many advanced browser features, some of which are not available or experimental in your current browser.
Please install Chrome, Firefox, or Safari for the best experience.
iOS (iPhone or iPad)
diff --git a/src/vector/static/unable-to-load.html b/src/vector/static/unable-to-load.html index c1eb0f9f46..0b8c351bfa 100644 --- a/src/vector/static/unable-to-load.html +++ b/src/vector/static/unable-to-load.html @@ -182,8 +182,8 @@Something went wrong and Riot was unable to load.
+Something went wrong and Element was unable to load.