Grammalecte  Check-in [2fb1c0709e]

Overview
Comment:(marge from tbnext) [lo] code cleaning: useless spaces
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | lo
Files: files | file ages | folders
SHA3-256: 2fb1c0709e268a87707b448d08578c20e359484b3a9af468b87de801ab43d6fe
User & Date: olr on 2018-04-23 18:05:43
Other Links: manifest | tags
Context
2018-04-23
21:37
[fr] faux positif: aussi adj que adj check-in: d1074c1cac user: olr tags: trunk, fr
18:05
(marge from tbnext) [lo] code cleaning: useless spaces check-in: 2fb1c0709e user: olr tags: trunk, lo
18:04
(merge from tbnext) [fx] gc panel: box-shadow on error check-in: 175588b19b user: olr tags: trunk, fx
17:24
[lo] code cleaning: useless spaces check-in: d1b0ac64d0 user: olr tags: lo, 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
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")    
            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")