Add ending colon to error messages

This commit is contained in:
Cédric Krier committed 2013-03-22 18:22:04 +01:00
1 parent 4b929ed86e
commit 9789348c77
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class TimesheetLine:
def __setup__(cls):
super(TimesheetLine, cls).__setup__()
cls._error_messages.update({
'delete_invoiced_line': 'You can not delete invoiced line',
'delete_invoiced_line': 'You can not delete invoiced line.',
})
@classmethod
+3 -3
View File
@@ -68,9 +68,9 @@ class Work:
},
})
cls._error_messages.update({
'missing_product': 'There is no product on work "%s"',
'missing_list_price': 'There is no list price on work "%s"',
'missing_party': 'There is no party on work "%s"',
'missing_product': 'There is no product on work "%s".',
'missing_list_price': 'There is no list price on work "%s".',
'missing_party': 'There is no party on work "%s".',
})
@staticmethod