Fixed some small mistakes that occurred during localization.

This commit is contained in:
Adam Waldenberg 2013-06-26 00:35:43 +02:00
parent 178356563b
commit a498603a50
3 changed files with 3 additions and 3 deletions

View File

@ -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: {"

View File

@ -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 += "<h3>" + i + __mostly_responsible_for_text__ + "</h3>"
resp_xml += "<h3>" + i + " " + __mostly_responsible_for_text__ + "</h3>"
for j, entry in enumerate(responsibilities):
resp_xml += "<p>" + entry[1] + " (" + str(entry[0]) + " eloc)</p>"

View File

@ -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 += "<tr" + (" class=\"odd\">" if i % 2 == 1 else ">")
timeline_xml += "<td>" + __modified_rows_text__ + "</td>"
timeline_xml += "<td>" + name + "</td>"
for period in periods:
multiplier = timeline_data.get_multiplier(period, 14)
signs = timeline_data.get_author_signs_in_period(name, period, multiplier)