mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 11:51:09 +08:00
Add translation for INTRO command
This commit is contained in:
parent
93f523b9c9
commit
63ae7416c8
@ -3773,4 +3773,9 @@ Swaps floppy, hard drive and optical disc images.
|
|||||||
←[32;1mIMGSWAP←[0m ←[37;1mdrive←[0m ←[36;1m[position]←[0m
|
←[32;1mIMGSWAP←[0m ←[37;1mdrive←[0m ←[36;1m[position]←[0m
|
||||||
←[37;1mdrive←[0m Drive letter to swap the image.
|
←[37;1mdrive←[0m Drive letter to swap the image.
|
||||||
←[36;1m[position]←[0m Disk position to swap to.
|
←[36;1m[position]←[0m Disk position to swap to.
|
||||||
|
.
|
||||||
|
:PROGRAM_INTRO_HELP
|
||||||
|
A full-screen introduction to DOSBox-X.
|
||||||
|
|
||||||
|
INTRO [/RUN] [CDROM|MOUNT|USAGE|WELCOME]
|
||||||
.
|
.
|
@ -5058,7 +5058,7 @@ public:
|
|||||||
|
|
||||||
void Run(void) override {
|
void Run(void) override {
|
||||||
if (cmd->FindExist("-?", false) || cmd->FindExist("/?", false)) {
|
if (cmd->FindExist("-?", false) || cmd->FindExist("/?", false)) {
|
||||||
WriteOut("A full-screen introduction to DOSBox-X.\n\nINTRO [/RUN] [CDROM|MOUNT|USAGE|WELCOME]\n");
|
WriteOut(MSG_Get("PROGRAM_INTRO_HELP"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
uint8_t attr = DOS_GetAnsiAttr();
|
uint8_t attr = DOS_GetAnsiAttr();
|
||||||
@ -10195,6 +10195,8 @@ void DOS_SetupPrograms(void) {
|
|||||||
"\033[32;1mIMGSWAP\033[0m \033[37;1mdrive\033[0m \033[36;1m[position]\033[0m\n"
|
"\033[32;1mIMGSWAP\033[0m \033[37;1mdrive\033[0m \033[36;1m[position]\033[0m\n"
|
||||||
" \033[37;1mdrive\033[0m Drive letter to swap the image.\n"
|
" \033[37;1mdrive\033[0m Drive letter to swap the image.\n"
|
||||||
" \033[36;1m[position]\033[0m Disk position to swap to.\n");
|
" \033[36;1m[position]\033[0m Disk position to swap to.\n");
|
||||||
|
MSG_Add("PROGRAM_INTRO_HELP",
|
||||||
|
"A full-screen introduction to DOSBox-X.\n\nINTRO [/RUN] [CDROM|MOUNT|USAGE|WELCOME]\n");
|
||||||
|
|
||||||
const Section_prop * dos_section=static_cast<Section_prop *>(control->GetSection("dos"));
|
const Section_prop * dos_section=static_cast<Section_prop *>(control->GetSection("dos"));
|
||||||
hidefiles = dos_section->Get_string("drive z hide files");
|
hidefiles = dos_section->Get_string("drive z hide files");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user