author | Michael Krelin <hacker@klever.net> | 2004-11-04 20:04:19 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-11-04 20:04:19 (UTC) |
commit | a494b6d595059d6fb6464935e429176a714d490d (patch) (unidiff) | |
tree | 20b82b6d6512ace8abcc7774d0a9c9d7c0bcfbb2 /pumpkin.rc | |
parent | 5f552506513653f08acc6921b8c158489a7ebbbb (diff) | |
download | pumpkin-a494b6d595059d6fb6464935e429176a714d490d.zip pumpkin-a494b6d595059d6fb6464935e429176a714d490d.tar.gz pumpkin-a494b6d595059d6fb6464935e429176a714d490d.tar.bz2 |
invalid opcode during xfer message shows the opcode itself now.
git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@48 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | pumpkin.rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -370,238 +370,238 @@ BEGIN | |||
370 | RIGHTMARGIN, 174 | 370 | RIGHTMARGIN, 174 |
371 | TOPMARGIN, 7 | 371 | TOPMARGIN, 7 |
372 | BOTTOMMARGIN, 72 | 372 | BOTTOMMARGIN, 72 |
373 | END | 373 | END |
374 | 374 | ||
375 | IDD_CONFIRM_WRQ, DIALOG | 375 | IDD_CONFIRM_WRQ, DIALOG |
376 | BEGIN | 376 | BEGIN |
377 | LEFTMARGIN, 7 | 377 | LEFTMARGIN, 7 |
378 | RIGHTMARGIN, 194 | 378 | RIGHTMARGIN, 194 |
379 | TOPMARGIN, 7 | 379 | TOPMARGIN, 7 |
380 | BOTTOMMARGIN, 88 | 380 | BOTTOMMARGIN, 88 |
381 | END | 381 | END |
382 | 382 | ||
383 | IDD_REQUEST, DIALOG | 383 | IDD_REQUEST, DIALOG |
384 | BEGIN | 384 | BEGIN |
385 | LEFTMARGIN, 7 | 385 | LEFTMARGIN, 7 |
386 | RIGHTMARGIN, 184 | 386 | RIGHTMARGIN, 184 |
387 | TOPMARGIN, 7 | 387 | TOPMARGIN, 7 |
388 | BOTTOMMARGIN, 154 | 388 | BOTTOMMARGIN, 154 |
389 | END | 389 | END |
390 | 390 | ||
391 | IDD_PROPS_SOUNDS, DIALOG | 391 | IDD_PROPS_SOUNDS, DIALOG |
392 | BEGIN | 392 | BEGIN |
393 | LEFTMARGIN, 7 | 393 | LEFTMARGIN, 7 |
394 | RIGHTMARGIN, 203 | 394 | RIGHTMARGIN, 203 |
395 | TOPMARGIN, 7 | 395 | TOPMARGIN, 7 |
396 | BOTTOMMARGIN, 147 | 396 | BOTTOMMARGIN, 147 |
397 | END | 397 | END |
398 | END | 398 | END |
399 | #endif // APSTUDIO_INVOKED | 399 | #endif // APSTUDIO_INVOKED |
400 | 400 | ||
401 | 401 | ||
402 | ///////////////////////////////////////////////////////////////////////////// | 402 | ///////////////////////////////////////////////////////////////////////////// |
403 | // | 403 | // |
404 | // Bitmap | 404 | // Bitmap |
405 | // | 405 | // |
406 | 406 | ||
407 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" | 407 | IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp" |
408 | 408 | ||
409 | ///////////////////////////////////////////////////////////////////////////// | 409 | ///////////////////////////////////////////////////////////////////////////// |
410 | // | 410 | // |
411 | // WAVE | 411 | // WAVE |
412 | // | 412 | // |
413 | 413 | ||
414 | IDR_WAVE_RING WAVE DISCARDABLE "res\\ring.wav" | 414 | IDR_WAVE_RING WAVE DISCARDABLE "res\\ring.wav" |
415 | IDR_WAVE_FINISHED WAVE DISCARDABLE "res\\finished.wav" | 415 | IDR_WAVE_FINISHED WAVE DISCARDABLE "res\\finished.wav" |
416 | IDR_WAVE_ABORTED WAVE DISCARDABLE "res\\failed.wav" | 416 | IDR_WAVE_ABORTED WAVE DISCARDABLE "res\\failed.wav" |
417 | 417 | ||
418 | ///////////////////////////////////////////////////////////////////////////// | 418 | ///////////////////////////////////////////////////////////////////////////// |
419 | // | 419 | // |
420 | // Dialog Info | 420 | // Dialog Info |
421 | // | 421 | // |
422 | 422 | ||
423 | IDD_REQUEST DLGINIT | 423 | IDD_REQUEST DLGINIT |
424 | BEGIN | 424 | BEGIN |
425 | IDC_TYPE, 0x403, 6, 0 | 425 | IDC_TYPE, 0x403, 6, 0 |
426 | 0x636f, 0x6574, 0x0074, | 426 | 0x636f, 0x6574, 0x0074, |
427 | IDC_TYPE, 0x403, 9, 0 | 427 | IDC_TYPE, 0x403, 9, 0 |
428 | 0x656e, 0x6174, 0x6373, 0x6969, "\000" | 428 | 0x656e, 0x6174, 0x6373, 0x6969, "\000" |
429 | IDC_BSIZE, 0x403, 4, 0 | 429 | IDC_BSIZE, 0x403, 4, 0 |
430 | 0x3135, 0x0032, | 430 | 0x3135, 0x0032, |
431 | IDC_BSIZE, 0x403, 5, 0 | 431 | IDC_BSIZE, 0x403, 5, 0 |
432 | 0x3031, 0x3432, "\000" | 432 | 0x3031, 0x3432, "\000" |
433 | IDC_BSIZE, 0x403, 5, 0 | 433 | IDC_BSIZE, 0x403, 5, 0 |
434 | 0x3032, 0x3834, "\000" | 434 | 0x3032, 0x3834, "\000" |
435 | IDC_BSIZE, 0x403, 5, 0 | 435 | IDC_BSIZE, 0x403, 5, 0 |
436 | 0x3034, 0x3639, "\000" | 436 | 0x3034, 0x3639, "\000" |
437 | IDC_BSIZE, 0x403, 5, 0 | 437 | IDC_BSIZE, 0x403, 5, 0 |
438 | 0x3138, 0x3239, "\000" | 438 | 0x3138, 0x3239, "\000" |
439 | 0 | 439 | 0 |
440 | END | 440 | END |
441 | 441 | ||
442 | 442 | ||
443 | ///////////////////////////////////////////////////////////////////////////// | 443 | ///////////////////////////////////////////////////////////////////////////// |
444 | // | 444 | // |
445 | // Menu | 445 | // Menu |
446 | // | 446 | // |
447 | 447 | ||
448 | IDM_POPUPS MENU DISCARDABLE | 448 | IDM_POPUPS MENU DISCARDABLE |
449 | BEGIN | 449 | BEGIN |
450 | POPUP "&Tray" | 450 | POPUP "&Tray" |
451 | BEGIN | 451 | BEGIN |
452 | MENUITEM "&Send File", ID_TRAY_SENDFILE | 452 | MENUITEM "&Send File", ID_TRAY_SENDFILE |
453 | MENUITEM "F&etch file", ID_TRAY_FETCHFILE | 453 | MENUITEM "F&etch file", ID_TRAY_FETCHFILE |
454 | MENUITEM "&Options", ID_TRAY_OPTIONS | 454 | MENUITEM "&Options", ID_TRAY_OPTIONS |
455 | MENUITEM "Show &PumpKIN Window", ID_TRAY_SHOWPUMPKINWINDOW | 455 | MENUITEM "Show &PumpKIN Window", ID_TRAY_SHOWPUMPKINWINDOW |
456 | MENUITEM "Open &Files Folder", ID_TRAY_OPENFILESFOLDER | 456 | MENUITEM "Open &Files Folder", ID_TRAY_OPENFILESFOLDER |
457 | MENUITEM SEPARATOR | 457 | MENUITEM SEPARATOR |
458 | MENUITEM "&Help Topics", ID_TRAY_HELP | 458 | MENUITEM "&Help Topics", ID_TRAY_HELP |
459 | MENUITEM "&About PumpKIN", ID_TRAY_ABOUTPUMPKIN | 459 | MENUITEM "&About PumpKIN", ID_TRAY_ABOUTPUMPKIN |
460 | MENUITEM SEPARATOR | 460 | MENUITEM SEPARATOR |
461 | MENUITEM "E&xit", ID_TRAY_EXIT | 461 | MENUITEM "E&xit", ID_TRAY_EXIT |
462 | END | 462 | END |
463 | END | 463 | END |
464 | 464 | ||
465 | 465 | ||
466 | ///////////////////////////////////////////////////////////////////////////// | 466 | ///////////////////////////////////////////////////////////////////////////// |
467 | // | 467 | // |
468 | // String Table | 468 | // String Table |
469 | // | 469 | // |
470 | 470 | ||
471 | STRINGTABLE DISCARDABLE | 471 | STRINGTABLE DISCARDABLE |
472 | BEGIN | 472 | BEGIN |
473 | IDS_ABOUTBOX "&About PumpKIN..." | 473 | IDS_ABOUTBOX "&About PumpKIN..." |
474 | IDS_FMT_BYTES "%lu" | 474 | IDS_FMT_BYTES "%lu" |
475 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." | 475 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." |
476 | IDS_TFTP_ERROR_ACCESS "Access violation" | 476 | IDS_TFTP_ERROR_ACCESS "Access violation" |
477 | IDS_TFTP_ERROR_NOTFOUND "File not found" | 477 | IDS_TFTP_ERROR_NOTFOUND "File not found" |
478 | IDS_TFTP_ERROR_DIRFULL "Directory is full" | 478 | IDS_TFTP_ERROR_DIRFULL "Directory is full" |
479 | IDS_TFTP_ERROR_SHARING "Sharing violation" | 479 | IDS_TFTP_ERROR_SHARING "Sharing violation" |
480 | IDS_TFTP_ERROR_DISKFULL "Disk full" | 480 | IDS_TFTP_ERROR_DISKFULL "Disk full" |
481 | IDS_TFTP_ERROR_UNDEFINED "Undefined error" | 481 | IDS_TFTP_ERROR_UNDEFINED "Undefined error" |
482 | IDS_LOG_START "PumpKIN started" | 482 | IDS_LOG_START "PumpKIN started" |
483 | IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections" | 483 | IDS_LOG_LISTENRECEIVEERROR "Error listening for incoming connections" |
484 | END | 484 | END |
485 | 485 | ||
486 | STRINGTABLE DISCARDABLE | 486 | STRINGTABLE DISCARDABLE |
487 | BEGIN | 487 | BEGIN |
488 | IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection" | 488 | IDS_LOG_LISTENACCEPTERROR "Error accepting incoming connection" |
489 | IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s" | 489 | IDS_LOG_RRQSERVE "'%s' of type '%s' is requested from %s" |
490 | IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request" | 490 | IDS_LOG_LISTENOPCODE "Invalid opcode in initial connection request" |
491 | IDS_LOG_XFERUDPSEND "UDP packet send failed" | 491 | IDS_LOG_XFERUDPSEND "UDP packet send failed" |
492 | IDS_LOG_XFERRECEIVE "Error on xfer socket" | 492 | IDS_LOG_XFERRECEIVE "Error on xfer socket" |
493 | IDS_LOG_XFERSEND "Error on xfer socket" | 493 | IDS_LOG_XFERSEND "Error on xfer socket" |
494 | IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed" | 494 | IDS_LOG_XFERUDPRECEIVE "UDP packet receive failed" |
495 | IDS_LOG_XFERSOURCETID "Packet from unexpected source" | 495 | IDS_LOG_XFERSOURCETID "Packet from unexpected source" |
496 | IDS_LOG_SENTTFTPERROR ":%u: %s" | 496 | IDS_LOG_SENTTFTPERROR ":%u: %s" |
497 | IDS_LOG_GOTTFTPERROR "TFTP:%u: %s" | 497 | IDS_LOG_GOTTFTPERROR "TFTP:%u: %s" |
498 | IDS_LOG_XFEROPCODE "Invalid opcode during transfer received" | 498 | IDS_LOG_XFEROPCODE "Invalid opcode (%u) during transfer received" |
499 | IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed" | 499 | IDS_LOG_XFERRRQFINISHED "Transfer of '%s' has successfully completed" |
500 | IDS_TITLE_OPTIONS "Options" | 500 | IDS_TITLE_OPTIONS "Options" |
501 | IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s" | 501 | IDS_LOG_WRQSERVE "Writing of '%s' of type '%s' is requested by %s" |
502 | IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file" | 502 | IDS_TFTP_ERROR_FAILEDTORENAME "Too many clones of the file" |
503 | IDS_RENAME_TITLE "Save As" | 503 | IDS_RENAME_TITLE "Save As" |
504 | END | 504 | END |
505 | 505 | ||
506 | STRINGTABLE DISCARDABLE | 506 | STRINGTABLE DISCARDABLE |
507 | BEGIN | 507 | BEGIN |
508 | IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out" | 508 | IDS_LOG_TIMEDOUT "Transmission of '%s' is timed out" |
509 | IDS_CONFIRMEXIT_TITLE "Exit" | 509 | IDS_CONFIRMEXIT_TITLE "Exit" |
510 | IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?" | 510 | IDS_CONFIRMEXIT_TEXT "File transmission is currently in progress. Are you sure you want to exit?" |
511 | IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed" | 511 | IDS_LOG_XFERWRQFINISHED "Transfer of '%s' has successfully completed" |
512 | IDS_LOG_XFERABORTED "Transfer of '%s' was aborted" | 512 | IDS_LOG_XFERABORTED "Transfer of '%s' was aborted" |
513 | IDS_TITLE_PUTREQUEST "Send file" | 513 | IDS_TITLE_PUTREQUEST "Send file" |
514 | IDS_TITLE_GETREQUEST "Fetch file" | 514 | IDS_TITLE_GETREQUEST "Fetch file" |
515 | IDS_WTALKHEADING "Talk with " | 515 | IDS_WTALKHEADING "Talk with " |
516 | IDS_TITLE_BROWSEFILE "Browse" | 516 | IDS_TITLE_BROWSEFILE "Browse" |
517 | IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'" | 517 | IDS_LOG_RESOLVEFAILED "Failed to resolve host address for '%s'" |
518 | IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'" | 518 | IDS_LOG_FAILEDLOCALFILE "Failed to open local file '%s'" |
519 | IDS_LOG_FAILEDTOOPEN "Failed to open '%s'" | 519 | IDS_LOG_FAILEDTOOPEN "Failed to open '%s'" |
520 | IDS_OTALXHEADING "Open Talks: talking to " | 520 | IDS_OTALXHEADING "Open Talks: talking to " |
521 | IDS_REGISTRYKEY "Klever Group" | 521 | IDS_REGISTRYKEY "Klever Group" |
522 | IDS_KLEVERNET_URL "http://www.klever.net/" | 522 | IDS_KLEVERNET_URL "http://www.klever.net/" |
523 | IDS_LOGTIMEFORMAT "%H:%M:%S %B %d" | 523 | IDS_LOGTIMEFORMAT "%H:%M:%S %B %d" |
524 | END | 524 | END |
525 | 525 | ||
526 | STRINGTABLE DISCARDABLE | 526 | STRINGTABLE DISCARDABLE |
527 | BEGIN | 527 | BEGIN |
528 | ID_TRAY_HELP "Read the help on PumpKIN" | 528 | ID_TRAY_HELP "Read the help on PumpKIN" |
529 | ID_TRAY_ABOUTPUMPKIN "Learn about PumpKIN and it's creator" | 529 | ID_TRAY_ABOUTPUMPKIN "Learn about PumpKIN and it's creator" |
530 | ID_TRAY_EXIT "Close PumpKIN" | 530 | ID_TRAY_EXIT "Close PumpKIN" |
531 | ID_TRAY_SENDFILE "Send file over the network to your tete-a-tete" | 531 | ID_TRAY_SENDFILE "Send file over the network to your tete-a-tete" |
532 | ID_TRAY_FETCHFILE "Fetch file from remote computer" | 532 | ID_TRAY_FETCHFILE "Fetch file from remote computer" |
533 | ID_TRAY_OPTIONS "Set PumpKIN options" | 533 | ID_TRAY_OPTIONS "Set PumpKIN options" |
534 | ID_TRAY_SHOWPUMPKINWINDOW "Show main window" | 534 | ID_TRAY_SHOWPUMPKINWINDOW "Show main window" |
535 | ID_TRAY_OPENFILESFOLDER "Explore TFTP root folder" | 535 | ID_TRAY_OPENFILESFOLDER "Explore TFTP root folder" |
536 | END | 536 | END |
537 | 537 | ||
538 | STRINGTABLE DISCARDABLE | 538 | STRINGTABLE DISCARDABLE |
539 | BEGIN | 539 | BEGIN |
540 | IDC_CONNECTIONS "Active transfers" | 540 | IDC_CONNECTIONS "Active transfers" |
541 | IDC_LOG "PumpKIN Activity Log" | 541 | IDC_LOG "PumpKIN Activity Log" |
542 | IDC_GET "Fetch file from remote server" | 542 | IDC_GET "Fetch file from remote server" |
543 | IDC_PUT "Send file over the net" | 543 | IDC_PUT "Send file over the net" |
544 | IDC_ABORT "Abort transfer currently in progress" | 544 | IDC_ABORT "Abort transfer currently in progress" |
545 | IDC_EXIT "Close PumpKIN" | 545 | IDC_EXIT "Close PumpKIN" |
546 | END | 546 | END |
547 | 547 | ||
548 | STRINGTABLE DISCARDABLE | 548 | STRINGTABLE DISCARDABLE |
549 | BEGIN | 549 | BEGIN |
550 | IDC_OPTIONS "Set PumpKIN options" | 550 | IDC_OPTIONS "Set PumpKIN options" |
551 | IDC_REFRESH "Refresh talks list" | 551 | IDC_REFRESH "Refresh talks list" |
552 | IDC_BROWSE "Browse" | 552 | IDC_BROWSE "Browse" |
553 | END | 553 | END |
554 | 554 | ||
555 | STRINGTABLE DISCARDABLE | 555 | STRINGTABLE DISCARDABLE |
556 | BEGIN | 556 | BEGIN |
557 | ID_HELP "Read help on PumpKIN" | 557 | ID_HELP "Read help on PumpKIN" |
558 | END | 558 | END |
559 | 559 | ||
560 | STRINGTABLE DISCARDABLE | 560 | STRINGTABLE DISCARDABLE |
561 | BEGIN | 561 | BEGIN |
562 | IDS_DROPFILES_TITLE "Drop Files" | 562 | IDS_DROPFILES_TITLE "Drop Files" |
563 | IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted" | 563 | IDS_NOMULTIPLEDROP_TEXT "You can't drop more than one file here. Only the first one will be accepted" |
564 | IDS_LOG_REQUESTING "Requesting '%s' from '%s'" | 564 | IDS_LOG_REQUESTING "Requesting '%s' from '%s'" |
565 | IDS_LOG_SENDING "Sending '%s' to '%s'" | 565 | IDS_LOG_SENDING "Sending '%s' to '%s'" |
566 | IDS_WTALKAT "@" | 566 | IDS_WTALKAT "@" |
567 | IDS_OTALXAT " at " | 567 | IDS_OTALXAT " at " |
568 | IDS_TFTP_ERROR_TSIZE "Invalid transfer size" | 568 | IDS_TFTP_ERROR_TSIZE "Invalid transfer size" |
569 | IDS_TFTP_ERROR_BSIZE "Invalid block size" | 569 | IDS_TFTP_ERROR_BSIZE "Invalid block size" |
570 | IDS_TFTP_ERROR_TOUT "Invalid timeout" | 570 | IDS_TFTP_ERROR_TOUT "Invalid timeout" |
571 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.." | 571 | IDS_SELECT_TFTPROOT "Select TFTP filesystem root.." |
572 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||" | 572 | IDS_FILTER_WAV "Sound Files (*.wav)|*.wav||" |
573 | IDS_TITLE_WAV "Select sound.." | 573 | IDS_TITLE_WAV "Select sound.." |
574 | IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application." | 574 | IDS_BOX_CANTBIND "Failed to create listening socket. The port may be in use by another application." |
575 | END | 575 | END |
576 | 576 | ||
577 | STRINGTABLE DISCARDABLE | 577 | STRINGTABLE DISCARDABLE |
578 | BEGIN | 578 | BEGIN |
579 | AFX_IDS_APP_TITLE "PUMPKIN" | 579 | AFX_IDS_APP_TITLE "PUMPKIN" |
580 | END | 580 | END |
581 | 581 | ||
582 | #endif // English (U.S.) resources | 582 | #endif // English (U.S.) resources |
583 | ///////////////////////////////////////////////////////////////////////////// | 583 | ///////////////////////////////////////////////////////////////////////////// |
584 | 584 | ||
585 | 585 | ||
586 | 586 | ||
587 | #ifndef APSTUDIO_INVOKED | 587 | #ifndef APSTUDIO_INVOKED |
588 | ///////////////////////////////////////////////////////////////////////////// | 588 | ///////////////////////////////////////////////////////////////////////////// |
589 | // | 589 | // |
590 | // Generated from the TEXTINCLUDE 3 resource. | 590 | // Generated from the TEXTINCLUDE 3 resource. |
591 | // | 591 | // |
592 | #define _AFX_NO_SPLITTER_RESOURCES | 592 | #define _AFX_NO_SPLITTER_RESOURCES |
593 | #define _AFX_NO_OLE_RESOURCES | 593 | #define _AFX_NO_OLE_RESOURCES |
594 | #define _AFX_NO_TRACKER_RESOURCES | 594 | #define _AFX_NO_TRACKER_RESOURCES |
595 | #define _AFX_NO_PROPERTY_RESOURCES | 595 | #define _AFX_NO_PROPERTY_RESOURCES |
596 | 596 | ||
597 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) | 597 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) |
598 | #ifdef _WIN32 | 598 | #ifdef _WIN32 |
599 | LANGUAGE 9, 1 | 599 | LANGUAGE 9, 1 |
600 | #pragma code_page(1252) | 600 | #pragma code_page(1252) |
601 | #endif | 601 | #endif |
602 | #include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources | 602 | #include "res\PumpKIN.rc2" // non-Microsoft Visual C++ edited resources |
603 | #include "afxres.rc" // Standard components | 603 | #include "afxres.rc" // Standard components |
604 | #endif | 604 | #endif |
605 | ///////////////////////////////////////////////////////////////////////////// | 605 | ///////////////////////////////////////////////////////////////////////////// |
606 | #endif // not APSTUDIO_INVOKED | 606 | #endif // not APSTUDIO_INVOKED |
607 | 607 | ||