Renamed the --dummylocales parameter.
--dummy-locales looks much better as --dummylocales.
This commit is contained in:
parent
f30fde6150
commit
e5f8aeec14
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
Version 1.5.6+svn:
|
||||
* Language and i18n:
|
||||
* Renamed the --dummylocales parameter to --dummy-locales.
|
||||
* updated translations:
|
||||
* User interface:
|
||||
* Rewrote the layout algorithm for the new widgets.
|
||||
|
|
|
@ -62,7 +62,7 @@ prints the path of the user configuration directory and exits.
|
|||
enables additional command mode options in-game
|
||||
(see the wiki page at http://www.wesnoth.org/wiki/CommandMode for more information about command mode).
|
||||
.TP
|
||||
.B --dummylocales
|
||||
.B --dummy-locales
|
||||
use special dummy locales to switch to any language even if that language
|
||||
isn't installed system-wide.
|
||||
.TP
|
||||
|
|
|
@ -381,6 +381,9 @@ game_controller::game_controller(int argc, char** argv) :
|
|||
jump_to_editor_ = true;
|
||||
#endif
|
||||
} else if(val == "--dummylocales") {
|
||||
std::cerr << "--dummylocales is deprecated use --dummy-locales instead.\n";
|
||||
game_config::use_dummylocales = true;
|
||||
} else if(val == "--dummy-locales") {
|
||||
game_config::use_dummylocales = true;
|
||||
} else if(val[0] == '-') {
|
||||
std::cerr << "unknown option: " << val << std::endl;
|
||||
|
@ -1723,7 +1726,7 @@ static int process_command_args(int argc, char** argv) {
|
|||
<< " The data can also be generated when the F12 is\n"
|
||||
<< " pressed in a dialog.\n"
|
||||
#endif
|
||||
<< " --dummylocales enables dummy locales for switching to non-system\n"
|
||||
<< " --dummy-locales enables dummy locales for switching to non-system\n"
|
||||
<< " locales.\n"
|
||||
#ifndef DISABLE_EDITOR2
|
||||
<< " -e, --editor starts the in-game map editor directly.\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue