Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if value not in self.charset[self._character_set]:
- msg = "'%s' not a valid collation for charset '%s'"
- raise ValueError(msg % (value, self._character_set))
- ===========
- Changed to:
- ===========
- if value not in self.charset[self._character_set]:
- msg = _("%(value)s not a valid collation for charset % (_character_set)s") % {'value':value,'_character_set':self._character_set}
- raise ValueError(msg)
Advertisement
Add Comment
Please, Sign In to add comment