mirror of https://github.com/laurent22/joplin.git
Log info
parent
6ad9931e43
commit
b77f868fc8
|
@ -37,6 +37,7 @@ export default class SpellCheckerServiceDriverNative extends SpellCheckerService
|
|||
for (const toTry of languagesToTry) {
|
||||
try {
|
||||
this.session().setSpellCheckerLanguages([toTry]);
|
||||
logger.info(`Set effective language from "${v}" to "${toTry}"`);
|
||||
return;
|
||||
} catch (error) {
|
||||
logger.warn(`Failed to set language to "${toTry}". Will try the next one in this list: ${JSON.stringify(languagesToTry)}`);
|
||||
|
|
Loading…
Reference in New Issue