Skip to content

Commit

Permalink
Minor change checking untranslated messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Feb 27, 2022
1 parent 2c9e710 commit 53e8721
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions hooks/untranslated_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ def check_untranslated_messages(filenames, min_=None, quiet=False):
with open(filename) as f:
content_lines = f.readlines()

if len(content_lines) > 4: # skip first empty message
content_lines = content_lines[4:]

untranslated_messages, total_messages = 0, -1
untranslated_messages, total_messages = -1, -1

for i, line in enumerate(content_lines):
next_i = i + 1
Expand Down

0 comments on commit 53e8721

Please sign in to comment.