Do not translate lyx font names

This commit is contained in:
Juergen Spitzmueller 2012-12-29 17:52:26 +01:00
parent afe8934172
commit 9e021dca6e
2 changed files with 5 additions and 3 deletions

View File

@ -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]));
}
}

View File

@ -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).