Overview
| Comment: | [build] build chrome extension |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | build |
| Files: | files | file ages | folders |
| SHA3-256: |
359d58c56b89e52db6ae16a9be7c7525 |
| User & Date: | olr on 2020-04-08 10:11:18 |
| Other Links: | manifest | tags |
Context
|
2020-04-08
| ||
| 12:39 | [graphspell] suggestions: phonetic and number improvements [fr] version 1.9.0 check-in: 0441dd2bd3 user: olr tags: trunk, fr, graphspell | |
| 10:11 | [build] build chrome extension check-in: 359d58c56b user: olr tags: trunk, build | |
| 08:50 | [fx] don’t rewrite text when rechecking paragraphs -> prevent bug of overlapping events check-in: 9d2f92044a user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/build.py from [5f4b392f44] to [43a9cad18e].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | + + + + - + - + + + + + + + + + + + + + + + + + + + - + |
# Builder for French language
import os
import platform
import zipfile
import shutil
import json
import traceback
from distutils import dir_util, file_util
import helpers
def build (sLang, dVars):
"complementary build launched from make.py"
createWebExtension(sLang, dVars)
convertWebExtensionForChrome(sLang, dVars)
createMailExtension(sLang, dVars)
createNodeJSPackage(sLang)
def createWebExtension (sLang, dVars):
"create Web-extension"
|
| ︙ |
Modified helpers.py from [9aa31c58b5] to [f66c7bb7d2].
| ︙ | |||
97 98 99 100 101 102 103 | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - - + + |
def fileFile (spf, dVars):
"return file <spf> as a text filed with variables from <dVars>"
return Template(open(spf, "r", encoding="utf-8").read()).safe_substitute(dVars)
def copyAndFileTemplate (spfSrc, spfDst, dVars):
"write file <spfSrc> as <spfDst> with variables filed with <dVars>"
|
| ︙ |