Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM Sieve Editor
Commits
ef034504
Commit
ef034504
authored
Jan 31, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make it more easy to translate
parent
10f9cf26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
sieveeditoremptytabwidgetlabel.cpp
sieveeditoremptytabwidgetlabel.cpp
+10
-8
No files found.
sieveeditoremptytabwidgetlabel.cpp
View file @
ef034504
...
...
@@ -35,18 +35,20 @@ SieveEditorEmptyTabWidgetLabel::~SieveEditorEmptyTabWidgetLabel()
void
SieveEditorEmptyTabWidgetLabel
::
init
()
{
//TODO improve text
const
QString
placeholderText
=
i18n
(
"<html><body style=
\"
color:#909090; font-size:14px
\"
>"
const
QString
placeholderText
=
QStringLiteral
(
"<html><body style=
\"
color:#909090; font-size:14px
\"
>"
"<div align='center'>"
"<div style=
\"
font-size:20px
\"
>
Debug a script:
</div>"
"<div style=
\"
font-size:20px
\"
>
%1
</div>"
"<div></div>"
"<li>
Tools > Debug Sieve Script
"
"<div style=
\"
font-size:20px
\"
>
Autogenerate script:
</div>"
"<li>
%2
"
"<div style=
\"
font-size:20px
\"
>
%3
</div>"
"<div></div>"
"<li>
Tools > Autogenerate script
"
"<div style=
\"
font-size:20px
\"
>
Import script:
</div>"
"<li>
File > Import
"
"<li>
%4
"
"<div style=
\"
font-size:20px
\"
>
%5
</div>"
"<li>
%6
"
"<div></div>"
"</div>"
"</body></html>"
);
"</body></html>"
).
arg
(
i18n
(
"Debug a script:"
),
i18nc
(
"These action in from menu tools submenu debug sieve script"
,
"Tools > Debug Sieve Script"
),
i18n
(
"Autogenerate script:"
),
i18nc
(
"Action is from menu tools, submenu autogenerate script"
,
"Tools > Autogenerate script"
),
i18n
(
"Import script:"
),
i18nc
(
"Action is from file menu, import submenu"
,
"File > Import"
));
setText
(
placeholderText
);
}
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