We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78d5114 commit bd772e3Copy full SHA for bd772e3
build.lua
@@ -87,7 +87,7 @@ unpack = function (names)
87
end
88
89
-- Really, a weblate .dict plugin would make more sense than this
90
- errorlevel = run('.', './generate-dictionaries.py')
+ errorlevel = run('.', './generate-dictionaries.py "' .. unpackdir .. '"')
91
if errorlevel ~=0 then
92
print("Failed to generate dictonaries from translation sources")
93
generate-dictionaries.py
@@ -1,5 +1,6 @@
1
#!/usr/bin/env python3
2
3
+import sys
4
import latexmap
5
import glob
6
import os
@@ -34,7 +35,7 @@ def unicode_to_latex(string):
34
35
return string
36
37
-dest_dir = 'build/unpacked'
38
+dest_dir = sys.argv[1]
39
dicts = {}
40
41
for infile in glob.glob('dict/*.ini'):
0 commit comments