summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-05 19:03:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-05 19:03:59 +0300
commit3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74 (patch)
treefe7ab920632207462354714e12604e2064d059ea /src/input
parentd8a530e299b4dd04c020ca3e3eeda7b12f89b69b (diff)
downloadmv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.tar.gz
mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.tar.bz2
mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.tar.xz
mv-3b4ffd7199d990d1cbd0e7cbe23fa41f04d38e74.zip
Add chat command for translate message from player language to english.
Also add po field into languages.xml.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
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