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
Akonadi Contacts
Commits
6f278659
Commit
6f278659
authored
Aug 13, 2021
by
Laurent Montel
😁
Browse files
Add i18n context
parent
128ed7c0
Pipeline
#74567
passed with stage
in 11 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/akonadi-contacts/contacteditordialog.cpp
View file @
6f278659
...
...
@@ -40,7 +40,7 @@ public:
{
auto
mainWidget
=
new
QWidget
(
q
);
q
->
setWindowTitle
(
mode
==
ContactEditorDialog
::
CreateMode
?
i18n
(
"New Contact"
)
:
i18n
(
"Edit Contact"
));
q
->
setWindowTitle
(
mode
==
ContactEditorDialog
::
CreateMode
?
i18n
c
(
"@title:window"
,
"New Contact"
)
:
i18n
c
(
"@title:window"
,
"Edit Contact"
));
auto
mainLayout
=
new
QVBoxLayout
(
q
);
auto
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
,
q
);
q
->
connect
(
buttonBox
,
&
QDialogButtonBox
::
accepted
,
q
,
[
this
]()
{
...
...
src/akonadi-contacts/contactgroupeditordialog.cpp
View file @
6f278659
...
...
@@ -73,7 +73,7 @@ ContactGroupEditorDialog::ContactGroupEditorDialog(Mode mode, QWidget *parent)
:
QDialog
(
parent
)
,
d
(
new
Private
(
this
,
mode
))
{
setWindowTitle
(
mode
==
CreateMode
?
i18n
(
"New Contact Group"
)
:
i18n
(
"Edit Contact Group"
));
setWindowTitle
(
mode
==
CreateMode
?
i18n
c
(
"@title:window"
,
"New Contact Group"
)
:
i18n
c
(
"@title:window"
,
"Edit Contact Group"
));
auto
mainLayout
=
new
QVBoxLayout
(
this
);
auto
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
,
this
);
...
...
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