mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
Do not translate lyx font names
This commit is contained in:
parent
afe8934172
commit
9e021dca6e
@ -1732,19 +1732,19 @@ void GuiDocument::updateFontlist()
|
||||
QString font = qt_(tex_fonts_roman_gui[n]);
|
||||
if (!isFontAvailable(tex_fonts_roman[n]))
|
||||
font += qt_(" (not installed)");
|
||||
fontModule->fontsRomanCO->addItem(font, qt_(tex_fonts_roman[n]));
|
||||
fontModule->fontsRomanCO->addItem(font, toqstr(tex_fonts_roman[n]));
|
||||
}
|
||||
for (int n = 0; tex_fonts_sans[n][0]; ++n) {
|
||||
QString font = qt_(tex_fonts_sans_gui[n]);
|
||||
if (!isFontAvailable(tex_fonts_sans[n]))
|
||||
font += qt_(" (not installed)");
|
||||
fontModule->fontsSansCO->addItem(font, qt_(tex_fonts_sans[n]));
|
||||
fontModule->fontsSansCO->addItem(font, toqstr(tex_fonts_sans[n]));
|
||||
}
|
||||
for (int n = 0; tex_fonts_monospaced[n][0]; ++n) {
|
||||
QString font = qt_(tex_fonts_monospaced_gui[n]);
|
||||
if (!isFontAvailable(tex_fonts_monospaced[n]))
|
||||
font += qt_(" (not installed)");
|
||||
fontModule->fontsTypewriterCO->addItem(font, qt_(tex_fonts_monospaced[n]));
|
||||
fontModule->fontsTypewriterCO->addItem(font, toqstr(tex_fonts_monospaced[n]));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -68,6 +68,8 @@ What's new
|
||||
|
||||
- Load the babel package also if the document is English-only (bug 8423).
|
||||
|
||||
- Fix call of nonsense font packages in some localizations.
|
||||
|
||||
- Do not let child document's settings override master settings (bug 5941).
|
||||
|
||||
- Correct output of text in changed font size and with decorations (bug 8424).
|
||||
|
Loading…
Reference in New Issue
Block a user