summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-03 12:35:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-03 12:51:43 +0300
commit9510979d65738fb03b2c48425fa59984c2a4b938 (patch)
treed546c5e932da966d4bddcebb5ae9a0f6f4820881 /src/main.cpp
parenta7c723b681ddefdcaa84cb9b16681c65818d7110 (diff)
downloadmanaplus-9510979d65738fb03b2c48425fa59984c2a4b938.tar.gz
manaplus-9510979d65738fb03b2c48425fa59984c2a4b938.tar.bz2
manaplus-9510979d65738fb03b2c48425fa59984c2a4b938.tar.xz
manaplus-9510979d65738fb03b2c48425fa59984c2a4b938.zip
add comments for translators.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index efb4c4135..55af95f4f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -53,38 +53,62 @@ char *selfName = nullptr;
static void printHelp()
{
std::cout
+ // TRANSLATORS: command line help
<< _("manaplus [options] [manaplus-file]") << std::endl << std::endl
+ // TRANSLATORS: command line help
<< _("[manaplus-file] : The manaplus file is an XML file (.manaplus)")
<< std::endl
+ // TRANSLATORS: command line help
<< _(" used to set custom parameters") << std::endl
+ // TRANSLATORS: command line help
<< _(" to the manaplus client.")
<< std::endl << std::endl
+ // TRANSLATORS: command line help
<< _("Options:") << std::endl
+ // TRANSLATORS: command line help
<< _(" -l --log-file : Log file to use") << std::endl
+ // TRANSLATORS: command line help
<< _(" -a --chat-log-dir : Chat log dir to use") << std::endl
+ // TRANSLATORS: command line help
<< _(" -v --version : Display the version") << std::endl
+ // TRANSLATORS: command line help
<< _(" -h --help : Display this help") << std::endl
+ // TRANSLATORS: command line help
<< _(" -C --config-dir : Configuration directory to use")
<< std::endl
+ // TRANSLATORS: command line help
<< _(" -U --username : Login with this username") << std::endl
+ // TRANSLATORS: command line help
<< _(" -P --password : Login with this password") << std::endl
+ // TRANSLATORS: command line help
<< _(" -c --character : Login with this character") << std::endl
+ // TRANSLATORS: command line help
<< _(" -s --server : Login server name or IP") << std::endl
+ // TRANSLATORS: command line help
<< _(" -p --port : Login server port") << std::endl
+ // TRANSLATORS: command line help
<< _(" -H --update-host : Use this update host") << std::endl
+ // TRANSLATORS: command line help
<< _(" -D --default : Choose default character server and "
"character") << std::endl
+ // TRANSLATORS: command line help
<< _(" -u --skip-update : Skip the update downloads") << std::endl
+ // TRANSLATORS: command line help
<< _(" -d --data : Directory to load game "
"data from") << std::endl
+ // TRANSLATORS: command line help
<< _(" -L --localdata-dir : Directory to use as local data"
" directory") << std::endl
+ // TRANSLATORS: command line help
<< _(" --screenshot-dir : Directory to store screenshots")
<< std::endl
+ // TRANSLATORS: command line help
<< _(" --safemode : Start game in safe mode") << std::endl
+ // TRANSLATORS: command line help
<< _(" -T --tests : Start testing drivers and "
"auto configuring") << std::endl
#ifdef USE_OPENGL
+ // TRANSLATORS: command line help
<< _(" -O --no-opengl : Disable OpenGL for this session")
<< std::endl
#endif