forked from qt-creator/qt-creator
VcsBase: Convert to Tr::tr
To reduce the amount of duplicated strings for translators to handle. The problem is not very prominent in vcsbase, but that's where we are moving everywhere else. Change-Id: Icb11fad3bccfea8a1408420e729566a75adccb66 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -90,7 +90,7 @@ const char CMD_ID_REPOSITORYUPDATE[] = "CVS.RepositoryUpdate";
|
||||
|
||||
const char CVS_SUBMIT_MIMETYPE[] = "text/vnd.qtcreator.cvs.submit";
|
||||
const char CVSCOMMITEDITOR_ID[] = "CVS Commit Editor";
|
||||
const char CVSCOMMITEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("VCS", "CVS Commit Editor");
|
||||
const char CVSCOMMITEDITOR_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("::VcsBase", "CVS Commit Editor");
|
||||
|
||||
const VcsBaseSubmitEditorParameters submitParameters {
|
||||
CVS_SUBMIT_MIMETYPE,
|
||||
@@ -102,28 +102,28 @@ const VcsBaseSubmitEditorParameters submitParameters {
|
||||
const VcsBaseEditorParameters commandLogEditorParameters {
|
||||
OtherContent,
|
||||
"CVS Command Log Editor", // id
|
||||
QT_TRANSLATE_NOOP("VCS", "CVS Command Log Editor"), // display name
|
||||
QT_TRANSLATE_NOOP("::VcsBase", "CVS Command Log Editor"), // display name
|
||||
"text/vnd.qtcreator.cvs.commandlog"
|
||||
};
|
||||
|
||||
const VcsBaseEditorParameters logEditorParameters {
|
||||
LogOutput,
|
||||
"CVS File Log Editor", // id
|
||||
QT_TRANSLATE_NOOP("VCS", "CVS File Log Editor"), // display name
|
||||
QT_TRANSLATE_NOOP("::VcsBase", "CVS File Log Editor"), // display name
|
||||
"text/vnd.qtcreator.cvs.log"
|
||||
};
|
||||
|
||||
const VcsBaseEditorParameters annotateEditorParameters {
|
||||
AnnotateOutput,
|
||||
"CVS Annotation Editor", // id
|
||||
QT_TRANSLATE_NOOP("VCS", "CVS Annotation Editor"), // display name
|
||||
QT_TRANSLATE_NOOP("::VcsBase", "CVS Annotation Editor"), // display name
|
||||
"text/vnd.qtcreator.cvs.annotation"
|
||||
};
|
||||
|
||||
const VcsBaseEditorParameters diffEditorParameters {
|
||||
DiffOutput,
|
||||
"CVS Diff Editor", // id
|
||||
QT_TRANSLATE_NOOP("VCS", "CVS Diff Editor"), // display name
|
||||
QT_TRANSLATE_NOOP("::VcsBase", "CVS Diff Editor"), // display name
|
||||
"text/x-patch"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user