mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
393a88a372
Main goal was making the dlg display well in 640x480 resolution. Since the dialogs in that propsheet had very different sizes between the languages that was a lot of work. Now all of the propsheet-dlgs are harmonized in size to 252x220. Also I found a way to align some controls in a way that they are more immune to differing languages lengths for specific strings, so we can currently to 100% use the same controls dimensions and positions also, which is a very nice trait. I double-checked all dialogs visually in ResHacker for all languages (except no-NO.rc for technical reasons), and they do look all very well like that. The slider for the alarms dlg I enlarged in x, it has 100 distinct positions, so a larger slider helps the user not having to position the mouse extremely accurate. I also fixed various typos, and several places where text cutoff occurred for many languages, too many to name them all. Some dummy-strings "unknown" I changed to "?" instead. That still allows to see its position in a previewer, but does not lure all the translators into translating that nonsense, and therefore keeps the rcs better in sync. It also shrinks binary size.
171 lines
8.9 KiB
Text
171 lines
8.9 KiB
Text
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
IDD_POWERSCHEMESPAGE_ACDC DIALOGEX 0, 0, 252, 220
|
|
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Power Schemes"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_ACDC, IDI_ACDC, 7, 7, 0, 0
|
|
LTEXT "Select the power scheme with the most appropriate settings for this computer. Note that changing the settings below will modify the selected scheme.", -1, 37, 6, 208, 36
|
|
GROUPBOX "P&ower schemes", -1, 6, 43, 240, 50
|
|
COMBOBOX IDC_ENERGYLIST, 14, 54, 224, 92, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "&Save As...", IDC_SAVEAS_BTN, 85, 72, 80, 14, WS_DISABLED
|
|
PUSHBUTTON "&Delete", IDC_DELETE_BTN, 173, 72, 64, 14, WS_DISABLED
|
|
GROUPBOX "", IDC_GRPDETAIL, 6, 95, 240, 119
|
|
LTEXT "When computer is:", IDC_SAT, 12, 110, 60, 15
|
|
LTEXT "Plugged in", IDC_SAC, 100, 110, 50, 15
|
|
ICON IDI_AC, IDC_IAC, 141, 122, 0, 0
|
|
LTEXT "Running on batteries", IDC_SDC, 173, 110, 50, 15
|
|
ICON IDI_DC, IDC_IDC, 218, 122, 0, 0
|
|
LTEXT "Turn off &monitor:", IDC_MONITOR, 13, 148, 85, 10
|
|
COMBOBOX IDC_MONITORACLIST, 100, 145, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_MONITORDCLIST, 173, 145, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Turn off hard d&isks:", IDC_DISK, 13, 163, 85, 10
|
|
COMBOBOX IDC_DISKACLIST, 100, 160, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_DISKDCLIST, 173, 160, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "System s&tandby:", IDC_STANDBY, 13, 178, 85, 10
|
|
COMBOBOX IDC_STANDBYACLIST, 100, 175, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_STANDBYDCLIST, 173, 175, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "System &hibernates:", IDC_HIBERNATE, 13, 193, 85, 10
|
|
COMBOBOX IDC_HIBERNATEACLIST, 100, 190, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_HIBERNATEDCLIST, 173, 190, 65, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
END
|
|
|
|
IDD_POWERSCHEMESPAGE_AC DIALOGEX 0, 0, 252, 220
|
|
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Power Schemes"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_ACDC, IDI_ACDC, 7, 7, 0, 0
|
|
LTEXT "Select the power scheme with the most appropriate settings for this computer. Note that changing the settings below will modify the selected scheme.", -1, 37, 6, 208, 36
|
|
GROUPBOX "P&ower schemes", -1, 6, 43, 240, 50
|
|
COMBOBOX IDC_ENERGYLIST, 14, 54, 224, 92, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL
|
|
PUSHBUTTON "&Save As...", IDC_SAVEAS_BTN, 85, 72, 80, 14, WS_DISABLED
|
|
PUSHBUTTON "&Delete", IDC_DELETE_BTN, 173, 72, 64, 14, WS_DISABLED
|
|
GROUPBOX "", IDC_GRPDETAIL, 6, 95, 240, 119
|
|
LTEXT "Turn off &monitor:", IDC_MONITOR, 13, 148, 85, 10
|
|
COMBOBOX IDC_MONITORACLIST, 100, 145, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Turn off hard d&isks:", IDC_DISK, 13, 163, 85, 10
|
|
COMBOBOX IDC_DISKACLIST, 100, 160, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "System s&tandby:", IDC_STANDBY, 13, 178, 85, 10
|
|
COMBOBOX IDC_STANDBYACLIST, 100, 175, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "System &hibernates:", IDC_HIBERNATE, 13, 193, 85, 10
|
|
COMBOBOX IDC_HIBERNATEACLIST, 100, 190, 140, 150, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
END
|
|
|
|
IDD_PROPPAGEALARMS DIALOGEX 0, 0, 252, 220
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Alarms"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Low battery alarm", -1, 6, 7, 239, 99
|
|
AUTOCHECKBOX "Activate &low battery alarm when power level reaches:", IDC_ALARM1, 15, 17, 225, 10, WS_TABSTOP
|
|
LTEXT "xxx%", IDC_ALARMVALUE1, 28, 32, 20, 10
|
|
CONTROL "", IDC_ALARMBAR1, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_TABSTOP, 47, 32, 194, 15
|
|
PUSHBUTTON "Alar&m Action...", -1, 148, 50, 88, 14, WS_DISABLED //FIXME: accelerator collision &m
|
|
LTEXT "Notification:", -1, 28, 67, 89, 10
|
|
LTEXT "?", IDC_ALARMMSG1, 118, 67, 125, 10
|
|
LTEXT "Action:", -1, 28, 79, 89, 10
|
|
LTEXT "?", IDC_ALARMAKTION1, 118, 79, 125, 10
|
|
LTEXT "Run Program:", -1, 28, 91, 89, 10
|
|
LTEXT "?", IDC_ALARMPROG1, 118, 91, 125, 10
|
|
GROUPBOX "Critical battery alarm", -1, 6, 115, 239, 99
|
|
AUTOCHECKBOX "Activate &critical battery alarm when power level reaches:", IDC_ALARM2, 15, 125, 225, 10, WS_TABSTOP
|
|
LTEXT "xxx%", IDC_ALARMVALUE2, 28, 140, 20, 10
|
|
CONTROL "", IDC_ALARMBAR2, "msctls_trackbar32", TBS_HORZ | TBS_AUTOTICKS | WS_TABSTOP, 47, 140, 194, 15
|
|
PUSHBUTTON "Alar&m Action...", -1, 148, 158, 88, 14, WS_DISABLED //FIXME: accelerator collision &m
|
|
LTEXT "Notification:", -1, 28, 175, 89, 10
|
|
LTEXT "?", IDC_ALARMMSG2, 118, 175, 125, 10
|
|
LTEXT "Action:", -1, 28, 187, 89, 10
|
|
LTEXT "?", IDC_ALARMAKTION2, 118, 187, 125, 10
|
|
LTEXT "Run Program:", -1, 28, 199, 89, 10
|
|
LTEXT "?", IDC_ALARMPROG2, 118, 199, 125, 10
|
|
END
|
|
|
|
IDD_PROPPAGEADVANCED DIALOGEX 0, 0, 252, 220
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Advanced"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_ACDC, IDI_ACDC, 7, 7, 0, 0
|
|
LTEXT "Select the power-saving settings you want to use.", -1, 37, 6, 208, 20
|
|
GROUPBOX "Options", -1, 6, 30, 240, 65
|
|
AUTOCHECKBOX "Alway&s show icon on the taskbar", IDC_SYSTRAYBATTERYMETER, 17, 43, 220, 10, WS_TABSTOP
|
|
AUTOCHECKBOX "&Prompt for password when computer resumes from standby", IDC_PASSWORDLOGON, 17, 60, 220, 10, WS_TABSTOP
|
|
AUTOCHECKBOX "&Dim display when running on batteries", IDC_VIDEODIMDISPLAY, 17, 78, 220, 10, WS_TABSTOP
|
|
GROUPBOX "Power buttons", -1, 6, 101, 240, 110
|
|
LTEXT "&When I close the lid of my portable computer:", IDC_SLIDCLOSE, 15, 115, 222, 10
|
|
COMBOBOX IDC_LIDCLOSE, 15, 127, 220, 90, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Wh&en I press the power button on my computer:", IDC_SPOWERBUTTON, 15, 145, 222, 10
|
|
COMBOBOX IDC_POWERBUTTON, 15, 157, 220, 90, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Whe&n I press the sleep button on my computer:", IDC_SSLEEPBUTTON, 15, 175, 222, 10
|
|
COMBOBOX IDC_SLEEPBUTTON, 15, 187, 220, 90, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
END
|
|
|
|
IDD_PROPPAGEHIBERNATE DIALOGEX 0, 0, 252, 220
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Hibernate"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
ICON IDI_HIBERNATE, IDI_HIBERNATE, 7, 7, 0, 0
|
|
LTEXT "When your computer hibernates, it stores whatever it has in memory on your hard disk and then shuts down. When your computer comes out of hibernation, it returns to its previous state.", -1, 37, 6, 208, 35
|
|
GROUPBOX "Hibernate", -1, 6, 41, 240, 32
|
|
AUTOCHECKBOX "Enable &hibernation", IDC_HIBERNATEFILE, 17, 55, 210, 10, WS_TABSTOP
|
|
GROUPBOX "Disk space for hibernation", -1, 6, 80, 240, 76
|
|
LTEXT "Free disk space:", -1, 15, 95, 150, 10
|
|
LTEXT "?", IDC_FREESPACE, 170, 95, 70, 10
|
|
LTEXT "Disk space required to hibernate:", -1, 15, 115, 150, 10
|
|
LTEXT "?", IDC_SPACEFORHIBERNATEFILE, 170, 115, 70, 10
|
|
LTEXT "You must free some disk space before your computer can hibernate.", IDC_TOLESSFREESPACE, 15, 135, 224, 20
|
|
END
|
|
|
|
IDD_SAVEPOWERSCHEME DIALOGEX 0, 0, 190, 62
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Save Scheme"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Save this power scheme as:", -1, 7, 7, 180, 8
|
|
EDITTEXT IDC_SCHEMENAME, 7, 18, 176, 14, ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK", IDOK, 79, 40, 50, 14
|
|
PUSHBUTTON "Cancel", IDCANCEL, 133, 40, 50, 14
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_CPLNAME_1 "Power Options"
|
|
IDS_CPLDESCRIPTION_1 "Configure energy-saving settings for your computer."
|
|
IDS_PERCENT "%i%%"
|
|
IDS_SOUND "Sound"
|
|
IDS_TEXT "Text"
|
|
IDS_CONFIG1 "Settings for %s power scheme"
|
|
IDS_CONFIG2 "Advanced settings for %s"
|
|
IDS_NOACTION "Do nothing"
|
|
IDS_PowerActionNone1 "No action"
|
|
IDS_PowerActionUnknown "Unknown"
|
|
IDS_PowerActionSleep "Stand by"
|
|
IDS_PowerActionHibernate "Hibernate"
|
|
IDS_PowerActionShutdown "Shut down"
|
|
IDS_PowerActionRestart "Restart"
|
|
IDS_PowerActionShutdownOff "Shutdown and Turn the Power Off"
|
|
IDS_PowerActionWarmEject "Ask me what to do"
|
|
IDS_PowerActionNone2 "None"
|
|
IDS_TIMEOUT1 "After 1 min"
|
|
IDS_TIMEOUT2 "After 2 mins"
|
|
IDS_TIMEOUT3 "After 3 mins"
|
|
IDS_TIMEOUT4 "After 5 mins"
|
|
IDS_TIMEOUT5 "After 10 mins"
|
|
IDS_TIMEOUT6 "After 15 mins"
|
|
IDS_TIMEOUT7 "After 20 mins"
|
|
IDS_TIMEOUT8 "After 25 mins"
|
|
IDS_TIMEOUT9 "After 30 mins"
|
|
IDS_TIMEOUT10 "After 45 mins"
|
|
IDS_TIMEOUT11 "After 1 hour"
|
|
IDS_TIMEOUT12 "After 2 hours"
|
|
IDS_TIMEOUT13 "After 3 hours"
|
|
IDS_TIMEOUT14 "After 4 hours"
|
|
IDS_TIMEOUT15 "After 5 hours"
|
|
IDS_TIMEOUT16 "Never"
|
|
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme: ""%s""?"
|
|
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
|
IDS_DEL_SCHEME_ERROR "Unable to delete power scheme"
|
|
END
|