Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dd2517

Browse files
committed
Use polib directly
1 parent58315a9 commit8dd2517

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎scripts/create_issue.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
importos
22
importsys
3-
importsubprocess
4-
importprint_percentage
53

4+
importpolib
65
fromgithubimportGithub
76

87

@@ -11,7 +10,7 @@
1110
sys.exit(1)
1211

1312
pofilename=sys.argv[1]
14-
percentage=print_percentage.get_percent_translated(pofilename)
13+
percentage=polib.pofile(pofilename).percent_translated()
1514

1615
g=Github(os.environ.get('GITHUB_TOKEN'))
1716

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp