Ticket #955 (new defect)

Opened 3 years ago

Last modified 3 years ago

Vocabulary translations by widgets is weak

Reported by: atchertchian Assigned to: fguillaume
Priority: P2 Milestone: unspecified
Component: CPSSchemas Version: TRUNK
Severity: normal Keywords: i18n vocabulary widget
Cc:

Description (Last modified by atchertchian)

Vocabulary translations by widgets is weak

Some widgets do not translate vocabulary items taking care of the fact that translation may not exist (thus returning None). For instance :

escape(cpsmcat(vocabulary.getMsgid(value, value)).encode('ISO-8859-15', 'ignore'))

should be:

escape(cpsmcat(vocabulary.getMsgid(value, value), default=value).encode('ISO-8859-15', 'ignore'))

Change History

09/21/05 18:42:55 changed by atchertchian

  • description changed.