# HG changeset patch # User Wuzzy # Date 1518638265 -3600 # Node ID 2bafaeed5e2eacb43bc5ec62f941e3551e8f5768 # Parent d55aae479f50d723221ab6c7f813759bfd441c61 Rename AFK Mode to “Auto Skip” (bug 78) diff -r d55aae479f50 -r 2bafaeed5e2e QTfrontend/binds.cpp --- 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:")}, diff -r d55aae479f50 -r 2bafaeed5e2e README.md --- 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 diff -r d55aae479f50 -r 2bafaeed5e2e hedgewars/uGearsHedgehog.pas --- 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; diff -r d55aae479f50 -r 2bafaeed5e2e share/hedgewars/Data/Locale/de.txt --- 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 diff -r d55aae479f50 -r 2bafaeed5e2e share/hedgewars/Data/Locale/en.txt --- 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