magic. (pt_BR)
This commit is contained in:
parent
a7c6c54b73
commit
81f8708c08
|
@ -1,3 +0,0 @@
|
||||||
these files come from Furnace-B, a fork which had developed language support prior to upstream Furnace.
|
|
||||||
|
|
||||||
you may help me porting these strings into po files. find a string, find the equivalend in po, put it and delete the string from the source.
|
|
1377
po/b/numbers
1377
po/b/numbers
File diff suppressed because it is too large
Load diff
15877
po/b/polish.po
15877
po/b/polish.po
File diff suppressed because it is too large
Load diff
6017
po/b/portuguese.cpp
6017
po/b/portuguese.cpp
File diff suppressed because it is too large
Load diff
|
@ -1,25 +0,0 @@
|
||||||
import sys
|
|
||||||
|
|
||||||
if len(sys.argv)<3:
|
|
||||||
print("provide a file path and list of duplicates")
|
|
||||||
exit()
|
|
||||||
|
|
||||||
with open(sys.argv[2]) as l:
|
|
||||||
numbersS=l.read().splitlines()
|
|
||||||
|
|
||||||
numbers=[]
|
|
||||||
|
|
||||||
for i in numbersS:
|
|
||||||
numbers.append(int(i))
|
|
||||||
|
|
||||||
with open(sys.argv[1]) as f:
|
|
||||||
lines=f.read().splitlines()
|
|
||||||
|
|
||||||
for i in numbers:
|
|
||||||
curLine=i-1
|
|
||||||
while lines[curLine]:
|
|
||||||
lines[curLine]=str()
|
|
||||||
curLine+=1
|
|
||||||
|
|
||||||
for i in lines:
|
|
||||||
print(i)
|
|
9354
po/pt_BR.po
9354
po/pt_BR.po
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue