mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
Change lang type to allow for multiple locales
This commit is contained in:
parent
f5c2d51f1e
commit
dc4cc02682
1 changed files with 2 additions and 2 deletions
|
@ -510,8 +510,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
return this.eventIndexManager;
|
return this.eventIndexManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
async setLanguage(language: string) {
|
async setLanguage(preferredLangs: string[]) {
|
||||||
return this._ipcCall('setLanguage', language);
|
return this._ipcCall('setLanguage', preferredLangs);
|
||||||
}
|
}
|
||||||
|
|
||||||
setSpellCheckLanguages(preferredLangs: string[]) {
|
setSpellCheckLanguages(preferredLangs: string[]) {
|
||||||
|
|
Loading…
Reference in a new issue