Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
3.1 KiB

  1. #include "ups.h"
  2. //#include "control.rcv"
  3. UPSICON ICON PRELOAD ups.ico
  4. CP_ACCEL ACCELERATORS PRELOAD
  5. BEGIN
  6. VK_F1, MENU_INDHELP, VIRTKEY
  7. END
  8. #include "ups.dlg"
  9. STRINGTABLE DISCARDABLE LOADONCALL
  10. BEGIN
  11. /* initialization strings */
  12. ERRMEM, "Insufficient memory for this operation."
  13. LSFAIL, "LoadString fail due to the string resource does not exist."
  14. CPCAPTION, "Control Panel" /* for message box titles */
  15. _STOPPED, "Stopped"
  16. _START_PENDING, "Start_pending"
  17. _STOP_PENDING, "Stop_pending"
  18. _RUNNING, "running"
  19. _CONTINUE_PENDING, "Continue_pending"
  20. _PAUSE_PENDING, "Pause_pending"
  21. _PAUSED, "Paused"
  22. UPS_STATUS_ERROR, "The status of the UPS service is unknown."
  23. UPS_REGISTRY_ERROR, "Cannot read/save UPS information in the registry."
  24. CHILDREN, "&UPS"
  25. INFO, "Configures the Uninterruptible Power Supply"
  26. UPS_OPTIONS_ERROR, "The UPS must support signal on either low battery or power failure."
  27. UPS_ACCESS_ERROR, "You do not have access to set UPS options."
  28. UPS_SERVICE_ERROR, "Cannot restart UPS service. Please restart the system."
  29. UPS_FW_WARNING, "Time before first warning message is greater than the battery life."
  30. UPS_DELAY_WARNING, "Time between Warning messages is greater than the battery life."
  31. UPS_FWRange, "Time between power failure and initial warning
  32. message is out of the valid range. (0-120 sec)"
  33. UPS_WIRange, "Delay between warning message is out
  34. of the valid range. (5-300 sec)"
  35. UPS_BLRange, "Expected Battery Life is out of
  36. the valid range. (2-720 min)"
  37. UPS_RPMRange, "Battery recharge time per minute of run time
  38. is out of the valid range. (1-250 min)"
  39. UPS_START_MSG, "The UPS service has not been started.
  40. Would you like to start it now?"
  41. UPS_RESTART_MSG, "The UPS service is running.
  42. Would you like to restart it now?"
  43. UPS_STOP_MSG, "The UPS service is running.
  44. Would you like to stop it now?"
  45. UPS_PENDING_MSG, "The UPS service is in a pending state.
  46. Use the Services applet in the Control Panel."
  47. UPS_STARTFAIL_MSG,"Could not start the UPS service.
  48. Check the connections and the interface signals."
  49. UPS_STOPFAIL_MSG, "Could not stop the UPS service.
  50. Use the Services applet in the Control Panel."
  51. UPS_UNKNOWNSTATE_MSG, "The UPS service is in an unknown state.
  52. Use the Services applet in the Control Panel."
  53. UPS_INVALID_PATH, "The command file specified is not valid.
  54. Please specify the filename only."
  55. UPS_INVALID_FILENAME, "The command file specified is not valid."
  56. UPS_FILE_NOT_EXIST, "The command file specified does not exist on your
  57. %1 directory."
  58. UPS_CANT_FIND_SYSDIR, "Cannot find the system directory."
  59. END
  60. #include <ntverp.h>
  61. #define VER_FILETYPE VFT_DLL
  62. #define VER_FILESUBTYPE VFT2_UNKNOWN
  63. #define VER_FILEDESCRIPTION_STR "Control Panel UPS Applet"
  64. #define VER_INTERNALNAME_STR "ups\0"
  65. #include "common.ver"