- split out non-game specific CCMDs into their own file.
This commit is contained in:
parent
8dacdf2951
commit
a712866219
7 changed files with 335 additions and 287 deletions
|
|
@ -405,22 +405,3 @@ CCMD(listsnapshots)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
CCMD(printlocalized)
|
||||
{
|
||||
if (argv.argc() > 1)
|
||||
{
|
||||
if (argv.argc() > 2)
|
||||
{
|
||||
FString lang = argv[2];
|
||||
lang.ToLower();
|
||||
if (lang.Len() >= 2)
|
||||
{
|
||||
Printf("%s\n", GStrings.GetLanguageString(argv[1], MAKE_ID(lang[0], lang[1], lang[2], 0)));
|
||||
return;
|
||||
}
|
||||
}
|
||||
Printf("%s\n", GStrings(argv[1]));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue