German Translation of LyX User Guide
Jürgen Spitzmüller
spitz at lyx.org
Tue May 18 11:59:29 UTC 2021
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210518/202123fd/attachment.asc>
More information about the lyx-devel
mailing list