diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-07 22:46:35 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-02-08 08:32:42 +0000 |
commit | 9db70d8810dbee8c3b54e4d69f9dfcee27f90259 (patch) | |
tree | df271ab90654d433b1ecc690db4ee3ee6acccb73 /src/plugins/cppcheck | |
parent | 2356f28647c04718919a090a4784c9453cd0c02a (diff) |
Translations: Fix stray QApplication::translate() calls
For references to the module-own context, use Tr::tr().
For references to other modules, use the right context name (with "::"
prefix).
Change-Id: I6dce8f1ceccb23c44d93f1826402cd3be8e98e5a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cppcheck')
-rw-r--r-- | src/plugins/cppcheck/cppcheckoptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppcheckoptions.cpp b/src/plugins/cppcheck/cppcheckoptions.cpp index e78f2d59fe9..217a8e9063f 100644 --- a/src/plugins/cppcheck/cppcheckoptions.cpp +++ b/src/plugins/cppcheck/cppcheckoptions.cpp @@ -126,7 +126,7 @@ CppcheckOptionsPage::CppcheckOptionsPage(CppcheckTool &tool, CppcheckTrigger &tr setId(Constants::OPTIONS_PAGE_ID); setDisplayName(Tr::tr("Cppcheck")); setCategory("T.Analyzer"); - setDisplayCategory(QCoreApplication::translate("Analyzer", "Analyzer")); + setDisplayCategory(QCoreApplication::translate("::Debugger", "Analyzer")); setCategoryIconPath(Analyzer::Icons::SETTINGSCATEGORY_ANALYZER); CppcheckOptions options; |