equal
deleted
inserted
replaced
87 text = "" |
87 text = "" |
88 for i, item in enumerate(error): |
88 for i, item in enumerate(error): |
89 if i == 0: |
89 if i == 0: |
90 text += item |
90 text += item |
91 elif i == len(error) - 1: |
91 elif i == len(error) - 1: |
92 text += _(" and %s")%item |
92 text += _(" and %s") % item |
93 else: |
93 else: |
94 text += _(", %s")%item |
94 text += _(", %s") % item |
95 message = _("Form isn't complete. %s must be filled!") % text |
95 message = _("Form isn't complete. %s must be filled!") % text |
96 elif not TestIdentifier(action_name): |
96 elif not TestIdentifier(action_name): |
97 message = _("\"%s\" is not a valid identifier!") % action_name |
97 message = _("\"%s\" is not a valid identifier!") % action_name |
98 elif action_name.upper() in IEC_KEYWORDS: |
98 elif action_name.upper() in IEC_KEYWORDS: |
99 message = _("\"%s\" is a keyword. It can't be used!") % action_name |
99 message = _("\"%s\" is a keyword. It can't be used!") % action_name |