diff --git a/src/i18n/strings/bg.json b/src/i18n/strings/bg.json
index e92648a0d2..627f4309c6 100644
--- a/src/i18n/strings/bg.json
+++ b/src/i18n/strings/bg.json
@@ -686,7 +686,7 @@
"This setting cannot be changed later!": "Тази настройка не може да бъде променена по-късно!",
"Unknown error": "Неизвестна грешка",
"Incorrect password": "Неправилна парола",
- "Deactivate Account": "Деактивация на профила",
+ "Deactivate Account": "Затвори акаунта",
"Deactivate my account": "Деактивирай моя профил",
"Device name": "Име на устройство",
"Device key": "Ключ на устройство",
@@ -1185,7 +1185,7 @@
"Encrypting": "Шифроване",
"Encrypted, not sent": "Шифровано, неизпратено",
"Share Link to User": "Сподели връзка с потребител",
- "Share room": "Сподели стая",
+ "Share room": "Сподели стаята",
"Share Room": "Споделяне на стая",
"Link to most recent message": "Създай връзка към най-новото съобщение",
"Share User": "Споделяне на потребител",
@@ -1515,7 +1515,6 @@
"2018 theme": "Тема 2018",
"Account management": "Управление на акаунта",
"Deactivating your account is a permanent action - be careful!": "Деактивирането на акаунта е необратимо действие - внимавайте!",
- "Deactivate Account": "Затвори акаунта",
"For help with using Riot, click
here.": "За помощ при използването на Riot, кликнете
тук.",
"For help with using Riot, click
here or start a chat with our bot using the button below.": "За помощ при използването на Riot, кликнете
тук или започнете чат с бота ни използвайки бутона по-долу.",
"Chat with Riot Bot": "Чати с Riot Bot",
@@ -1762,5 +1761,7 @@
"Secure your backup with a passphrase": "Защитете резервното копие с парола",
"Confirm your passphrase": "Потвърдете паролата",
"Recovery key": "Ключ за възстановяване",
- "Success!": "Успешно!"
+ "Success!": "Успешно!",
+ "Allow Peer-to-Peer for 1:1 calls": "Позволи използването на директна връзка (P2P) за 1:1 повиквания",
+ "Default theme": "Тема по подразбиране"
}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index fe41beb7ae..10baa72164 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -528,6 +528,7 @@
"Deactivating your account is a permanent action - be careful!": "Deactivating your account is a permanent action - be careful!",
"Deactivate Account": "Deactivate Account",
"Legal": "Legal",
+ "Credits": "Credits",
"For help with using Riot, click
here.": "For help with using Riot, click
here.",
"For help with using Riot, click
here or start a chat with our bot using the button below.": "For help with using Riot, click
here or start a chat with our bot using the button below.",
"Chat with Riot Bot": "Chat with Riot Bot",
@@ -1106,7 +1107,7 @@
"Manually export keys": "Manually export keys",
"You'll lose access to your encrypted messages": "You'll lose access to your encrypted messages",
"Are you sure you want to sign out?": "Are you sure you want to sign out?",
- "Thanks for testing the Riot Redesign. If you run into any bugs or visual issues, please let us know on GitHub.": "Thanks for testing the Riot Redesign. If you run into any bugs or visual issues, please let us know on GitHub.",
+ "If you run into any bugs or have feedback you'd like to share, please let us know on GitHub.": "If you run into any bugs or have feedback you'd like to share, please let us know on GitHub.",
"To help avoid duplicate issues, please
view existing issues first (and add a +1) or
create a new issue if you can't find it.": "To help avoid duplicate issues, please
view existing issues first (and add a +1) or
create a new issue if you can't find it.",
"Report bugs & give feedback": "Report bugs & give feedback",
"Go back": "Go back",
@@ -1221,7 +1222,6 @@
"View Community": "View Community",
"Hide": "Hide",
"Sign in": "Sign in",
- "Welcome": "Welcome",
"Login": "Login",
"powered by Matrix": "powered by Matrix",
"Robot check is currently unavailable on desktop - please use a
web browser": "Robot check is currently unavailable on desktop - please use a
web browser",
diff --git a/src/i18n/strings/fi.json b/src/i18n/strings/fi.json
index 3670efc173..071de3b409 100644
--- a/src/i18n/strings/fi.json
+++ b/src/i18n/strings/fi.json
@@ -1078,5 +1078,6 @@
"%(count)s of your messages have not been sent.|one": "Viestiäsi ei lähetetty.",
"%(oldDisplayName)s changed their display name to %(displayName)s.": "%(oldDisplayName)s asetti näyttönimekseen %(displayName)s.",
"Learn more about how we use analytics.": "Lue lisää analytiikkakäytännöistämme.",
- "There's no one else here! Would you like to
invite others or
stop warning about the empty room?": "Täällä ei ole muita! Haluaisitko
kutsua muita tai
lopettaa tyhjästä huoneesta huomauttamisen?"
+ "There's no one else here! Would you like to
invite others or
stop warning about the empty room?": "Täällä ei ole muita! Haluaisitko
kutsua muita tai
lopettaa tyhjästä huoneesta huomauttamisen?",
+ "The version of Riot.im": "Riot.im:n versio"
}
diff --git a/src/i18n/strings/fr.json b/src/i18n/strings/fr.json
index 1940a7999b..54407ef11a 100644
--- a/src/i18n/strings/fr.json
+++ b/src/i18n/strings/fr.json
@@ -92,7 +92,7 @@
"Current password": "Mot de passe actuel",
"Curve25519 identity key": "Clé d’identité Curve25519",
"/ddg is not a command": "/ddg n'est pas une commande",
- "Deactivate Account": "Désactiver le compte",
+ "Deactivate Account": "Fermer le compte",
"Deactivate my account": "Désactiver mon compte",
"Decrypt %(text)s": "Déchiffrer %(text)s",
"Decryption error": "Erreur de déchiffrement",
@@ -1526,7 +1526,6 @@
"2018 theme": "Thème 2018",
"Account management": "Gestion du compte",
"Deactivating your account is a permanent action - be careful!": "La désactivation du compte est une action permanente. Soyez prudent !",
- "Deactivate Account": "Fermer le compte",
"For help with using Riot, click
here.": "Pour obtenir de l'aide sur l'utilisation de Riot, cliquez
ici.",
"For help with using Riot, click
here or start a chat with our bot using the button below.": "Pour obtenir de l'aide sur l'utilisation de Riot, cliquez
ici ou commencez une discussion avec notre bot en utilisant le bouton ci-dessous.",
"Start a chat with Riot Bot": "Commencer une discussion avec le bot Riot",
@@ -1773,5 +1772,8 @@
"Secure your backup with a passphrase": "Protégez votre sauvegarde avec une phrase de passe",
"Confirm your passphrase": "Confirmez votre phrase de passe",
"Recovery key": "Clé de récupération",
- "Success!": "Terminé !"
+ "Success!": "Terminé !",
+ "Allow Peer-to-Peer for 1:1 calls": "Autoriser les connexions pair-à-pair pour les appels individuels",
+ "Default theme": "Thème par défaut",
+ "Welcome": "Bienvenue"
}
diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json
index 56e9aaa4a3..79e9ba95fc 100644
--- a/src/i18n/strings/hu.json
+++ b/src/i18n/strings/hu.json
@@ -113,7 +113,7 @@
"Custom": "Egyedi",
"Custom level": "Egyedi szint",
"/ddg is not a command": "/ddg nem egy parancs",
- "Deactivate Account": "Fiók zárolása",
+ "Deactivate Account": "Fiók bezárása",
"Deactivate my account": "Fiókom felfüggesztése",
"Decline": "Elutasít",
"Decrypt %(text)s": "%(text)s visszafejtése",
@@ -1525,7 +1525,6 @@
"2018 theme": "2018-as téma",
"Account management": "Fiók menedzsment",
"Deactivating your account is a permanent action - be careful!": "A fiók felfüggesztése végleges - légy óvatos!",
- "Deactivate Account": "Fiók bezárása",
"For help with using Riot, click
here.": "A Riot használatában való segítséghez kattints
ide.",
"For help with using Riot, click
here or start a chat with our bot using the button below.": "A Riot használatában való segítségér kattints
ide vagy kezdj beszélgetni a botunkkal az alábbi gombra kattintva.",
"Start a chat with Riot Bot": "Csevegés kezdése a Riot Bottal",
@@ -1773,5 +1772,8 @@
"Secure your backup with a passphrase": "Védd a mentést egy jelmondattal",
"Confirm your passphrase": "Erősítsd meg a jelmondatot",
"Recovery key": "Visszaállítási Kulcs",
- "Success!": "Sikeres!"
+ "Success!": "Sikeres!",
+ "Allow Peer-to-Peer for 1:1 calls": "Ponttól-pontig kapcsolat engedélyezése az 1:1 hívásokban",
+ "Default theme": "Alapértelmezett stílus",
+ "Welcome": "Üdvözöllek"
}
diff --git a/src/settings/Settings.js b/src/settings/Settings.js
index 4108848033..bb3cf9330c 100644
--- a/src/settings/Settings.js
+++ b/src/settings/Settings.js
@@ -324,12 +324,12 @@ export const SETTINGS = {
"pinMentionedRooms": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Pin rooms I'm mentioned in to the top of the room list"),
- default: false,
+ default: true,
},
"pinUnreadRooms": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td("Pin unread rooms to the top of the room list"),
- default: false,
+ default: true,
},
"enableWidgetScreenshots": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
diff --git a/src/utils/pages.js b/src/utils/pages.js
new file mode 100644
index 0000000000..d63ca3f2c7
--- /dev/null
+++ b/src/utils/pages.js
@@ -0,0 +1,31 @@
+/*
+Copyright 2019 New Vector Ltd
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+export function getHomePageUrl(appConfig) {
+ const pagesConfig = appConfig.embeddedPages;
+ let pageUrl = null;
+ if (pagesConfig) {
+ pageUrl = pagesConfig.homeUrl;
+ }
+ if (!pageUrl) {
+ // This is a deprecated config option for the home page
+ // (despite the name, given we also now have a welcome
+ // page, which is not the same).
+ pageUrl = appConfig.welcomePageUrl;
+ }
+
+ return pageUrl;
+}