aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-02-18 01:33:56 -0800
committerWladimir J. van der Laan <[email protected]>2012-02-18 01:33:56 -0800
commit2d36b60f9278f2b6fedadbb3b5f29e19244f5cef (patch)
treeef694dbc4aa27dbf0af0df00ec181ed1fec16924 /src/init.cpp
parentMerge pull request #854 from laanwj/2012_02_qtipc (diff)
parentAllow setting UI language from commandline (implements #678) (diff)
downloaddiscoin-2d36b60f9278f2b6fedadbb3b5f29e19244f5cef.tar.xz
discoin-2d36b60f9278f2b6fedadbb3b5f29e19244f5cef.zip
Merge pull request #859 from laanwj/2012_02_guilanguagearg
Make it possible to set UI language from commandline (implements #678)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 0f2e10dab..2adfed2eb 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -197,6 +197,9 @@ bool AppInit2(int argc, char* argv[])
" -connect=<ip> \t\t " + _("Connect only to the specified node") + "\n" +
" -irc \t " + _("Find peers using internet relay chat (default: 0)") + "\n" +
" -listen \t " + _("Accept connections from outside (default: 1)") + "\n" +
+#ifdef QT_GUI
+ " -lang=<lang> \t\t " + _("Set language, for example \"de_DE\" (default: system locale)") + "\n" +
+#endif
" -dnsseed \t " + _("Find peers using DNS lookup (default: 1)") + "\n" +
" -banscore=<n> \t " + _("Threshold for disconnecting misbehaving peers (default: 100)") + "\n" +
" -bantime=<n> \t " + _("Number of seconds to keep misbehaving peers from reconnecting (default: 86400)") + "\n" +