forked from qt-creator/qt-creator
Translations: Fix some Tr::tr() calls
Tr::Tr::tr("Foo") would introduce extra translation contexts.
Change-Id: I43903d53d7d65677bb6b7a8bfd85eb5013c1fe6b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -53,7 +53,7 @@ SettingsPageWidget::SettingsPageWidget()
|
||||
resize(512, 589);
|
||||
|
||||
commandPathChooser = new PathChooser;
|
||||
commandPathChooser->setPromptDialogTitle(Tr::Tr::tr("ClearCase Command"));
|
||||
commandPathChooser->setPromptDialogTitle(Tr::tr("ClearCase Command"));
|
||||
commandPathChooser->setExpectedKind(PathChooser::ExistingCommand);
|
||||
commandPathChooser->setHistoryCompleter("ClearCase.Command.History");
|
||||
|
||||
|
||||
@@ -651,7 +651,7 @@ void CMakeToolConfigWidget::currentCMakeToolChanged(const QModelIndex &newCurren
|
||||
CMakeSettingsPage::CMakeSettingsPage()
|
||||
{
|
||||
setId(Constants::Settings::TOOLS_ID);
|
||||
setDisplayName(Tr::Tr::tr("Tools"));
|
||||
setDisplayName(Tr::tr("Tools"));
|
||||
setDisplayCategory("CMake");
|
||||
setCategory(Constants::Settings::CATEGORY);
|
||||
setWidgetCreator([] { return new CMakeToolConfigWidget; });
|
||||
|
||||
@@ -1603,7 +1603,7 @@ static QString msgWhereFailed(const QString & file, const QString &why)
|
||||
{
|
||||
//: Failed to run p4 "where" to resolve a Perforce file name to a local
|
||||
//: file system name.
|
||||
return Tr::Tr::tr("Error running \"where\" on %1: %2").
|
||||
return Tr::tr("Error running \"where\" on %1: %2").
|
||||
arg(QDir::toNativeSeparators(file), why);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user