Overview
Comment: | [build] JS code extension for Graphspell + fix for Grammalecte |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | build | graphspell |
Files: | files | file ages | folders |
SHA3-256: |
c446938f7bb7d17c139cd59e5c28d6cb |
User & Date: | olr on 2017-12-24 21:01:18 |
Other Links: | branch diff | manifest | tags |
Context
2017-12-24
| ||
21:11 | [build] WebExt: fix imports check-in: addfd48c29 user: olr tags: build, graphspell | |
21:01 | [build] JS code extension for Graphspell + fix for Grammalecte check-in: c446938f7b user: olr tags: build, graphspell | |
19:59 | [build][fr] new imports for build_data for fr language check-in: cc921a45bc user: olr tags: fr, graphspell | |
Changes
Modified make.py from [7d23c4bda5] to [850d6c4ce8].
︙ | |||
255 256 257 258 259 260 261 | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | - + - - + | dVars["dOptThunderbird"] = json.dumps(list(dVars["dOptThunderbird"].items())) # create folder spLangPack = "grammalecte-js/"+sLang helpers.createCleanFolder(spLangPack) # create files |
︙ | |||
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | + + + + | dir_util.mkpath("grammalecte/graphspell/_dictionaries") for sf in os.listdir("graphspell"): if not os.path.isdir("graphspell/"+sf): file_util.copy_file("graphspell/"+sf, "grammalecte/graphspell") if bJavaScript: helpers.createCleanFolder("grammalecte-js/graphspell") dir_util.mkpath("grammalecte-js/graphspell/_dictionaries") dVars = {} for sf in os.listdir("js_extension"): dVars[sf[:-3]] = open("js_extension/"+sf, "r", encoding="utf-8").read() for sf in os.listdir("graphspell-js"): if not os.path.isdir("graphspell-js/"+sf): file_util.copy_file("graphspell-js/"+sf, "grammalecte-js/graphspell") helpers.copyAndFileTemplate("graphspell-js/"+sf, "grammalecte-js/graphspell/"+sf, dVars) def copyGraphspellDictionary (sDicName, bJavaScript=False): file_util.copy_file("graphspell/_dictionaries/"+sDicName.strip()+".bdic", "grammalecte/graphspell/_dictionaries") file_util.copy_file("graphspell/_dictionaries/"+sDicName.strip()+".info.txt", "grammalecte/graphspell/_dictionaries") if bJavaScript: file_util.copy_file("graphspell-js/_dictionaries/"+sDicName.strip()+".json", "grammalecte-js/graphspell/_dictionaries") |
︙ |