summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-10-18 23:35:13 +0200
committerJosJuice <josjuice@gmail.com>2019-10-18 23:35:34 +0200
commitbb8d0261be5405224b2ca4ad9fb11076774fa7f6 (patch)
tree45b6b6e7b90dcdf9aa2209056f812c0428df0a84 /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
parent4a613dad207b9426684ce52b3edd6b24a04356b5 (diff)
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).
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
index 44a70e8325..3f829124f8 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
+++ b/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",
- "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++)
{