Skip to content

Commit

Permalink
Add translation for error dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
algorys committed Mar 8, 2018
1 parent 04ab349 commit 9695319
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alignak_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ def show_login_window():
while not app_backend.connected:
connect_dialog = MessageQDialog()
connect_dialog.initialize(
'Connection',
_('Connection'),
'error',
'Warning!',
'Access denied! Check your username and password.'
_('Warning!'),
_('Access denied! Check your username and password.')
)
if login.exec_() == login.Accepted:
connect_dialog.close()
Expand Down

0 comments on commit 9695319

Please sign in to comment.