From 3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Apr 2017 19:03:59 +0300 Subject: Add chat command for translate message from player language to english. Also add po field into languages.xml. --- src/input/inputactionmap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 2301c1728..a717c7e5e 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5606,6 +5606,12 @@ static const InputActionData inputActionData "outfittochat|copyoutfittochat", UseArgs_false, Protected_true}, + {"keyCommandTranslate", + defaultAction(&Actions::translate), + InputCondition::INGAME, + "translate|trans|tran", + UseArgs_false, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2