Gui: Add translation to 'No style sheet'

This commit is contained in:
Chris Hennes
2025-11-16 17:26:20 -06:00
committed by Kacper Donat
parent 65ed897c2b
commit 2cf5ee43e6

View File

@@ -120,7 +120,9 @@ void DlgSettingsUI::loadSettings()
void DlgSettingsUI::loadStyleSheet()
{
populateStylesheets("StyleSheet", "qss", ui->StyleSheets, "No style sheet");
static std::string translatedString; // Make sure the memory doesn't disappear on us
translatedString = tr("No style sheet").toStdString();
populateStylesheets("StyleSheet", "qss", ui->StyleSheets, translatedString.c_str());
populateStylesheets("OverlayActiveStyleSheet", "overlay", ui->OverlayStyleSheets, "Auto");
}