Subversion: Tr::tr

Change-Id: Ic94722ec93b145eb8c78141b888797d70aed13fd
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2023-01-22 17:10:49 +01:00
parent eada41a393
commit cd4e116dff
21 changed files with 97 additions and 291 deletions

View File

@@ -4,6 +4,7 @@
#include "subversionclient.h"
#include "subversionconstants.h"
#include "subversionsettings.h"
#include "subversiontr.h"
#include <coreplugin/editormanager/editormanager.h>
@@ -43,8 +44,8 @@ public:
SubversionLogConfig(SubversionSettings &settings, QToolBar *toolBar) :
VcsBaseEditorConfig(toolBar)
{
mapSetting(addToggleButton("--verbose", tr("Verbose"),
tr("Show files changed in each revision")),
mapSetting(addToggleButton("--verbose", Tr::tr("Verbose"),
Tr::tr("Show files changed in each revision")),
&settings.logVerbose);
}
};
@@ -177,7 +178,7 @@ SubversionDiffEditorController::SubversionDiffEditorController(IDocument *docume
CommandLine command = process.commandLine();
command << SubversionClient::AddAuthOptions();
process.setCommand(command);
setDescription(tr("Waiting for data..."));
setDescription(Tr::tr("Waiting for data..."));
return TaskAction::Continue;
};
const auto onDescriptionDone = [this](const QtcProcess &process) {