Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
221a3fec
Commit
221a3fec
authored
Apr 05, 2021
by
Nate Graham
Browse files
Improve grammatical correctness and clarity of distro-specific error messages
CCBUG: 424100
parent
f9348542
Changes
2
Hide whitespace changes
Inline
Side-by-side
discover/DiscoverObject.cpp
View file @
221a3fec
...
...
@@ -154,7 +154,10 @@ DiscoverObject::DiscoverObject(CompactMode mode, const QVariantMap &initialPrope
found
|=
b
->
hasApplications
();
if
(
!
found
)
Q_EMIT
openErrorPage
(
i18n
(
"No application back-ends found, please report to your distribution."
));
Q_EMIT
openErrorPage
(
i18n
(
"Discover currently cannot be used to install any apps "
"because none of its app backends are available. Please "
"report this error to your distribution."
));
},
this
);
...
...
libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp
View file @
221a3fec
...
...
@@ -116,7 +116,7 @@ void PackageKitNotifier::checkOfflineUpdates()
connect
(
trans
,
&
PackageKit
::
Transaction
::
errorCode
,
this
,
[](
PackageKit
::
Transaction
::
Error
/*error*/
,
const
QString
&
details
)
{
KNotification
::
event
(
QStringLiteral
(
"OfflineUpdateRepairFailed"
),
i18n
(
"Repair Failed"
),
i18n
(
"Please report to your distribution
: %1
"
,
details
),
x
i18n
c
(
"
@info"
,
"%1<nl/>
Please report
this error
to your distribution
.
"
,
details
),
{},
KNotification
::
Persistent
,
QStringLiteral
(
"org.kde.discovernotifier"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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