Skip to content

Commit c17bcda

Browse files
committed
Merge branches 'develop' and 't3chguy/toasts3_2' of github.com:vector-im/riot-web into t3chguy/toasts3_2
2 parents 48a6182 + 492dd42 commit c17bcda

8 files changed

Lines changed: 611 additions & 513 deletions

File tree

‎src/i18n/strings/eu.json‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,15 @@
2626
"Open user settings": "Ireki erabiltzailearen ezarpenak",
2727
"Missing indexeddb worker script!": "indexeddb langile scripta falta da!",
2828
"Unable to load config file: please refresh the page to try again.": "Ezin izan da konfigurazio fitxategia kargatu: Saiatu orria birkargatzen.",
29-
"Previous/next recently visited room or community": "Berriki bisitatutako aurreko/hurrengo gela edo komunitatea"
29+
"Previous/next recently visited room or community": "Berriki bisitatutako aurreko/hurrengo gela edo komunitatea",
30+
"Riot Desktop (%(platformName)s)": "Riot Desktop (%(platformName)s)",
31+
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
32+
"Unsupported browser": "Onartu gabeko nabigatzailea",
33+
"Your browser can't run Riot": "Zure nabigatzaileak ezin du Riot abiatu",
34+
"Riot uses advanced browser features which aren't supported by your current browser.": "Riotek zure oraingo nabigatzailean erabilgarri ez dauden ezaugarri aurreratuak erabiltzen ditu .",
35+
"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.",
36+
"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.",
37+
"I understand the risks and wish to continue": "Arriskuak ulertzen ditut eta jarraitu nahi dut",
38+
"Go to Riot.im": "Joan Riot.im gunera",
39+
"Failed to start": "Huts egin du abiatzean"
3040
}

‎src/i18n/strings/gl.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Conversas e colaboración descentralizada e cifrada grazas a [matrix]",
1111
"Chat with Riot Bot": "Conversa co bot de Riot",
1212
"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.",
13-
"Sign In": "Entrar",
13+
"Sign In": "Conectar",
1414
"Create Account": "Crear conta",
1515
"Need help?": "¿Precisas axuda?",
1616
"Explore rooms": "Explorar salas",

‎src/i18n/strings/lt.json‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,20 @@
2121
"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ę.",
2222
"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.",
2323
"Invalid configuration: no default server specified.": "Klaidinga konfigūracija: nenurodytas numatytasis serveris.",
24-
"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.",
24+
"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.",
2525
"Go to your browser to complete Sign In": "Norėdami užbaigti prisijungimą, eikite į naršyklę",
26-
"Open user settings": "Atverti vartotojo nustatymus"
26+
"Open user settings": "Atverti vartotojo nustatymus",
27+
"Missing indexeddb worker script!": "Trūksta indexeddb worker skripto!",
28+
"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ą.",
29+
"Previous/next recently visited room or community": "Ankstesnis/sekantis neseniai lankytas kambarys ar bendruomenė",
30+
"Riot Desktop (%(platformName)s)": "Riot Kompiuteriui (%(platformName)s)",
31+
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
32+
"Unsupported browser": "Nepalaikoma naršyklė",
33+
"Your browser can't run Riot": "Jūsų naršyklė negali paleisti Riot",
34+
"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.",
35+
"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.",
36+
"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.",
37+
"I understand the risks and wish to continue": "Suprantu šią riziką ir noriu tęsti",
38+
"Go to Riot.im": "Eiti į Riot.im",
39+
"Failed to start": "Nepavyko paleisti"
2740
}

‎src/i18n/strings/sk.json‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,15 @@
2626
"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.",
2727
"Open user settings": "Otvoriť používateľské nastavenia",
2828
"Previous/next recently visited room or community": "Predchádzajúca/ďalšia nedávno navštívená miestnosť alebo komunita",
29-
"Go to your browser to complete Sign In": "Prejdite do prehliadača a dokončite prihlásenie"
29+
"Go to your browser to complete Sign In": "Prejdite do prehliadača a dokončite prihlásenie",
30+
"Riot Desktop (%(platformName)s)": "Riot pre počítače (%(platformName)s)",
31+
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
32+
"Unsupported browser": "Nepodporovaný prehliadač",
33+
"Your browser can't run Riot": "Váš prehliadač nerozbehne Riot",
34+
"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.",
35+
"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.",
36+
"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.",
37+
"I understand the risks and wish to continue": "Rozumiem riziku a chcem pokračovať",
38+
"Go to Riot.im": "Prejsť na Riot.im",
39+
"Failed to start": "Zapnutie zlyhalo"
3040
}

‎src/vector/platform/ElectronPlatform.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,12 +384,12 @@ export default class ElectronPlatform extends VectorBasePlatform {
384384
return Boolean(feedUrl);
385385
}
386386

387-
startUpdateCheck = () => {
387+
startUpdateCheck() {
388388
if (this.showUpdateCheck) return;
389389
super.startUpdateCheck();
390390

391391
ipcRenderer.send('check_updates');
392-
};
392+
}
393393

394394
installUpdate() {
395395
// IPC to the main process to install the update, since quitAndInstall

‎src/vector/platform/VectorBasePlatform.ts‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ export default abstract class VectorBasePlatform extends BasePlatform {
3939
protected showUpdateCheck: boolean = false;
4040
protected _favicon: Favicon;
4141

42+
constructor() {
43+
super();
44+
45+
this.startUpdateCheck = this.startUpdateCheck.bind(this);
46+
this.stopUpdateCheck = this.stopUpdateCheck.bind(this);
47+
}
48+
4249
async getConfig(): Promise<{}> {
4350
return getVectorConfig();
4451
}
@@ -96,21 +103,21 @@ export default abstract class VectorBasePlatform extends BasePlatform {
96103
return false;
97104
}
98105

99-
startUpdateCheck = () => {
106+
startUpdateCheck() {
100107
this.showUpdateCheck = true;
101108
dis.dispatch({
102109
action: 'check_updates',
103110
value: { status: updateCheckStatusEnum.CHECKING },
104111
});
105-
};
112+
}
106113

107-
stopUpdateCheck = () => {
114+
stopUpdateCheck() {
108115
this.showUpdateCheck = false;
109116
dis.dispatch({
110117
action: 'check_updates',
111118
value: false,
112119
});
113-
};
120+
}
114121

115122
getUpdateCheckStatusEnum() {
116123
return updateCheckStatusEnum;

‎src/vector/platform/WebPlatform.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default class WebPlatform extends VectorBasePlatform {
157157
});
158158
};
159159

160-
startUpdateCheck = () => {
160+
startUpdateCheck() {
161161
if (this.showUpdateCheck) return;
162162
super.startUpdateCheck();
163163
this.pollForUpdate().then((updateState) => {
@@ -168,7 +168,7 @@ export default class WebPlatform extends VectorBasePlatform {
168168
value: updateState,
169169
});
170170
});
171-
};
171+
}
172172

173173
installUpdate() {
174174
window.location.reload(true);

0 commit comments

Comments
 (0)