Merge branches 'develop' and 't3chguy/toasts3_2' of github.com:vector-im/riot-web into t3chguy/toasts3_2

This commit is contained in:
Michael Telatynski 2020-05-27 09:58:08 +01:00
commit c17bcda1ba
8 changed files with 611 additions and 513 deletions

View file

@ -26,5 +26,15 @@
"Open user settings": "Ireki erabiltzailearen ezarpenak", "Open user settings": "Ireki erabiltzailearen ezarpenak",
"Missing indexeddb worker script!": "indexeddb langile scripta falta da!", "Missing indexeddb worker script!": "indexeddb langile scripta falta da!",
"Unable to load config file: please refresh the page to try again.": "Ezin izan da konfigurazio fitxategia kargatu: Saiatu orria birkargatzen.", "Unable to load config file: please refresh the page to try again.": "Ezin izan da konfigurazio fitxategia kargatu: Saiatu orria birkargatzen.",
"Previous/next recently visited room or community": "Berriki bisitatutako aurreko/hurrengo gela edo komunitatea" "Previous/next recently visited room or community": "Berriki bisitatutako aurreko/hurrengo gela edo komunitatea",
"Riot Desktop (%(platformName)s)": "Riot Desktop (%(platformName)s)",
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
"Unsupported browser": "Onartu gabeko nabigatzailea",
"Your browser can't run Riot": "Zure nabigatzaileak ezin du Riot abiatu",
"Riot uses advanced browser features which aren't supported by your current browser.": "Riotek zure oraingo nabigatzailean erabilgarri ez dauden ezaugarri aurreratuak erabiltzen ditu .",
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Instalatu <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, edo <safariLink>Safari</safariLink> esperientzia hobe baterako.",
"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.": "Zure oraingo nabigatzailea erabiltzen jarraitu dezakezu, baina ezaugarri batzuk agian ez dute funtzionatuko eta itxura desegokia izan daiteke.",
"I understand the risks and wish to continue": "Arriskuak ulertzen ditut eta jarraitu nahi dut",
"Go to Riot.im": "Joan Riot.im gunera",
"Failed to start": "Huts egin du abiatzean"
} }

View file

@ -10,7 +10,7 @@
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Conversas e colaboración descentralizada e cifrada grazas a [matrix]", "Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Conversas e colaboración descentralizada e cifrada grazas a [matrix]",
"Chat with Riot Bot": "Conversa co bot de Riot", "Chat with Riot Bot": "Conversa co bot de Riot",
"You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Podes usar as opcións de servidor personalizado para iniciar sesión en outros servidores Matrix especificando unha dirección diferente de servidor doméstico. Con esto podes usar Riot cunha conta Matrix existente noutro servidor doméstico.", "You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Podes usar as opcións de servidor personalizado para iniciar sesión en outros servidores Matrix especificando unha dirección diferente de servidor doméstico. Con esto podes usar Riot cunha conta Matrix existente noutro servidor doméstico.",
"Sign In": "Entrar", "Sign In": "Conectar",
"Create Account": "Crear conta", "Create Account": "Crear conta",
"Need help?": "¿Precisas axuda?", "Need help?": "¿Precisas axuda?",
"Explore rooms": "Explorar salas", "Explore rooms": "Explorar salas",

View file

@ -21,7 +21,20 @@
"Unexpected error preparing the app. See console for details.": "Netikėta klaida ruošiant programą. Norėdami sužinoti daugiau detalių, žiūrėkite konsolę.", "Unexpected error preparing the app. See console for details.": "Netikėta klaida ruošiant programą. Norėdami sužinoti daugiau detalių, žiūrėkite konsolę.",
"Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Klaidinga konfigūracija: galima nurodyti tik vieną iš default_server_config, default_server_name, arba default_hs_url.", "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Klaidinga konfigūracija: galima nurodyti tik vieną iš default_server_config, default_server_name, arba default_hs_url.",
"Invalid configuration: no default server specified.": "Klaidinga konfigūracija: nenurodytas numatytasis serveris.", "Invalid configuration: no default server specified.": "Klaidinga konfigūracija: nenurodytas numatytasis serveris.",
"You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Jūs galite naudoti pasirinktinius serverio nustatymus, kad prisijungtumėte prie kitų Matrix serverių, nurodydami kito serverio URL. Tai leidžia jums naudotis Riot su esama Matrix paskyra kitame serveryje.", "You can use the custom server options to sign into other Matrix servers by specifying a different homeserver URL. This allows you to use Riot with an existing Matrix account on a different homeserver.": "Jūs galite naudoti pasirinktinius serverio nustatymus, kad prisijungtumėte prie kitų Matrix serverių, nurodydami kito serverio URL. Tai leidžia jums naudotis Riot su kitame serveryje esančia Matrix paskyra.",
"Go to your browser to complete Sign In": "Norėdami užbaigti prisijungimą, eikite į naršyklę", "Go to your browser to complete Sign In": "Norėdami užbaigti prisijungimą, eikite į naršyklę",
"Open user settings": "Atverti vartotojo nustatymus" "Open user settings": "Atverti vartotojo nustatymus",
"Missing indexeddb worker script!": "Trūksta indexeddb worker skripto!",
"Unable to load config file: please refresh the page to try again.": "Nepavyko įkelti konfigūracijos failo: iš naujo užkraukite puslapį ir bandykite dar kartą.",
"Previous/next recently visited room or community": "Ankstesnis/sekantis neseniai lankytas kambarys ar bendruomenė",
"Riot Desktop (%(platformName)s)": "Riot Kompiuteriui (%(platformName)s)",
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
"Unsupported browser": "Nepalaikoma naršyklė",
"Your browser can't run Riot": "Jūsų naršyklė negali paleisti Riot",
"Riot uses advanced browser features which aren't supported by your current browser.": "Riot naudoja išplėstines funkcijas, kurių jūsų dabartinė naršyklė nepalaiko.",
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Riot geriausiai veikia su <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, arba <safariLink>Safari</safariLink> naršyklėmis.",
"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.": "Jūs galite toliau naudotis savo dabartine naršykle, bet kai kurios arba visos funkcijos gali neveikti ir programos išvaizda bei sąsaja gali būti neteisingai rodoma.",
"I understand the risks and wish to continue": "Suprantu šią riziką ir noriu tęsti",
"Go to Riot.im": "Eiti į Riot.im",
"Failed to start": "Nepavyko paleisti"
} }

