Replace "clear record" by "clear field"

issue5876
review42911002
This commit is contained in:
Sascha Gresk committed 2017-12-19 20:10:34 +01:00
1 parent 2caa71deeb
commit 66f5d83967
2 files changed
+2 -2

No files matched your search

@@ -303,7 +303,7 @@ class Many2One(Widget):
self.set_text(field.get_client(record))
if self.has_target(field.get(record)):
stock1, tooltip1 = 'tryton-open', _('Open the record <F2>')
stock2, tooltip2 = 'tryton-clear', _('Clear the record <Del>')
stock2, tooltip2 = 'tryton-clear', _('Clear the field <Del>')
else:
stock1, tooltip1 = None, ''
stock2, tooltip2 = 'tryton-find', _('Search a record <F2>')
@@ -581,7 +581,7 @@ class M2O(GenericText):
if field.get(record):
stock1, tooltip1 = 'tryton-open', _("Open the record <F2>")
stock2, tooltip2 = 'tryton-clear', _("Clear the record <Del>")
stock2, tooltip2 = 'tryton-clear', _("Clear the field <Del>")
else:
stock1, tooltip1 = None, ''
stock2, tooltip2 = 'tryton-find', _("Search a record <F2>")