From e345db67f047c7a3750e72a675f596cc41fb19b0 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Sun, 5 Jul 2015 14:03:21 +0800 Subject: [PATCH] In Percent of ownership, state author >= 0.5% Signed-off-by: Sup Yut Sum --- Languages/Tortoise.pot | 5 +++++ src/Resources/TortoiseProcENG.rc | 2 ++ src/TortoiseProc/StatGraphDlg.cpp | 2 +- src/TortoiseProc/resource.h | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Languages/Tortoise.pot b/Languages/Tortoise.pot index b12b5922e..c1a57b9c7 100644 --- a/Languages/Tortoise.pot +++ b/Languages/Tortoise.pot @@ -10632,6 +10632,11 @@ msgstr "" msgid "author" msgstr "" +#. Resource IDs: (1421) +#, c-format +msgid "author (>= 0.5%)" +msgstr "" + #. Resource IDs: (65535) msgid "based on TortoiseSVN (http://www.tortoisesvn.net/)" msgstr "" diff --git a/src/Resources/TortoiseProcENG.rc b/src/Resources/TortoiseProcENG.rc index 584893866..6c680a9ca 100644 --- a/src/Resources/TortoiseProcENG.rc +++ b/src/Resources/TortoiseProcENG.rc @@ -3505,6 +3505,8 @@ BEGIN "The credential helper URL ""%s"" already exists.\nDo you want to overwrite it?" IDS_GITCREDENTIAL_SAVEHELPER "The credential helper was changed.\nDo you want to save now or discard changes?" + IDS_STATGRAPH_COMMITSBYAUTHORMOREX + "author (>= 0.5%)" IDS_RESET_MIXED "Mixed" IDS_RESET_HARD "Hard" END diff --git a/src/TortoiseProc/StatGraphDlg.cpp b/src/TortoiseProc/StatGraphDlg.cpp index ebd8ada51..1e9c4da9b 100644 --- a/src/TortoiseProc/StatGraphDlg.cpp +++ b/src/TortoiseProc/StatGraphDlg.cpp @@ -1014,7 +1014,7 @@ void CStatGraphDlg::ShowPercentageOfAuthorship() // Set up the graph. MyGraphSeries * graphData = PreViewGraph(IDS_STATGRAPH_PERCENTAGE_OF_AUTHORSHIP, IDS_STATGRAPH_PERCENTAGE_OF_AUTHORSHIPY, - IDS_STATGRAPH_COMMITSBYAUTHORX); + IDS_STATGRAPH_COMMITSBYAUTHORMOREX); if(graphData == NULL) return; // Find out which authors are to be shown and which are to be skipped. diff --git a/src/TortoiseProc/resource.h b/src/TortoiseProc/resource.h index ff3d7c7ae..209793284 100644 --- a/src/TortoiseProc/resource.h +++ b/src/TortoiseProc/resource.h @@ -871,6 +871,7 @@ #define IDS_GITCREDENTIAL_HELPEREMPTY 1418 #define IDS_GITCREDENTIAL_OVERWRITEHELPER 1419 #define IDS_GITCREDENTIAL_SAVEHELPER 1420 +#define IDS_STATGRAPH_COMMITSBYAUTHORMOREX 1421 #define IDS_RESET_MIXED 1422 #define IDS_RESET_HARD 1423 #define IDS_CHERRYPICKFAILEDSKIP 1424 -- 2.11.4.GIT