Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Add-ons
Commits
54fdc4f5
Commit
54fdc4f5
authored
Mar 11, 2016
by
Luigi Toscano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI strings: fix capitalization, use better term
parent
28b03893
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
plugins/messageviewerplugins/common/expandurlplugin/messageviewer_expandurlplugin.json
...common/expandurlplugin/messageviewer_expandurlplugin.json
+1
-1
plugins/messageviewerplugins/common/expandurlplugin/viewerpluginexpandurlinterface.cpp
...common/expandurlplugin/viewerpluginexpandurlinterface.cpp
+2
-2
No files found.
plugins/messageviewerplugins/common/expandurlplugin/messageviewer_expandurlplugin.json
View file @
54fdc4f5
{
"KPlugin"
:
{
"Name"
:
"Expand U
rl
"
,
"Name"
:
"Expand U
RL
"
,
"ServiceTypes"
:
[
"MessageViewer/ViewerCommonPlugin"
],
...
...
plugins/messageviewerplugins/common/expandurlplugin/viewerpluginexpandurlinterface.cpp
View file @
54fdc4f5
...
...
@@ -54,7 +54,7 @@ void ViewerPluginExpandurlInterface::execute()
MessageViewer
::
ScamExpandUrlJob
*
job
=
new
MessageViewer
::
ScamExpandUrlJob
(
this
);
job
->
expandedUrl
(
mCurrentUrl
);
}
else
{
KPIM
::
BroadcastStatus
::
instance
()
->
setStatusMsg
(
i18n
(
"Current U
rl
is not a shorten
url
."
));
KPIM
::
BroadcastStatus
::
instance
()
->
setStatusMsg
(
i18n
(
"Current U
RL
is not a shorten
ed URL
."
));
}
}
}
...
...
@@ -67,7 +67,7 @@ ViewerPluginInterface::SpecificFeatureTypes ViewerPluginExpandurlInterface::feat
void
ViewerPluginExpandurlInterface
::
createAction
(
KActionCollection
*
ac
)
{
if
(
ac
)
{
mAction
=
new
QAction
(
i18n
(
"Expand U
rl
"
),
this
);
mAction
=
new
QAction
(
i18n
(
"Expand U
RL
"
),
this
);
ac
->
addAction
(
QStringLiteral
(
"expand_short_url"
),
mAction
);
ac
->
setShortcutsConfigurable
(
mAction
,
false
);
connect
(
mAction
,
&
QAction
::
triggered
,
this
,
&
ViewerPluginExpandurlInterface
::
slotActivatePlugin
);
...
...
Write
Preview
Markdown
is supported
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