DolphinQt: Mark ubershader setting names as translatable

These were marked as translatable in DolphinWX but not DolphinQt,
yet both DolphinWX and DolphinQt tried to fetch translations for them.
This meant that translations worked in both DolphinWX and DolphinQt
back when DolphinWX existed, but that translations stopped working
in DolphinQt once DolphinWX was removed (because the removal of
DolphinWX triggered the removal of the strings from the .po files).
This commit is contained in:
JosJuice 2019-10-18 23:35:13 +02:00
parent 4a613dad20
commit bb8d0261be
1 changed files with 4 additions and 4 deletions

View File

@ -110,10 +110,10 @@ void GeneralWidget::CreateWidgets()
auto* shader_compilation_layout = new QGridLayout();
const std::array<const char*, 4> modes = {{
"Synchronous",
"Synchronous (Ubershaders)",
"Asynchronous (Ubershaders)",
"Asynchronous (Skip Drawing)",
QT_TR_NOOP("Synchronous"),
QT_TR_NOOP("Synchronous (Ubershaders)"),
QT_TR_NOOP("Asynchronous (Ubershaders)"),
QT_TR_NOOP("Asynchronous (Skip Drawing)"),
}};
for (size_t i = 0; i < modes.size(); i++)
{