Overview
Comment: | [lo] conjugueur: code clarification |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | lo |
Files: | files | file ages | folders |
SHA3-256: |
32fd16071aa3d2472201465252658c55 |
User & Date: | olr on 2019-05-06 13:55:14 |
Other Links: | manifest | tags |
Context
2019-05-06
| ||
13:56 | [fx][fr][js] conjugueur: table de conjugaison dans le module conj au lieu de l’ui check-in: 397ebe76eb user: olr tags: trunk, fr, fx | |
13:55 | [lo] conjugueur: code clarification check-in: 32fd16071a user: olr tags: trunk, lo | |
10:30 | [lo][fr][py] conjugueur: table de conjugaison dans le module conj au lieu de l’ui check-in: b8c51fb5f6 user: olr tags: trunk, fr, lo | |
Changes
Modified gc_lang/fr/oxt/Conjugueur/Conjugueur.py from [04a573e2a5] to [0d1a5ebb95].
︙ | ︙ | |||
245 246 247 248 249 250 251 | try: if xActionEvent.ActionCommand == 'Close': self.xContainer.endExecute() elif xActionEvent.ActionCommand == 'New': self._newVerb() elif xActionEvent.ActionCommand == 'Change': if self.oVerb: | | | 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | try: if xActionEvent.ActionCommand == 'Close': self.xContainer.endExecute() elif xActionEvent.ActionCommand == 'New': self._newVerb() elif xActionEvent.ActionCommand == 'Change': if self.oVerb: self._displayResults() else: print(str(xActionEvent)) except: traceback.print_exc() # XJobExecutor def trigger (self, args): |
︙ | ︙ | |||
306 307 308 309 310 311 312 | elif self.oVerb.nPronominable == 1: self.opro.State = True self.opro.Enabled = False else: # -1 or 1 or error self.opro.State = False self.opro.Enabled = False self.option_msg.Label = "" | | | > | 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 | elif self.oVerb.nPronominable == 1: self.opro.State = True self.opro.Enabled = False else: # -1 or 1 or error self.opro.State = False self.opro.Enabled = False self.option_msg.Label = "" self._displayResults() def _displayResults (self): try: dConjTable = self.oVerb.createConjTable(self.opro.State, self.oneg.State, self.otco.State, self.oint.State, self.ofem.State) self.input.Text = "" # infinitif self.infi.Label = dConjTable["infi"] # participe présent self.ppre.Label = dConjTable["ppre"] # participes passés self.ppas1.Label = dConjTable["ppas1"] |
︙ | ︙ |