refactor: Messages::showFirstServerStartMessage
add app name to dialog title
enable translations
This commit is contained in:
parent
e038dd2b0b
commit
bc9b1d1178
1 changed files with 3 additions and 4 deletions
|
|
@ -131,12 +131,11 @@ void showCloseReminder(QWidget *parent)
|
||||||
void showFirstServerStartMessage(QWidget *parent)
|
void showFirstServerStartMessage(QWidget *parent)
|
||||||
{
|
{
|
||||||
QMessageBox::information(
|
QMessageBox::information(
|
||||||
parent, "Server is running",
|
parent, QObject::tr("%1 Server").arg(kAppName),
|
||||||
QString(
|
QObject::tr(
|
||||||
"<p>Great, the %1 server is now running.</p>"
|
"<p>Great, the %1 server is now running.</p>"
|
||||||
"<p>Now you can connect your client computers to this server. "
|
"<p>Now you can connect your client computers to this server. "
|
||||||
"You should see a prompt here on the server when a new client "
|
"You should see a prompt here on the server when a new client tries to connect.</p>"
|
||||||
"tries to connect.</p>"
|
|
||||||
)
|
)
|
||||||
.arg(kAppName)
|
.arg(kAppName)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue