Commit 1509c97a authored by Antoni Bella Pérez's avatar Antoni Bella Pérez 🚵🏻
Browse files

GUI l10n fixes

* Add @title:window helpers
parent 8303f0f5
......@@ -220,7 +220,7 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent)
{
// kDebug(11001) << ": HighscoresDialog";
setWindowTitle( i18n("Highscores") );
setWindowTitle(i18nc("@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(i18nc("@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(i18nc("@title:window", "Enter Your Nickname"));
internal->hsConfig().readCurrentConfig();
QVBoxLayout *top = new QVBoxLayout;
......
......@@ -263,7 +263,7 @@ void MultiplayerScores::show(QWidget *parent)
// show the scores
KPageDialog dialog(parent);
dialog.setWindowTitle(i18n("Multiplayers Scores"));
dialog.setWindowTitle(i18nc("@title:window", "Multiplayers Scores"));
// TODO dialog.setButtons(KDialog::Close);
dialog.setModal(true);
dialog.setFaceType(KPageDialog::Plain);
......
......@@ -23,7 +23,7 @@ StartGameDialog::StartGameDialog(QWidget *parent, KgThemeProvider *provider) :
{
setModal(true);
setWindowTitle(i18n("New game"));
setWindowTitle(i18nc("@title:window", "New game"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Close);
QVBoxLayout *mainLayout = new QVBoxLayout;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment