Skip to content

Commit

Permalink
Reverting to fixed version of texttable to support color.
Browse files Browse the repository at this point in the history
Adding a spacer to the tables for untranslated.
  • Loading branch information
Zoramite committed Jul 31, 2017
1 parent 1297594 commit 666c93c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions grow/translators/translation_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def to_tables(self, show_all=False):
table.add_rows([['Locale', '#', 'Untranslated Message']] + rows)
results.append(table.draw())

# Spacer.
results.append('')

# Untranslated messages per locale.
table = texttable.Texttable(max_width=120)
table.set_deco(texttable.Texttable.HEADER)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pygments==2.2.0
pytz==2017.2
requests==2.13.0
semantic_version==2.6.0
texttable==0.9.1
texttable-fixed==0.8.3
translitcodec==0.4.0
watchdog==0.8.3
webreview==0.0.65
Expand Down

0 comments on commit 666c93c

Please sign in to comment.