refactor: messages::showDaemonOffline enable translations
This commit is contained in:
parent
ebec6331cd
commit
e40cc11fd5
1 changed files with 11 additions and 9 deletions
|
|
@ -313,15 +313,17 @@ bool showDaemonOffline(QWidget *parent)
|
||||||
const auto ignore = message.addButton(QObject::tr("Ignore"), QMessageBox::RejectRole);
|
const auto ignore = message.addButton(QObject::tr("Ignore"), QMessageBox::RejectRole);
|
||||||
const auto disable = message.addButton(QObject::tr("Disable"), QMessageBox::NoRole);
|
const auto disable = message.addButton(QObject::tr("Disable"), QMessageBox::NoRole);
|
||||||
|
|
||||||
message.setText(QString(
|
message.setText(
|
||||||
"<p>There was a problem finding the %1 background service (daemon).</p>"
|
QObject::tr(
|
||||||
"<p>The background service makes %1 work with UAC prompts and the login screen.</p>"
|
"<p>There was a problem finding the %1 background service (daemon).</p>"
|
||||||
"<p>If don't want to use the background service and intentionally stopped it, "
|
"<p>The background service makes %1 work with UAC prompts and the login screen.</p>"
|
||||||
"you can prevent it's use by disabling this feature.</p>"
|
"<p>If don't want to use the background service and intentionally stopped it, "
|
||||||
"<p>If you did not stop the background service intentionally, there may be a problem with it. "
|
"you can prevent it's use by disabling this feature.</p>"
|
||||||
"Please retry or try restarting the %1 service from the Windows services program.</p>"
|
"<p>If you did not stop the background service intentionally, there may be a problem with it. "
|
||||||
)
|
"Please retry or try restarting the %1 service from the Windows services program.</p>"
|
||||||
.arg(kAppName));
|
)
|
||||||
|
.arg(kAppName)
|
||||||
|
);
|
||||||
message.exec();
|
message.exec();
|
||||||
|
|
||||||
if (message.clickedButton() == ignore) {
|
if (message.clickedButton() == ignore) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue