Bugfix in the system for refreshing layouts, and removed generation of '_valid' i18n labels, that almost doubled the size of po files and are almost never needed.

This commit is contained in:
Gaetan Delannay 2010-11-16 15:32:47 +01:00
parent 3fd2d62b30
commit cccdc12372
6 changed files with 15 additions and 16 deletions

View file

@ -44,7 +44,6 @@ class PoMessage:
MSG_showAllStatesInPhase = 'Show all states in phase'
USER = 'User'
POD_ASKACTION = 'Trigger related action'
DEFAULT_VALID_ERROR = 'Please fill or correct this.'
REF_NO = 'No object.'
REF_ADD = 'Add a new one'
REF_NAME = 'Name'
@ -110,6 +109,7 @@ class PoMessage:
NO = 'No'
FIELD_REQUIRED = 'Please fill this field.'
FILE_REQUIRED = 'Please select a file.'
FIELD_INVALID = 'Please fill or correct this.'
IMAGE_REQUIRED = 'The uploaded file must be an image.'
def __init__(self, id, msg, default, fuzzy=False, comments=[],