Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Games
KFourInLine
Commits
9003d856
Commit
9003d856
authored
Jun 05, 2021
by
Antoni Bella Pérez
🚲
Browse files
GUI l10n fixes
* Add @title:window helpers
parent
2a51004e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/chatdlg.cpp
View file @
9003d856
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
ChatDlg
::
ChatDlg
(
KGame
*
game
,
QWidget
*
parent
)
ChatDlg
::
ChatDlg
(
KGame
*
game
,
QWidget
*
parent
)
:
QDialog
(
parent
),
mChat
(),
mChatDlg
()
:
QDialog
(
parent
),
mChat
(),
mChatDlg
()
{
{
setWindowTitle
(
i18n
(
"Chat Dlg"
));
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Chat Dlg"
));
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
);
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
setLayout
(
mainLayout
);
setLayout
(
mainLayout
);
...
...
src/kchatdialog.cpp
View file @
9003d856
...
@@ -77,7 +77,7 @@ void KChatDialog::init()
...
@@ -77,7 +77,7 @@ void KChatDialog::init()
d
->
mTextPage
=
new
QFrame
(
this
);
d
->
mTextPage
=
new
QFrame
(
this
);
QGridLayout
*
layout
=
new
QGridLayout
(
d
->
mTextPage
);
QGridLayout
*
layout
=
new
QGridLayout
(
d
->
mTextPage
);
setWindowTitle
(
i18n
(
"Configure Chat"
));
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Configure Chat"
));
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
|
QDialogButtonBox
::
Apply
);
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Cancel
|
QDialogButtonBox
::
Apply
);
QWidget
*
mainWidget
=
new
QWidget
(
this
);
QWidget
*
mainWidget
=
new
QWidget
(
this
);
setLayout
(
layout
);
setLayout
(
layout
);
...
...
src/kgamedebugdialog.cpp
View file @
9003d856
...
@@ -116,7 +116,7 @@ KGameDebugDialog::KGameDebugDialog(KGame* g, QWidget* parent, bool modal)
...
@@ -116,7 +116,7 @@ KGameDebugDialog::KGameDebugDialog(KGame* g, QWidget* parent, bool modal)
:
KPageDialog
(
parent
),
:
KPageDialog
(
parent
),
d
(
new
KGameDebugDialogPrivate
)
d
(
new
KGameDebugDialogPrivate
)
{
{
setWindowTitle
(
i18n
(
"KGame Debug Dialog"
));
setWindowTitle
(
i18n
c
(
"@title:window"
,
"KGame Debug Dialog"
));
//QT5 setButtons(Close);
//QT5 setButtons(Close);
//QT5 setDefaultButton(Close);
//QT5 setDefaultButton(Close);
setModal
(
modal
);
setModal
(
modal
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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