Grammalecte  Check-in [6f6c3f7815]

Overview
Comment:[fr] revert: indiquer la date de génération des dicos
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr
Files: files | file ages | folders
SHA3-256: 6f6c3f781579ae41fd3a3f554243711f03337ec8cb71a645dcf3c10ceb374f16
User & Date: olr on 2017-05-23 08:48:08
Other Links: manifest | tags
Context
2017-05-23
17:35
[fr] faux positifs: trait d’union à l’impératif check-in: a94bd0361a user: olr tags: trunk, fr
08:48
[fr] revert: indiquer la date de génération des dicos check-in: 6f6c3f7815 user: olr tags: trunk, fr
2017-05-22
08:59
[fr] ne plus indiquer la date de génération des dicos check-in: efc9a27119 user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/dictionnaire/genfrdic.py from [352e7cc9df] to [d35ae27b29].

318
319
320
321
322
323
324

325
326
327
328
329
330
331
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332







+







        "Écrire le fichier des affixes (.aff)"
        echo(' * Dictionnaire >> [ {}.aff ]'.format(dTplVars['asciiName']))
        info = "# This Source Code Form is subject to the terms of the Mozilla Public\n" + \
               "# License, v. 2.0. If a copy of the MPL was not distributed with this\n" + \
               "# file, You can obtain one at http://mozilla.org/MPL/2.0/.\n\n" + \
               "# AFFIXES DU {} v{}\n".format(dTplVars['name'], self.sVersion) + \
               "# par Olivier R. -- licence MPL 2.0\n" + \
               "# Généré le " + time.strftime("%d-%m-%Y à %H:%M") + "\n" \
               "# Pour améliorer le dictionnaire, allez sur http://www.dicollecte.org/\n\n"
               
        with open(spDst+'/'+dTplVars['asciiName']+'.aff', 'w', encoding='utf-8', newline="\n") as hDst:
            hDst.write(info)
            hDst.write(self.sSettings + "\n")
            if self.bShortenTags:
                hDst.write("AM {}\n".format(len(self.dAM)))