Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
feeaa9c9
Commit
feeaa9c9
authored
Apr 15, 2015
by
poixen
Browse files
Merge pull request #970 from poixen/updated_username_message
updated second string
parents
53d25e73
751315a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/window_main.cpp
View file @
feeaa9c9
...
...
@@ -261,7 +261,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32
break
;
}
case
Response
::
RespUsernameInvalid
:
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"Invalid username.
\n
Available chars: [a-z][A-Z][0-9][-_]
"
));
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"Invalid username.
\n
You may only use A-Z, a-z, 0-9, _, and - in your username.
"
));
break
;
case
Response
::
RespRegistrationRequired
:
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"This server requires user registration."
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment