Skip to content

Commit

Permalink
samplerbank: explain use of QT_TR_NOOP
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Schürmann <daschuer@mixxx.org>
  • Loading branch information
ronso0 and daschuer committed Dec 30, 2021
1 parent 9d7ecb5 commit 555455e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mixer/samplerbank.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ namespace {

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)");

} // anonymous namespace
Expand Down

0 comments on commit 555455e

Please sign in to comment.