diff --git a/tryton/gui/main.py b/tryton/gui/main.py index 66d5271d88..9f41ac59b7 100644 --- a/tryton/gui/main.py +++ b/tryton/gui/main.py @@ -231,8 +231,8 @@ class DBCreate(object): common.warning(_('The database name must contain ' \ 'only normal characters or "_".\n' \ 'You must avoid all accents, space ' \ - 'or special characters.'), _('Bad database name !'), - parent=parent) + 'or special characters.'), parent, + _('Bad database name !')) else: break