Various corrections on dialog texts
This commit is contained in:
1 parent
0c7b983906
commit
70f82c6d0b
3 files changed
+12
-12
No files matched your search
+1
-1
@@ -1060,7 +1060,7 @@ class Main(object):
|
||||
if quiet:
|
||||
return False
|
||||
common.warning(_('You can not log into the system!\n' \
|
||||
'Verify if you have an menu defined on your user.'),
|
||||
'Verify if you have a menu defined on your user.'),
|
||||
'Access Denied!', self.window)
|
||||
rpc.logout()
|
||||
self.refresh_ssl()
|
||||
|
||||
@@ -261,7 +261,7 @@ class DBCreate(object):
|
||||
self.entry_adminpasswd.set_activates_default(True)
|
||||
self.tooltips.set_tip(self.entry_adminpasswd, _("Choose a password for " \
|
||||
"the admin user of the new database. With these credentials you " \
|
||||
"are later able to login into the database:\n" \
|
||||
"will be later able to login into the database:\n" \
|
||||
"User name: admin\n" \
|
||||
"Password: <The password you set here>"), None)
|
||||
table.attach(self.entry_adminpasswd, 1, 3, 7, 8)
|
||||
@@ -330,11 +330,10 @@ class DBCreate(object):
|
||||
_('Wrong characters in database name!'))
|
||||
continue
|
||||
elif admin_passwd.get_text() != admin_passwd2.get_text():
|
||||
common.warning(_("The new admin password " \
|
||||
"doesn't match to the retyped password.\n" \
|
||||
"Try to type the same passwords in the " \
|
||||
"admin password and the confirm admin password " \
|
||||
"fields again."), parent, \
|
||||
common.warning(
|
||||
_("The new admin password " \
|
||||
"doesn't match the confirmation field.\n"),
|
||||
parent,
|
||||
_("Passwords doesn't match!"))
|
||||
continue
|
||||
elif not admin_passwd.get_text():
|
||||
@@ -350,10 +349,10 @@ class DBCreate(object):
|
||||
and admin_passwd.get_text():
|
||||
if rpc.db_exec(url_m.group(1), int(url_m.group(2)),
|
||||
'db_exist', dbname):
|
||||
common.warning(_("Database with the same name " \
|
||||
common.warning(_("A database with the same name " \
|
||||
"already exists.\n" \
|
||||
"Try another database name."), parent,
|
||||
_("Databasename already exist!"))
|
||||
_("This database name already exist!"))
|
||||
self.entry_dbname.set_text("")
|
||||
self.entry_dbname.grab_focus()
|
||||
continue
|
||||
@@ -370,8 +369,8 @@ class DBCreate(object):
|
||||
rpcprogress.run()
|
||||
except Exception, exception:
|
||||
if str(exception[0]) == "AccessDenied":
|
||||
common.warning(_("Sorry, the Tryton server " \
|
||||
"password seems wrong. Please type again.") \
|
||||
common.warning(_("Sorry, wrong password for " \
|
||||
"the Tryton server. Please try again.") \
|
||||
, parent, _("Access denied!"))
|
||||
self.entry_serverpasswd.set_text("")
|
||||
self.entry_serverpasswd.grab_focus()
|
||||
|
||||
@@ -21,7 +21,8 @@ class DBBackupDrop(object):
|
||||
_('Could not connect to server!') + '</b>')
|
||||
else:
|
||||
label.set_label('<b>' + \
|
||||
_('Incompatible version of the server!') + '</b>')
|
||||
_('This client version is not compatible with the server!') +\
|
||||
'</b>')
|
||||
db_widget.hide()
|
||||
label.show()
|
||||
elif res == 0:
|
||||
|
||||
Reference in new issue
Block a user