View file

@ -26,5 +26,15 @@
"Unable to load config file: please refresh the page to try again.": "Nemožno načítať konfiguračný súbor: prosím, obnovte stránku a skúste to znova.", "Unable to load config file: please refresh the page to try again.": "Nemožno načítať konfiguračný súbor: prosím, obnovte stránku a skúste to znova.",
"Open user settings": "Otvoriť používateľské nastavenia", "Open user settings": "Otvoriť používateľské nastavenia",
"Previous/next recently visited room or community": "Predchádzajúca/ďalšia nedávno navštívená miestnosť alebo komunita", "Previous/next recently visited room or community": "Predchádzajúca/ďalšia nedávno navštívená miestnosť alebo komunita",
"Go to your browser to complete Sign In": "Prejdite do prehliadača a dokončite prihlásenie" "Go to your browser to complete Sign In": "Prejdite do prehliadača a dokončite prihlásenie",
"Riot Desktop (%(platformName)s)": "Riot pre počítače (%(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",
"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 <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Prosím, nainštalujte si <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink> alebo <safariLink>Safari</safariLink> 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 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"
} }

View file

@ -384,12 +384,12 @@ export default class ElectronPlatform extends VectorBasePlatform {
return Boolean(feedUrl); return Boolean(feedUrl);
} }
startUpdateCheck = () => { startUpdateCheck() {
if (this.showUpdateCheck) return; if (this.showUpdateCheck) return;
super.startUpdateCheck(); super.startUpdateCheck();
ipcRenderer.send('check_updates'); ipcRenderer.send('check_updates');
}; }
installUpdate() { installUpdate() {
// IPC to the main process to install the update, since quitAndInstall // IPC to the main process to install the update, since quitAndInstall

View file

@ -39,6 +39,13 @@ export default abstract class VectorBasePlatform extends BasePlatform {
protected showUpdateCheck: boolean = false; protected showUpdateCheck: boolean = false;
protected _favicon: Favicon; protected _favicon: Favicon;
constructor() {
super();
this.startUpdateCheck = this.startUpdateCheck.bind(this);
this.stopUpdateCheck = this.stopUpdateCheck.bind(this);
}
async getConfig(): Promise<{}> { async getConfig(): Promise<{}> {
return getVectorConfig(); return getVectorConfig();
} }
@ -96,21 +103,21 @@ export default abstract class VectorBasePlatform extends BasePlatform {
return false; return false;
} }
startUpdateCheck = () => { startUpdateCheck() {
this.showUpdateCheck = true; this.showUpdateCheck = true;
dis.dispatch({ dis.dispatch({
action: 'check_updates', action: 'check_updates',
value: { status: updateCheckStatusEnum.CHECKING }, value: { status: updateCheckStatusEnum.CHECKING },
}); });
}; }
stopUpdateCheck = () => { stopUpdateCheck() {
this.showUpdateCheck = false; this.showUpdateCheck = false;
dis.dispatch({ dis.dispatch({
action: 'check_updates', action: 'check_updates',
value: false, value: false,
}); });
}; }
getUpdateCheckStatusEnum() { getUpdateCheckStatusEnum() {
return updateCheckStatusEnum; return updateCheckStatusEnum;

View file

@ -157,7 +157,7 @@ export default class WebPlatform extends VectorBasePlatform {
}); });
}; };
startUpdateCheck = () => { startUpdateCheck() {
if (this.showUpdateCheck) return; if (this.showUpdateCheck) return;
super.startUpdateCheck(); super.startUpdateCheck();
this.pollForUpdate().then((updateState) => { this.pollForUpdate().then((updateState) => {
@ -168,7 +168,7 @@ export default class WebPlatform extends VectorBasePlatform {
value: updateState, value: updateState,
}); });
}); });
}; }
installUpdate() { installUpdate() {
window.location.reload(true); window.location.reload(true);

1058
yarn.lock

File diff suppressed because it is too large Load diff