Fix spell
This commit is contained in:
1 parent
235010e9ca
commit
bc803aa126
2 files changed
+5
-5
No files matched your search
@@ -148,10 +148,10 @@ class ViewForm(ParserView):
|
||||
if obj_id < 0:
|
||||
if atype in ('print'):
|
||||
message(_('You must save this record ' \
|
||||
'to use the print button!'), self.window)
|
||||
'to be able to use the print button!'), self.window)
|
||||
if atype in ('action'):
|
||||
message(_('You must save this record ' \
|
||||
'to use the action button!'), self.window)
|
||||
'to be able to use the action button!'), self.window)
|
||||
return False
|
||||
email = {}
|
||||
if 'email' in action:
|
||||
@@ -166,7 +166,7 @@ class ViewForm(ParserView):
|
||||
and self.screen.current_model.id
|
||||
if not obj_id:
|
||||
message(_('You must select a record ' \
|
||||
'to use the relate button !'), self.window)
|
||||
'to be able to use the relate button !'), self.window)
|
||||
return False
|
||||
if 'domain' in act:
|
||||
act['domain'] = str(
|
||||
|
||||
@@ -132,7 +132,7 @@ class Parse(object):
|
||||
|
||||
def add_parameters(self):
|
||||
hb_param = gtk.HBox(spacing=3)
|
||||
hb_param.pack_start(gtk.Label(_('Limit :')), expand=False, fill=False)
|
||||
hb_param.pack_start(gtk.Label(_('Limit:')), expand=False, fill=False)
|
||||
|
||||
self.spin_limit.set_numeric(False)
|
||||
self.spin_limit.set_adjustment(gtk.Adjustment(value=_LIMIT, lower=1,
|
||||
@@ -141,7 +141,7 @@ class Parse(object):
|
||||
|
||||
hb_param.pack_start(self.spin_limit, expand=False, fill=False)
|
||||
|
||||
hb_param.pack_start(gtk.Label(_('Offset :')), expand=False, fill=False)
|
||||
hb_param.pack_start(gtk.Label(_('Offset:')), expand=False, fill=False)
|
||||
|
||||
self.spin_offset.set_numeric(False)
|
||||
self.spin_offset.set_adjustment(gtk.Adjustment(value=0, lower=0,
|
||||
|
||||
Reference in new issue
Block a user