Add more KUIT string contexts.
This commit is contained in:
parent
6676dd8c03
commit
35db33089b
|
@ -155,9 +155,9 @@ void ConfigureOptionsDialog::onComboBackendActivated(int)
|
|||
xi18nc("@info",
|
||||
"<para>Do you really want to change the backend?</para>"
|
||||
"<para><warning>This will also rescan devices and thus clear the list of pending operations.</warning></para>"),
|
||||
i18nc("@title:window", "Really Change Backend?"),
|
||||
KGuiItem(i18nc("@action:button", "Change the Backend"), QStringLiteral("arrow-right")),
|
||||
KGuiItem(i18nc("@action:button", "Do Not Change the Backend"), QStringLiteral("dialog-cancel")), QStringLiteral("reallyChangeBackend")) == KMessageBox::Continue) {
|
||||
xi18nc("@title:window", "Really Change Backend?"),
|
||||
KGuiItem(xi18nc("@action:button", "Change the Backend"), QStringLiteral("arrow-right")),
|
||||
KGuiItem(xi18nc("@action:button", "Do Not Change the Backend"), QStringLiteral("dialog-cancel")), QStringLiteral("reallyChangeBackend")) == KMessageBox::Continue) {
|
||||
settingsChangedSlot();
|
||||
} else
|
||||
advancedPageWidget().setBackend(CoreBackendManager::defaultBackendName());
|
||||
|
|
18
src/main.cpp
18
src/main.cpp
|
@ -49,18 +49,18 @@ int Q_DECL_IMPORT main(int argc, char* argv[])
|
|||
QStringLiteral("partitionmanager"),
|
||||
xi18nc("@title", "<application>KDE Partition Manager</application>"),
|
||||
QStringLiteral(VERSION),
|
||||
i18nc("@title", "Manage your disks, partitions and file systems"),
|
||||
xi18nc("@title", "Manage your disks, partitions and file systems"),
|
||||
KAboutLicense::GPL_V3,
|
||||
i18nc("@info:credit", "© 2008-2013 Volker Lanz\n© 2012-2016 Andrius Štikonas"));
|
||||
xi18nc("@info:credit", "© 2008-2013 Volker Lanz\n© 2012-2016 Andrius Štikonas"));
|
||||
aboutData.setOrganizationDomain(QByteArray("kde.org"));
|
||||
aboutData.setProductName(QByteArray("partitionmanager"));
|
||||
|
||||
aboutData.addAuthor(i18nc("@info:credit", "Volker Lanz"), i18nc("@info:credit", "Former maintainer"));
|
||||
aboutData.addAuthor(i18nc("@info:credit", "Andrius Štikonas"), i18nc("@info:credit", "Maintainer"), QStringLiteral("andrius@stikonas.eu"));
|
||||
aboutData.addAuthor(i18n("Teo Mrnjavac"), i18nc("@info:credit", "Calamares maintainer"), QStringLiteral("teo@kde.org"));
|
||||
aboutData.addAuthor(xi18nc("@info:credit", "Volker Lanz"), xi18nc("@info:credit", "Former maintainer"));
|
||||
aboutData.addAuthor(xi18nc("@info:credit", "Andrius Štikonas"), xi18nc("@info:credit", "Maintainer"), QStringLiteral("andrius@stikonas.eu"));
|
||||
aboutData.addAuthor(xi18n("Teo Mrnjavac"), i18nc("@info:credit", "Calamares maintainer"), QStringLiteral("teo@kde.org"));
|
||||
aboutData.setHomepage(QStringLiteral("https://www.kde.org/applications/system/kdepartitionmanager"));
|
||||
|
||||
aboutData.addCredit(i18n("Hugo Pereira Da Costa"), i18nc("@info:credit", "Partition Widget Design"), QStringLiteral("hugo@oxygen-icons.org"));
|
||||
aboutData.addCredit(i18n("Hugo Pereira Da Costa"), xi18nc("@info:credit", "Partition Widget Design"), QStringLiteral("hugo@oxygen-icons.org"));
|
||||
KAboutData::setApplicationData(aboutData);
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||
KCrash::initialize();
|
||||
|
@ -70,9 +70,9 @@ int Q_DECL_IMPORT main(int argc, char* argv[])
|
|||
parser.addHelpOption();
|
||||
parser.addVersionOption();
|
||||
aboutData.setupCommandLine(&parser);
|
||||
parser.addOption(QCommandLineOption(QLatin1Literal("dontsu"), i18nc("@info:shell", "Do not try to gain super user privileges")));
|
||||
parser.addOption(QCommandLineOption(QLatin1Literal("advconfig"), i18nc("@info:shell", "Show advanced tab in configuration dialog")));
|
||||
parser.addPositionalArgument(QStringLiteral("device"), i18nc("@info:shell", "Device(s) to manage"), QStringLiteral("[device...]"));
|
||||
parser.addOption(QCommandLineOption(QLatin1Literal("dontsu"), xi18nc("@info:shell", "Do not try to gain super user privileges")));
|
||||
parser.addOption(QCommandLineOption(QLatin1Literal("advconfig"), xi18nc("@info:shell", "Show advanced tab in configuration dialog")));
|
||||
parser.addPositionalArgument(QStringLiteral("device"), xi18nc("@info:shell", "Device(s) to manage"), QStringLiteral("[device...]"));
|
||||
|
||||
parser.process(app);
|
||||
aboutData.processCommandLine(&parser);
|
||||
|
|
|
@ -78,8 +78,8 @@ bool checkPermissions()
|
|||
"You will, however, <emphasis>not</emphasis> be allowed to apply operations.</para>"
|
||||
"<para>Do you want to continue running <application>%1</application>?</para>",
|
||||
QGuiApplication::applicationDisplayName()),
|
||||
i18nc("@title:window", "No administrative privileges"),
|
||||
KGuiItem(i18nc("@action:button", "Run without administrative privileges"), QStringLiteral("arrow-right")),
|
||||
xi18nc("@title:window", "No administrative privileges"),
|
||||
KGuiItem(xi18nc("@action:button", "Run without administrative privileges"), QStringLiteral("arrow-right")),
|
||||
KStandardGuiItem::cancel(),
|
||||
QStringLiteral("runWithoutRootPrivileges")) == KMessageBox::Continue;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ bool loadBackend()
|
|||
xi18nc("@info", "<para>The configured backend plugin \"%1\" could not be loaded.</para>"
|
||||
"<para>Loading the default backend plugin \"%2\" instead.</para>",
|
||||
Config::backend(), CoreBackendManager::defaultBackendName()),
|
||||
i18nc("@title:window", "Error: Could Not Load Backend Plugin"));
|
||||
xi18nc("@title:window", "Error: Could Not Load Backend Plugin"));
|
||||
Config::setBackend(CoreBackendManager::defaultBackendName());
|
||||
} else {
|
||||
KMessageBox::error(nullptr,
|
||||
|
|
Loading…
Reference in New Issue