Overview
Comment: | [fr][fx] WebExtension: install.rdf -> manifest.json |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fr | fx | dicfac |
Files: | files | file ages | folders |
SHA3-256: |
96301a30bf0a6a13018df10f4899dcc7 |
User & Date: | olr on 2020-05-28 17:42:03 |
Other Links: | branch diff | manifest | tags |
Context
2020-05-28
| ||
18:09 | [fr] mise à jour du dictionnaire (dictionnaire avec affixes factorisés) check-in: 5a7f3c6402 user: olr tags: fr, dicfac | |
17:42 | [fr][fx] WebExtension: install.rdf -> manifest.json check-in: 96301a30bf user: olr tags: fr, fx, dicfac | |
2020-05-21
| ||
16:17 | [fr] affixes: nouveaux drapeaux féminins complémentaires check-in: 283b27a860 user: olr tags: fr, dicfac | |
Changes
Deleted gc_lang/fr/dictionnaire/_templates/moz/install.rdf version [95b4de5d2f].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Added gc_lang/fr/dictionnaire/_templates/moz/manifest.json version [2b859e0ab8].
> > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | { "name": "Dictionnaire français", "short_name": "French Dict.", "version": "${version}", "description": "Dictionnaire orthographique pour la langue française.", "dictionaries": { "fr": "dictionaries/fr-classic.dic" }, "homepage_url": "https://grammalecte.net", "browser_specific_settings": { "gecko": { "id": "fr-dicollecte@dictionaries.addons.mozilla.org" } }, "manifest_version": 2 } |
Modified gc_lang/fr/dictionnaire/genfrdic.py from [9dbea97923] to [b6e2434a68].
︙ | ︙ | |||
586 587 588 589 590 591 592 | def createMozillaExtensions (self, spBuild, dTplVars, lDictVars, spDestGL=""): # Mozilla extension 1 echo(" * Dictionnaire >> extension pour Mozilla") dTplVars['version'] = self.sVersion sExtensionName = EXT_PREFIX_MOZ + self.sVersion spExt = spBuild + '/' + sExtensionName dir_util.mkpath(spExt+'/dictionaries') | | | 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 | def createMozillaExtensions (self, spBuild, dTplVars, lDictVars, spDestGL=""): # Mozilla extension 1 echo(" * Dictionnaire >> extension pour Mozilla") dTplVars['version'] = self.sVersion sExtensionName = EXT_PREFIX_MOZ + self.sVersion spExt = spBuild + '/' + sExtensionName dir_util.mkpath(spExt+'/dictionaries') copyTemplate('_templates/moz', spExt, 'manifest.json', dTplVars) spDict = spBuild + '/' + PREFIX_DICT_PATH + self.sVersion file_util.copy_file(spDict+'/fr-classique.dic', spExt+'/dictionaries/fr-classic.dic') file_util.copy_file(spDict+'/fr-classique.aff', spExt+'/dictionaries/fr-classic.aff') copyTemplate('orthographe', spExt, 'README_dict_fr.txt', dTplVars) createZipFiles(spExt, spBuild, sExtensionName + '.xpi') # Grammalecte if spDestGL: |
︙ | ︙ | |||
938 939 940 941 942 943 944 | morph = self.lexMorph() lFlexions = [(self.lemma, morph, self.di)] if iPR == 0 and not self.flags.endswith('()') else [] lFlexPrefix = [] lFlexSuffix = [] for sFlag in makeLongFlags(self.flags): if sFlag not in dFlags: if sFlag not in ['**', '()', '||', '--']: | | | 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 | morph = self.lexMorph() lFlexions = [(self.lemma, morph, self.di)] if iPR == 0 and not self.flags.endswith('()') else [] lFlexPrefix = [] lFlexSuffix = [] for sFlag in makeLongFlags(self.flags): if sFlag not in dFlags: if sFlag not in ['**', '()', '||', '--']: lFlexions.append( (self.lemma, '[unknown flag: {}]'.format(sFlag), self.di) ) echo("ERROR: " + self.lemma + ' - unknown flag: ' + sFlag) else: oFlag = dFlags[sFlag] if not oFlag.bSfx: # cas des préfixes for oRule in oFlag.lRules: if oRule.motif.search(self.lemma): |
︙ | ︙ |