-
+
{ this.props.children }
diff --git a/src/i18n/strings/eo.json b/src/i18n/strings/eo.json
index c5e75cdbe..98c8edda2 100644
--- a/src/i18n/strings/eo.json
+++ b/src/i18n/strings/eo.json
@@ -36,5 +36,7 @@
"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.": "Vi povas daŭre uzadi vian nunan foliumilon, sed iuj (eĉ ĉiuj) funkcioj eble ne funkcios, kaj la aspekto de la aplikaĵo eble ne estos ĝusta.",
"I understand the risks and wish to continue": "Mi komprenas la riskon kaj volas pluiĝi",
"Go to Riot.im": "Iri al Riot.im",
- "Failed to start": "Malsukcesis starti"
+ "Failed to start": "Malsukcesis starti",
+ "Download Completed": "Elŝuto finiĝis",
+ "Open": "Malfermi"
}
diff --git a/src/i18n/strings/et.json b/src/i18n/strings/et.json
index 70574faa5..ff98ac5b3 100644
--- a/src/i18n/strings/et.json
+++ b/src/i18n/strings/et.json
@@ -36,5 +36,7 @@
"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.": "Sa võid jätkata praeguse brauseri kasutamist, kuid mõned või kõik funktsionaalsused ei pruugi toimida ning rakenduse välimus võib vigane olla.",
"I understand the risks and wish to continue": "Ma mõistan riske ja soovin jätkata",
"Go to Riot.im": "Mine Riot.im lehele",
- "Failed to start": "Käivitamine ei õnnestunud"
+ "Failed to start": "Käivitamine ei õnnestunud",
+ "Download Completed": "Allalaadimine on lõpetatud",
+ "Open": "Ava"
}
diff --git a/src/i18n/strings/fi.json b/src/i18n/strings/fi.json
index 07ee9454f..1195c664d 100644
--- a/src/i18n/strings/fi.json
+++ b/src/i18n/strings/fi.json
@@ -26,7 +26,7 @@
"Unable to load config file: please refresh the page to try again.": "Asetustiedostoa ei voi ladata. Yritä uudelleen lataamalla sivu uudelleen.",
"Open user settings": "Avaa käyttäjäasetukset",
"Previous/next recently visited room or community": "Edellinen/seuraava hiljattain vierailtu huone tai yhteisö",
- "Riot Desktop (%(platformName)s)": "Riot Desktop (%(platformName)s)",
+ "Riot Desktop (%(platformName)s)": "Riotin työpöytäversio (%(platformName)s)",
"Go to your browser to complete Sign In": "Tee kirjautuminen loppuun selaimessasi",
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
"Unsupported browser": "Selainta ei tueta",
@@ -35,5 +35,8 @@
"Please install
Chrome,
Firefox, or
Safari for the best experience.": "Asenna
Chrome,
Firefox tai
Safari, jotta kaikki toimii parhaiten.",
"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.": "Voit käyttää edelleen nykyistä selaintasi, mutta jotkut tai kaikki ominaisuudet eivät ehkä toimi ja sovelluksen ulkoasu voi olla virheellinen.",
"I understand the risks and wish to continue": "Ymmärrän riskit ja haluan jatkaa",
- "Failed to start": "Käynnistys ei onnistunut"
+ "Failed to start": "Käynnistys ei onnistunut",
+ "Download Completed": "Lataus valmis",
+ "Open": "Avaa",
+ "Go to Riot.im": "Mene osoitteeseen riot.im"
}
diff --git a/src/i18n/strings/it.json b/src/i18n/strings/it.json
index 5c844d169..6464e4cad 100644
--- a/src/i18n/strings/it.json
+++ b/src/i18n/strings/it.json
@@ -36,5 +36,7 @@
"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.": "Puoi comunque usare il browser attuale, ma alcune o tutte le caratteristiche potrebbero non funzionare e l'aspetto dell'applicazione potrebbe essere sbagliato.",
"I understand the risks and wish to continue": "Capisco i rischi e desidero continuare",
"Go to Riot.im": "Vai su Riot.im",
- "Failed to start": "Avvio fallito"
+ "Failed to start": "Avvio fallito",
+ "Download Completed": "Scaricamento completato",
+ "Open": "Apri"
}
diff --git a/src/i18n/strings/ja.json b/src/i18n/strings/ja.json
index 739dd7cde..3dc4d1c21 100644
--- a/src/i18n/strings/ja.json
+++ b/src/i18n/strings/ja.json
@@ -13,7 +13,7 @@
"Your Riot is misconfigured": "あなたのRiotは設定が間違っています",
"Invalid configuration: no default server specified.": "不正な設定です:デフォルトのサーバーが設定されていません。",
"Sign In": "サインイン",
- "Create Account": "アカウントを作成する",
+ "Create Account": "アカウント作成",
"Need help?": "助けが必要ですか?",
"Explore rooms": "部屋を探索する",
"Room Directory": "部屋のディレクトリー",
@@ -26,5 +26,16 @@
"Riot uses advanced browser features which aren't supported by your current browser.": "Riot ではこのブラウザでサポートされていない高度な機能を利用しています。",
"Please install
Chrome,
Firefox, or
Safari for the best experience.": "最高のユーザー体験を得るためには、
Chromeや
Firefox、もしくは
Safariをインストールしてください。",
"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": "リスクを理解したうえで続行する",
+ "Missing indexeddb worker script!": "IndexedDBのワーカースクリプトがありません!",
+ "Unable to load config file: please refresh the page to try again.": "設定ファイルの読み込みに失敗しました: ページを再読み込みしてもう一度お試しください。",
+ "Download Completed": "ダウンロード完了",
+ "Open": "開く",
+ "Open user settings": "ユーザー設定を開く",
+ "Riot Desktop (%(platformName)s)": "Riotデスクトップ版(%(platformName)s)",
+ "Go to your browser to complete Sign In": "サインインを完了させるためにブラウザへ移動してください",
+ "%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s(%(browserName)s, %(osName)s)",
+ "Unsupported browser": "サポートされていないブラウザ",
+ "Go to Riot.im": "Riot.imへ移動",
+ "Failed to start": "起動に失敗しました"
}
diff --git a/src/i18n/strings/pt_BR.json b/src/i18n/strings/pt_BR.json
index 19eedb2f7..d00e30f01 100644
--- a/src/i18n/strings/pt_BR.json
+++ b/src/i18n/strings/pt_BR.json
@@ -21,5 +21,22 @@
"Your Riot is misconfigured": "Riot possui um erro de configuração",
"Unexpected error preparing the app. See console for details.": "Erro inesperado preparando o aplicativo. Veja o console para mais detalhes.",
"Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Configuração inválida: somente se pode especificar um valor entre default_server_config, default_server_name, ou default_hs_url.",
- "Invalid configuration: no default server specified.": "Configuração inválida: servidor padrão não especificado."
+ "Invalid configuration: no default server specified.": "Configuração inválida: servidor padrão não especificado.",
+ "Unable to load config file: please refresh the page to try again.": "Não foi possível carregar o arquivo de configuração: por favor atualize a página e tente novamente.",
+ "Download Completed": "Download Concluído",
+ "Open user settings": "Abrir configurações do usuário",
+ "%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
+ "Unsupported browser": "Navegador não suportado",
+ "Your browser can't run Riot": "Riot não funciona em seu navegador",
+ "Riot uses advanced browser features which aren't supported by your current browser.": "Riot usa recursos avançados do navegador que não são suportados pelo seu navegador atual.",
+ "Please install
Chrome,
Firefox, or
Safari for the best experience.": "Instale o
Chrome , o
Firefox ou o
Safari para obter uma melhor experiência.",
+ "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.": "Você pode continuar usando o navegador atual, mas alguns dos recursos podem não funcionar e a aparência do aplicativo pode estar incorreta.",
+ "I understand the risks and wish to continue": "Entendo os riscos e desejo continuar",
+ "Go to Riot.im": "Vá para Riot.im",
+ "Failed to start": "Falha ao iniciar",
+ "Missing indexeddb worker script!": "Script de trabalho indexeddb não encontrado!",
+ "Open": "Abrir",
+ "Previous/next recently visited room or community": "Próxima/Anterior sala ou comunidade visitada recentemente",
+ "Riot Desktop (%(platformName)s)": "Riot Desktop (%(platformName)s)",
+ "Go to your browser to complete Sign In": "Vá para o seu navegador para concluir o login"
}
diff --git a/src/i18n/strings/sk.json b/src/i18n/strings/sk.json
index 6162010d3..6ffd7f0dc 100644
--- a/src/i18n/strings/sk.json
+++ b/src/i18n/strings/sk.json
@@ -30,11 +30,13 @@
"Riot Desktop (%(platformName)s)": "Riot Desktop (%(platformName)s)",
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
"Unsupported browser": "Nepodporovaný prehliadač",
- "Your browser can't run Riot": "Váš prehliadač nerozbehne Riot",
+ "Your browser can't run Riot": "Váš prehliadač nedokáže spustiť Riot",
"Riot uses advanced browser features which aren't supported by your current browser.": "Riot používa komplexnejšie funkcie prehliadača, ktoré nie sú podporované vo vašom prehliadači.",
"Please install
Chrome,
Firefox, or
Safari for the best experience.": "Prosím, nainštalujte si
Chrome,
Firefox alebo
Safari pre najlepší zážitok.",
"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.": "Môžete naďalej používať váš súčasný prehliadač, ale niektoré alebo všetky funkcie nemusia fungovať a zážitok z aplikácie nemusí byť optimálny.",
"I understand the risks and wish to continue": "Rozumiem riziku a chcem pokračovať",
"Go to Riot.im": "Prejsť na Riot.im",
- "Failed to start": "Zapnutie zlyhalo"
+ "Failed to start": "Zapnutie zlyhalo",
+ "Download Completed": "Preberanie dokončené",
+ "Open": "Otvoriť"
}
diff --git a/src/vector/app.tsx b/src/vector/app.tsx
index b665fedaf..5dcee9a7a 100644
--- a/src/vector/app.tsx
+++ b/src/vector/app.tsx
@@ -23,6 +23,7 @@ import React from 'react';
// this incidentally means we can forget our React imports in JSX files without penalty.
window.React = React;
+import url from 'url';
import * as sdk from 'matrix-react-sdk';
import PlatformPeg from 'matrix-react-sdk/src/PlatformPeg';
import * as VectorConferenceHandler from 'matrix-react-sdk/src/VectorConferenceHandler';
@@ -31,16 +32,13 @@ import AutoDiscoveryUtils from 'matrix-react-sdk/src/utils/AutoDiscoveryUtils';
import {AutoDiscovery} from "matrix-js-sdk/src/autodiscovery";
import * as Lifecycle from "matrix-react-sdk/src/Lifecycle";
import type MatrixChatType from "matrix-react-sdk/src/components/structures/MatrixChat";
-
-import url from 'url';
-
-import {parseQs, parseQsFromFragment} from './url_utils';
-
import {MatrixClientPeg} from 'matrix-react-sdk/src/MatrixClientPeg';
import SdkConfig from "matrix-react-sdk/src/SdkConfig";
-
import CallHandler from 'matrix-react-sdk/src/CallHandler';
+import {parseQs, parseQsFromFragment} from './url_utils';
+import VectorBasePlatform from "./platform/VectorBasePlatform";
+
let lastLocationHashSet: string = null;
// Parse the given window.location and return parameters that can be used when calling
@@ -149,7 +147,7 @@ export async function loadApp(fragParams: {}) {
const urlWithoutQuery = window.location.protocol + '//' + window.location.host + window.location.pathname;
console.log("Vector starting at " + urlWithoutQuery);
- platform.startUpdater();
+ (platform as VectorBasePlatform).startUpdater();
// Don't bother loading the app until the config is verified
const config = await verifyServerConfig();