Add translation for INTRO command

This commit is contained in:
maron2000 2025-02-25 23:22:48 +09:00
parent 93f523b9c9
commit 63ae7416c8
2 changed files with 8 additions and 1 deletions

View File

@ -3773,4 +3773,9 @@ Swaps floppy, hard drive and optical disc images.
←[32;1mIMGSWAP←[0m ←[37;1mdrive←[0m ←[36;1m[position]←[0m
←[37;1mdrive←[0m Drive letter to swap the image.
←[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]
.

View File

@ -5058,7 +5058,7 @@ public:
void Run(void) override {
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;
}
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[37;1mdrive\033[0m Drive letter to swap the image.\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"));
hidefiles = dos_section->Get_string("drive z hide files");