Grammalecte  Check-in [d1b0ac64d0]

Overview
Comment:[lo] code cleaning: useless spaces
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | lo | tbnext
Files: files | file ages | folders
SHA3-256: d1b0ac64d0465e1f490ad33c84827614e9b008c38ad1f3e8fd0bbde78844101e
User & Date: olr on 2018-04-23 17:24:47
Other Links: branch diff | manifest | tags
Context
2018-04-23
18:05
(marge from tbnext) [lo] code cleaning: useless spaces check-in: 2fb1c0709e user: olr tags: trunk, lo
17:48
[fx] gc panel: box-shadow on error check-in: 8023fecb85 user: olr tags: fx, tbnext
17:24
[lo] code cleaning: useless spaces check-in: d1b0ac64d0 user: olr tags: lo, tbnext
17:24
[fr] pt: pomme de … check-in: 0d7706183f user: olr tags: fr, tbnext
Changes

Modified gc_lang/fr/oxt/DictOptions/LexiconEditor.py from [a96f39e0bb] to [c15ba78e1d].

422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
            self.xSettingNode.commitChanges()
            self.xNumDic.Label = "0"
            self.xDateDic.Label = self.dUI.get("void", "#err")
        MessageBox(self.xDocument, self.dUI.get('save_message', "#err"), self.dUI.get('save_title', "#err"))

    def exportDictionary (self):
        try:
            spfExported = os.path.join(os.path.expanduser("~"), "fr.personal.json")    
            sJSON = self.xOptionNode.getPropertyValue("personal_dic")
            if sJSON:
                with open(spfExported, "w", encoding="utf-8") as hDst:
                    hDst.write(sJSON)
                sMessage = self.dUI.get('export_message', "#err_msg: %s") % spfExported
            else:
                sMessage = self.dUI.get('empty_dictionary', "#err")







|







422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
            self.xSettingNode.commitChanges()
            self.xNumDic.Label = "0"
            self.xDateDic.Label = self.dUI.get("void", "#err")
        MessageBox(self.xDocument, self.dUI.get('save_message', "#err"), self.dUI.get('save_title', "#err"))

    def exportDictionary (self):
        try:
            spfExported = os.path.join(os.path.expanduser("~"), "fr.personal.json")
            sJSON = self.xOptionNode.getPropertyValue("personal_dic")
            if sJSON:
                with open(spfExported, "w", encoding="utf-8") as hDst:
                    hDst.write(sJSON)
                sMessage = self.dUI.get('export_message', "#err_msg: %s") % spfExported
            else:
                sMessage = self.dUI.get('empty_dictionary', "#err")