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
PIM
KDE PIM Add-ons
Commits
384b429b
Commit
384b429b
authored
Nov 02, 2021
by
Laurent Montel
😁
Browse files
Add i18n
parent
03e1f033
Pipeline
#93166
passed with stage
in 50 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/scamsettings/scamconfigureutils.cpp
View file @
384b429b
...
...
@@ -5,8 +5,18 @@
*/
#include
"scamconfigureutils.h"
#include
<KLocalizedString>
QString
ScamConfigureUtils
::
convertEnumToString
(
MessageViewer
::
ScamDetectionInfo
::
ScamDetectionField
flag
)
{
// TODO
switch
(
flag
)
{
case
MessageViewer
::
ScamDetectionInfo
::
ScamDetectionField
::
None
:
break
;
case
MessageViewer
::
ScamDetectionInfo
::
ScamDetectionField
::
DisableAll
:
return
i18n
(
"Disable All Check"
);
case
MessageViewer
::
ScamDetectionInfo
::
ScamDetectionField
::
RedirectUrl
:
return
i18n
(
"Redirect Url"
);
case
MessageViewer
::
ScamDetectionInfo
::
ScamDetectionField
::
HasIp
:
return
i18n
(
"Has Ip"
);
}
return
{};
}
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