equal
deleted
inserted
replaced
64 text = "" |
64 text = "" |
65 for i, item in enumerate(error): |
65 for i, item in enumerate(error): |
66 if i == 0: |
66 if i == 0: |
67 text += item |
67 text += item |
68 elif i == len(error) - 1: |
68 elif i == len(error) - 1: |
69 text += _(" and %s")%item |
69 text += _(" and %s") % item |
70 else: |
70 else: |
71 text += ", %s"%item |
71 text += ", %s" % item |
72 dialog = wx.MessageDialog(self, |
72 dialog = wx.MessageDialog(self, |
73 _("Form isn't complete. %s must be filled!") % text, |
73 _("Form isn't complete. %s must be filled!") % text, |
74 _("Error"), wx.OK|wx.ICON_ERROR) |
74 _("Error"), wx.OK|wx.ICON_ERROR) |
75 dialog.ShowModal() |
75 dialog.ShowModal() |
76 dialog.Destroy() |
76 dialog.Destroy() |