mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 21:52:15 +01:00
Fixed some small mistakes that occurred during localization.
This commit is contained in:
parent
178356563b
commit
a498603a50
3 changed files with 3 additions and 3 deletions
|
@ -200,7 +200,7 @@ class BlameOutput(Outputable):
|
||||||
blame_xml += " show: true,"
|
blame_xml += " show: true,"
|
||||||
blame_xml += " combine: {"
|
blame_xml += " combine: {"
|
||||||
blame_xml += " threshold: 0.01,"
|
blame_xml += " threshold: 0.01,"
|
||||||
blame_xml += " label: \"Minor Authors\""
|
blame_xml += " label: \"" + _("Minor Authors") + "\""
|
||||||
blame_xml += " }"
|
blame_xml += " }"
|
||||||
blame_xml += " }"
|
blame_xml += " }"
|
||||||
blame_xml += " }, grid: {"
|
blame_xml += " }, grid: {"
|
||||||
|
|
|
@ -75,7 +75,7 @@ class ResponsibilitiesOutput(Outputable):
|
||||||
for i in sorted(set(i[0] for i in blame.get(self.hard).blames)):
|
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)
|
responsibilities = sorted(((i[1], i[0]) for i in Responsibilities.get(self.hard, i)), reverse=True)
|
||||||
if responsibilities:
|
if responsibilities:
|
||||||
resp_xml += "<h3>" + i + __mostly_responsible_for_text__ + "</h3>"
|
resp_xml += "<h3>" + i + " " + __mostly_responsible_for_text__ + "</h3>"
|
||||||
|
|
||||||
for j, entry in enumerate(responsibilities):
|
for j, entry in enumerate(responsibilities):
|
||||||
resp_xml += "<p>" + entry[1] + " (" + str(entry[0]) + " eloc)</p>"
|
resp_xml += "<p>" + entry[1] + " (" + str(entry[0]) + " eloc)</p>"
|
||||||
|
|
|
@ -144,7 +144,7 @@ def __output_row__html__(timeline_data, periods, names):
|
||||||
for name in names:
|
for name in names:
|
||||||
if timeline_data.is_author_in_periods(periods, name):
|
if timeline_data.is_author_in_periods(periods, name):
|
||||||
timeline_xml += "<tr" + (" class=\"odd\">" if i % 2 == 1 else ">")
|
timeline_xml += "<tr" + (" class=\"odd\">" if i % 2 == 1 else ">")
|
||||||
timeline_xml += "<td>" + __modified_rows_text__ + "</td>"
|
timeline_xml += "<td>" + name + "</td>"
|
||||||
for period in periods:
|
for period in periods:
|
||||||
multiplier = timeline_data.get_multiplier(period, 14)
|
multiplier = timeline_data.get_multiplier(period, 14)
|
||||||
signs = timeline_data.get_author_signs_in_period(name, period, multiplier)
|
signs = timeline_data.get_author_signs_in_period(name, period, multiplier)
|
||||||
|
|
Loading…
Reference in a new issue