Rename AFK Mode to “Auto Skip” (bug 78)
authorWuzzy <Wuzzy2@mail.ru>
Wed, 14 Feb 2018 20:57:45 +0100
changeset 12996 2bafaeed5e2e
parent 12995 d55aae479f50
child 12997 f06660523198
Rename AFK Mode to “Auto Skip” (bug #78)
QTfrontend/binds.cpp
README.md
hedgewars/uGearsHedgehog.pas
share/hedgewars/Data/Locale/de.txt
share/hedgewars/Data/Locale/en.txt
--- a/QTfrontend/binds.cpp	Wed Feb 14 17:45:33 2018 +0100
+++ b/QTfrontend/binds.cpp	Wed Feb 14 20:57:45 2018 +0100
@@ -58,7 +58,7 @@
     {"chat",      "t",          QT_TRANSLATE_NOOP("binds", "chat"),            QT_TRANSLATE_NOOP("binds (categories)", "Miscellaneous"), QT_TRANSLATE_NOOP("binds (descriptions)", "Talk to your team or all participants:")},
     {"chat team", "u",          QT_TRANSLATE_NOOP("binds", "team chat"),       NULL, NULL},
     {"history",   "`",          QT_TRANSLATE_NOOP("binds", "chat history"),    NULL, NULL},
-    {"pause",     "p",          QT_TRANSLATE_NOOP("binds", "pause"),           NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Pause, continue or leave your game:")},
+    {"pause",     "p",          QT_TRANSLATE_NOOP("binds", "pause / auto skip"),NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Pause, continue or leave your game:")},
     {"quit",      "escape",     QT_TRANSLATE_NOOP("binds", "quit"),            NULL, NULL},
     {"confirm",   "y",          QT_TRANSLATE_NOOP("binds", "confirmation"),    NULL, NULL},
     {"+voldown",  "9",          QT_TRANSLATE_NOOP("binds", "volume down"),     NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Modify the game's volume while playing:")},
--- a/README.md	Wed Feb 14 17:45:33 2018 +0100
+++ b/README.md	Wed Feb 14 20:57:45 2018 +0100
@@ -60,7 +60,7 @@
 * Tab: Switch hedgehog (after activating the utility)
 * 1-5: Set weapon timer
 * F1-F10: Weapon shortcuts
-* P: Pause (also shows mission panel)
+* P: Pause, when playing offline, toggle automatic turn skipping when online
 * Esc: Quit with prompt (also shows mission panel)
 * T: Chat
 * U: Team chat
--- a/hedgewars/uGearsHedgehog.pas	Wed Feb 14 17:45:33 2018 +0100
+++ b/hedgewars/uGearsHedgehog.pas	Wed Feb 14 20:57:45 2018 +0100
@@ -47,7 +47,8 @@
     t:= 0;
     while (TeamsArray[t] <> CurrentTeam) do inc(t);
 
-    SendHogSpeech(#1 + char(t) + 'AFK');
+    // TODO: Localize
+    AddChatString(#2 + CurrentTeam^.TeamName + ' automatically skipped turn.');
 
     ParseCommand('/skip', true)
 end;
--- a/share/hedgewars/Data/Locale/de.txt	Wed Feb 14 17:45:33 2018 +0100
+++ b/share/hedgewars/Data/Locale/de.txt	Wed Feb 14 20:57:45 2018 +0100
@@ -86,7 +86,7 @@
 01:19=Extreme
 01:20=%1 Sprungkraft
 01:21=Audio stumm
-01:22=Abwesenheitsmodus
+01:22=Automatisches Überspringen aktiv
 01:23=Autokamera aus
 01:24=Autokamera an
 01:25=Zieltaste drücken, um das Ziel zu markieren
--- a/share/hedgewars/Data/Locale/en.txt	Wed Feb 14 17:45:33 2018 +0100
+++ b/share/hedgewars/Data/Locale/en.txt	Wed Feb 14 20:57:45 2018 +0100
@@ -85,7 +85,7 @@
 01:19=Extreme
 01:20=%1 Bounce
 01:21=Audio Muted
-01:22=AFK mode
+01:22=Auto Skip Enabled
 01:23=Auto Camera Off
 01:24=Auto Camera On
 01:25=Press the target button to mark the target