summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2022-01-08 23:16:37 +0100
committerGitHub <noreply@github.com>2022-01-08 23:16:37 +0100
commit64e00882fea2303dad72e67816fa54cf62a07bb6 (patch)
treeb3f33d5a3db39ec991a48edc15e54976310b4c28
parent169c0309facc51dc6b9c2b43e67698c57335064c (diff)
parentf94a59d9bcf120f856c10b1c30bb9d476b11bc68 (diff)
Merge pull request #4611 from daschuer/QT_TRANSLATE_NOOP
Provide a context for QT_TRANSLATE_NOOP
-rw-r--r--res/translations/mixxx.ts5
-rw-r--r--src/mixer/samplerbank.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/res/translations/mixxx.ts b/res/translations/mixxx.ts
index 4495f2b8f9..fd74da7485 100644
--- a/res/translations/mixxx.ts
+++ b/res/translations/mixxx.ts
@@ -10079,6 +10079,11 @@ Fully right: end of the effect period</source>
<context>
<name>SamplerBank</name>
<message>
+ <location filename="../../src/mixer/samplerbank.cpp" line="21"/>
+ <source>Mixxx Sampler Banks (*.xml)</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
<location filename="../../src/mixer/samplerbank.cpp" line="65"/>
<source>Save Sampler Bank</source>
<translation type="unfinished"></translation>
diff --git a/src/mixer/samplerbank.cpp b/src/mixer/samplerbank.cpp
index 561237d7a2..732f58ec0b 100644
--- a/src/mixer/samplerbank.cpp
+++ b/src/mixer/samplerbank.cpp
@@ -18,7 +18,7 @@ const ConfigKey kConfigkeyLastImportExportDirectory(
"[Samplers]", "last_import_export_directory");
// This is used in multiple tr() calls below which accepts const char* as a key.
// lupdate finds the single string here.
-const char kSamplerFileType[] = QT_TR_NOOP("Mixxx Sampler Banks (*.xml)");
+const char kSamplerFileType[] = QT_TRANSLATE_NOOP("SamplerBank", "Mixxx Sampler Banks (*.xml)");
} // anonymous namespace