Skip to content
Browse files

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).
  • Loading branch information...
JosJuice committed Oct 18, 2019
1 parent 4a613da commit bb8d0261be5405224b2ca4ad9fb11076774fa7f6
Showing with 4 additions and 4 deletions.
  1. +4 −4 Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -110,10 +110,10 @@ void GeneralWidget::CreateWidgets()
auto* shader_compilation_layout = new QGridLayout();

const std::array<const char*, 4> modes = {{
"Synchronous (Ubershaders)",
"Asynchronous (Ubershaders)",
"Asynchronous (Skip Drawing)",
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++)

0 comments on commit bb8d026

Please sign in to comment.
You can’t perform that action at this time.