Am Dienstag, dem 18.05.2021 um 13:51 +0200 schrieb Jürgen Spitzmüller:
> Yes, I've seen that. Only for some though. "Umschalt+F3" for instance
> is in German.
> 
> There could be some rationale behind it. Need to investigate that, no
> time ATM though.

Here's the answer (InsetInfo::info):

docstring const res = translateIfPossible(err, lang->code());
bool const translated = res != err;
// If the string is not translated, we use default lang (English)
Font const f = translated ? Font(inherit_font, lang) :
Font(inherit_font);

We could be a bit more precise here, but the decision itself makes
sense (think of different scripts).

Jürgen

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to