Skip to content

Commit 6ca3596

Browse files
committed
update some vars for new github api
1 parent a65f03e commit 6ca3596

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/create_issue.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
sys.exit(1)
3434

3535
if pofile.fuzzy == 0 and any([
36-
pofile.translated_nb == pofile.po_file_size,
37-
pofile.untranslated_nb == 0,
36+
pofile.translated == pofile.entries,
37+
pofile.untranslated == 0,
3838
]):
3939
print(f'Skipping {pofilename}. The file is 100% translated already.')
4040
sys.exit(1)
@@ -51,10 +51,10 @@
5151
5252
Current stats for `{pofilename}`:
5353
54-
- Fuzzy: {pofile.fuzzy_nb}
54+
- Fuzzy: {pofile.fuzzy}
5555
- Percent translated: {pofile.percent_translated}%
56-
- Entries: {pofile.translated_nb} / {pofile.po_file_size}
57-
- Untranslated: {pofile.untranslated_nb}
56+
- Entries: {pofile.entries}
57+
- Untranslated: {pofile.untranslated}
5858
5959
Please, comment here if you want this file to be assigned to you and a member will assign it to you as soon as possible, so you can start working on it.
6060

0 commit comments

Comments
 (0)