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
Games
KReversi
Commits
1509c97a
Commit
1509c97a
authored
Aug 12, 2021
by
Antoni Bella Pérez
🚵🏻
Browse files
GUI l10n fixes
* Add @title:window helpers
parent
8303f0f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/kexthighscore_gui.cpp
View file @
1509c97a
...
...
@@ -220,7 +220,7 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent)
{
// kDebug(11001) << ": HighscoresDialog";
setWindowTitle
(
i18n
(
"Highscores"
)
);
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Highscores"
));
// TODO setButtons( Close|User1|User2 );
// TODO setDefaultButton( Close );
if
(
internal
->
nbGameTypes
()
>
1
)
...
...
@@ -404,7 +404,7 @@ ConfigDialog::ConfigDialog(QWidget *parent)
{
// kDebug(11001) << ": ConfigDialog";
setWindowTitle
(
i18n
(
"Configure Highscores"
)
);
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Configure Highscores"
));
setModal
(
true
);
QWidget
*
page
=
nullptr
;
...
...
@@ -597,7 +597,7 @@ AskNameDialog::AskNameDialog(QWidget *parent)
{
// kDebug(11001) << ": AskNameDialog";
setWindowTitle
(
i18n
(
"Enter Your Nickname"
)
);
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Enter Your Nickname"
));
internal
->
hsConfig
().
readCurrentConfig
();
QVBoxLayout
*
top
=
new
QVBoxLayout
;
...
...
src/kexthighscore_item.cpp
View file @
1509c97a
...
...
@@ -263,7 +263,7 @@ void MultiplayerScores::show(QWidget *parent)
// show the scores
KPageDialog
dialog
(
parent
);
dialog
.
setWindowTitle
(
i18n
(
"Multiplayers Scores"
));
dialog
.
setWindowTitle
(
i18n
c
(
"@title:window"
,
"Multiplayers Scores"
));
// TODO dialog.setButtons(KDialog::Close);
dialog
.
setModal
(
true
);
dialog
.
setFaceType
(
KPageDialog
::
Plain
);
...
...
src/startgamedialog.cpp
View file @
1509c97a
...
...
@@ -23,7 +23,7 @@ StartGameDialog::StartGameDialog(QWidget *parent, KgThemeProvider *provider) :
{
setModal
(
true
);
setWindowTitle
(
i18n
(
"New game"
));
setWindowTitle
(
i18n
c
(
"@title:window"
,
"New game"
));
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
QDialogButtonBox
::
Ok
|
QDialogButtonBox
::
Close
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
;
...
...
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