Commit 644bfd87 authored by Antoni Bella Pérez's avatar Antoni Bella Pérez 🚵🏻
Browse files

Put the KSNake mode again, documenting it better

* This solve my previous mistake
parent 6d1d2a79
......@@ -185,7 +185,7 @@ menu item.
<chapter id="playing-snake">
<title>Playing &ksnakeduel;</title>
<title>Playing KSnake mode</title>
<sect1 id="playing-snake-rules">
......@@ -218,7 +218,7 @@ the status bar.
When you are moving through the map there will appear obstacles. Hitting them
When you are moving through the map there will also appear obstacles. Hitting them
will also result in a crash. However, every time an obstacle appears and you
survive you'll be rewarded 2 points
......@@ -494,7 +494,7 @@ which lets you tweak &ksnakeduel;'s behavior.</para>
<term><guimenuitem>&ksnakeduel;: Single player</guimenuitem></term>
<term><guimenuitem>KSnake mode: Single player</guimenuitem></term>
<listitem><para>A single player &ksnakeduel; game.</para></listitem>
......@@ -49,7 +49,7 @@
<property name="text">
<string>KSnakeDuel: Single player</string>
<string>KSnake mode: Single player</string>
......@@ -98,7 +98,7 @@
<item row="0" column="0">
<widget class="QLabel" name="namePlayer1Label">
<property name="text">
<string>Right player / KSnakeDuel:</string>
<string>Right player / KSnake mode:</string>
<property name="wordWrap">
......@@ -63,25 +63,25 @@ KTron::KTron(QWidget *parent) : KXmlGuiWindow(parent, Qt::WindowFlags()) {
// We must disable the actions, otherwise we don't get the keyPressEvent's
m_player0Up = actionCollection()->addAction( QStringLiteral( "Pl1Up" ));
m_player0Up->setText(i18n("Right Player / KSnakeDuel: Up"));
m_player0Up->setText(i18n("Right Player / KSnake mode: Up"));
connect(m_player0Up, &QAction::triggered, this, &KTron::triggerKey0Up);
m_player0Down = actionCollection()->addAction( QStringLiteral( "Pl1Down" ));
m_player0Down->setText(i18n("Right Player / KSnakeDuel: Down"));
m_player0Down->setText(i18n("Right Player / KSnake mode: Down"));
connect(m_player0Down, &QAction::triggered, this, &KTron::triggerKey0Down);
m_player0Right = actionCollection()->addAction( QStringLiteral( "Pl1Right" ));
m_player0Right->setText(i18n("Right Player / KSnakeDuel: Right"));
m_player0Right->setText(i18n("Right Player / KSnake mode: Right"));
connect(m_player0Right, &QAction::triggered, this, &KTron::triggerKey0Right);
m_player0Left = actionCollection()->addAction( QStringLiteral( "Pl1Left" ));
m_player0Left->setText(i18n("Right Player / KSnakeDuel: Left"));
m_player0Left->setText(i18n("Right Player / KSnake mode: Left"));
connect(m_player0Left, &QAction::triggered, this, &KTron::triggerKey0Left);
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