From cacdc6c736730418e4c92d0a184d3027afa48535 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Fri, 8 Jan 2010 09:48:54 +0100 Subject: Add display name to VCS plugin structs Reviewed-by: Friedemann Kleint --- src/plugins/mercurial/constants.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/plugins/mercurial/constants.h') diff --git a/src/plugins/mercurial/constants.h b/src/plugins/mercurial/constants.h index 5e8c8879eb..aa6b1fc333 100644 --- a/src/plugins/mercurial/constants.h +++ b/src/plugins/mercurial/constants.h @@ -54,24 +54,33 @@ const char * const CHANGEIDEXACT40 = "[a-f0-9]{40,40}"; const char * const DIFFIDENTIFIER = "^[-+]{3,3} [ab]{1,1}.*"; // match e.g. +++ b/filename //BaseEditorParameters +const char * const COMMANDLOG_ID = "Mercurial Command Log Editor"; +const char * const COMMANDLOG_DISPLAY_NAME = QT_TRANSLATE_NOOP("VCS", "Mercurial Command Log Editor"); const char * const COMMANDLOG = "Mercurial Command Log Editor"; const char * const COMMANDAPP = "application/vnd.nokia.text.scs_mercurial_commandlog"; const char * const COMMANDEXT = "vcsMercurialCommand"; +const char * const FILELOG_ID = "Mercurial File Log Editor"; +const char * const FILELOG_DISPLAY_NAME = QT_TRANSLATE_NOOP("VCS", "Mercurial File Log Editor"); const char * const FILELOG = "Mercurial File Log Editor"; const char * const LOGAPP = "application/vnd.nokia.text.scs_mercurial_log"; const char * const LOGEXT = "vcsMercurialLog"; +const char * const ANNOTATELOG_ID = "Mercurial Annotation Editor"; +const char * const ANNOTATELOG_DISPLAY_NAME = QT_TRANSLATE_NOOP("VCS", "Mercurial Annotation Editor"); const char * const ANNOTATELOG = "Mercurial Annotation Editor"; const char * const ANNOTATEAPP = "application/vnd.nokia.text.scs_mercurial_annotatelog"; const char * const ANNOTATEEXT = "vcsMercurialAnnotate"; +const char * const DIFFLOG_ID = "Mercurial Diff Editor"; +const char * const DIFFLOG_DISPLAY_NAME = QT_TRANSLATE_NOOP("VCS", "Mercurial Diff Editor"); const char * const DIFFLOG = "Mercurial Diff Editor"; const char * const DIFFAPP = "text/x-patch"; const char * const DIFFEXT = "diff"; //SubmitEditorParameters -const char * const COMMITKIND = "Mercurial Commit Log Editor"; +const char * const COMMIT_ID = "Mercurial Commit Log Editor"; +const char * const COMMIT_DISPLAY_NAME = QT_TRANSLATE_NOOP("VCS", "Mercurial Commit Log Editor"); const char * const COMMITMIMETYPE = "application/vnd.nokia.text.scs_mercurial_commitlog"; //menu items -- cgit v1.2.1