partitionmanager: adjust to KLocalizedString changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-18 00:56:50 +03:00
parent 750566a455
commit 92e5067a56
2 changed files with 3 additions and 3 deletions

View file

@ -144,7 +144,7 @@ void MainWindow::closeEvent(QCloseEvent* event)
i18ncp("@info", "<p>Do you really want to quit the application?</p><p>There is still an operation pending.</p>", i18ncp("@info", "<p>Do you really want to quit the application?</p><p>There is still an operation pending.</p>",
"<p>Do you really want to quit the application?</p><p>There are still %1 operations pending.</p>", operationStack().size()), "<p>Do you really want to quit the application?</p><p>There are still %1 operations pending.</p>", operationStack().size()),
i18nc("@title:window", "Discard Pending Operations and Quit?"), i18nc("@title:window", "Discard Pending Operations and Quit?"),
KGuiItem(i18nc("@action:button", "Quit <application>%1</application>", KGlobal::mainComponent().aboutData()->programName()), "arrow-right"), KGuiItem(i18nc("@action:button", "Quit %1", KGlobal::mainComponent().aboutData()->programName()), "arrow-right"),
KStandardGuiItem::cancel(), "reallyQuit") == KMessageBox::Cancel) KStandardGuiItem::cancel(), "reallyQuit") == KMessageBox::Cancel)
{ {
event->ignore(); event->ignore();

View file

@ -93,9 +93,9 @@ bool checkPermissions()
return KMessageBox::warningContinueCancel(NULL, i18nc("@info", return KMessageBox::warningContinueCancel(NULL, i18nc("@info",
"<p><warning>You do not have administrative privileges.</warning></p>" "<p><warning>You do not have administrative privileges.</warning></p>"
"<p>It is possible to run <application>%1</application> without these privileges. " "<p>It is possible to run %1 without these privileges. "
"You will, however, <emphasis>not</emphasis> be allowed to apply operations.</p>" "You will, however, <emphasis>not</emphasis> be allowed to apply operations.</p>"
"<p>Do you want to continue running <application>%1</application>?</p>", "<p>Do you want to continue running %1?</p>",
KGlobal::mainComponent().aboutData()->programName()), KGlobal::mainComponent().aboutData()->programName()),
i18nc("@title:window", "No administrative privileges"), i18nc("@title:window", "No administrative privileges"),
KGuiItem(i18nc("@action:button", "Run without administrative privileges"), "arrow-right"), KGuiItem(i18nc("@action:button", "Run without administrative privileges"), "arrow-right"),