- add "make build-pot" to build or update translations/tiramisu.pot files
- corrections in error's message in tiramisu/option.py - update tiramisu.pot - update fr's translation
This commit is contained in:
@ -83,8 +83,8 @@ class BaseInformation(object):
|
||||
elif default is not None:
|
||||
return default
|
||||
else:
|
||||
raise ValueError(_("Information's item"
|
||||
"not found: {0}").format(key))
|
||||
raise ValueError(_("information's item"
|
||||
" not found: {0}").format(key))
|
||||
except AttributeError:
|
||||
raise AttributeError(_('{0} has no attribute '
|
||||
'impl_get_information').format(
|
||||
@ -704,7 +704,7 @@ class DomainnameOption(Option):
|
||||
raise ValueError(_("invalid value for {0}, must have dot"
|
||||
"").format(self._name))
|
||||
if len(value) > length:
|
||||
raise ValueError(_("invalid domainname's length for "
|
||||
raise ValueError(_("invalid domainname's length for"
|
||||
" {0} (max {1})").format(self._name, length))
|
||||
if len(value) == 1:
|
||||
raise ValueError(_("invalid domainname's length for {0} (min 2)"
|
||||
@ -728,7 +728,7 @@ class OptionDescription(_ReadOnlyOption):
|
||||
|
||||
"""
|
||||
if not valid_name(name):
|
||||
raise ValueError(_("invalid name: "
|
||||
raise ValueError(_("invalid name:"
|
||||
" {0} for optiondescription").format(name))
|
||||
self._name = name
|
||||
self._impl_informations = {}
|
||||
@ -905,7 +905,7 @@ class OptionDescription(_ReadOnlyOption):
|
||||
raise ValueError(_("no child has same nom has master group"
|
||||
" for: {0}").format(self._name))
|
||||
else:
|
||||
raise ValueError(_('group_type : {0}'
|
||||
raise ValueError(_('group_type: {0}'
|
||||
' not allowed').format(group_type))
|
||||
|
||||
def impl_get_group_type(self):
|
||||
|
Reference in New Issue
Block a user