diff --git a/tryton/gui/window/view_form/view/form.py b/tryton/gui/window/view_form/view/form.py index eeb596cf1d..afeecc8c38 100644 --- a/tryton/gui/window/view_form/view/form.py +++ b/tryton/gui/window/view_form/view/form.py @@ -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( diff --git a/tryton/gui/window/view_form/widget_search/form.py b/tryton/gui/window/view_form/widget_search/form.py index 32b63f571b..575c880caa 100644 --- a/tryton/gui/window/view_form/widget_search/form.py +++ b/tryton/gui/window/view_form/widget_search/form.py @@ -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,