Update Czech Sahana translation, related to #411

This commit is contained in:
Disassembler 2020-04-16 23:08:06 +02:00
parent 676a9d24b7
commit 5107631271
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 2602 additions and 293 deletions

@ -1 +1 @@
Subproject commit 20477530965e68b87602bef3fc4c96605ae4a48c
Subproject commit f6c7823b6a3f9e95db856f81618e55920cf3545a

View File

@ -15,7 +15,7 @@ def main(args):
reader = csv.reader(csvfile, delimiter=',', quotechar='\'')
for line in reader:
translations[line[1]] = line[2]
elif extension == '.xls':
elif extension in ('.xls', '.xlsx'):
sheet = xlrd.open_workbook(args.inputfile).sheet_by_index(0)
for i in range(1, sheet.nrows):
row = sheet.row(i)