From a498603a5075009cbdb35e476a18e9d8dfc75fb5 Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Wed, 26 Jun 2013 00:35:43 +0200 Subject: [PATCH] Fixed some small mistakes that occurred during localization. --- gitinspector/blame.py | 2 +- gitinspector/responsibilities.py | 2 +- gitinspector/timeline.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gitinspector/blame.py b/gitinspector/blame.py index d4d6333..53555bc 100644 --- a/gitinspector/blame.py +++ b/gitinspector/blame.py @@ -200,7 +200,7 @@ class BlameOutput(Outputable): blame_xml += " show: true," blame_xml += " combine: {" blame_xml += " threshold: 0.01," - blame_xml += " label: \"Minor Authors\"" + blame_xml += " label: \"" + _("Minor Authors") + "\"" blame_xml += " }" blame_xml += " }" blame_xml += " }, grid: {" diff --git a/gitinspector/responsibilities.py b/gitinspector/responsibilities.py index 1f0a4fc..7c5c7e8 100644 --- a/gitinspector/responsibilities.py +++ b/gitinspector/responsibilities.py @@ -75,7 +75,7 @@ class ResponsibilitiesOutput(Outputable): for i in sorted(set(i[0] for i in blame.get(self.hard).blames)): responsibilities = sorted(((i[1], i[0]) for i in Responsibilities.get(self.hard, i)), reverse=True) if responsibilities: - resp_xml += "

" + i + __mostly_responsible_for_text__ + "

" + resp_xml += "

" + i + " " + __mostly_responsible_for_text__ + "

" for j, entry in enumerate(responsibilities): resp_xml += "

" + entry[1] + " (" + str(entry[0]) + " eloc)

" diff --git a/gitinspector/timeline.py b/gitinspector/timeline.py index 74dd812..d2b21ad 100644 --- a/gitinspector/timeline.py +++ b/gitinspector/timeline.py @@ -144,7 +144,7 @@ def __output_row__html__(timeline_data, periods, names): for name in names: if timeline_data.is_author_in_periods(periods, name): timeline_xml += "" if i % 2 == 1 else ">") - timeline_xml += "" + __modified_rows_text__ + "" + timeline_xml += "" + name + "" for period in periods: multiplier = timeline_data.get_multiplier(period, 14) signs = timeline_data.get_author_signs_in_period(name, period, multiplier)