Compare commits

...

157 Commits

Author SHA1 Message Date
Joachim Henze
ec6bfe23a2 [MSCTFIME] msctfime.rc turkish-sort
Addendum to 0.4.16-dev-79-g 17be785eef
2024-09-28 21:41:16 +02:00
Ethem De Santa
17be785eef [MSCTFIME] Add Turkish (tr-TR) translation (#7381) 2024-09-28 21:24:09 +02:00
Joachim Henze
dbda7ab66f [FDEBUG] *.rc: Less outdated version-hardcodes (#7383)
We do have 22 rc files. Strip a hardcoded version in all of them.
Which hasn't been groomed by anyone for longer than the year 2005 already (SVN r18478).
What a waste of bytes!
2024-09-28 21:23:28 +02:00
Joachim Henze
55e4e2b9a4 [DESK] *.rc: Tweak comboboxes WS_CHILD, CBS_SORT (#7399)
We had a mixup between languages regarding WS_CHILD, CBS_SORT for some comboboxes.
Harmonize that by:
- Strip explicit WS_CHILD from all comboboxes (because it is implicitly available)
- Strip CBS_SORT from IDC_EFFAPPEARANCE_ANIMATIONTYPE and IDC_EFFAPPEARANCE_SMOOTHINGTYPE because Windows does not sort them.
  This fixes the wrong order in those controls
2024-09-28 21:20:32 +02:00
Vitaly Orekhov
c2082ce92a [PSDK] Define maximum SSID length properly (#7394)
Avoid using magic numbers for structures and ease the day for those
who do not remember IEEE 802.11 specifications by heart.

- Add a #define that matches by name with one used since day one
  of Visual Studio 2008 (VS2005 does not have Native Wi-Fi SDK)
- Remove magic constant from DOT11_SSID.ucSSID size definition

Reference: https://learn.microsoft.com/en-us/windows/win32/nativewifi/dot11-ssid
CORE-6905
2024-09-28 18:28:15 +03:00
Vitaly Orekhov
1c0b769e96 [PSDK] Add defines for dwFlags used by WlanGetAvailableNetworkList (#7390)
This will be used by Wireless LAN Wizard (wlanwiz).
Reference: https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/nf-wlanapi-wlangetavailablenetworklist

CORE-6905
2024-09-28 18:20:22 +03:00
Whindmar Saksit
053939e27c [RAPPS] Hide the main window during active download/install if the user closes it (#7014) 2024-09-26 18:58:30 +02:00
Whindmar Saksit
2f83e6a65d [RAPPS] Use different mutex and title for AppWiz mode (#7350)
The two different modes needs separate mutex and window titles, otherwise you can end up stuck in AppWiz mode.
2024-09-26 18:06:13 +02:00
Joachim Henze
4f4be5c498 [FREELDR] Print arch + buildnumber on crash-screen (#7382)
This commit tries to improve the quality of the screenshots that we do get posted in JIRA,
where we couldn't even see up to now which build and arch was run.
This is in the wider context of CORE6762
(I intentionally left out the minus in the CORE-ID to prevent auto-linkage to that ticket)
2024-09-26 00:49:29 +02:00
Mahir Gül
064d6d3427 [MSPAINT] Update Turkish (tr-TR) translation (#7371) 2024-09-26 00:12:19 +02:00
Andrei Miloiu
9acaefc3b0 [MATRIX] Improve Romanian (ro-RO) translation (#7362) 2024-09-25 15:25:11 +02:00
Hermès Bélusca-Maïto
840d39b9d0 [FREELDR] i386/pc/pcdisk.c: Fix LBA reads retry loop (#7367)
When the Int 13h AH=42h "Extended read" function fails, the disk address
packet's LBA block count is reset to the number of blocks that have been
successfully transferred. This is more or less fine, unless one wants to
ensure the exact number of sectors gets read.

If the function fails so that zero sectors were read, the retry loop is
restarted, but with the packet's LBA block count member reset, as per
the documentation. (In this example, it is reset to zero.) Then, at the
next retry attempt, zero sectors are requested to be read, and this time
of course, the call succeeds... Wrongly, of course, this is not what's
expected.

Therefore, for each retry, the LBA block count member should be set
again to the correct number of sectors to read. There are maximum 3
retries, so the retry loop will stop anyway, but the LBA read will now
correctly fail and return FALSE, as expected.

This problem doesn't exist in the retry loop for the Int 13h, AH=02h
"Read Disk Sectors" CHS function, because here, the call is made only
using registers, and we use a pair of RegsIn/RegsOut. RegsOut receives
the modified register values, but the input RegsIn stays unchanged.
2024-09-25 13:24:08 +02:00
Hermès Bélusca-Maïto
4190b48924 [FREELDR] Fix the seg:off values when dumping the extended drive parameters (#7367)
(By the way, it's "EDD": "Enhanced Disk Drive", not "EED"...)

The 13th and 14th USHORTs (at offsets 0x1A-0x1D) in the retrieved buffer
from the INT 13h, AH=48h "Get Extended Drive Parameters" function,
correspond respectively to the offset and the segment of the "EDD
configuration parameters", see http://www.ctyme.com/intr/rb-0715.htm

Fixes code introduced in commit b3f11cfb38 (r17484).

----

16 years ago, these values were wrongly stored in the returned buffer
by VirtualBox, see https://www.virtualbox.org/ticket/2848 .
This has been fixed since VBox 2.1.0 in commit 15712 (22 Dec. 2008):
https://www.virtualbox.org/changeset/15712/vbox
This problem was also noticed earlier (07 Mar. 2008) and fixed in Xen:
https://lists.xenproject.org/archives/html/xen-devel/2008-03/msg00229.html

This bug originated from Bochs, from which the two projects above
adapted their rombios.c code. It was fixed on 08-09 Oct. 2007 by
Myles Watson, see https://sourceforge.net/p/bochs/mailman/message/13777090/
and included in Bochs 1.15x and 1.185+
https://sourceforge.net/p/bochs/mailman/message/12953093/
https://sourceforge.net/p/bochs/mailman/message/12953094/
2024-09-25 13:05:07 +02:00
Hermès Bélusca-Maïto
e2d0c7de30 [FREELDR] iso.c: Perform extra validation before mounting the ISO filesystem (#7367)
Validate the primary volume descriptor version and its reported
logical block size.
2024-09-25 13:05:02 +02:00
Hermès Bélusca-Maïto
56eede6e38 [FREELDR] iso.h: Fix definition of the "Primary Volume Descriptor" PVD structure (#7367)
For reference, see the cdfs/cd.h RAW_ISO_VD structure.

Each of the old "VolumeSetSize", "VolumeSequenceNumber" and "LogicalBlockSize"
ULONG fields actually correspond to pairs of USHORT fields:
"VolumeSetSizeL" and "VolumeSetSizeM", etc., where the "L" one contains
the value in little-endian format, while the "M" one contains the same
value in big-endian format.

Additionally, use UCHARs for the character arrays.
2024-09-25 12:56:47 +02:00
Hermès Bélusca-Maïto
5d99a70597 [FREELDR] Minimally reformat include/fs/iso.h 2024-09-25 12:56:46 +02:00
Timo Kreuzer
db419efbf2 [WIN32K] Fix protection of USER heap
Create the section with PAGE_READWRITE, not PAGE_EXECUTE_READWRITE and map in user mode with PAGE_READONLY, not PAGE_EXECUTE_READ.
Original commit was ea5261f in 2006. The comments suggest that back then the heap code had issues with it, which is not the case anymore.
2024-09-24 13:32:28 +03:00
Andrei Miloiu
9139d0fab1 [NETID] Fix header in Romanian (ro-RO) translation (#7357) 2024-09-21 19:40:52 +03:00
Timo Kreuzer
469d4dbbab [USETUP] Fix handling of 0 sized files in the cab 2024-09-20 14:08:13 +03:00
Doug Lyons
e128cbc680 [GDIPLUS] Fix for gdiplus/graphics.c regression with GCC 8.4.0 from 4.7.2(#7348)
Affects ribbon bar when running Super Finder XT 1.6.3.2 from rapps.

Change four REAL variables to DOUBLE to improve precision.

CORE-19456
2024-09-19 14:54:49 -05:00
Hermès Bélusca-Maïto
058a67cb4a [SHELL32] Use the correct flags with ListView's GetNextItem()
LVIS_* -> LVNI_*
2024-09-19 18:44:37 +02:00
Whindmar Saksit
d4815873fe [SHELL32] Don't leak SetProp (#7347) 2024-09-18 21:48:58 +02:00
Andrei Miloiu
042a025835 [LICCPA] Fix header in Romanian (ro-RO) translation (#7349)
Addendum to e8c7597b17.
2024-09-18 14:32:14 +03:00
Hermès Bélusca-Maïto
4e59858941 [RAPPS] Change the "Welcome" text with a suitable explanatory one in APPWIZ-mode (#6655)
- Delete CAppRichEdit::SetWelcomeText() and move its implementation
  inside CAppInfoDisplay::SetWelcomeText().

- Make CAppInfoDisplay::SetWelcomeText() select a suitable text,
  depending on normal mode or APPWIZ mode.

- IDS_WELCOME_TITLE: Remove the double \n\n from the resources,
  and add them programmatically instead.
2024-09-18 12:31:51 +02:00
Hermès Bélusca-Maïto
5aecdd0840 [RAPPS] Don't display the "Selected" apps count in APPWIZ mode (#6655)
The count makes sense only in normal mode, where we can select many apps
for bulk-install.

Split the IDS_APPS_COUNT string into it and IDS_APPS_SELECT_COUNT, and
append the number of selected apps only when we aren't in APPWIZ mode.
2024-09-18 12:31:50 +02:00
Hermès Bélusca-Maïto
f23394986a [RAPPS] Recalculate the toolbar max buttons width when deleting the buttons (#6655)
Done so that the toolbar can display correctly the buttons,
and their labels if possible, when resizing the RAPPS window.
2024-09-18 12:31:48 +02:00
Hermès Bélusca-Maïto
9835ea27d2 [RAPPS] Build up a minimal UI for RAPPS started in AppWiz mode (#6655)
- Only the "Installed/Applications/Updates" items are shown.
- Delete the "Settings" item in the "File" menu.
- Remove unnecessary toolbar buttons: ID_INSTALL, ID_CHECK_ALL, ID_RESETDB.

- gui.cpp CMainWindow::ProcessWindowMessage():
  Forbid the "Install" tree-view section to collapse.

  However, there is currently a bug in Wine's comctl32, which ignores
  the value returned from the TVN_ITEMEXPANDING notification handler
  to control the collapse/expansion behaviour.

  https://bugs.winehq.org/show_bug.cgi?id=53727

  As a result, this feature doesn't work in ReactOS yet.
2024-09-18 12:31:47 +02:00
Hermès Bélusca-Maïto
b1a3479500 [RAPPS] Remove the IDR_APPLICATIONMENU menu (#6655)
It is redundant with the "Programs" one from the main menu.
2024-09-18 12:31:46 +02:00
Hermès Bélusca-Maïto
39867020f7 [RAPPS] Separate the banner-like resource strings from the other ones. 2024-09-18 12:31:45 +02:00
Hermès Bélusca-Maïto
2d0182345a [RAPPS] Don't show the "Description" column for installed applications.
As it currently is, it doesn't provide much useful information.
It will be re-enabled later when we support other columns ("Publisher",
"Size", "Installed on", ...) and the possibility to show/hide columns.
2024-09-18 12:31:43 +02:00
Hermès Bélusca-Maïto
2a2df969b0 [RAPPS] Simplify CAppsListView::SetCheckboxesVisible() into ShowCheckboxes() 2024-09-18 12:31:43 +02:00
Hermès Bélusca-Maïto
385274e2dd [RAPPS] Merge CMainToolbar::Show/HideButtonCaption() into one single function. 2024-09-18 12:31:41 +02:00
Timo Kreuzer
e8cf32cf15 [WIN32NT_APITEST] Fix tests for NtUserSystemParametersInfo 2024-09-18 10:22:26 +03:00
Timo Kreuzer
a23e8da23e [WIN32NT_APITEST] Fix NtGdiCreateBitmap test on x64 2024-09-18 10:22:26 +03:00
Timo Kreuzer
f68d8d5459 [CRT_APITEST] Fix version check 2024-09-18 10:22:26 +03:00
Timo Kreuzer
a54be9726d [KMTEST/x64] Fix tests for RtlCaptureContextKM 2024-09-18 10:22:26 +03:00
Timo Kreuzer
7052992973 [COM_APITEST] Fix 2 tests to pass on Windows 2003 2024-09-18 10:22:26 +03:00
Timo Kreuzer
73c6e99e14 [TESTS] Disable cmd:reactos, it's broken 2024-09-18 10:22:26 +03:00
Timo Kreuzer
5140a990fe [BROWSEUI_APITEST] Comment out tests that fail on Windows
@Katayama Hirofumi please investigate.
2024-09-18 10:22:26 +03:00
Andrei Miloiu
e8c7597b17 [LICCPA] Update Romanian (ro-RO) translation (#7295) 2024-09-18 01:10:05 +02:00
Andrei Miloiu
5fab184d80 [ACPPAGE] Update Romanian (ro-RO) translation (#7294) 2024-09-18 01:09:26 +02:00
Andrei Miloiu
8f9723ae3b [SHUTDOWN] Update Romanian (ro-RO) translation (#7293) 2024-09-18 01:08:22 +02:00
Timo Kreuzer
96c65e94e1 [NTOS:MM] Properly handle execution in NX section
This prevents processes from looping forever, thinking the fault was already resolbed, because the page is writable.
2024-09-16 16:04:43 +03:00
Timo Kreuzer
fd3c571d36 [RTL][KERNEL32][ROSAUTOTEST] Disable debug prompts during autotest
This fixes timeouts + reboots for user mode assertion failures on the testbots. As a bonus it now shows a backtrace.
2024-09-16 10:10:55 +03:00
Whindmar Saksit
301675c112 [RAPPS] Respect partial settings configuration (#7247)
Instead of defaulting all settings if any setting is missing, respect any setting that is already set and default the rest.
2024-09-16 00:51:53 +02:00
Timo Kreuzer
d734bd784c [WIN32KNT_APITEST] Fix NtGdiEnumFontOpen test on x64 and Win7+ 2024-09-15 19:28:07 +03:00
Timo Kreuzer
8e047e931e [NTDLL_APITEST] Fix NtCreateFile test on x64 2024-09-15 19:28:07 +03:00
Timo Kreuzer
c52763f7de [MSVCRT_APITEST] Fix ieee test on x64 2024-09-15 19:28:07 +03:00
Timo Kreuzer
7b44ae4384 [KERNEL32_APITEST] Fix GetDriveType test on x64 testbot
Apparently Z: is a remote drive, so use Q: instead.
2024-09-15 19:28:07 +03:00
Timo Kreuzer
4d10ead793 [UUID] Add missing IID_INetConnectionCommonUi2
This is identical to IID_INetLanConnectionUiInfo
2024-09-15 19:28:07 +03:00
Timo Kreuzer
d5b3bb4f4a [ATL_APITEST] Fix CSimpleArray test
The test violated the one definition rule and was using the constructor from a different implementation of CCreature.
2024-09-15 19:28:07 +03:00
Timo Kreuzer
be56475ccf [ATL_APITEST] Fix a test that fails on Win 2003 x64 2024-09-15 19:28:07 +03:00
Timo Kreuzer
edf02414b9 [ATL_APITEST] Add missing vcproj for CRegKey 2024-09-15 19:28:07 +03:00
Timo Kreuzer
a8cda82924 [IPHLPAPI_APITEST] Fix a test for x64 2024-09-15 19:28:07 +03:00
Timo Kreuzer
a71d80239d [ADVAPI32_APITEST] #if out 2 tests for x64 that fail on Windows 2003 x64 2024-09-15 19:28:07 +03:00
Timo Kreuzer
dbb72f4923 [NTUSER] Fix unaligned access in co_IntSetWindowLongPtr 2024-09-15 12:09:09 +03:00
Timo Kreuzer
201f00ab6f [USER32][NTUSER] Implement (NtUser)SetClassLongPtr(A/W) 2024-09-15 12:09:09 +03:00
Timo Kreuzer
53b304e6a9 [SDK] Add unaligned.h header for safely accessing unaligned variables
This supersedes RtlStoreUshort/RtlRetrieveUshort etc, which have a horrible interface and are inherently unsafe.
2024-09-15 12:09:09 +03:00
Timo Kreuzer
a0bbb9ef99 [XDK] Improve unaligned pointer read macros
- The #if was missing x86 (Windows SDK bug!)
- The unaligned attribute was on the wrong side (Windows SDK bug!)
- Add a comment that these are unsafe and shouldn't be used
2024-09-15 12:09:09 +03:00
Hermès Bélusca-Maïto
2af6fd4def [PSDK] Add GetMenuPosFromID() declaration in shlwapi.h
This function is exported from shlwapi.dll since version 4.71.
It has been publicly documented in MS PSDK and MSDN since at least
Windows XP/2003 and claimed to be declared in shlwapi.h; however,
this is inaccurate: it has been declared only starting Vista PSDK.
2024-09-14 23:05:53 +02:00
Hermès Bélusca-Maïto
144a8b5b84 [SHELL32][SDK] Move SHMenuIndexFromID() definition to shlwapi_undoc.h 2024-09-14 23:05:52 +02:00
Hermès Bélusca-Maïto
4ba56962e6 [APPWIZ] NewLinkHereA(): Just call NewLinkHereW after the UNICODE conversion. 2024-09-14 23:05:51 +02:00
Timo Kreuzer
d9a287e9a5 [FASTFAT] Use debug bitmap
This is to figure out, whether the bitmap gets corrupted or if there is something else going on.
2024-09-14 20:15:07 +03:00
Timo Kreuzer
8f4acea874 [SDK] Implement RTL debug bitmap
This is a single header that wraps around the RTL bitmap API. It keeps track of the number of set bits and a hash of the bitmap. The integrity of the bitmap is checked on each call to any of the RTL bitmap APIs. This only works, if the bitmap is consistently modified using only RTL bitmap APIs and not manually messing with the bitmap buffer.
2024-09-14 20:15:07 +03:00
Timo Kreuzer
b5531f5126 [XDK] Add RtlFindNextForwardRunSet for wdm.h
Windows DDK doesn't have it, but I think it won't hurt to have it.
2024-09-14 20:15:07 +03:00
Whindmar Saksit
7b081be46d [SHELL32][MKSHELLLINK] Support EXP_SPECIAL_FOLDER datablock in shortcuts (#7158)
CORE-19692
2024-09-14 13:10:49 +02:00
Whindmar Saksit
751641c2be [SHELL32][COMCTL32][BROWSEUI][EXPLORER] Update color usage on WM_SYSCOLORCHANGE (#7325) 2024-09-14 13:07:11 +02:00
Laura Konopinska
e2fc578f6d [FREELDR] Support drives with 4k sector size
PR was reviewed at pull/5784
2024-09-12 20:53:10 -07:00
Whindmar Saksit
bad0dd5991 [SHELL32] Store target FS attributes in .lnk header (#7302) 2024-09-12 19:28:15 +02:00
Thomas Faber
44bdafa17e [KMTESTS:SE] Fix failing tests. 2024-09-12 17:44:13 +03:00
Thomas Faber
bf6af0f52e [NTOS:SE] Mark output parameters as such. 2024-09-12 17:44:13 +03:00
Thomas Faber
156053cafd [NDK] Match AUX_ACCESS_DATA definition with publicly available version.
Looks like public symbols contain this structure starting with Win7,
so we can deduce what it looked like in Win2003.
Note that our previous definition was missing a second ULONG at the
end, which can be seen in the SeQueryInfoToken kmtest -- if you
allocated only sizeof(AUX_ACCESS_DATA), the test would crash with
a 4 byte buffer overflow.
2024-09-12 17:44:13 +03:00
Thomas Faber
ff410211e9 [KMTESTS:SE] Don't modify internal data structure, this might cause buffer overrun. 2024-09-12 17:44:13 +03:00
Thomas Faber
206df96bc4 [KMTESTS:SE] Correctly allocate PrivilegeSet buffers. 2024-09-12 17:44:13 +03:00
Thomas Faber
64a6bd4c3e [KMTESTS:SE] Avoid use of uninitialized pool and hardcoded offsets. 2024-09-12 17:44:13 +03:00
Timo Kreuzer
2913ef5c93 [NTOS:KE/x64] Fix exception information on page faults
Pass a proper write/execute flag in the ExceptionInformation[0] field of the exception record instead of the raw fault code. This fixes comdlg:filedlg wine test, which writes to a write protected resource section, which needs to be handled by kernel32 UnhandledExceptionFilter, which relies on this parameter to be correct.
2024-09-12 17:07:59 +03:00
Timo Kreuzer
5eab2ddb2e [RTL/x64] Do not overwrite the original context during exception handling
This fixes ExceptionContinueExecution cases, where we want to continue execution on the original context (or as modified by the handler), not on some halfway unwinded one.
2024-09-12 17:07:59 +03:00
Timo Kreuzer
402bc38ba7 [NTGDI] Rewrite NtGdiPolyDraw
It is now a wrapper around GdiPolyDraw, which implements the main body of the function, while the Nt function only probes and captures the user mode data into safe kernel mode buffers.
Previously some people thought it was a great idea to just wrap the entire implementation in SEH, so when something throws an exception somewhere for whatever reason, we can just catch it here... and LEAK ALL RESOURCES IN THE PROCESS!
TODO: Rewrite all of this. It's broken everywhere.
2024-09-12 15:52:30 +03:00
Andrei Miloiu
02a6913590 [SERIALUI] Update Romanian (ro-RO) translation (#7341) 2024-09-12 00:14:10 +02:00
Joachim Henze
cf26321e3b [DESK] *.rc: Strip ", 0, 0" from the only font-line which is doing that (#7337)
Each language had exactly one dlg which specified its font like that.
All other dialogs didn't use that style.

This doesn't fix anything. It also doesn't shrink the binary.
It just saves a few keystrokes in the rc's.
Shorter is better. Pure janitorial.
2024-09-11 00:35:50 +02:00
Joachim Henze
a44192dc98 [SDK] Raise KERNEL_VERSION_PATCH_LEVEL to 16 in the version.cmake
0.4.16-dev starts here.
2024-09-10 20:01:25 +02:00
Hermès Bélusca-Maïto
0604640c14 [DESK][STOBJECT] Minor UI fixes.
- Fix "icone" typo in French (must be "icône");
- Add missing trailing semicolons for options introducing a choice;
- Tweak the IDC_EFFAPPEARANCE_KEYBOARDCUES translation to make it
  a little bit shorter and allowing to reduce the dialog a bit more
  (not yet "perfect" but towards the goal).
2024-09-10 19:53:28 +02:00
Hermès Bélusca-Maïto
0293d0c597 [SHELL32] CDefView.cpp: fix MSVC build warning C5208
"unnamed class used in typedef name cannot declare members other than
non-static data members, member enumerations, or member classes."

Suggestion by Whindmar Saksit.

Use `struct LISTVIEW_SORT_INFO` instead of the typedef, since this
is a structure defined and used only in this file, and we don't use
pointers to it (LPLISTVIEW_SORT_INFO).
2024-09-10 15:12:10 +02:00
Joachim Henze
945e856031 [DESK] _countof and rc-trivia (#7298)
- use _countof() consistently throughout the module instead of mixed ARRAYSIZE/countof.

In *.rc:
- the 3 AUTORADIOBUTTONS should not end with dots. In Windows 2k3sp2 ARB do never end with dots, I double-checked that here also in desk.cpl
- all 3 ARB should have an accel. I added the german ones, and added FIXMEs where I didn't know the correct accels
- the GROUPBOX IDC_SCREENS_DUMMY2 should not have an accel, but the only button in there PUSHBUTTON IDC_SCREENS_POWER_BUTTON should have an accel. This fixes a few existing accel collisions, e.g. in nl-NL.rc
- add a few additional FIXMEs for missing accels where I stumbled over them (most of them I fixed by guessing in the older branches, but I think it makes sense to let the actual native speakers fix them with the same accel that would be used in the 2k3sp2-version of *their* language)
- ro-RO.rc: Fix the forbidden characters according to the romanian-translation-rules

I noticed those glitches while porting back stuff, and acted on the FIXMEs in the backport instead of just fingerpointing to them (what I did on master).
2024-09-10 01:46:08 +02:00
Timo Kreuzer
7774a249ba [WIN32K:ENG] Fix return value in EngAlphaBlend 2024-09-09 22:16:00 +03:00
Stanislav Motylkov
c4f42b5a65 [UXTHEME] DrawNCPreview: Use DrawThemeTextEx() for drawing "Window Text"
Addendum to 118869f69 and d4dc0cb54. CORE-5991
2024-09-09 15:26:54 +03:00
Ethan Rodensky
d4dc0cb545 [UXTHEME] Import DrawThemeTextEx() function from Wine (part of #6622)
This is a Vista+ function, but it exists in Windows XP/2003 internally
and used for drawing "Window Text" with a shadow in DrawNCPreview().

And DrawThemeText() now acts as wrapper on top of it. CORE-5991
2024-09-09 15:26:40 +03:00
Whindmar Saksit
bc8c7d185d [SHELL32] Fix CRecycleBin crash caused by PR #7173 (#7330)
PR #7173 (22b913928f) fails to initialize the DELETED_FILE_RECORD struct when constructing a RecycleBin5File instance. This causes _ILCreateRecycleItem to create PIDLs without filenames and the CRecycleBin IShellFolder does not expect this to happen.

Also fixes incorrect usage of SHFileOperationW when restoring deleted files. The previous code might have worked by chance in the past if the string just happened to be double-null terminated as required by this API!
2024-09-08 22:08:15 +02:00
Oleg Dubinskiy
5d44157452 [ELF] Remove remnant elf-powerpc.h header
Addendum to 6ef6fabfc5, e372f2b19b and c020a0ca28. It was forgotten to be removed in those commits.
2024-09-08 21:50:24 +02:00
Oleg Dubinskiy
c020a0ca28 [NDK] Remove remnant PowerPC headers
Remove remaining ketypes.h and mmtypes.h public headers for PowerPC architecture.
Addendum to 6ef6fabfc5 and e372f2b19b. These headers were forgotten to be removed in those previous commits.
2024-09-08 20:59:55 +02:00
Stanislav Motylkov
9dae161631 [UXTHEME] DrawNCPreview: Do not draw the icon for inactive/active windows
This is how preview works in Windows. Addendum to 118869f69. CORE-5991
2024-09-08 21:34:23 +03:00
Stanislav Motylkov
3bda42114a [UXTHEME] Draw message box background properly in DrawNCPreview
Addendum to 118869f69. CORE-19592 CORE-5991
2024-09-08 21:34:18 +03:00
Hermès Bélusca-Maïto
c1e642fdb5 Revert "[SHELL32] Show Product version on About dialog bmp (#3621)" (#7327)
This reverts commit 2636cff09f
by Cătălin Gabriel Drăghiță (@jeffbox12) as well as any subsequent changes.

This was agreed upon by the original author on our official Mattermost
chat (chat.reactos.org)

The reactos.bmp banners are again generated from the file:
  dll/win32/msgina/resources/svg/reactos.svg
2024-09-08 14:55:47 +02:00
Whindmar Saksit
d9afe73de4 [NOTEPAD] Display error code if no error string is available (#7319) 2024-09-08 13:47:32 +02:00
Whindmar Saksit
da26ec3465 [NOTEPAD] Don't handle main window accelerators in Find dialog (#7320) 2024-09-08 13:45:51 +02:00
Splitwirez
3fa740aa81 [SHELL32] Revise "Desktop" icon (#7312)
Makes the "Desktop" icon look a bit more than the thing from Windows 7. Both: bottom-most right-most within the taskbar, and also used within the comdlg32 file-open-dialog.

* Update desktop icon (35) in shell32

* Fix SVGs
2024-09-08 13:10:05 +02:00
Katayama Hirofumi MZ
8bba3c4333 [COMDLG32] ChooseColor: Apply DarkShadow44's suggestions (#6971)
Co-authored-by: Fabian Maurer <dark.shadow4@web.de>

Based on @DarkShadow44's merge
request to WineHQ.
JIRA issue: CORE-19402
Merge Request: https://gitlab.winehq.org/wine/wine/-/merge_requests/5756

Proposed changes
Extend CC_CheckDigitsInEdit's
parameters and set infoPtr->updating
to TRUE when updating.
Call CC_PaintLumBar function in
CC_WMCommand function.
2024-09-08 16:59:28 +09:00
Timo Kreuzer
78e94a5083 [NTOS:MM] Increase x64 system view and session view size
We have plenty of address space and the desktop heap has grown, so we need some more space.
2024-09-08 10:33:55 +03:00
Serge Gautherie
4b051b914f [NTOS:PO] Update a comment (#6443)
Addendum to 9e43518 (0.4.15-dev-7560).
2024-09-08 02:29:37 +02:00
Timo Kreuzer
9414fb6b59 [NTGDI] Prevent NULL pointer dereference in CLIPPING_UpdateGCRegion
This can happen, when the paged pool is full. This will probably cause drawing issues, but at least we don't crash (in this place).
2024-09-08 03:20:52 +03:00
Tibor Lajos Füzi
299e4305ef [KEYBOARD] Fix left key code in extended_key_names in several layouts (#7311)
I found this bug while testing random games, the left key didn't work.
After switching to other keyboard layouts (German, English) the problem
disappeared. There are games (e.g. Doom 3 demo, Tomb Raider 2 demo) that
somehow use this code from extended_key_names to determine which key the
user pressed. It might be a good idea to check other keyboard layouts too,
since I found that table inconsistent across languages.
2024-09-08 02:32:27 +03:00
Timo Kreuzer
b385fc5985 [NTUSER] Fix a 64 bit bug in timer code
The return value of RtlFindClearBitsAndSet is an ULONG, assigning it to an ULONG_PTR will not sign extend it. The error value will stay 0xFFFFFFFF. Comparing it to (UINT_PTR)-1 will sign extend and thus compare it to 0xFFFFFFFFFFFFFFFF on x64.
Also use NUM_WINDOW_LESS_TIMERS to initialize the bitmap, rather than the calculated size. This does not make a difference with the current value (32768), but if it was not the case, the bitmap would be larger than this, resulting in invalid bitmap indices being returned, which would cause bugs later on. Finally remove an ASSERT that can be triggered by tests.
2024-09-08 01:52:50 +03:00
Ethem De Santa
8351fbf04f [EXPLORER] Update Turkish (tr-TR) translation (#7301)
Translated the old English explorer shell lines into Turkish and fixed
some incorrect Turkish translations.

Adapted the translation from Windows 7 with Turkish locale.
2024-09-08 01:43:04 +03:00
Ethem De Santa
0ff8271cd5 [UXTHEME] Add Turkish (tr-TR) translation (#7307)
Matches Turkish translation in the desk.cpl applet, except one string
that I borrowed from Windows 7 with Turkish localization.

Updated the latter in desk.cpl as well.
2024-09-07 19:36:27 +03:00
Timo Kreuzer
6ca6088f2c [NTUSER] Increase desktop heap size
Distinguish between the following 3 scenarios:
1. Interactive Winsta0, "Winlogon" desktop: use 128 KB
2. Interactive Winsta0, "Default" & other desktop: use 3 MB (x86) / 20 MB (x64)
3. Non-interactive winsta: use 128 KB

This is what Windows 2003 uses for the interactive desktops on x86 and what Windows 7 uses for x64. Fixes desktop heap exhaustion during testing. The previous value was 512 KB for all desktops.
It doesn't handle the even smaller "Disconnected" desktop, which is only meaningful for RDP sessions and we don't use it anyway.
See comments in the file for references.
2024-09-07 18:47:49 +03:00
Doug Lyons
bc76250bd8 [COMCTL32] Fix edit control cursor positioning (#7317)
Fix caret positioning regression from Wine Sync to Wine 5.0 affecting notepad.
Restore older Wine code that handles caret position with ReactOS better.
This was a regression from 0.4.15-dev-8612-g0707475 0707475f69

CORE-19731
2024-09-06 08:25:40 -05:00
Whindmar Saksit
a509941786 [SHELL32] Pass and expand .lnk working directory (#7314) 2024-09-06 14:31:24 +02:00
Justin Miller
0707475f69 [COMCTL32][MEDIA] Sync comctl32 to wine 5.0 (#6789)
For SOME reason comctl32 has been synched manually multiple times to different versions and different pots
This PR aims to fix that

With the exception of button.c which all in all is a massive fork over wines code entirely.
and datetime.c which is at wine 6.0

Comctl32 is now at wine-5.0
2024-09-03 21:54:05 -07:00
Whindmar Saksit
13b9c2a6d6 [SHELL32] Lnk propertysheet must disallow editing special targets (#6993)
CORE-16505
2024-09-03 17:38:03 +02:00
Whindmar Saksit
814f3a15f9 [NOTEPAD] Handle serialized maximized state (#5806)
Fixes a bug where if you close Notepad while it is maximized, the next time Notepad is started it will start with its window placed as if maximized but it is still in the SW_RESTORE state and the "real normal placement" is lost.

SetWindowPlacement also takes care of making sure the window is placed correctly on the monitor workarea.
2024-09-02 23:13:28 +02:00
Doug Lyons
07abea90d9 [NTUSER] Optimize BroadcastSystemMessage a bit. Follow-up of #6884 (#7215)
Optimize BroadcastSystemMessage with Environment parameter.
Minimize processing when UserModeMsg->lParam is NULL and KernelModeMsg->message != WM_WININICHANGE
Make sure that we have a UNICODE_NULL within lParamMsg based on comment from @whindsaks
2024-09-01 13:24:22 -05:00
Doug Lyons
a1bff5b94e [NTGDI:FREETYPE] Account for spaces in x-dimension of IntExtTextOutW function (#7274)
@I_Kill_Bugs fix

CORE-11787, CORE-17721 and CORE-19721

For function IntExtTextOutW with space character, the x-dimension should be taken into account.
Fixes HexEdit 1.2.1 right side of display window not being cleared.

Account for x-dimension if TA_UPDATECP flag set and 'String' is not NULL.

Clarify 'etx' is ASCII End of Text
2024-09-01 13:18:23 -05:00
Stanislav Motylkov
b6ae42492b [INTEROP_UNITTEST] Add interoperability tests for localized strings (#7129)
Finally, an automated way to verify all these localized strings
that must be in sync between multiple modules.

CORE-18893
2024-09-01 15:22:29 +03:00
Tomáš Veselý
52d6a71461 [USER32_APITEST] Improve RedrawWindow API test by testing flags (#7160)
As part of fixing some bugs like CORE-13149, extend the tests to include more detailed examination of rendering functions. Extend the RedrawWindow test to include tests of all flags. As part of it, I am also testing the 2-point states of the render areas.

I moved the original test without changes into a separate function GetMessageRedrawWindowTest. For the flag tests I added FlagsRedrawWindowTest function. It sequentially tests the RedrawWindow with different flag combinations and compares the results with those discovered in Windows XP and Windows 11 (the values in both versions confirmed to be identical).

The API test turned out well in ReactOS, the only deviation was that in many cases (whenever the RDW_INVALIDATE flag is present) a WM_ERASEBKGND message is received after the window is rendered without the RDW_ERASE flag.
(this is what I'm focusing on now in https://github.com/turican0/reactos/tree/fix-RDW_ERASE-in-co_UserRedrawWindow, but before I merge it, I want to create more API tests)
2024-09-01 14:32:43 +03:00
Adam Słaboń
e168d60bc5 [FREELDR] Fix boot timeout regression on AMD64 (#7281)
Initialize the BootMgrInfo struct globally, so the TimeOut value is guaranteed to be negative when no Multiboot cmdline is provided. This could happen when BootMain is called with a NULL pointer:
https://git.reactos.org/?p=reactos.git;a=blob;f=boot/freeldr/freeldr/arch/amd64/entry.S;hb=163f3407c8fa93ce06773fdf9fc53064506bd05e#l73
so CmdLine == NULL and LoadSettings is called with NULL, thus the CmdLineParse isn't run.

Fixes boot timeout regression introduced in commit 7bee32d237 which occured only on AMD64 builds.
2024-09-01 11:54:28 +03:00
Vitaly Orekhov
06024c97fe [SDK][SHELL32] Make CLSID_NetworkConnections the default name (#7266)
- [SDK][INCLUDE] Redirect CLSID_ConnectionFolder to CLSID_NetworkConnections

CLSID_NetworkConnections is the official known name for the class behind it,
thus to avoid breaking current code I 'softlink' CLSID_ConnectionFolder
to the currently used CLSID_NetworkConnections in shlguid_undoc.h.

- [SHELL32] Refer to CLSID_NetworkConnections from PSDK
2024-09-01 11:40:24 +03:00
Serge Gautherie
2c8d083fc0 [HALX86] acpi/madt.c: Rewrite it (#6032)
Especially HalpParseApicTables() which looked early-WIP and was buggy.
And keep smp/mps/mps.c in sync'.
2024-08-31 14:35:50 -07:00
Serge Gautherie
7661f7826c [ADVPACK] files.c: Properly mark Wine diff
Addendum to 6eb8a1d (0.4.15-dev-6918).
2024-09-01 00:18:42 +03:00
Justin Miller
49e07292ed [NTOS:KE] Clear NpxThread on rundown for SMP as well (#7151)
clear NpxThread on rundown for SMP as well
Fixes the crash whenever a usermode thread is destroyed on x86
2024-08-31 13:18:07 -07:00
Whindmar Saksit
3f54e0e504 [RAPPS] Fix AppInfo panel WM_SYSCOLORCHANGE bug (#7290) 2024-08-31 22:10:35 +02:00
Marek Benc
633d2e6d0c [NTUSER] Address memory leak in co_WinPosSetWindowPos(). (#7284)
CORE-19723
2024-08-31 15:07:33 -05:00
Whindmar Saksit
163f3407c8 [RAPPS] Show listview context menu when the keyboard menu button/Shift+F10 is pressed (#5620) 2024-08-31 18:30:45 +02:00
Serge Gautherie
0197a5bcae [XMLLITE_WINETEST] Fully mark Wine diff
Addendum to 3d1ca45 (0.4.15-dev-5553).
2024-08-31 18:30:16 +03:00
Serge Gautherie
3ff08b6404 [VFD] Properly mark ReactOS's diffs
Addendum to 25c7e1a (0.4.7-dev-1106) and follow-ups.
2024-08-31 18:23:01 +03:00
Serge Gautherie
1abac8f6db [VFD] Remove 2 useless CMakeLists.txt
Addendum to 25c7e1a (0.4.7-dev-1106).
2024-08-31 18:23:01 +03:00
Serge Gautherie
520ed95486 [DOC] 3rd Party Files.txt: Add 'Virtual Floppy Drive'
Addendum to 25c7e1a (0.4.7-dev-1106).
2024-08-31 18:23:01 +03:00
Jose Carlos Jesus
7ed149d7da [COMDLG32] Improve Portuguese (pt-PT) translation (#7236)
- Remove accel key from Ok buttons that are DEFPUSHBUTTON.
- Fix accelerator key collisions.
2024-08-31 13:56:57 +03:00
Jose Carlos Jesus
824b190a5b [BROWSEUI] Improve Portuguese (pt-PT) translation (#7232)
- Fix typos and improve pt-PT translation.
- Add file header.
2024-08-31 13:50:19 +03:00
Tomáš Veselý
f1def09c08 [WIN32NT_APITEST] Update NtUserSetTimer API tests (#7278)
JIRA issue: [CORE-9141](https://jira.reactos.org/browse/CORE-9141)
2024-08-30 18:26:15 -05:00
Timo Kreuzer
34586814ab [GDI32][NTUSER] Demote noisy debug prints 2024-08-30 16:06:41 +03:00
Adam Słaboń
c3560c6830 [VIRTIO] Misc fixes (#7283)
- Add bugcodes dependency, fixes a rare build failure
- Fix for the sync part of commit 823fdb19d7, somehow it didn't pick up the change from the upstream commit b22efbb8b8
2024-08-30 10:26:55 +03:00
Adam Słaboń
03d41008d4 [BOOTDATA] Fix LiveCD autorun (#7282)
Use 'shellexecute' entry instead of 'open', because the latter
tries to execute a non-executable readme.txt file.

https://learn.microsoft.com/en-us/windows/win32/shell/autorun-cmds

Addendum to 4cc03bbf01 (r71342).
2024-08-30 10:16:31 +03:00
Timo Kreuzer
3cddd76f57 [RTL] Fix overflow case in vDbgPrintExWithPrefixInternal
The string should always be NULL terminated.
2024-08-30 06:38:29 +03:00
Timo Kreuzer
f80d978fc0 [CRT] Fix link issues with __ftol2 when compiling for NT6
__ftol2 is exported from msvcrt on NT6+, not from ntdll for some reason. So native apps still need to statically link _ftol2 and _ftoul2_legacy, but apps linking to msvcrt only need to statically link _ftoul2_legacy (via msvcrtex), when on NT6+.
2024-08-30 06:29:13 +03:00
Thamatip Chitpong
95c340dfb7 [NTOS:CC] CcRosCreateVacb: Return error code on pool allocation failure (#7275)
Return STATUS_INSUFFICIENT_RESOURCES error code instead of accessing the invalid pointer.
2024-08-30 07:34:48 +07:00
Whindmar Saksit
6ae11ba09d [SHELL32] Don't display non-enumerable nor non-folder items in Explorer tree (#7189)
This partially implements RegFolder required items as described by Geoff Chappell.

CORE-19176 CORE-14061
2024-08-29 20:45:59 +02:00
Hermès Bélusca-Maïto
a75ed2acd9 [SETUP:REACTOS] Add the update-registry code (#7222)
This code has been tested on Windows and works as expected.
2024-08-28 22:05:21 +02:00
Hermès Bélusca-Maïto
fd67017512 [SETUP:REACTOS] Add some SetWindowRes* helper functions 2024-08-28 22:03:05 +02:00
Hermès Bélusca-Maïto
5b07c33031 [USETUP] Update translations for some registry-related messages 2024-08-28 22:03:04 +02:00
Doug Lyons
9c0eee0333 [NTUSER] Fix window not updating when scrollbars created and removed. (#7245)
* Revise conditions for window complete redraw.

CORE-19669

Co-authored-by: Oleg Dubinskiy <oleg.dubinskij30@gmail.com>
Co-authored-by: Vitaly Orekhov <7opex0@mail.ru>
2024-08-28 02:56:28 -05:00
Hermès Bélusca-Maïto
1573461cec [SETUP:REACTOS] Add partitioning and formatting support (#7159)
CORE-13525

- Newly-created partitions and unpartitioned space ar reinserted
  or updated in correct order in the tree-list. Volume-creation
  information data associated with the tree items is persisted
  across operations.

- Reliably delete data associated to tree-list items via the
  TVN_DELETEITEM notification.
  This allows simplifying the cleanup function; keeping simple
  the code that deletes items when deleting partitions, etc.

- Make the PrintPartitionData() function call itself recursively on
  extended partitions to display the sub-list of logical partitions.

- Handle the new partition size in MB the same way as in USETUP.

- Allow existing partitions/volumes to be re-formatted, using
  common code with the partition creation dialog.

- Allow selecting unpartitioned space or non-formatted partitions
  for installing ReactOS: unused space will automatically be
  partitioned and non-formatted partitions formatted (the user
  is prompted for choosing the file system).

- Correctly zero the progress-bar position when starting file copy.
- Add missing file copy error handler in FileCopyCallback:
  just copying what USETUP does.
2024-08-27 23:18:12 +02:00
Hermès Bélusca-Maïto
9b2b75df2b [SETUP:REACTOS] Collect some UI elements into a common UI_CONTEXT structure.
Handles to some install-page UI elements, used in the installation thread,
are collected into a UI_CONTEXT structure.
2024-08-27 23:18:08 +02:00
Hermès Bélusca-Maïto
58cad127dc [SETUP:REACTOS] treelist.h: Fix TreeList_GetStyle/TreeList_SetStyle(Ex) for C language 2024-08-27 23:18:07 +02:00
Hermès Bélusca-Maïto
83d9f6c99b [SETUP:REACTOS] treelist.h: Define few useful types. CMakeFiles.txt: Move add_pch around. 2024-08-27 23:18:00 +02:00
Timo Kreuzer
64b58397f3 [CMAKE] Statically link _ftol2/__ftoul2_legacy to libntdll
This is needed to resolve symbols of native applications like usetup, when compiled with latest VS.
2024-08-27 21:34:50 +03:00
Timo Kreuzer
f637e6b809 [CRT] Implement __ftoul2_legacy
This is used by CL v19.41+. It replicates the behavior of the inline assembly code that previous CL versions generated. According to tests it works the same as with previous VS versions.
2024-08-27 21:34:50 +03:00
Timo Kreuzer
6fd6e9c306 [COMPILER_APITEST] Add tests for float to int conversion
These tests come with a VS solution, because that is the only way to test against a known good system, as the required runtime functions (like _ftol) are statically linked from the VS runtime library.
2024-08-27 21:34:50 +03:00
Marek Benc
a9b77d89fb [USER32_APITEST] Add scrollbar showing/hiding testcase (#7254)
Checks CORE-19669, making sure that CS_HREDRAW and CS_VREDRAW
are respected when the client area changes due to the scrollbar
disappearing or re-appearing.

ROSTESTS-397

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2024-08-27 13:25:02 -05:00
Tomáš Veselý
fd327db20f [NTUSER] IntSetTimer: Update HintIndex on each call (#7087)
* fix CORE-9141 - adding a change to IDEvent after each pass
If the first index is 0 the first returned ID will be 0x8000, which is fine.
Co-authored-by: Joachim Henze <joachim.henze@reactos.org>
2024-08-27 01:14:51 -05:00
Tomáš Veselý
938adaad22 [WIN32KNT_APITEST] Add NtUserSetTimer API tests (#7100)
Test 1 - test of creating/canceling 20 timers and comparing the raw number of returned messages - without parent window
Test 2 - test of creating/cancelling 20 timers and comparing the raw number of returned messages - with parent window
Test 3 - test creation/cancellation of 40000 timers - without parent window
Test 4 - test of creation/cancellation of 40000 timers - with parent window
Test 5 - test creation/cancellation of 2 timers and compare their index to see if they differ - without parent window

Covers the case in CORE-9141 (see #7087).
2024-08-26 22:34:30 +03:00
Hermès Bélusca-Maïto
6f15802af7 [SETUPLIB][REACTOS][USETUP] Split FS-volume-specific functionality from partitions (#7258)
CORE-13525

This greatly helps in reducing code complexity in some areas: code that
previously iterated over all partitions of a given disk, just to find
which ones were partitioned and contained a valid file system, now just
have to iterate over mounted volumes.
See in particular, `lib/utils/osdetect.c` and `lib/fsutil.c` .

- Remove FORMATSTATE "Preformatted" enum value;
- Cleanup osdetect code after introducing Volume support;
- Some simplifications for FormatState.

- Differentiate between 'new' partition and 'new' volume:

  * "New" partition: it has been created and added in the cached list,
    but not yet actually written into the disk.

  * "New" volume: newly-created volume (may be backed by a partition or
    not), not yet formatted. May exist on either new, or not new partition,
    or elsewhere.

- Cache partition and volume NT device names.

  These do not change across repartitioning operations, as long as the
  partition or the filesystem volume hasn't been deleted/recreated.
  This avoids doing \Device\Harddisk%u\Partition%u sprintf's everytime
  we need to retrieve the given partition or volume device name.

  When a partition/fileysystem volume is "virtually" created (i.e. in
  the partition list, but not yet committed to disk and exposed to the
  OS), no device partition number and device name are available yet.
  In particular, validate that no manipulation of \Device\HarddiskM\Partition0
  (i.e. the whole disk) is being made.
2024-08-26 16:42:47 +02:00
Hermès Bélusca-Maïto
0f8dc6b2df [SETUPLIB] Add some device utility functions; to be used later (#7258) 2024-08-26 16:42:46 +02:00
Oleg Dubinskiy
c59e2d20d9 [NTOS:FSRTL] Check for the correct return status when inserting a new Filter Context entry
According to our declaration/definition, IoChangeFileObjectFilerContext returns NTSTATUS, not BOOLEAN. Zero return (which was actually checked before) for BOOLEAN means failure, but for NTSTATUS it's success. So it should (and now actually does) free and fail appropriately only in failure case, but not in success, when it shouldn't.
This fixes most of problems with fltmgr.sys driver from Windows XP/Server 2003 and a lot of 3rd party filter drivers which use it from many apps (Avast Free Antivirus all versions, Avira AntiVir Personal 8.2, Dr. Web Security Space 8.0, Kaspersky Antivirus 2012 etc. etc.).
CORE-14157, CORE-14635, CORE-19318
2024-08-26 11:16:49 +02:00
Timo Kreuzer
c948ea859b [CMD] Convert to explicitly unicode 2024-08-25 16:17:17 +03:00
Whindmar Saksit
cca9acfa1d [SHELL32] Create link must ask for a parsing name for file targets (#7267) 2024-08-24 19:01:27 +02:00
Joachim Henze
5506a8e170 [MSPAINT] it-IT.rc: Fix compiler warning (#7270)
GCC8.4.0dbg warns about:
C:/ros/reactos/base/applications/mspaint/lang/it-IT.rc:267: unrecognized escape sequence

Fix that.

the regression was introduced by
0.4.15-dev-8555-g fbcbbd8768 from (#7248)
2024-08-24 06:04:48 +02:00
Whindmar Saksit
29c8dc82f6 [SHDOCVW] CNSCBand must specify a ShowWindow command (#7268) 2024-08-24 02:45:19 +02:00
436 changed files with 19160 additions and 9307 deletions

View File

@@ -264,7 +264,7 @@ BEGIN
IDS_PERCENTAGE "La percentuale deve essere compresa tra 1 e 500."
IDS_ANGLE "L'angolo deve essere compreso tra -89 e 89."
IDS_LOADERRORTEXT "l file %s non può essere caricato."
IDS_ENLARGEPROMPTTEXT "L'immagine negli appunti è più grande della tela.\La si vuole allargare?"
IDS_ENLARGEPROMPTTEXT "L'immagine negli appunti è più grande della tela.\nLa si vuole allargare?"
IDS_BOLD "Grossivo"
IDS_ITALIC "Italico"
IDS_UNDERLINE "Sottolineato"

View File

@@ -4,6 +4,7 @@
* PURPOSE: Turkish resource file
* TRANSLATORS: Copyright 2013-2016, 2019 Erdem Ersoy (eersoy93) <erdemersoy@erdemersoy.net>
* Copyright 2021-2022 Süleyman Poyraz <zaryob.dev@gmail.com>
* Copyright 2024 Mahir Gül <mahirgul@gmail.com>
*/
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
@@ -269,8 +270,8 @@ BEGIN
IDS_UNDERLINE "Altı Çizgili"
IDS_VERTICAL "Düşey"
IDS_PRINTRES "%d x %d pixel/cm"
IDS_CANTPASTE "Failed to paste from the clipboard. The data format is either incorrect or not supported."
IDS_SAVEERROR "Failed to save the bitmap to file:\n\n%s"
IDS_CANTSENDMAIL "Failed to send a mail."
IDS_LOSECOLOR "The color information will be lost in this operation. Are you sure to proceed?"
IDS_CANTPASTE "Panodan yapıştırma işlemi başarısız oldu. Veri biçimi ya yanlış ya da desteklenmiyor."
IDS_SAVEERROR "Bit eşlemi dosyaya kaydedilemedi:\n\n%s"
IDS_CANTSENDMAIL "Posta gönderilemedi."
IDS_LOSECOLOR "Bu işlem sırasında renk bilgisi kaybolacaktır. Devam edeceğinizden emin misiniz?"
END

View File

@@ -49,6 +49,7 @@ VOID ShowLastError(VOID)
{
LPTSTR lpMsgBuf = NULL;
TCHAR szTitle[MAX_STRING_LEN];
TCHAR szFallback[42], *pszMessage = szFallback;
LoadString(Globals.hInstance, STRING_ERROR, szTitle, _countof(szTitle));
@@ -60,7 +61,12 @@ VOID ShowLastError(VOID)
0,
NULL);
MessageBox(Globals.hMainWnd, lpMsgBuf, szTitle, MB_OK | MB_ICONERROR);
if (lpMsgBuf)
pszMessage = lpMsgBuf;
else
wsprintfW(szFallback, L"%d", error);
MessageBox(Globals.hMainWnd, pszMessage, szTitle, MB_OK | MB_ICONERROR);
LocalFree(lpMsgBuf);
}
}

View File

@@ -557,10 +557,7 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
MSG msg;
HACCEL hAccel;
WNDCLASSEX wndclass;
HMONITOR monitor;
MONITORINFO info;
INT x, y;
RECT rcIntersect;
WINDOWPLACEMENT wp;
static const TCHAR className[] = _T("Notepad");
static const TCHAR winName[] = _T("Notepad");
@@ -579,7 +576,7 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
aFINDMSGSTRING = (ATOM)RegisterWindowMessage(FINDMSGSTRING);
NOTEPAD_InitData(hInstance);
NOTEPAD_LoadSettingsFromRegistry();
NOTEPAD_LoadSettingsFromRegistry(&wp);
ZeroMemory(&wndclass, sizeof(wndclass));
wndclass.cbSize = sizeof(wndclass);
@@ -602,25 +599,14 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
return 1;
}
/* Setup windows */
monitor = MonitorFromRect(&Globals.main_rect, MONITOR_DEFAULTTOPRIMARY);
info.cbSize = sizeof(info);
GetMonitorInfoW(monitor, &info);
x = Globals.main_rect.left;
y = Globals.main_rect.top;
if (!IntersectRect(&rcIntersect, &Globals.main_rect, &info.rcWork))
x = y = CW_USEDEFAULT;
/* Globals.hMainWnd will be set in WM_CREATE handling */
CreateWindow(className,
winName,
WS_OVERLAPPEDWINDOW,
x,
y,
Globals.main_rect.right - Globals.main_rect.left,
Globals.main_rect.bottom - Globals.main_rect.top,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
NULL,
NULL,
Globals.hInstance,
@@ -631,7 +617,17 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
return 1;
}
ShowWindow(Globals.hMainWnd, show);
/* Use the result of CW_USEDEFAULT if the data in the registry is not valid */
if (wp.rcNormalPosition.right == wp.rcNormalPosition.left)
{
GetWindowPlacement(Globals.hMainWnd, &wp);
}
/* Does the parent process want to force a show action? */
if (show != SW_SHOWDEFAULT)
{
wp.showCmd = show;
}
SetWindowPlacement(Globals.hMainWnd, &wp);
UpdateWindow(Globals.hMainWnd);
if (!HandleCommandLine(cmdline))
@@ -641,8 +637,8 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
while (GetMessage(&msg, NULL, 0, 0))
{
if (!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg) &&
!IsDialogMessage(Globals.hFindReplaceDlg, &msg))
if ((!Globals.hFindReplaceDlg || !IsDialogMessage(Globals.hFindReplaceDlg, &msg)) &&
!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);

View File

@@ -84,7 +84,6 @@ typedef struct
FINDREPLACE find;
WNDPROC EditProc;
RECT main_rect;
BOOL bWasModified;
} NOTEPAD_GLOBALS;
@@ -93,7 +92,7 @@ extern NOTEPAD_GLOBALS Globals;
BOOL ReadText(HANDLE hFile, HLOCAL *phLocal, ENCODING *pencFile, EOLN *piEoln);
BOOL WriteText(HANDLE hFile, LPCWSTR pszText, DWORD dwTextLen, ENCODING encFile, EOLN iEoln);
void NOTEPAD_LoadSettingsFromRegistry(void);
void NOTEPAD_LoadSettingsFromRegistry(PWINDOWPLACEMENT pWP);
void NOTEPAD_SaveSettingsToRegistry(void);
BOOL NOTEPAD_FindNext(FINDREPLACE *pFindReplace, BOOL bReplace, BOOL bShowAlert);

View File

@@ -102,12 +102,12 @@ static BOOL QueryString(HKEY hKey, LPCTSTR pszValueName, LPTSTR pszResult, DWORD
*
* Load settings from registry HKCU\Software\Microsoft\Notepad.
*/
void NOTEPAD_LoadSettingsFromRegistry(void)
void NOTEPAD_LoadSettingsFromRegistry(PWINDOWPLACEMENT pWP)
{
HKEY hKey;
HFONT hFont;
DWORD dwPointSize, cx, cy;
DWORD cxScreen = GetSystemMetrics(SM_CXSCREEN), cyScreen = GetSystemMetrics(SM_CYSCREEN);
DWORD dwPointSize;
DWORD x = CW_USEDEFAULT, y = CW_USEDEFAULT, cx = 0, cy = 0;
/* Set the default values */
Globals.bShowStatusBar = TRUE;
@@ -118,10 +118,6 @@ void NOTEPAD_LoadSettingsFromRegistry(void)
dwPointSize = 100;
Globals.lfFont.lfWeight = FW_NORMAL;
Globals.lfFont.lfPitchAndFamily = FIXED_PITCH | FF_MODERN;
Globals.main_rect.left = CW_USEDEFAULT;
Globals.main_rect.top = CW_USEDEFAULT;
cx = min((cxScreen * 3) / 4, 640);
cy = min((cyScreen * 3) / 4, 480);
/* FIXME: Globals.fSaveWindowPositions = FALSE; */
/* FIXME: Globals.fMLE_is_broken = FALSE; */
@@ -154,8 +150,8 @@ void NOTEPAD_LoadSettingsFromRegistry(void)
QueryDword(hKey, _T("iMarginRight"), (DWORD*)&Globals.lMargins.right);
QueryDword(hKey, _T("iMarginBottom"), (DWORD*)&Globals.lMargins.bottom);
QueryDword(hKey, _T("iWindowPosX"), (DWORD*)&Globals.main_rect.left);
QueryDword(hKey, _T("iWindowPosY"), (DWORD*)&Globals.main_rect.top);
QueryDword(hKey, _T("iWindowPosX"), &x);
QueryDword(hKey, _T("iWindowPosY"), &y);
QueryDword(hKey, _T("iWindowPosDX"), &cx);
QueryDword(hKey, _T("iWindowPosDY"), &cy);
@@ -163,10 +159,23 @@ void NOTEPAD_LoadSettingsFromRegistry(void)
QueryString(hKey, _T("replaceString"), Globals.szReplaceText, _countof(Globals.szReplaceText));
}
Globals.lfFont.lfHeight = HeightFromPointSize(dwPointSize);
Globals.main_rect.right = Globals.main_rect.left + cx;
Globals.main_rect.bottom = Globals.main_rect.top + cy;
pWP->length = sizeof(*pWP);
pWP->flags = 0;
pWP->showCmd = SW_SHOWDEFAULT;
if (cy & 0x80000000)
{
cy &= ~0x80000000;
pWP->flags |= WPF_RESTORETOMAXIMIZED;
pWP->showCmd = SW_SHOWMAXIMIZED;
}
pWP->rcNormalPosition.left = x;
pWP->rcNormalPosition.right = x + cx;
pWP->rcNormalPosition.top = y;
pWP->rcNormalPosition.bottom = y + cy;
pWP->ptMaxPosition.x = x;
pWP->ptMaxPosition.y = y;
Globals.lfFont.lfHeight = HeightFromPointSize(dwPointSize);
if (!hKey || !QueryString(hKey, _T("lfFaceName"),
Globals.lfFont.lfFaceName, _countof(Globals.lfFont.lfFaceName)))
{
@@ -228,8 +237,18 @@ void NOTEPAD_SaveSettingsToRegistry(void)
{
HKEY hKey;
DWORD dwDisposition;
WINDOWPLACEMENT wp;
UINT x, y, cx, cy;
wp.length = sizeof(wp);
GetWindowPlacement(Globals.hMainWnd, &wp);
x = wp.rcNormalPosition.left;
y = wp.rcNormalPosition.top;
cx = wp.rcNormalPosition.right - x;
cy = wp.rcNormalPosition.bottom - y;
if (wp.flags & WPF_RESTORETOMAXIMIZED)
cy |= 0x80000000;
GetWindowRect(Globals.hMainWnd, &Globals.main_rect);
if (RegCreateKeyEx(HKEY_CURRENT_USER, s_szRegistryKey,
0, NULL, 0, KEY_SET_VALUE, NULL,
@@ -256,10 +275,10 @@ void NOTEPAD_SaveSettingsToRegistry(void)
SaveDword(hKey, _T("iMarginTop"), Globals.lMargins.top);
SaveDword(hKey, _T("iMarginRight"), Globals.lMargins.right);
SaveDword(hKey, _T("iMarginBottom"), Globals.lMargins.bottom);
SaveDword(hKey, _T("iWindowPosX"), Globals.main_rect.left);
SaveDword(hKey, _T("iWindowPosY"), Globals.main_rect.top);
SaveDword(hKey, _T("iWindowPosDX"), Globals.main_rect.right - Globals.main_rect.left);
SaveDword(hKey, _T("iWindowPosDY"), Globals.main_rect.bottom - Globals.main_rect.top);
SaveDword(hKey, _T("iWindowPosX"), x);
SaveDword(hKey, _T("iWindowPosY"), y);
SaveDword(hKey, _T("iWindowPosDX"), cx);
SaveDword(hKey, _T("iWindowPosDY"), cy);
SaveString(hKey, _T("searchString"), Globals.szFindText);
SaveString(hKey, _T("replaceString"), Globals.szReplaceText);

View File

@@ -16,6 +16,50 @@ using namespace Gdiplus;
HICON g_hDefaultPackageIcon = NULL;
static int g_DefaultPackageIconILIdx = I_IMAGENONE;
// **** Menu helpers ****
BOOL
DeleteMenuEx(
_In_ HMENU hMenu,
_In_ UINT uPosition,
_In_ UINT uFlags)
{
INT pos;
MENUITEMINFOW mii = { sizeof(mii), MIIM_FTYPE, 0 };
bool bIsValidItem1, bIsValidItem2;
bool bIsSep1, bIsSep2;
if (uFlags & MF_BYPOSITION)
pos = (INT)uPosition;
else
pos = ::GetMenuPosFromID(hMenu, uPosition);
if (pos < 0)
return FALSE;
bIsValidItem1 = ((pos > 0) && ::GetMenuItemInfoW(hMenu, pos - 1, TRUE, &mii));
bIsSep1 = bIsValidItem1 && !!(mii.fType & MFT_SEPARATOR);
bIsValidItem2 = ::GetMenuItemInfoW(hMenu, pos + 1, TRUE, &mii);
bIsSep2 = bIsValidItem2 && !!(mii.fType & MFT_SEPARATOR);
if (bIsSep1 && !bIsSep2 && !bIsValidItem2)
pos = pos - 1; // Delete separator only if pos+1 has no item
else if (!bIsSep1 && bIsSep2 && !bIsValidItem1)
pos = pos + 1; // Delete separator only if pos-1 has no item
else if (bIsSep1 && bIsSep2)
pos = pos + 1;
else
pos = -1;
// Delete one of the separators if necessary
if (pos != -1)
::DeleteMenu(hMenu, pos, MF_BYPOSITION);
// Finally, delete the menu item itself.
return ::DeleteMenu(hMenu, uPosition, uFlags);
}
// **** Menu helpers ****
// **** CMainToolbar ****
VOID
@@ -149,26 +193,28 @@ CMainToolbar::Create(HWND hwndParent)
AddButtons(_countof(Buttons), Buttons);
/* Remember ideal width to use as a max width of buttons */
SIZE size;
GetIdealSize(FALSE, &size);
m_dButtonsWidthMax = size.cx;
/* Remember the ideal width to use as a max width of buttons */
UpdateMaxButtonsWidth();
return m_hWnd;
}
VOID
CMainToolbar::HideButtonCaption()
void
CMainToolbar::ShowButtonCaption(bool bShow)
{
DWORD dCurrentExStyle = (DWORD)SendMessageW(TB_GETEXTENDEDSTYLE, 0, 0);
SendMessageW(TB_SETEXTENDEDSTYLE, 0, dCurrentExStyle | TBSTYLE_EX_MIXEDBUTTONS);
if (bShow)
SendMessageW(TB_SETEXTENDEDSTYLE, 0, dCurrentExStyle & ~TBSTYLE_EX_MIXEDBUTTONS);
else
SendMessageW(TB_SETEXTENDEDSTYLE, 0, dCurrentExStyle | TBSTYLE_EX_MIXEDBUTTONS);
}
VOID
CMainToolbar::ShowButtonCaption()
void
CMainToolbar::UpdateMaxButtonsWidth()
{
DWORD dCurrentExStyle = (DWORD)SendMessageW(TB_GETEXTENDEDSTYLE, 0, 0);
SendMessageW(TB_SETEXTENDEDSTYLE, 0, dCurrentExStyle & ~TBSTYLE_EX_MIXEDBUTTONS);
SIZE size;
GetIdealSize(FALSE, &size);
m_dButtonsWidthMax = size.cx;
}
DWORD
@@ -267,21 +313,6 @@ CAppRichEdit::InsertTextWithString(UINT StringID, const CStringW &Text, DWORD Te
LoadAndInsertText(StringID, Text, TextFlags);
}
}
VOID
CAppRichEdit::SetWelcomeText()
{
CStringW szText;
szText.LoadStringW(IDS_WELCOME_TITLE);
SetText(szText, CFE_BOLD);
szText.LoadStringW(IDS_WELCOME_TEXT);
InsertText(szText, 0);
szText.LoadStringW(IDS_WELCOME_URL);
InsertText(szText, CFM_LINK);
}
// **** CAppRichEdit ****
int
@@ -792,6 +823,11 @@ CAppInfoDisplay::ProcessWindowMessage(
}
break;
}
case WM_SYSCOLORCHANGE:
{
RichEdit->SendMessageW(EM_SETBKGNDCOLOR, 0, GetSysColor(COLOR_BTNFACE));
break;
}
}
return FALSE;
@@ -934,12 +970,41 @@ CAppInfoDisplay::ShowAppInfo(CAppInfo *Info)
Info->ShowAppInfo(RichEdit);
}
VOID
CAppInfoDisplay::SetWelcomeText()
void
CAppInfoDisplay::SetWelcomeText(bool bAppwiz)
{
CStringW szText;
ScrnshotPrev->DisplayEmpty();
ResizeChildren();
RichEdit->SetWelcomeText();
// Display the standard banner in normal mode, or
// the specific "Add/Remove Programs" in APPWIZ-mode.
if (!bAppwiz)
{
szText.LoadStringW(IDS_WELCOME_TITLE);
RichEdit->SetText(szText, CFE_BOLD);
RichEdit->InsertText(L"\n\n", 0);
szText.LoadStringW(IDS_WELCOME_TEXT);
RichEdit->InsertText(szText, 0);
szText.LoadStringW(IDS_WELCOME_URL);
RichEdit->InsertText(szText, CFM_LINK);
}
else
{
szText.LoadStringW(IDS_APPWIZ_TITLE);
RichEdit->SetText(szText, CFE_BOLD);
RichEdit->InsertText(L"\n\n", 0);
szText.LoadStringW(IDS_APPWIZ_TEXT1);
RichEdit->InsertText(szText, 0);
RichEdit->InsertText(L"\n", 0);
szText.LoadStringW(IDS_APPWIZ_TEXT2);
RichEdit->InsertText(szText, 0);
}
}
VOID
@@ -1108,19 +1173,11 @@ CAppsListView::SetWatermark(const CStringW &Text)
m_Watermark = Text;
}
VOID
CAppsListView::SetCheckboxesVisible(BOOL bIsVisible)
void
CAppsListView::ShowCheckboxes(bool bShow)
{
if (bIsVisible)
{
SetExtendedListViewStyle(LVS_EX_CHECKBOXES | LVS_EX_FULLROWSELECT);
}
else
{
SetExtendedListViewStyle(LVS_EX_FULLROWSELECT);
}
bHasCheckboxes = bIsVisible;
SetExtendedListViewStyle((bShow ? LVS_EX_CHECKBOXES : 0) | LVS_EX_FULLROWSELECT);
bHasCheckboxes = bShow;
}
VOID
@@ -1253,7 +1310,7 @@ CAppsListView::Create(HWND hwndParent)
if (hwnd)
{
SetCheckboxesVisible(FALSE);
ShowCheckboxes(false);
}
#pragma push_macro("SubclassWindow")
@@ -1354,16 +1411,18 @@ CAppsListView::SetDisplayAppType(APPLICATION_VIEW_TYPE AppType)
/* Add columns to ListView */
szText.LoadStringW(IDS_APP_NAME);
AddColumn(ColumnCount++, szText, 250, LVCFMT_LEFT);
AddColumn(ColumnCount++, szText, 368, LVCFMT_LEFT);
szText.LoadStringW(IDS_APP_INST_VERSION);
AddColumn(ColumnCount++, szText, 90, LVCFMT_RIGHT);
#if 0 // This column is not currently useful for installed apps.
szText.LoadStringW(IDS_APP_DESCRIPTION);
AddColumn(ColumnCount++, szText, 300, LVCFMT_LEFT);
#endif
// disable checkboxes
SetCheckboxesVisible(FALSE);
// Disable checkboxes
ShowCheckboxes(false);
break;
case AppViewTypeAvailableApps:
@@ -1378,8 +1437,8 @@ CAppsListView::SetDisplayAppType(APPLICATION_VIEW_TYPE AppType)
szText.LoadStringW(IDS_APP_DESCRIPTION);
AddColumn(ColumnCount++, szText, 300, LVCFMT_LEFT);
// enable checkboxes
SetCheckboxesVisible(TRUE);
// Enable checkboxes
ShowCheckboxes(true);
break;
default:
@@ -1485,6 +1544,41 @@ CApplicationView::ProcessWindowMessage(
bSuccess &= CreateListView();
bSuccess &= CreateAppInfoDisplay();
/* APPWIZ-mode: Remove the unneeded menu items and toolbar buttons */
if (m_MainWindow->m_bAppwizMode)
{
HMENU hMenu;
/* Delete the "Settings" item in the "File" sub-menu */
hMenu = ::GetSubMenu(m_MainWindow->GetMenu(), 0);
DeleteMenuEx(hMenu, ID_SETTINGS, MF_BYCOMMAND);
/* Remove the menu items: ID_INSTALL, ID_RESETDB */
hMenu = GetMenu();
DeleteMenuEx(hMenu, ID_INSTALL, MF_BYCOMMAND);
DeleteMenuEx(hMenu, ID_RESETDB, MF_BYCOMMAND);
/* Remove the toolbar buttons:
* ID_INSTALL, ID_CHECK_ALL, ID_RESETDB
* We only keep:
* ID_UNINSTALL, ID_MODIFY, ID_REFRESH */
TBBUTTONINFO info = { sizeof(info), 0 };
int index;
index = m_Toolbar->GetButtonInfo(ID_INSTALL, &info);
if (index >= 0) m_Toolbar->DeleteButton(index);
index = m_Toolbar->GetButtonInfo(ID_CHECK_ALL, &info);
if (index >= 0) m_Toolbar->DeleteButton(index);
index = m_Toolbar->GetButtonInfo(ID_RESETDB, &info);
if (index >= 0) m_Toolbar->DeleteButton(index);
/* Update the ideal width to use as a max width of buttons */
m_Toolbar->UpdateMaxButtonsWidth();
}
/* Resize the toolbar */
m_Toolbar->AutoSize();
RECT rTop;
@@ -1569,15 +1663,6 @@ CApplicationView::ProcessWindowMessage(
}
}
break;
case NM_RCLICK:
{
if (((LPNMLISTVIEW)lParam)->iItem != -1)
{
ShowPopupMenuEx(m_hWnd, m_hWnd, 0, ID_INSTALL);
}
}
break;
}
}
else if (pNotifyHeader->hwndFrom == m_Toolbar->GetWindow())
@@ -1596,7 +1681,7 @@ CApplicationView::ProcessWindowMessage(
{
/* Forward WM_SYSCOLORCHANGE to common controls */
m_ListView->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
m_ListView->SendMessageW(EM_SETBKGNDCOLOR, 0, GetSysColor(COLOR_BTNFACE));
m_AppsInfo->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
m_Toolbar->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
m_ComboBox->SendMessageW(WM_SYSCOLORCHANGE, wParam, lParam);
}
@@ -1613,6 +1698,30 @@ CApplicationView::ProcessWindowMessage(
OnCommand(wParam, lParam);
}
break;
case WM_CONTEXTMENU:
{
bool kbd = -1 == (int)(INT_PTR)lParam;
if ((HWND)wParam == m_ListView->m_hWnd)
{
int item = m_ListView->GetNextItem(-1, LVNI_FOCUSED | LVNI_SELECTED);
if (item != -1)
{
POINT *ppt = NULL, pt;
if (kbd)
{
RECT r;
ListView_GetItemRect((HWND)wParam, item, &r, LVIR_LABEL);
pt.x = r.left + (r.right - r.left) / 2;
pt.y = r.top + (r.bottom - r.top) / 2;
::ClientToScreen((HWND)wParam, ppt = &pt);
}
ShowPopupMenuEx(m_hWnd, m_hWnd, 0, ID_INSTALL, ppt);
return TRUE;
}
}
}
break;
}
return FALSE;
}
@@ -1708,7 +1817,7 @@ CApplicationView::OnSize(HWND hwnd, WPARAM wParam, LPARAM lParam)
if (wParam == SIZE_MINIMIZED)
return;
/* Size tool bar */
/* Resize the toolbar */
m_Toolbar->AutoSize();
/* Automatically hide captions */
@@ -1717,11 +1826,11 @@ CApplicationView::OnSize(HWND hwnd, WPARAM wParam, LPARAM lParam)
if (dSearchbarMargin > dToolbarTreshold)
{
m_Toolbar->ShowButtonCaption();
m_Toolbar->ShowButtonCaption(true);
}
else if (dSearchbarMargin < dToolbarTreshold)
{
m_Toolbar->HideButtonCaption();
m_Toolbar->ShowButtonCaption(false);
}
RECT r = {0, 0, LOWORD(lParam), HIWORD(lParam)};
@@ -1897,9 +2006,10 @@ CApplicationView::Create(HWND hwndParent)
{
RECT r = {0, 0, 0, 0};
HMENU menu = GetSubMenu(LoadMenuW(hInst, MAKEINTRESOURCEW(IDR_APPLICATIONMENU)), 0);
// Pick the "Programs" sub-menu for building the context menu.
HMENU hMenu = ::GetSubMenu(m_MainWindow->GetMenu(), 1);
return CWindowImpl::Create(hwndParent, r, L"", WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0, menu);
return CWindowImpl::Create(hwndParent, r, L"", WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0, hMenu);
}
BOOL
@@ -1910,32 +2020,41 @@ CApplicationView::SetDisplayAppType(APPLICATION_VIEW_TYPE AppType)
return FALSE;
}
ApplicationViewType = AppType;
m_AppsInfo->SetWelcomeText();
m_AppsInfo->SetWelcomeText(m_MainWindow->m_bAppwizMode);
HMENU hMenu = ::GetMenu(m_hWnd);
switch (AppType)
{
case AppViewTypeInstalledApps:
EnableMenuItem(hMenu, ID_REGREMOVE, MF_ENABLED);
{
EnableMenuItem(hMenu, ID_INSTALL, MF_GRAYED);
EnableMenuItem(hMenu, ID_UNINSTALL, MF_ENABLED);
EnableMenuItem(hMenu, ID_MODIFY, MF_ENABLED);
EnableMenuItem(hMenu, ID_REGREMOVE, MF_ENABLED);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_INSTALL, FALSE);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_UNINSTALL, TRUE);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_MODIFY, TRUE);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_CHECK_ALL, FALSE);
break;
}
case AppViewTypeAvailableApps:
EnableMenuItem(hMenu, ID_REGREMOVE, MF_GRAYED);
{
// We shouldn't get there in APPWIZ-mode.
ATLASSERT(!m_MainWindow->m_bAppwizMode);
EnableMenuItem(hMenu, ID_INSTALL, MF_ENABLED);
EnableMenuItem(hMenu, ID_UNINSTALL, MF_GRAYED);
EnableMenuItem(hMenu, ID_MODIFY, MF_GRAYED);
EnableMenuItem(hMenu, ID_REGREMOVE, MF_GRAYED);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_INSTALL, TRUE);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_UNINSTALL, FALSE);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_MODIFY, FALSE);
m_Toolbar->SendMessageW(TB_ENABLEBUTTON, ID_CHECK_ALL, TRUE);
break;
}
}
return TRUE;
}

View File

@@ -82,7 +82,7 @@ CSideTreeView::~CSideTreeView()
// **** CMainWindow ****
CMainWindow::CMainWindow(CAppDB *db, BOOL bAppwiz) : m_ClientPanel(NULL), m_Db(db), bAppwizMode(bAppwiz), SelectedEnumType(ENUM_ALL_INSTALLED)
CMainWindow::CMainWindow(CAppDB *db, BOOL bAppwiz) : m_ClientPanel(NULL), m_Db(db), m_bAppwizMode(bAppwiz), SelectedEnumType(ENUM_ALL_INSTALLED)
{
}
@@ -100,6 +100,10 @@ CMainWindow::InitCategoriesList()
m_TreeView->AddCategory(hRootItemInstalled, IDS_APPLICATIONS, IDI_APPS);
m_TreeView->AddCategory(hRootItemInstalled, IDS_UPDATES, IDI_APPUPD);
// Do not show any other categories in APPWIZ-mode.
if (m_bAppwizMode)
goto Finish;
m_TreeView->AddCategory(TVI_ROOT, IDS_SELECTEDFORINST, IDI_SELECTEDFORINST);
hRootItemAvailable = m_TreeView->AddCategory(TVI_ROOT, IDS_AVAILABLEFORINST, IDI_CATEGORY);
@@ -120,10 +124,12 @@ CMainWindow::InitCategoriesList()
m_TreeView->AddCategory(hRootItemAvailable, IDS_CAT_THEMES, IDI_CAT_THEMES);
m_TreeView->AddCategory(hRootItemAvailable, IDS_CAT_OTHER, IDI_CAT_OTHER);
Finish:
m_TreeView->SetImageList();
m_TreeView->Expand(hRootItemInstalled, TVE_EXPAND);
m_TreeView->Expand(hRootItemAvailable, TVE_EXPAND);
m_TreeView->SelectItem(bAppwizMode ? hRootItemInstalled : hRootItemAvailable);
if (!m_bAppwizMode)
m_TreeView->Expand(hRootItemAvailable, TVE_EXPAND);
m_TreeView->SelectItem(m_bAppwizMode ? hRootItemInstalled : hRootItemAvailable);
}
BOOL
@@ -312,13 +318,13 @@ CMainWindow::ProcessWindowMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lPa
case WM_CREATE:
if (!InitControls())
::PostMessageW(hwnd, WM_CLOSE, 0, 0);
::PostMessageW(hwnd, DM_REPOSITION, 0, 0);
break;
case WM_DESTROY:
{
ShowWindow(SW_HIDE);
hMainWnd = NULL;
SaveSettings(hwnd, &SettingsInfo);
FreeLogs();
delete m_ClientPanel;
@@ -327,6 +333,19 @@ CMainWindow::ProcessWindowMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lPa
return 0;
}
case WM_CLOSE:
ShowWindow(SW_HIDE);
return g_Busy;
case WM_NOTIFY_OPERATIONCOMPLETED:
if (!g_Busy && !IsWindowVisible())
SendMessage(WM_CLOSE, 0, 0);
break;
case DM_REPOSITION:
EmulateDialogReposition(hwnd); // We are not a real dialog, we need help from a real one
break;
case WM_COMMAND:
OnCommand(wParam, lParam);
break;
@@ -337,6 +356,22 @@ CMainWindow::ProcessWindowMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lPa
switch (data->code)
{
case TVN_ITEMEXPANDING:
{
if (data->hwndFrom == m_TreeView->m_hWnd)
{
// APPWIZ-mode: forbid item collapse.
// FIXME: Prevent collapse (COMCTL32 is buggy)
// https://bugs.winehq.org/show_bug.cgi?id=53727
if (m_bAppwizMode && (((LPNMTREEVIEW)lParam)->action & TVE_TOGGLE) == TVE_COLLAPSE)
{
theResult = TRUE;
return TRUE; // Handled
}
}
break;
}
case TVN_SELCHANGED:
{
if (data->hwndFrom == m_TreeView->m_hWnd)
@@ -586,8 +621,16 @@ CMainWindow::UpdateStatusBarText()
if (m_StatusBar)
{
CStringW szBuffer;
szBuffer.Format(IDS_APPS_COUNT, m_ApplicationView->GetItemCount());
// Append the number of selected apps if not in APPWIZ-mode.
if (!m_bAppwizMode)
{
CStringW szBuffer2;
szBuffer2.Format(IDS_APPS_SELECT_COUNT, m_Selected.GetCount());
szBuffer += szBuffer2;
}
szBuffer.Format(IDS_APPS_COUNT, m_ApplicationView->GetItemCount(), m_Selected.GetCount());
m_StatusBar->SetText(szBuffer);
}
}
@@ -612,6 +655,13 @@ CMainWindow::AddApplicationsToView(CAtlList<CAppInfo *> &List)
VOID
CMainWindow::UpdateApplicationsList(AppsCategories EnumType, BOOL bReload, BOOL bCheckAvailable)
{
// Only installed applications should be enumerated in APPWIZ-mode.
if (m_bAppwizMode && !IsInstalledEnum(EnumType))
{
ATLASSERT(FALSE && "Should not be called in APPWIZ-mode");
return;
}
bUpdating = TRUE;
if (HCURSOR hCursor = LoadCursor(NULL, IDC_APPSTARTING))
@@ -650,6 +700,9 @@ CMainWindow::UpdateApplicationsList(AppsCategories EnumType, BOOL bReload, BOOL
}
else if (IsAvailableEnum(EnumType))
{
// We shouldn't get there in APPWIZ-mode.
ATLASSERT(!m_bAppwizMode);
if (bReload)
m_Db->UpdateAvailable();
@@ -709,8 +762,7 @@ CMainWindow::GetWndClassInfo()
HWND
CMainWindow::Create()
{
CStringW szWindowName;
szWindowName.LoadStringW(IDS_APPTITLE);
const CStringW szWindowName(MAKEINTRESOURCEW(m_bAppwizMode ? IDS_APPWIZ_TITLE : IDS_APPTITLE));
RECT r = {
(SettingsInfo.bSaveWndPos ? SettingsInfo.Left : CW_USEDEFAULT),

View File

@@ -89,8 +89,6 @@ class CAppRichEdit : public CUiWindow<CRichEdit>
LoadAndInsertText(UINT uStringID, DWORD StringFlags);
VOID
InsertTextWithString(UINT StringID, const CStringW &Text, DWORD TextFlags);
VOID
SetWelcomeText();
};
int
@@ -178,8 +176,8 @@ class CAppInfoDisplay : public CUiWindow<CWindowImpl<CAppInfoDisplay>>
VOID
ShowAppInfo(CAppInfo *Info);
VOID
SetWelcomeText();
void
SetWelcomeText(bool bAppwiz);
VOID
OnCommand(WPARAM wParam, LPARAM lParam);
@@ -195,7 +193,7 @@ class CAppsListView : public CUiWindow<CWindowImpl<CAppsListView, CListView>>
};
BOOL bIsAscending = TRUE;
BOOL bHasCheckboxes = FALSE;
bool bHasCheckboxes = false;
INT ItemCount = 0;
INT CheckedItemCount = 0;
@@ -224,8 +222,9 @@ class CAppsListView : public CUiWindow<CWindowImpl<CAppsListView, CListView>>
VOID
SetWatermark(const CStringW &Text);
VOID
SetCheckboxesVisible(BOOL bIsVisible);
void
ShowCheckboxes(bool bShow);
VOID
ColumnClick(LPNMLISTVIEW pnmv);
@@ -293,10 +292,11 @@ class CMainToolbar : public CUiWindow<CToolbar<>>
HWND
Create(HWND hwndParent);
VOID
HideButtonCaption();
VOID
ShowButtonCaption();
void
ShowButtonCaption(bool bShow);
void
UpdateMaxButtonsWidth();
DWORD
GetMaxButtonsWidth() const;

View File

@@ -52,12 +52,13 @@ class CMainWindow : public CWindowImpl<CMainWindow, CWindow, CFrameWinTraits>
CUiWindow<CStatusBar> *m_StatusBar = NULL;
CApplicationView *m_ApplicationView = NULL;
friend class CApplicationView;
CAppDB *m_Db;
CAtlList<CAppInfo *> m_Selected;
BOOL bUpdating = FALSE;
BOOL bAppwizMode;
BOOL m_bAppwizMode;
HTREEITEM hRootItemInstalled;
CStringW szSearchPattern;

View File

@@ -29,7 +29,9 @@ ErrorFromHResult(HRESULT hr)
VOID
CopyTextToClipboard(LPCWSTR lpszText);
VOID
ShowPopupMenuEx(HWND hwnd, HWND hwndOwner, UINT MenuID, UINT DefaultItem);
ShowPopupMenuEx(HWND hwnd, HWND hwndOwner, UINT MenuID, UINT DefaultItem, POINT *Point = NULL);
VOID
EmulateDialogReposition(HWND hwnd);
BOOL
StartProcess(const CStringW &Path, BOOL Wait);
BOOL

View File

@@ -13,4 +13,8 @@
#include "misc.h"
#include "configparser.h"
extern LONG g_Busy;
#define WM_NOTIFY_OPERATIONCOMPLETED (WM_APP + 0)
#endif /* _RAPPS_H */

View File

@@ -67,7 +67,6 @@
/* Menus */
#define IDR_MAINMENU 500
#define IDR_LINKMENU 501
#define IDR_APPLICATIONMENU 502
/* Menu items */
#define ID_EXIT 550
@@ -88,40 +87,46 @@
/* Messages */
#define ID_ACTIVATE_APPWIZ 600
/* Strings */
/* Banners */
#define IDS_APPTITLE 100
#define IDS_SEARCH_TEXT 101
#define IDS_APPS_COUNT 102
#define IDS_WELCOME_TITLE 103
#define IDS_WELCOME_TEXT 104
#define IDS_WELCOME_URL 105
#define IDS_INSTALLED 106
#define IDS_AVAILABLEFORINST 107
#define IDS_UPDATES 108
#define IDS_APPLICATIONS 109
#define IDS_CHOOSE_FOLDER_TEXT 110
#define IDS_CHOOSE_FOLDER_ERROR 111
#define IDS_URL_INVALID 112
#define IDS_APP_REG_REMOVE 113
#define IDS_INFORMATION 114
#define IDS_UNABLE_TO_REMOVE 115
#define IDS_UNABLE_TO_DOWNLOAD 116
#define IDS_UNABLE_TO_DOWNLOAD2 117
#define IDS_UNABLE_TO_QUERY_CERT 118
#define IDS_INTEG_CHECK_TITLE 119
#define IDS_INTEG_CHECK_FAIL 120
#define IDS_INTERRUPTED_DOWNLOAD 121
#define IDS_UNABLE_TO_WRITE 122
#define IDS_INSTALL_SELECTED 123
#define IDS_UNABLE_TO_INSTALL 124
#define IDS_SELECTEDFORINST 125
#define IDS_MISMATCH_CERT_INFO 126
#define IDS_UNABLE_PATH 127
#define IDS_APP_AUTHORS 128
#define IDS_APP_DISPLAY_DETAILS 129
#define IDS_APP_DISPLAY_LIST 130
#define IDS_APP_DISPLAY_TILE 131
#define IDS_NO_SEARCH_RESULTS 132
#define IDS_APP_AUTHORS 101
#define IDS_WELCOME_TITLE 102
#define IDS_WELCOME_TEXT 103
#define IDS_WELCOME_URL 104
#define IDS_APPWIZ_TITLE 105
#define IDS_APPWIZ_TEXT1 106
#define IDS_APPWIZ_TEXT2 107
/* Strings */
#define IDS_SEARCH_TEXT 110
#define IDS_APPS_COUNT 111
#define IDS_APPS_SELECT_COUNT 112
#define IDS_INSTALLED 113
#define IDS_AVAILABLEFORINST 114
#define IDS_UPDATES 115
#define IDS_APPLICATIONS 116
#define IDS_CHOOSE_FOLDER_TEXT 117
#define IDS_CHOOSE_FOLDER_ERROR 118
#define IDS_URL_INVALID 119
#define IDS_APP_REG_REMOVE 120
#define IDS_INFORMATION 121
#define IDS_UNABLE_TO_REMOVE 122
#define IDS_UNABLE_TO_DOWNLOAD 123
#define IDS_UNABLE_TO_DOWNLOAD2 124
#define IDS_UNABLE_TO_QUERY_CERT 125
#define IDS_INTEG_CHECK_TITLE 126
#define IDS_INTEG_CHECK_FAIL 127
#define IDS_INTERRUPTED_DOWNLOAD 128
#define IDS_UNABLE_TO_WRITE 129
#define IDS_INSTALL_SELECTED 130
#define IDS_UNABLE_TO_INSTALL 131
#define IDS_SELECTEDFORINST 132
#define IDS_MISMATCH_CERT_INFO 133
#define IDS_UNABLE_PATH 134
#define IDS_APP_DISPLAY_DETAILS 135
#define IDS_APP_DISPLAY_LIST 136
#define IDS_APP_DISPLAY_TILE 137
#define IDS_NO_SEARCH_RESULTS 138
/* Tooltips */
#define IDS_TOOLTIP_INSTALL 200

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Слагане\tCtrl+Enter", ID_INSTALL
MENUITEM "&Махане\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Промяна", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Пр&емахване от регистъра", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "О&пресняване\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 254, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Настройки"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Управителят за приложения на РеактОС"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Търсене"
IDS_APPS_COUNT "Брой приложения: %d; Selected: %d"
IDS_WELCOME_TITLE "Управителят на приложенията на РеактОС ви приветства"
IDS_WELCOME_TEXT "Изберете раздел от лявата страна, след което изберете приложение за слагане или премахване.\nСтраницата на РеактОС: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Търсене…"
IDS_APPS_COUNT "Брой приложения: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Сложено"
IDS_AVAILABLEFORINST "Налично за слагане"
IDS_UPDATES "Обновления"

View File

@@ -44,22 +44,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instalovat\tCtrl+Enter", ID_INSTALL
MENUITEM "&Odinstalovat\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Změnit", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Odstranit z r&egistru", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Ob&novit\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Aktualizovat data&bázi\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Nastavení"
@@ -189,11 +173,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS Správce aplikací"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Hledat…"
IDS_APPS_COUNT "Počet aplikací: %d; Vybráno: %d"
IDS_WELCOME_TITLE "Vítejte v ReactOS Správci aplikací!\n\n"
IDS_WELCOME_TITLE "Vítejte v ReactOS Správci aplikací!"
IDS_WELCOME_TEXT "Na levé straně zvolte kategorii, pak vpravo zvolte aplikaci, která bude nainstalována nebo odinstalována.\nWebová stránka ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Hledat…"
IDS_APPS_COUNT "Počet aplikací: %d"
IDS_APPS_SELECT_COUNT "; Vybráno: %d"
IDS_INSTALLED "Nainstalováno"
IDS_AVAILABLEFORINST "Lze instalovat"
IDS_UPDATES "Aktualizace"

View File

@@ -46,22 +46,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Installieren\tCtrl+Enter", ID_INSTALL
MENUITEM "&Deinstallieren\tCtrl+Del", ID_UNINSTALL
MENUITEM "Ä&ndern", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Aus R&egistry entfernen", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Aktualisie&ren\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Daten&bank aktualisieren\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Einstellungen"
@@ -191,11 +175,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS-Anwendungsmanager"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Suche…"
IDS_APPS_COUNT "Anzahl der Anwendungen: %d, ausgewählt: %d"
IDS_WELCOME_TITLE "Willkommen im ReactOS-Anwendungsmanager!\n\n"
IDS_WELCOME_TITLE "Willkommen im ReactOS-Anwendungsmanager!"
IDS_WELCOME_TEXT "Wählen Sie links eine Kategorie und dann eine Anwendung um sie zu installieren oder zu deinstallieren.\nReactOS-Webseite: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Suche…"
IDS_APPS_COUNT "Anzahl der Anwendungen: %d"
IDS_APPS_SELECT_COUNT "; ausgewählt: %d"
IDS_INSTALLED "Installiert"
IDS_AVAILABLEFORINST "Zur Installation verfügbar"
IDS_UPDATES "Aktualisierungen"

View File

@@ -46,22 +46,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Install\tCtrl+Enter", ID_INSTALL
MENUITEM "&Uninstall\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modify", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "R&emove from Registry", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Refresh\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Settings"
@@ -191,11 +175,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS Applications Manager"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Search…"
IDS_APPS_COUNT "Applications count: %d; Selected: %d"
IDS_WELCOME_TITLE "Welcome to ReactOS Applications Manager!\n\n"
IDS_WELCOME_TITLE "Welcome to ReactOS Applications Manager!"
IDS_WELCOME_TEXT "Choose a category on the left, then choose an application to install or uninstall.\nReactOS Web Site: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Search…"
IDS_APPS_COUNT "Applications count: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Installed"
IDS_AVAILABLEFORINST "Available for installation"
IDS_UPDATES "Updates"

View File

@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instalar\tCtrl+Intro", ID_INSTALL
MENUITEM "&Desinstalar\tCtrl+Supr", ID_UNINSTALL
MENUITEM "&Modificar", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "&Eliminar del Registro", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Recargar\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "&Actualizar listado desde Internet\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Ajustes"
@@ -190,11 +174,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Administrador de aplicaciones de ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Buscar…"
IDS_APPS_COUNT "Nº de aplicaciones: %d; Selecionadas: %d"
IDS_WELCOME_TITLE "Bienvenido al Administrador de aplicaciones de ReactOS.\n\n"
IDS_WELCOME_TITLE "Bienvenido al Administrador de aplicaciones de ReactOS."
IDS_WELCOME_TEXT "Seleccione una categoría a la izquierda, para más tarde seleccionar la aplicación a instalar o desinstalar.\nWeb de ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Buscar…"
IDS_APPS_COUNT "Nº de aplicaciones: %d"
IDS_APPS_SELECT_COUNT "; Selecionadas: %d"
IDS_INSTALLED "Instaladas"
IDS_AVAILABLEFORINST "Disponible para su instalación"
IDS_UPDATES "Actualizaciones"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Installi\tCtrl+Enter", ID_INSTALL
MENUITEM "&Desinstalli\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Muuda", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "&Eemalda registrist", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Värskenda\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Uuenda andme&baasi\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Sätted"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS'i Rakenduste Haldur"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Otsi…"
IDS_APPS_COUNT "Rakenduste arv: %d; Valitud: %d"
IDS_WELCOME_TITLE "Tere tulemast ReactOS'i Rakenduste Haldurisse!\n\n"
IDS_WELCOME_TITLE "Tere tulemast ReactOS'i Rakenduste Haldurisse!"
IDS_WELCOME_TEXT "Vali vasakult teema, siis vali paremalt rakendusi mida soovid installida või desinstallida.\nReactOS'i veebileht: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Otsi…"
IDS_APPS_COUNT "Rakenduste arv: %d"
IDS_APPS_SELECT_COUNT "; Valitud: %d"
IDS_INSTALLED "Installitud"
IDS_AVAILABLEFORINST "Installimiseks saadaval"
IDS_UPDATES "Uuendused"

View File

@@ -46,22 +46,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Installer\tCtrl+Entrée", ID_INSTALL
MENUITEM "&Désinstaller\tCtrl+Suppr", ID_UNINSTALL
MENUITEM "&Modifier", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "&Supprimer du registre", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Rafraîchir\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Mettre à jour la &base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Configuration"
@@ -191,11 +175,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Gestionnaire d'applications ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Chercher…"
IDS_APPS_COUNT "Nombre d'applications : %d ; Sélectionnées : %d"
IDS_WELCOME_TITLE "Bienvenue dans ReactOS Applications Manager !\n\n"
IDS_WELCOME_TITLE "Bienvenue dans ReactOS Applications Manager !"
IDS_WELCOME_TEXT "Choisissez une catégorie à gauche, ensuite choisissez une application à installer ou désinstaller.\nSite internet de ReactOS : "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Ajout/Suppression de programmes" // "Ajouter/Supprimer des Programmes"
IDS_APPWIZ_TEXT1 "Choisissez ""Applications"" ou ""Mises à jour"" pour voir la liste des programmes ou des mises à jour installés sur votre système."
IDS_APPWIZ_TEXT2 "Pour supprimer un programme, ou modifier ses composants installés, sélectionnez-le dans la liste et cliquez sur ""Désinstaller"" ou ""Modifier""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Chercher…"
IDS_APPS_COUNT "Nombre d'applications : %d"
IDS_APPS_SELECT_COUNT " ; Sélectionnées : %d"
IDS_INSTALLED "Installé"
IDS_AVAILABLEFORINST "Disponible pour installation"
IDS_UPDATES "Mises à jour"
@@ -274,5 +267,5 @@ END
STRINGTABLE
BEGIN
IDS_INSTGEN_CONFIRMUNINST "Are you sure you want to uninstall %s?"
IDS_INSTGEN_CONFIRMUNINST "Êtes-vous sûr de vouloir désinstaller %s ?"
END

View File

@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "התקנה\tCtrl+Enter", ID_INSTALL
MENUITEM "הסרה\tCtrl+Del", ID_UNINSTALL
MENUITEM "שינוי", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "הסרה מהרשום", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "רענן\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "עדכון מסד נתונים\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_LAYOUTRTL
@@ -193,11 +177,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "מנהל היישומים של ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "חיפוש…"
IDS_APPS_COUNT "ספירת יישומים: %d; Selected: %d"
IDS_WELCOME_TITLE "ברוכים הבאים למנהל היישומים של ReactOS!\n\n"
IDS_WELCOME_TITLE "ברוכים הבאים למנהל היישומים של ReactOS!"
IDS_WELCOME_TEXT "בחר קטגוריה בצד שמאל, לאחר מכן בחר יישום להתקנה או להסרה.\nהאתר של ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "חיפוש…"
IDS_APPS_COUNT "ספירת יישומים: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "מותקן"
IDS_AVAILABLEFORINST "זמין להתקנה"
IDS_UPDATES "עדכונים"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "Telep&ítés\tCtrl+Enter", ID_INSTALL
MENUITEM "Eltá&volítás\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Módosítás", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "&Eltávolítás a registryből", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "F&rissítés\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Adat&bázis frissítése\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Beállítások"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS Alkalmazáskezelő"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Keresés…"
IDS_APPS_COUNT "Alkalmazások száma: %d; Kijelölve: %d"
IDS_WELCOME_TITLE "Üdvözöljük a ReactOS Alkalmazáskezelőben!\n\n"
IDS_WELCOME_TITLE "Üdvözöljük a ReactOS Alkalmazáskezelőben!"
IDS_WELCOME_TEXT "Bal oldalon válasszon kategóriát, majd válasszon egy telepíteni vagy eltávolítani kívánt alkalmazást.\nReactOS weboldal: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Keresés…"
IDS_APPS_COUNT "Alkalmazások száma: %d"
IDS_APPS_SELECT_COUNT "; Kijelölve: %d"
IDS_INSTALLED "Telepített"
IDS_AVAILABLEFORINST "Telepíthető alkalmazások"
IDS_UPDATES "Frissítések"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Pasang\tCtrl+Enter", ID_INSTALL
MENUITEM "&Bongkar\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Ubah", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Hapus dari R&egistri", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Sega&rkan\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Perbarui Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Pengaturan"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Manajer Aplikasi ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Cari…"
IDS_APPS_COUNT "Jumlah aplikasi: %d; Terpilih: %d"
IDS_WELCOME_TITLE "Selamat datang di Manajer Aplikasi ReactOS!\n\n"
IDS_WELCOME_TITLE "Selamat datang di Manajer Aplikasi ReactOS!"
IDS_WELCOME_TEXT "pilih kategori di sisi kiri, kemudian pilih aplikasi untuk dipasang atau dibongkar.\nSitus Web ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Cari…"
IDS_APPS_COUNT "Jumlah aplikasi: %d"
IDS_APPS_SELECT_COUNT "; Terpilih: %d"
IDS_INSTALLED "Terpasang"
IDS_AVAILABLEFORINST "Tersedia untuk pemasangan"
IDS_UPDATES "Pembaruan"

View File

@@ -27,7 +27,7 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "&Aggiorna\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Aggiorna Data&base", ID_RESETDB
MENUITEM "Aggiorna Data&base\tCtrl+F5", ID_RESETDB
END
POPUP "?"
BEGIN
@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Installa\tCtrl+Enter", ID_INSTALL
MENUITEM "Rim&uovi\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modifica", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Canc&ella dal registro", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Aggiorna\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Aggiorna Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Impostazioni"
@@ -190,11 +174,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS Gestione applicazioni"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Cerca…"
IDS_APPS_COUNT "Numero applicazioni: %d; Selezionate: %d"
IDS_WELCOME_TITLE "Benvenuto!\n\n"
IDS_WELCOME_TITLE "Benvenuto!"
IDS_WELCOME_TEXT "Scegliere una categoria a sinistra, poi scegliere una applicazione da installare o disinstallare.\nReactOS Web Site: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Cerca…"
IDS_APPS_COUNT "Numero applicazioni: %d"
IDS_APPS_SELECT_COUNT "; Selezionate: %d"
IDS_INSTALLED "Installato"
IDS_AVAILABLEFORINST "Disponibile per l'installazione"
IDS_UPDATES "Aggiornamenti"

View File

@@ -23,9 +23,9 @@ BEGIN
MENUITEM "アンインストール(&U)\tCtrl+Del", ID_UNINSTALL
MENUITEM "変更(&M)", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "レジストリから削除(&E)\tF5", ID_REGREMOVE
MENUITEM "レジストリから削除(&E)", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "更新(&R)", ID_REFRESH
MENUITEM "更新(&R)\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "データベースの更新(&B)\tCtrl+F5", ID_RESETDB
END
@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "インストール(&I)\tCtrl+Enter", ID_INSTALL
MENUITEM "アンインストール(&U)\tCtrl+Del", ID_UNINSTALL
MENUITEM "変更(&M)", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "レジストリから削除(&E)\tF5", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "更新(&R)", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "データベースの更新(&B)\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "設定"
@@ -190,11 +174,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS アプリ マネージャ"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "検索..."
IDS_APPS_COUNT "アプリ数: %d; Selected: %d"
IDS_WELCOME_TITLE "ReactOS アプリ マネージャへようこそ!\n\n"
IDS_WELCOME_TITLE "ReactOS アプリ マネージャへようこそ!"
IDS_WELCOME_TEXT "左側からカテゴリを選択し、インストールまたはアンインストールするアプリを選んでください。\nReactOS ウェブ サイト: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "検索..."
IDS_APPS_COUNT "アプリ数: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "インストール済み"
IDS_AVAILABLEFORINST "インストール可能"
IDS_UPDATES "更新"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Installere\tCtrl+Enter", ID_INSTALL
MENUITEM "&Avinstallere\tCtrl+Del", ID_UNINSTALL
MENUITEM "E&ndre", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "R&emove from Registry", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Oppdate&r\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Settings"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS programbehandler"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Søk…"
IDS_APPS_COUNT "Program oppsummering: %d; Selected: %d"
IDS_WELCOME_TITLE "Velkommen til ReactOS programbehandler!\n\n"
IDS_WELCOME_TITLE "Velkommen til ReactOS programbehandler!"
IDS_WELCOME_TEXT "Velg en kategori til venstre, og velg et program for installere eller avinstallere programvaren.\nReactOS internettside: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Søk…"
IDS_APPS_COUNT "Program oppsummering: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Installert"
IDS_AVAILABLEFORINST "Tilgjengelig for installasjon"
IDS_UPDATES "Oppdateringer"

View File

@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instaluj\tCtrl+Enter", ID_INSTALL
MENUITEM "Odinstal&uj\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modyfikuj", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Usuń z r&ejestru", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Odśwież\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Aktualizuj &bazę programów\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Ustawienia"
@@ -190,11 +174,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Menedżer aplikacji ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Szukaj…"
IDS_APPS_COUNT "Liczba aplikacji: %d; Wybranych: %d"
IDS_WELCOME_TITLE "Witamy w Menedżerze aplikacji ReactOS!\n\n"
IDS_WELCOME_TITLE "Witamy w Menedżerze aplikacji ReactOS!"
IDS_WELCOME_TEXT "Z listy po lewej wybierz kategorię, a następnie aplikację, by ją zainstalować lub odinstalować.\nStrona projektu ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Szukaj…"
IDS_APPS_COUNT "Liczba aplikacji: %d"
IDS_APPS_SELECT_COUNT "; Wybranych: %d"
IDS_INSTALLED "Zainstalowane"
IDS_AVAILABLEFORINST "Dostępne"
IDS_UPDATES "Uaktualnienia"

View File

@@ -17,7 +17,7 @@ BEGIN
END
POPUP "&Programas"
BEGIN
MENUITEM "I&nstalar\tCtrl+Enter", ID_INSTALL
MENUITEM "&Instalar\tCtrl+Enter", ID_INSTALL
MENUITEM "&Desinstalar\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modificar", ID_MODIFY
MENUITEM SEPARATOR
@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instalar\tCtrl+Enter", ID_INSTALL
MENUITEM "&Desinstalar\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modificar", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "R&emover do Registro", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Atualiza&r\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Configurações"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Central de Aplicativos ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Procurar…"
IDS_APPS_COUNT "Número de aplicativos: %d; Selected: %d"
IDS_WELCOME_TITLE "Bem-vindo(a) a Central de Aplicativos ReactOS!\n\n"
IDS_WELCOME_TITLE "Bem-vindo(a) a Central de Aplicativos ReactOS!"
IDS_WELCOME_TEXT "Escolha uma categoria à esquerda, então escolha um aplicativo para instalar ou desinstalar.\nWeb Site ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Procurar…"
IDS_APPS_COUNT "Número de aplicativos: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Instalado"
IDS_AVAILABLEFORINST "Disponível para instalação"
IDS_UPDATES "Atualizações"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instalar\tCtrl+Enter", ID_INSTALL
MENUITEM "&Desinstalar\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modificar", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "R&emover do Registo", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Actualiza&r\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Actualizar &Base de dados\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Configurações"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Central de aplicações ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Procurar…"
IDS_APPS_COUNT "Número de aplicações: %d; Seleccionadas: %d"
IDS_WELCOME_TITLE "Bem-vindo(a) à Central de aplicações ReactOS!\n\n"
IDS_WELCOME_TITLE "Bem-vindo(a) à Central de aplicações ReactOS!"
IDS_WELCOME_TEXT "Escolha uma categoria à esquerda, de seguida escolha uma aplicação para instalar ou desinstalar.\nWeb Site ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Procurar…"
IDS_APPS_COUNT "Número de aplicações: %d"
IDS_APPS_SELECT_COUNT "; Seleccionadas: %d"
IDS_INSTALLED "Instalado"
IDS_AVAILABLEFORINST "Disponível para instalação"
IDS_UPDATES "Actualizações"

View File

@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instalare\tCtrl+Enter", ID_INSTALL
MENUITEM "&Dezinstalare\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modificare", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "&Eliminare din registru", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Împ&rospătare\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "&Actualizare a bazei de date\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Setări"
@@ -190,11 +174,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Managerul de aplicații ReactOS"
IDS_APP_AUTHORS "Marcă înregistrată 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Căutare…"
IDS_APPS_COUNT "Numărul de programe: %d; Selectate: %d"
IDS_WELCOME_TITLE "Bun venit la Managerul de aplicații ReactOS!\n\n"
IDS_WELCOME_TITLE "Bun venit la Managerul de aplicații ReactOS!"
IDS_WELCOME_TEXT "Alegeți o categorie din stânga, apoi alegeți o aplicație pentru a o instala sau dezinstala.\nArdesa web ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Căutare…"
IDS_APPS_COUNT "Numărul de programe: %d"
IDS_APPS_SELECT_COUNT "; Selectate: %d"
IDS_INSTALLED "Instalate"
IDS_AVAILABLEFORINST "Disponibile pentru instalare"
IDS_UPDATES "Actualizări"

View File

@@ -48,22 +48,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "У&становить\tCtrl+Enter", ID_INSTALL
MENUITEM "&Удалить\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Изменить", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "У&далить из реестра", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Обновить\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Обновить &базу данных\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Параметры"
@@ -193,11 +177,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Менеджер приложений ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Поиск…"
IDS_APPS_COUNT "Количество приложений: %d; Выбрано: %d"
IDS_WELCOME_TITLE "Добро пожаловать в ""Менеджер приложений ReactOS""!\n\n"
IDS_WELCOME_TITLE "Добро пожаловать в ""Менеджер приложений ReactOS""!"
IDS_WELCOME_TEXT "Выберите категорию слева и приложение для установки или удаления.\nСайт ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Поиск…"
IDS_APPS_COUNT "Количество приложений: %d"
IDS_APPS_SELECT_COUNT "; Выбрано: %d"
IDS_INSTALLED "Установленные"
IDS_AVAILABLEFORINST "Доступно для установки"
IDS_UPDATES "Обновления"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Inštalovať\tCtrl+Enter", ID_INSTALL
MENUITEM "O&dinštalovať\tCtrl+Del", ID_UNINSTALL
MENUITEM "Z&meniť", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Odstrániť z R&egistrov", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Obnoviť\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Nastavenia"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Manažér aplikácií systému ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Hľadať…"
IDS_APPS_COUNT "Počet programov: %d; Selected: %d"
IDS_WELCOME_TITLE "Víta Vás Manažér aplikácií systému ReactOS!\n\n"
IDS_WELCOME_TITLE "Víta Vás Manažér aplikácií systému ReactOS!"
IDS_WELCOME_TEXT "Vyberte si kategóriu na ľavej strane, potom vyberte aplikáciu, ktorú chcete nainštalovať alebo odinštalovať.\nWebstránka projektu ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Hľadať…"
IDS_APPS_COUNT "Počet programov: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Nainštalované"
IDS_AVAILABLEFORINST "Dostupné pre nainštalovanie"
IDS_UPDATES "Aktualizácie"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Instalo\tCtrl+Enter", ID_INSTALL
MENUITEM "&Uninstall\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Modifiko", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Hiq nga R&egjistri", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Rifresko\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Konfigurime"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS Applications Manager"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Kerko…"
IDS_APPS_COUNT "Numrimi Aplicacioneve: %d; Selected: %d"
IDS_WELCOME_TITLE "Mire Se Erdhe ne ReactOS Applications Manager!\n\n"
IDS_WELCOME_TITLE "Mire Se Erdhe ne ReactOS Applications Manager!"
IDS_WELCOME_TEXT "Zgjidh nje kategori ne te majte, pastaj zgjidh nje aplicacion per ta instaluar ose uninstall.\nReactOS Web Site: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Kerko…"
IDS_APPS_COUNT "Numrimi Aplicacioneve: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Instaluar"
IDS_AVAILABLEFORINST "Te vlefshem per instalim"
IDS_UPDATES "Updates"

View File

@@ -43,22 +43,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Installera\tCtrl+Enter", ID_INSTALL
MENUITEM "&Avinstallera\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Ändra", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Ta bort från R&egistret", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "Uppdate&ra\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Update Data&base\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Inställningar"
@@ -188,11 +172,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS programhanterare"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Sök…"
IDS_APPS_COUNT "Programantal: %d; Selected: %d"
IDS_WELCOME_TITLE "Välkommen till ReactOS programhanterare!\n\n"
IDS_WELCOME_TITLE "Välkommen till ReactOS programhanterare!"
IDS_WELCOME_TEXT "Välj en kategori till vänster, och sedan ett program för att installera eller avinstallera.\nReactOS Web sida: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Sök…"
IDS_APPS_COUNT "Programantal: %d"
IDS_APPS_SELECT_COUNT "; Selected: %d"
IDS_INSTALLED "Installerat"
IDS_AVAILABLEFORINST "Tillgängliga for installation"
IDS_UPDATES "Uppdateringar"

View File

@@ -45,22 +45,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Kur\tCtrl+Enter", ID_INSTALL
MENUITEM "K&aldır\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Değiştir", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "&Girdiyi Kayıt Defteri'nden Kaldır", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Yenile\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Uygulama Veri Ta&banını Yenile\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Ayarlar"
@@ -190,11 +174,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS Uygulama Yöneticisi"
IDS_APP_AUTHORS "Telif Hakkı: 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Ara"
IDS_APPS_COUNT "Uygulama Sayısı: %d; Seçili: %d"
IDS_WELCOME_TITLE "ReactOS Uygulama Yöneticisi'ne hoş geldiniz.\n\n"
IDS_WELCOME_TITLE "ReactOS Uygulama Yöneticisi'ne hoş geldiniz."
IDS_WELCOME_TEXT "Solda bir kategori seçiniz, ardından kurmak ya da kaldırmak için bir uygulama seçiniz.\nReactOS'un İnternet sitesi: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Ara…"
IDS_APPS_COUNT "Uygulama Sayısı: %d"
IDS_APPS_SELECT_COUNT "; Seçili: %d"
IDS_INSTALLED "Kurulanlar"
IDS_AVAILABLEFORINST "Kurulabilir Uygulamalar"
IDS_UPDATES "Güncelleştirmeler"

View File

@@ -46,22 +46,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "&Встановити\tCtrl+Enter", ID_INSTALL
MENUITEM "В&идалити\tCtrl+Del", ID_UNINSTALL
MENUITEM "&Змінити", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "Вида&лити з реєстру", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "&Оновити\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "Оновити список &програм\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Налаштування"
@@ -191,11 +175,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "Менеджер додатків ReactOS"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "Пошук…"
IDS_APPS_COUNT "Kількість додатків: %d; Обрано: %d"
IDS_WELCOME_TITLE "Ласкаво просимо в Менеджер додатків ReactOS!\n\n"
IDS_WELCOME_TITLE "Ласкаво просимо в Менеджер додатків ReactOS!"
IDS_WELCOME_TEXT "Виберіть категорію зліва, а потім виберіть програми для встановлення чи видалення.\nСторінка ReactOS: "
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "Пошук…"
IDS_APPS_COUNT "Kількість додатків: %d"
IDS_APPS_SELECT_COUNT "; Обрано: %d"
IDS_INSTALLED "Встановлені"
IDS_AVAILABLEFORINST "Доступні для встановлення"
IDS_UPDATES "Оновлення"

View File

@@ -47,22 +47,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "安装(&I)\tCtrl+Enter", ID_INSTALL
MENUITEM "卸载(&U)\tCtrl+Del", ID_UNINSTALL
MENUITEM "修改(&M)", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "从注册表删除(&E)", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "刷新(&R)\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "更新数据库(&B)\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "设置"
@@ -192,11 +176,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS 程序管理器"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "搜索…"
IDS_APPS_COUNT "程序数量:%d已选%d"
IDS_WELCOME_TITLE "欢迎使用 ReactOS 程序管理器!\n\n"
IDS_WELCOME_TITLE "欢迎使用 ReactOS 程序管理器!"
IDS_WELCOME_TEXT "从左栏选择一个类别,然后选择要安装或卸载的程序。\nReactOS 网站:"
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "搜索…"
IDS_APPS_COUNT "程序数量:%d"
IDS_APPS_SELECT_COUNT ";已选:%d"
IDS_INSTALLED "已安装"
IDS_AVAILABLEFORINST "可安装"
IDS_UPDATES "更新"

View File

@@ -44,22 +44,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "安裝(&I)\tCtrl+Enter", ID_INSTALL
MENUITEM "解除安裝(&U)\tCtrl+Del", ID_UNINSTALL
MENUITEM "修改(&M)", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "從登錄檔刪除(&E)", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "重新整理(&R)\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "更新資料庫(&B)\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "設定"
@@ -189,11 +173,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS 程式管理員"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "搜尋..."
IDS_APPS_COUNT "程式數量:%d 已選:%d"
IDS_WELCOME_TITLE "歡迎來到 ReactOS 程式管理員!\n\n"
IDS_WELCOME_TITLE "歡迎來到 ReactOS 程式管理員!"
IDS_WELCOME_TEXT "從左側欄目選擇一個類別,然後選擇要安裝或解除安裝的程式。\nReactOS 網站︰"
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "搜尋..."
IDS_APPS_COUNT "程式數量:%d"
IDS_APPS_SELECT_COUNT " 已選:%d"
IDS_INSTALLED "已安裝"
IDS_AVAILABLEFORINST "可安裝"
IDS_UPDATES "更新"

View File

@@ -44,22 +44,6 @@ BEGIN
END
END
IDR_APPLICATIONMENU MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "安裝(&I)\tCtrl+Enter", ID_INSTALL
MENUITEM "解除安裝(&U)\tCtrl+Del", ID_UNINSTALL
MENUITEM "修改(&M)", ID_MODIFY
MENUITEM SEPARATOR
MENUITEM "從登錄檔刪除(&E)", ID_REGREMOVE
MENUITEM SEPARATOR
MENUITEM "重新整理(&R)\tF5", ID_REFRESH
MENUITEM SEPARATOR
MENUITEM "更新資料庫(&B)\tCtrl+F5", ID_RESETDB
END
END
IDD_SETTINGS_DIALOG DIALOGEX 0, 0, 250, 265
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "設定"
@@ -189,11 +173,20 @@ STRINGTABLE
BEGIN
IDS_APPTITLE "ReactOS 程式管理員"
IDS_APP_AUTHORS "Copyright 2009 Dmitry Chapyshev"
IDS_SEARCH_TEXT "搜尋..."
IDS_APPS_COUNT "程式數量:%d 已選:%d"
IDS_WELCOME_TITLE "歡迎來到 ReactOS 程式管理員!\n\n"
IDS_WELCOME_TITLE "歡迎來到 ReactOS 程式管理員!"
IDS_WELCOME_TEXT "從左側欄目選擇一個類別,然後選擇要安裝或解除安裝的程式。\nReactOS 網站︰"
IDS_WELCOME_URL "https://reactos.org"
IDS_APPWIZ_TITLE "Add/Remove Programs"
IDS_APPWIZ_TEXT1 "Choose ""Applications"" or ""Updates"" to view the list of applications or updates installed on your system."
IDS_APPWIZ_TEXT2 "To remove a program or to modify its installed components, select it from the list and click on ""Uninstall"" or ""Modify""."
END
STRINGTABLE
BEGIN
IDS_SEARCH_TEXT "搜尋..."
IDS_APPS_COUNT "程式數量:%d"
IDS_APPS_SELECT_COUNT " 已選:%d"
IDS_INSTALLED "已安裝"
IDS_AVAILABLEFORINST "可安裝"
IDS_UPDATES "更新"

View File

@@ -470,6 +470,7 @@ CDownloadManager::DownloadDlgProc(HWND Dlg, UINT uMsg, WPARAM wParam, LPARAM lPa
{
case WM_INITDIALOG:
{
g_Busy++;
HICON hIconSm, hIconBg;
CStringW szTempCaption;
@@ -557,6 +558,12 @@ CDownloadManager::DownloadDlgProc(HWND Dlg, UINT uMsg, WPARAM wParam, LPARAM lPa
}
return TRUE;
case WM_DESTROY:
g_Busy--;
if (hMainWnd)
PostMessage(hMainWnd, WM_NOTIFY_OPERATIONCOMPLETED, 0, 0);
return FALSE;
default:
return FALSE;
}

View File

@@ -39,8 +39,33 @@ CopyTextToClipboard(LPCWSTR lpszText)
CloseClipboard();
}
static INT_PTR CALLBACK
NothingDlgProc(HWND hDlg, UINT uMsg, WPARAM, LPARAM)
{
return uMsg == WM_CLOSE ? DestroyWindow(hDlg) : FALSE;
}
VOID
ShowPopupMenuEx(HWND hwnd, HWND hwndOwner, UINT MenuID, UINT DefaultItem)
EmulateDialogReposition(HWND hwnd)
{
static const DWORD DlgTmpl[] = { WS_POPUP | WS_CAPTION | WS_SYSMENU, 0, 0, 0, 0, 0 };
HWND hDlg = CreateDialogIndirectW(NULL, (LPDLGTEMPLATE)DlgTmpl, NULL, NothingDlgProc);
if (hDlg)
{
RECT r;
GetWindowRect(hwnd, &r);
if (SetWindowPos(hDlg, hDlg, r.left, r.top, r.right - r.left, r.bottom - r.top, SWP_NOZORDER | SWP_NOACTIVATE))
{
SendMessage(hDlg, DM_REPOSITION, 0, 0);
if (GetWindowRect(hDlg, &r))
SetWindowPos(hwnd, hwnd, r.left, r.top, r.right - r.left, r.bottom - r.top, SWP_NOZORDER | SWP_NOACTIVATE);
}
SendMessage(hDlg, WM_CLOSE, 0, 0);
}
}
VOID
ShowPopupMenuEx(HWND hwnd, HWND hwndOwner, UINT MenuID, UINT DefaultItem, POINT *Point)
{
HMENU hMenu = NULL;
HMENU hPopupMenu;
@@ -68,10 +93,13 @@ ShowPopupMenuEx(HWND hwnd, HWND hwndOwner, UINT MenuID, UINT DefaultItem)
SetMenuDefaultItem(hPopupMenu, DefaultItem, FALSE);
}
GetCursorPos(&pt);
if (!Point)
{
GetCursorPos(Point = &pt);
}
SetForegroundWindow(hwnd);
TrackPopupMenu(hPopupMenu, 0, pt.x, pt.y, 0, hwndOwner, NULL);
TrackPopupMenu(hPopupMenu, 0, Point->x, Point->y, 0, hwndOwner, NULL);
if (hMenu)
{

View File

@@ -8,6 +8,7 @@
#include "rapps.h"
#include "settings.h"
#define SETTINGSSUBKEY L"Software\\ReactOS\\" RAPPS_NAME
class SettingsField
{
@@ -109,7 +110,7 @@ class SettingsFieldString : public SettingsField
LPCWSTR m_RegName; // key name in registery
};
void
static void
AddInfoFields(ATL::CAtlList<SettingsField *> &infoFields, SETTINGS_INFO &settings)
{
infoFields.AddTail(new SettingsFieldBool(&(settings.bSaveWndPos), L"bSaveWndPos"));
@@ -127,11 +128,9 @@ AddInfoFields(ATL::CAtlList<SettingsField *> &infoFields, SETTINGS_INFO &setting
infoFields.AddTail(new SettingsFieldString((settings.szNoProxyFor), MAX_PATH, L"NoProxyFor"));
infoFields.AddTail(new SettingsFieldBool(&(settings.bUseSource), L"bUseSource"));
infoFields.AddTail(new SettingsFieldString((settings.szSourceURL), INTERNET_MAX_URL_LENGTH, L"SourceURL"));
return;
}
BOOL
static BOOL
SaveAllSettings(CRegKey &key, SETTINGS_INFO &settings)
{
BOOL bAllSuccess = TRUE;
@@ -153,10 +152,10 @@ SaveAllSettings(CRegKey &key, SETTINGS_INFO &settings)
return bAllSuccess;
}
BOOL
static BOOL
LoadAllSettings(CRegKey &key, SETTINGS_INFO &settings)
{
BOOL bAllSuccess = TRUE;
BOOL bLoadedAny = FALSE;
ATL::CAtlList<SettingsField *> infoFields;
AddInfoFields(infoFields, settings);
@@ -165,27 +164,18 @@ LoadAllSettings(CRegKey &key, SETTINGS_INFO &settings)
while (InfoListPosition)
{
SettingsField *Info = infoFields.GetNext(InfoListPosition);
if (!Info->Load(key))
{
bAllSuccess = FALSE;
// TODO: error log
}
if (Info->Load(key))
bLoadedAny = TRUE;
//else
// TODO: error log
delete Info;
}
return bAllSuccess;
return bLoadedAny;
}
VOID
FillDefaultSettings(PSETTINGS_INFO pSettingsInfo)
static void
GetDefaultDownloadDirectory(CStringW &szDownloadDir)
{
CStringW szDownloadDir;
ZeroMemory(pSettingsInfo, sizeof(SETTINGS_INFO));
pSettingsInfo->bSaveWndPos = TRUE;
pSettingsInfo->bUpdateAtStart = FALSE;
pSettingsInfo->bLogEnabled = TRUE;
pSettingsInfo->bUseSource = FALSE;
if (FAILED(SHGetFolderPathW(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, szDownloadDir.GetBuffer(MAX_PATH))))
{
szDownloadDir.ReleaseBuffer();
@@ -201,29 +191,68 @@ FillDefaultSettings(PSETTINGS_INFO pSettingsInfo)
PathAppendW(szDownloadDir.GetBuffer(MAX_PATH), L"\\RAPPS Downloads");
szDownloadDir.ReleaseBuffer();
}
CStringW::CopyChars(
pSettingsInfo->szDownloadDir, _countof(pSettingsInfo->szDownloadDir), szDownloadDir.GetString(),
szDownloadDir.GetLength() + 1);
static VOID
ValidateStringSettings(PSETTINGS_INFO pSettingsInfo)
{
if (!pSettingsInfo->szDownloadDir[0])
{
CStringW szDownloadDir;
GetDefaultDownloadDirectory(szDownloadDir);
CStringW::CopyChars(pSettingsInfo->szDownloadDir, _countof(pSettingsInfo->szDownloadDir),
szDownloadDir.GetString(), szDownloadDir.GetLength() + 1);
}
}
VOID
FillDefaultSettings(PSETTINGS_INFO pSettingsInfo)
{
ZeroMemory(pSettingsInfo, sizeof(*pSettingsInfo));
pSettingsInfo->bSaveWndPos = TRUE;
pSettingsInfo->bUpdateAtStart = FALSE;
pSettingsInfo->bLogEnabled = TRUE;
pSettingsInfo->bUseSource = FALSE;
pSettingsInfo->bDelInstaller = FALSE;
pSettingsInfo->Maximized = FALSE;
pSettingsInfo->Left = CW_USEDEFAULT;
pSettingsInfo->Top = CW_USEDEFAULT;
pSettingsInfo->Width = 680;
pSettingsInfo->Height = 450;
ValidateStringSettings(pSettingsInfo);
}
BOOL
LoadSettings(PSETTINGS_INFO pSettingsInfo)
{
BOOL bLoadedAny = FALSE;
FillDefaultSettings(pSettingsInfo);
ATL::CRegKey RegKey;
if (RegKey.Open(HKEY_CURRENT_USER, L"Software\\ReactOS\\" RAPPS_NAME, KEY_READ) != ERROR_SUCCESS)
if (RegKey.Open(HKEY_CURRENT_USER, SETTINGSSUBKEY, KEY_READ) == ERROR_SUCCESS)
{
return FALSE;
bLoadedAny = LoadAllSettings(RegKey, *pSettingsInfo);
}
return LoadAllSettings(RegKey, *pSettingsInfo);
ValidateStringSettings(pSettingsInfo); // Handles the case where a REG_SZ is present but empty
if (!bLoadedAny)
{
// This the first launch, write at least one item so ParseCmdAndExecute() does not
// trigger another DB update in another process instance between now and SaveSettings().
ATL::CRegKey RegKey;
if (RegKey.Create(HKEY_CURRENT_USER, SETTINGSSUBKEY, NULL, REG_OPTION_NON_VOLATILE,
KEY_WRITE, NULL, NULL) == ERROR_SUCCESS)
{
SettingsFieldBool field(&(pSettingsInfo->bUpdateAtStart), L"bUpdateAtStart");
field.Save(RegKey);
}
}
return bLoadedAny;
}
BOOL
@@ -245,8 +274,8 @@ SaveSettings(HWND hwnd, PSETTINGS_INFO pSettingsInfo)
(wp.showCmd == SW_MAXIMIZE || (wp.showCmd == SW_SHOWMINIMIZED && (wp.flags & WPF_RESTORETOMAXIMIZED)));
}
if (RegKey.Create(HKEY_CURRENT_USER, L"Software\\ReactOS\\" RAPPS_NAME, NULL,
REG_OPTION_NON_VOLATILE, KEY_WRITE, NULL, NULL) != ERROR_SUCCESS)
if (RegKey.Create(HKEY_CURRENT_USER, SETTINGSSUBKEY, NULL, REG_OPTION_NON_VOLATILE,
KEY_WRITE, NULL, NULL) != ERROR_SUCCESS)
{
return FALSE;
}

View File

@@ -349,16 +349,17 @@ ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow)
if (argc == 1 || bAppwizMode) // RAPPS is launched without options or APPWIZ mode is requested
{
// Check whether the RAPPS MainWindow is already launched in another process
HANDLE hMutex;
CStringW szWindowText(MAKEINTRESOURCEW(bAppwizMode ? IDS_APPWIZ_TITLE : IDS_APPTITLE));
LPCWSTR pszMutex = bAppwizMode ? L"RAPPWIZ" : szWindowClass;
hMutex = CreateMutexW(NULL, FALSE, szWindowClass);
HANDLE hMutex = CreateMutexW(NULL, FALSE, pszMutex);
if ((!hMutex) || (GetLastError() == ERROR_ALREADY_EXISTS))
{
/* If already started, find its window */
HWND hWindow;
for (int wait = 2500, inter = 250; wait > 0; wait -= inter)
{
if ((hWindow = FindWindowW(szWindowClass, NULL)) != NULL)
if ((hWindow = FindWindowW(szWindowClass, szWindowText)) != NULL)
break;
Sleep(inter);
}
@@ -366,6 +367,7 @@ ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow)
if (hWindow)
{
/* Activate the window in the other instance */
ShowWindow(hWindow, SW_SHOW);
SwitchToThisWindow(hWindow, TRUE);
if (bAppwizMode)
PostMessage(hWindow, WM_COMMAND, ID_ACTIVATE_APPWIZ, 0);
@@ -376,6 +378,7 @@ ParseCmdAndExecute(LPWSTR lpCmdLine, BOOL bIsFirstLaunch, int nCmdShow)
return FALSE;
}
}
szWindowText.Empty();
CMainWindow wnd(&db, bAppwizMode);
MainWindowLoop(&wnd, nCmdShow);

View File

@@ -14,6 +14,7 @@
#include <conutils.h>
LPCWSTR szWindowClass = L"ROSAPPMGR2";
LONG g_Busy = 0;
HWND hMainWnd;
HINSTANCE hInst;
@@ -40,12 +41,7 @@ wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, INT nSh
}
hInst = hInstance;
BOOL bIsFirstLaunch = !LoadSettings(&SettingsInfo);
if (bIsFirstLaunch)
{
FillDefaultSettings(&SettingsInfo);
}
InitLogs();
InitCommonControls();

View File

@@ -14,24 +14,24 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Închidere la distanță"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "Con&firmă", IDC_OK, 125, 232, 50, 14
PUSHBUTTON "A&nulează", IDC_CANCEL, 178, 232, 50, 14
LTEXT "C&alculatoare:", IDC_STATIC, 9, 9, 35, 36
DEFPUSHBUTTON "OK", IDC_OK, 125, 232, 50, 14
PUSHBUTTON "Revocare", IDC_CANCEL, 178, 232, 50, 14
LTEXT "&Computere:", IDC_STATIC, 9, 9, 35, 36
LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55
PUSHBUTTON "A&dăugare…", IDC_ADD_SYSTEM, 179, 19, 50, 14
PUSHBUTTON "&Elimină", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
PUSHBUTTON "Spe&cificare…", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
PUSHBUTTON "&Eliminare", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED
PUSHBUTTON "&Specificare…", IDC_BROWSE_SYSTEM, 179, 53, 50, 14
LTEXT "Acțiune", IDC_ACTION, 11, 81, 20, 14
COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN
CHECKBOX "A&vertizează utilizatorii", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
LTEXT "Avertismente afișate pentru", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
CHECKBOX "A&vertizare a utilizatorilor", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP
LTEXT "Afișare de avertismente pentru", IDC_SHOW_WARN_ONE, 11, 99, 65, 14
EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14
LTEXT "secunde", IDC_SHOW_WARN_TWO, 124, 99, 32, 10
GROUPBOX "Jurnal de evenimente-închideri", IDC_STATIC, 5, 114, 224, 114
GROUPBOX "Închidere Urmăritorul de evenimente", IDC_STATIC, 5, 114, 224, 114
LTEXT "Motiv:", IDC_STATIC, 16, 130, 27, 8
CHECKBOX "Planificat", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP
COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN
LTEXT "Co&mentariu:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
LTEXT "C&omentariu:", IDC_COMMENT_CAPTION, 16, 159, 38, 8
EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL
END
@@ -41,59 +41,59 @@ BEGIN
IDS_USAGE "Utilitar de închidere ReactOS\n\
\n\
Utilizare: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\
[/m \\\\calculator][/t xxx][/d [p|u:]xx:yy [/c «comentariu»]]\n\
[/m \\\\computer][/t xxx][/d [p|u:]xx:yy [/c «comentariu»]]\n\
\n\
Fără argumente sau /? Este afișat acest manual.\n\
/i Afișarea interfeței grafice de utilizator (GUI). Această\n\
opțiune trebuie să preceadă.\n\
/l Desautentificare locală. Nu poate fi utilizată cu /m sau /d.\n\
/s Închidere calculator.\n\
/r Repornire calculator.\n\
/g Repornire calculator plus repornirea tuturor aplicațiilor\n\
/i Afișea interfeța grafică de utilizator (GUI). Această\n\
opțiune trebuie să fie prima.\n\
/l Face Log off local. Nu poate fi utilizată cu /m sau /d.\n\
/s Închide computerul.\n\
/r Repornește computerul.\n\
/g Repornește computerul și se repornesc toate aplicațiile\n\
înregistrate.\n\
/a Anularea unei închideri întârziate. Poate fi utilizată doar în\n\
/a Anulează o închidere întârziată. Poate fi utilizată doar în\n\
perioada de întârziere.\n\
/p Închiderea calculatorului fără avertisment sau cronometrare\n\
inver. Poate fi utilizată cu /d sau /f.\n\
/h Hibernarea calculatorului local. Utilizabilă cu /f.\n\
/e Documentarea motivului pentru închiderea neprevăzută.\n\
/m \\\\calculator Specificarea unui calculator țintă (adresă UNC/IP).\n\
/p Închide computerul local fără nicio cronometrare sau\n\
avertisment. Poate fi utilizată cu /d sau /f.\n\
/h Hibernează computerului local. Utilizabilă cu /f.\n\
/e Documentea motivului pentru închiderea neprevăzută.\n\
/m \\\\computer Specificarea unui computer țintă (adresă UNC/IP).\n\
/t xxx Setează cronometrarea unei perioade de xxx secunde înainte de\n\
închidere. Domeniul de valori valide este de la 0 la 315360000\n\
(10 ani), 30 fiind valoarea implicită.\n\
/c comentariu Comentarea motivului pentru închidere sau repornire.\n\
/c ""comentariu"" Comentea motivului pentru închidere sau repornire.\n\
Sunt permise maxim 512 caractere.\n\
/f Forțarea închiderii aplicațiilor curente fără avertizarea\n\
utilizatorilor. Dacă nu sunt specificați alți parametri, această\n\
opțiune implică și deautentificarea.\n\
/f Forțea închiderea aplicațiilor curente fără avertizarea\n\
utilizatorilor. Dacă specificați alți parametri, această\n\
opțiune implică și log off-ul.\n\
/d [p|u:]xx:yy Oferă un ca motiv un cod pentru închidere sau repornire.\n\
p indică planificarea închiderii sau repornirii calculatorului.\n\
p indică planificarea închiderii sau repornirii computerului.\n\
u indică faptul că motivul este definit de utilizator.\n\
Dacă nici p nici u nu sunt specificați, închiderea sau repornirea\n\
nu sunt planificate.\n\
xx este codul pentru motivul major (întreg pozitiv sub 256).\n\
yy este codul pentru motivul minor (întreg pozitiv sub 65536).\n"
IDS_ERROR_SHUTDOWN_REBOOT "Eroare: Închiderea și repornirea nu pot fi în același timp.\n"
IDS_ERROR_SHUTDOWN_REBOOT "Eroare: Imposibil de închis și repornit în același timp.\n"
IDS_ERROR_TIMEOUT "Eroare: Valoarea %u a cronometrului este în afara limitelor valide (0-315360000).\n"
IDS_ERROR_ABORT "Eroare: Închiderea sistemului nu poate fi anulată.\n"
IDS_ERROR_LOGOFF "Eroare: Deautentificarea din sistem nu poate fi executată.\n"
IDS_ERROR_SHUTDOWN "Eroare: Sistemul nu poate fi închis.\n"
IDS_ERROR_RESTART "Eroare: Sistemul nu poate fi repornit.\n"
IDS_ERROR_ABORT "Eroare: Imposibil de anulat închiderea sistemului.\n"
IDS_ERROR_LOGOFF "Eroare: Imposibil de executat log off-ul din sistem.\n"
IDS_ERROR_SHUTDOWN "Eroare: Imposibil de închis sistemul.\n"
IDS_ERROR_RESTART "Eroare: Imposibil de repornit sistemul.\n"
IDS_ERROR_MAX_COMMENT_LENGTH "Eroare: Numărul de caractere al comentariului depășește limita impusă de sistem.\n"
IDS_ERROR_HIBERNATE "Eroare: Sistemul nu poate fi pus în hibernare.\n"
IDS_ERROR_HIBERNATE_LOCAL "Eroare: Hibernarea nu poate fi comandată la distanță.\n"
IDS_ERROR_HIBERNATE "Eroare: Imposibil de trimis sistemul în modul de hibernare.\n"
IDS_ERROR_HIBERNATE_LOCAL "Eroare: Modul de hibernare nu poate fi pornit de la distanță.\n"
IDS_ERROR_HIBERNATE_ENABLED "Eroare: Modul de hibernare nu este activat.\n"
IDS_ERROR_DIALOG_CAPTION "Închidere la distanță"
IDS_ERROR_DIALOG_INIT "Nu s-a putut afișa interfața grafică de utilizator."
IDS_ERROR_DIALOG_INIT "Imposibil de afișat interfața grafică de utilizator."
END
/* Remote shutdown action strings */
STRINGTABLE
BEGIN
IDS_ACTION_SHUTDOWN "Închide sistemul"
IDS_ACTION_RESTART "Repornește sistemul"
IDS_ACTION_UNEXPECTED_SHUTDOWN "Adnotează închiderea neprevăzută"
IDS_ACTION_SHUTDOWN "Închidere a sistemului"
IDS_ACTION_RESTART "Repornire a sistemului"
IDS_ACTION_UNEXPECTED_SHUTDOWN "Adnotare a opririi neașteptate"
END
/* Remote shutdown reason strings */
@@ -106,8 +106,8 @@ BEGIN
IDS_REASON_OS_RECONFIGURE "Sistem de operare: Reconfigurare"
IDS_REASON_APP_MAINTENANCE "Aplicații: Mentenanță"
IDS_REASON_APP_INSTALL "Aplicații: Instalare"
IDS_REASON_APP_UNRESPONSIVE "Aplicații: Neresponsivitate"
IDS_REASON_APP_UNSTABLE "Aplicații: Instabilitate"
IDS_REASON_SECURITY "Probleme de securitate"
IDS_REASON_NETWORK "Pierdere conexiune de rețea"
IDS_REASON_APP_UNRESPONSIVE "Aplicații: Nu răspunde"
IDS_REASON_APP_UNSTABLE "Aplicații: Instabil"
IDS_REASON_SECURITY "Problemă de securitate"
IDS_REASON_NETWORK "Pierdere a conexiunii la rețea"
END

View File

@@ -11,6 +11,7 @@ list(APPEND SOURCE
spapisup/infsupp.c
utils/arcname.c
utils/bldrsup.c
utils/devutils.c
utils/filesup.c
utils/fsrec.c
utils/genlist.c
@@ -20,6 +21,7 @@ list(APPEND SOURCE
utils/partinfo.c
utils/partlist.c
utils/regutil.c
utils/volutil.c
bootcode.c
bootsup.c
fsutil.c

View File

@@ -753,6 +753,30 @@ Quit:
// Formatting routines
//
NTSTATUS
ChkdskVolume(
_In_ PVOLINFO Volume,
_In_ BOOLEAN FixErrors,
_In_ BOOLEAN Verbose,
_In_ BOOLEAN CheckOnlyIfDirty,
_In_ BOOLEAN ScanDrive,
_In_opt_ PFMIFSCALLBACK Callback)
{
/* Do not check a volume with an unknown file system */
if (!*Volume->FileSystem)
return STATUS_UNRECOGNIZED_VOLUME;
/* Check the volume */
DPRINT("Volume->DeviceName: %S\n", Volume->DeviceName);
return ChkdskFileSystem(Volume->DeviceName,
Volume->FileSystem,
FixErrors,
Verbose,
CheckOnlyIfDirty,
ScanDrive,
Callback);
}
NTSTATUS
ChkdskPartition(
_In_ PPARTENTRY PartEntry,
@@ -762,31 +786,56 @@ ChkdskPartition(
_In_ BOOLEAN ScanDrive,
_In_opt_ PFMIFSCALLBACK Callback)
{
PDISKENTRY DiskEntry = PartEntry->DiskEntry;
// UNICODE_STRING PartitionRootPath;
WCHAR PartitionRootPath[MAX_PATH]; // PathBuffer
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
ASSERT(PartEntry->Volume);
/* Do not check a partition with an unknown file system */
if (!*PartEntry->FileSystem)
return STATUS_UNRECOGNIZED_VOLUME; // STATUS_NOT_SUPPORTED;
// if (!PartEntry->Volume) { check_raw_sectors(); } else { check_FS(); }
/* Set PartitionRootPath */
RtlStringCchPrintfW(PartitionRootPath, ARRAYSIZE(PartitionRootPath),
L"\\Device\\Harddisk%lu\\Partition%lu",
DiskEntry->DiskNumber,
PartEntry->PartitionNumber);
DPRINT("PartitionRootPath: %S\n", PartitionRootPath);
/* Check the associated volume */
return ChkdskVolume(&PartEntry->Volume->Info,
FixErrors,
Verbose,
CheckOnlyIfDirty,
ScanDrive,
Callback);
}
/* Check the partition */
return ChkdskFileSystem(PartitionRootPath,
PartEntry->FileSystem,
FixErrors,
Verbose,
CheckOnlyIfDirty,
ScanDrive,
Callback);
NTSTATUS
FormatVolume(
_In_ PVOLINFO Volume,
_In_ PCWSTR FileSystemName,
_In_ FMIFS_MEDIA_FLAG MediaFlag,
_In_opt_ PCWSTR Label,
_In_ BOOLEAN QuickFormat,
_In_ ULONG ClusterSize,
_In_opt_ PFMIFSCALLBACK Callback)
{
NTSTATUS Status;
if (!FileSystemName || !*FileSystemName)
{
DPRINT1("No file system specified\n");
return STATUS_UNRECOGNIZED_VOLUME;
}
/* Format the volume */
DPRINT("Volume->DeviceName: %S\n", Volume->DeviceName);
Status = FormatFileSystem(Volume->DeviceName,
FileSystemName,
MediaFlag,
Label,
QuickFormat,
ClusterSize,
Callback);
if (!NT_SUCCESS(Status))
return Status;
/* Set the new volume's file system and label */
RtlStringCbCopyW(Volume->FileSystem, sizeof(Volume->FileSystem), FileSystemName);
if (!Label) Label = L"";
RtlStringCbCopyW(Volume->VolumeLabel, sizeof(Volume->VolumeLabel), Label);
return STATUS_SUCCESS;
}
NTSTATUS
@@ -802,14 +851,12 @@ FormatPartition(
NTSTATUS Status;
PDISKENTRY DiskEntry = PartEntry->DiskEntry;
UCHAR PartitionType;
// UNICODE_STRING PartitionRootPath;
WCHAR PartitionRootPath[MAX_PATH]; // PathBuffer
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
if (!FileSystemName || !*FileSystemName)
{
DPRINT1("No file system specified?\n");
DPRINT1("No file system specified\n");
return STATUS_UNRECOGNIZED_VOLUME;
}
@@ -867,37 +914,22 @@ FormatPartition(
return STATUS_PARTITION_FAILURE;
}
/* Set PartitionRootPath */
RtlStringCchPrintfW(PartitionRootPath, ARRAYSIZE(PartitionRootPath),
L"\\Device\\Harddisk%lu\\Partition%lu",
DiskEntry->DiskNumber,
PartEntry->PartitionNumber);
DPRINT("PartitionRootPath: %S\n", PartitionRootPath);
/* We must have an associated volume now */
ASSERT(PartEntry->Volume);
/* Format the partition */
Status = FormatFileSystem(PartitionRootPath,
FileSystemName,
MediaFlag,
Label,
QuickFormat,
ClusterSize,
Callback);
/* Format the associated volume */
Status = FormatVolume(&PartEntry->Volume->Info,
FileSystemName,
MediaFlag,
Label,
QuickFormat,
ClusterSize,
Callback);
if (!NT_SUCCESS(Status))
return Status;
//
// TODO: Here, call a partlist.c function that update the actual
// FS name and the label fields of the volume.
//
PartEntry->FormatState = Formatted;
/* Set the new partition's file system proper */
RtlStringCbCopyW(PartEntry->FileSystem,
sizeof(PartEntry->FileSystem),
FileSystemName);
PartEntry->New = FALSE;
PartEntry->Volume->FormatState = Formatted;
PartEntry->Volume->New = FALSE;
return STATUS_SUCCESS;
}
@@ -908,17 +940,19 @@ FormatPartition(
static FSVOL_OP
DoFormatting(
_In_ PPARTENTRY PartEntry,
_In_ PVOLENTRY Volume,
_In_opt_ PVOID Context,
_In_opt_ PFSVOL_CALLBACK FsVolCallback)
{
FSVOL_OP Result;
NTSTATUS Status = STATUS_SUCCESS;
PPARTENTRY PartEntry;
FORMAT_VOLUME_INFO FmtInfo = {0};
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
PartEntry = Volume->PartEntry;
ASSERT(PartEntry && (PartEntry->Volume == Volume));
FmtInfo.PartEntry = PartEntry;
FmtInfo.Volume = Volume;
RetryFormat:
Result = FsVolCallback(Context,
@@ -964,7 +998,7 @@ EndFormat:
static FSVOL_OP
DoChecking(
_In_ PPARTENTRY PartEntry,
_In_ PVOLENTRY Volume,
_In_opt_ PVOID Context,
_In_opt_ PFSVOL_CALLBACK FsVolCallback)
{
@@ -972,11 +1006,9 @@ DoChecking(
NTSTATUS Status = STATUS_SUCCESS;
CHECK_VOLUME_INFO ChkInfo = {0};
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
ASSERT(*Volume->Info.FileSystem);
ASSERT(*PartEntry->FileSystem);
ChkInfo.PartEntry = PartEntry;
ChkInfo.Volume = Volume;
RetryCheck:
Result = FsVolCallback(Context,
@@ -986,18 +1018,18 @@ RetryCheck:
if (Result != FSVOL_DOIT)
goto EndCheck;
/* Check the partition */
Status = ChkdskPartition(PartEntry,
ChkInfo.FixErrors,
ChkInfo.Verbose,
ChkInfo.CheckOnlyIfDirty,
ChkInfo.ScanDrive,
ChkInfo.Callback);
/* Check the volume */
Status = ChkdskVolume(&Volume->Info,
ChkInfo.FixErrors,
ChkInfo.Verbose,
ChkInfo.CheckOnlyIfDirty,
ChkInfo.ScanDrive,
ChkInfo.Callback);
/* If volume checking succeeded, or if it is not supported
* with the current file system, disable checks on the volume */
if (NT_SUCCESS(Status) || (Status == STATUS_NOT_SUPPORTED))
PartEntry->NeedsCheck = FALSE;
Volume->NeedsCheck = FALSE;
if (!NT_SUCCESS(Status))
{
@@ -1012,7 +1044,7 @@ RetryCheck:
goto RetryCheck;
// else if (Result == FSVOL_ABORT || Result == FSVOL_SKIP), stop.
// PartEntry->NeedsCheck = FALSE;
// Volume->NeedsCheck = FALSE;
}
EndCheck:
@@ -1025,125 +1057,44 @@ EndCheck:
return Result;
}
static BOOLEAN
GetNextUnformattedPartition(
IN PPARTLIST List,
OUT PPARTENTRY *pPartEntry)
static
PVOLENTRY
GetNextUnformattedVolume(
_In_ PPARTLIST List,
_In_opt_ PVOLENTRY Volume)
{
PLIST_ENTRY Entry1, Entry2;
PDISKENTRY DiskEntry;
PPARTENTRY PartEntry;
PLIST_ENTRY Entry;
for (Entry1 = List->DiskListHead.Flink;
Entry1 != &List->DiskListHead;
Entry1 = Entry1->Flink)
for (;;)
{
DiskEntry = CONTAINING_RECORD(Entry1,
DISKENTRY,
ListEntry);
/* If we have a current volume, get the next one, otherwise get the first */
Entry = (Volume ? &Volume->ListEntry : &List->VolumesList);
Entry = Entry->Flink;
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
{
DPRINT("GPT-partitioned disk detected, not currently supported by SETUP!\n");
continue;
}
if (Entry == &List->VolumesList)
return NULL;
for (Entry2 = DiskEntry->PrimaryPartListHead.Flink;
Entry2 != &DiskEntry->PrimaryPartListHead;
Entry2 = Entry2->Flink)
Volume = CONTAINING_RECORD(Entry, VOLENTRY, ListEntry);
if (Volume->New && (Volume->FormatState == Unformatted))
{
PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
if (PartEntry->IsPartitioned && PartEntry->New)
{
ASSERT(DiskEntry == PartEntry->DiskEntry);
*pPartEntry = PartEntry;
return TRUE;
}
}
for (Entry2 = DiskEntry->LogicalPartListHead.Flink;
Entry2 != &DiskEntry->LogicalPartListHead;
Entry2 = Entry2->Flink)
{
PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
if (PartEntry->IsPartitioned && PartEntry->New)
{
ASSERT(DiskEntry == PartEntry->DiskEntry);
*pPartEntry = PartEntry;
return TRUE;
}
/* Found a candidate, return it */
return Volume;
}
}
*pPartEntry = NULL;
return FALSE;
}
static BOOLEAN
GetNextUncheckedPartition(
IN PPARTLIST List,
OUT PPARTENTRY *pPartEntry)
{
PLIST_ENTRY Entry1, Entry2;
PDISKENTRY DiskEntry;
PPARTENTRY PartEntry;
for (Entry1 = List->DiskListHead.Flink;
Entry1 != &List->DiskListHead;
Entry1 = Entry1->Flink)
{
DiskEntry = CONTAINING_RECORD(Entry1,
DISKENTRY,
ListEntry);
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
{
DPRINT("GPT-partitioned disk detected, not currently supported by SETUP!\n");
continue;
}
for (Entry2 = DiskEntry->PrimaryPartListHead.Flink;
Entry2 != &DiskEntry->PrimaryPartListHead;
Entry2 = Entry2->Flink)
{
PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
if (PartEntry->IsPartitioned && PartEntry->NeedsCheck)
{
ASSERT(DiskEntry == PartEntry->DiskEntry);
*pPartEntry = PartEntry;
return TRUE;
}
}
for (Entry2 = DiskEntry->LogicalPartListHead.Flink;
Entry2 != &DiskEntry->LogicalPartListHead;
Entry2 = Entry2->Flink)
{
PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
if (PartEntry->IsPartitioned && PartEntry->NeedsCheck)
{
ASSERT(DiskEntry == PartEntry->DiskEntry);
*pPartEntry = PartEntry;
return TRUE;
}
}
}
*pPartEntry = NULL;
return FALSE;
}
BOOLEAN
FsVolCommitOpsQueue(
_In_ PPARTLIST PartitionList,
_In_ PPARTENTRY SystemPartition,
_In_ PPARTENTRY InstallPartition,
_In_ PVOLENTRY SystemVolume,
_In_ PVOLENTRY InstallVolume,
_In_opt_ PFSVOL_CALLBACK FsVolCallback,
_In_opt_ PVOID Context)
{
BOOLEAN Success = TRUE; // Suppose success originally.
FSVOL_OP Result;
PPARTENTRY PartEntry;
PLIST_ENTRY Entry;
PVOLENTRY Volume;
/* Machine state for the format step */
typedef enum _FORMATMACHINESTATE
@@ -1163,7 +1114,7 @@ FsVolCommitOpsQueue(
"FormatDone"
};
ASSERT(PartitionList && InstallPartition && SystemPartition);
ASSERT(PartitionList && SystemVolume && InstallVolume);
/* Commit all partition changes to all the disks */
if (!WritePartitionsToDisk(PartitionList))
@@ -1184,8 +1135,8 @@ FsVolCommitOpsQueue(
* we must perform a file system check of both the system and the
* installation volumes.
*/
SystemPartition->NeedsCheck = TRUE;
InstallPartition->NeedsCheck = TRUE;
SystemVolume->NeedsCheck = TRUE;
InstallVolume->NeedsCheck = TRUE;
Result = FsVolCallback(Context,
FSVOLNOTIFY_STARTQUEUE,
@@ -1210,8 +1161,8 @@ FsVolCommitOpsQueue(
/* Reset the formatter machine state */
FormatState = Start;
Volume = NULL;
NextFormat:
PartEntry = NULL;
OldFormatState = FormatState;
switch (FormatState)
{
@@ -1223,12 +1174,11 @@ NextFormat:
* volume. Otherwise we just require a file system check on it,
* and start by formatting the installation volume instead.
*/
ASSERT(SystemPartition->IsPartitioned);
if (SystemPartition != InstallPartition)
if (SystemVolume != InstallVolume)
{
PartEntry = SystemPartition;
Volume = SystemVolume;
if (PartEntry->FormatState == Unformatted)
if (Volume->FormatState == Unformatted)
{
// TODO: Should we let the user use a custom file system,
// or should we always use FAT(32) for it?
@@ -1241,18 +1191,17 @@ NextFormat:
}
/* The system volume is separate, so it had better be formatted! */
ASSERT((PartEntry->FormatState == Preformatted) ||
(PartEntry->FormatState == Formatted));
ASSERT(Volume->FormatState == Formatted);
/* Require a file system check on the system volume too */
PartEntry->NeedsCheck = TRUE;
Volume->NeedsCheck = TRUE;
}
__fallthrough;
}
case FormatSystemVolume:
{
PartEntry = InstallPartition;
Volume = InstallVolume;
FormatState = FormatInstallVolume;
DPRINT1("FormatState: %s --> %s\n",
@@ -1261,15 +1210,16 @@ NextFormat:
}
case FormatInstallVolume:
/* Restart volume enumeration */
Volume = NULL;
case FormatOtherVolume:
{
BOOLEAN Found = GetNextUnformattedPartition(PartitionList, &PartEntry);
if (Found) ASSERT(PartEntry);
Volume = GetNextUnformattedVolume(PartitionList, Volume);
FormatState = (PartEntry ? FormatOtherVolume : FormatDone);
FormatState = (Volume ? FormatOtherVolume : FormatDone);
DPRINT1("FormatState: %s --> %s\n",
FormatStateNames[OldFormatState], FormatStateNames[FormatState]);
if (Found)
if (Volume)
break;
__fallthrough;
}
@@ -1283,15 +1233,14 @@ NextFormat:
DEFAULT_UNREACHABLE;
}
ASSERT(PartEntry);
Result = DoFormatting(PartEntry, Context, FsVolCallback);
Result = DoFormatting(Volume, Context, FsVolCallback);
if (Result == FSVOL_ABORT)
{
Success = FALSE;
goto Quit;
}
/* Schedule a check for this volume */
PartEntry->NeedsCheck = TRUE;
Volume->NeedsCheck = TRUE;
/* Go to the next volume to be formatted */
goto NextFormat;
@@ -1314,24 +1263,27 @@ StartCheckQueue:
if (Result == FSVOL_ABORT)
return FALSE;
NextCheck:
if (!GetNextUncheckedPartition(PartitionList, &PartEntry))
/* Loop through each unchecked volume and do the check */
for (Entry = PartitionList->VolumesList.Flink;
Entry != &PartitionList->VolumesList;
Entry = Entry->Flink)
{
Success = TRUE;
goto EndCheck;
}
Volume = CONTAINING_RECORD(Entry, VOLENTRY, ListEntry);
if (!Volume->NeedsCheck)
continue;
ASSERT(PartEntry);
Result = DoChecking(PartEntry, Context, FsVolCallback);
if (Result == FSVOL_ABORT)
{
Success = FALSE;
goto Quit;
/* Found a candidate */
ASSERT(Volume->FormatState == Formatted);
Result = DoChecking(Volume, Context, FsVolCallback);
if (Result == FSVOL_ABORT)
{
Success = FALSE;
goto Quit;
}
/* Go to the next volume to be checked */
}
/* Go to the next volume to be checked */
goto NextCheck;
Success = TRUE;
EndCheck:
FsVolCallback(Context,
FSVOLNOTIFY_ENDSUBQUEUE,
FSVOL_CHECK,

View File

@@ -163,7 +163,7 @@ typedef enum _FSVOL_OP
typedef struct _FORMAT_VOLUME_INFO
{
PPARTENTRY PartEntry;
PVOLENTRY Volume;
// PCWSTR NtPathPartition;
NTSTATUS ErrorStatus;
@@ -179,7 +179,7 @@ typedef struct _FORMAT_VOLUME_INFO
typedef struct _CHECK_VOLUME_INFO
{
PPARTENTRY PartEntry;
PVOLENTRY Volume;
// PCWSTR NtPathPartition;
NTSTATUS ErrorStatus;
@@ -202,8 +202,8 @@ typedef FSVOL_OP
BOOLEAN
FsVolCommitOpsQueue(
_In_ PPARTLIST PartitionList,
_In_ PPARTENTRY SystemPartition,
_In_ PPARTENTRY InstallPartition,
_In_ PVOLENTRY SystemVolume,
_In_ PVOLENTRY InstallVolume,
_In_opt_ PFSVOL_CALLBACK FsVolCallback,
_In_opt_ PVOID Context);

View File

@@ -695,7 +695,8 @@ InitSystemPartition(
* In all cases, whether or not we are going to perform a formatting,
* we must perform a filesystem check of the system partition.
*/
SystemPartition->NeedsCheck = TRUE;
if (SystemPartition->Volume)
SystemPartition->Volume->NeedsCheck = TRUE;
return TRUE;
}
@@ -794,23 +795,21 @@ IsValidInstallDirectory(
NTSTATUS
InitDestinationPaths(
IN OUT PUSETUP_DATA pSetupData,
IN PCWSTR InstallationDir,
IN PPARTENTRY PartEntry) // FIXME: HACK!
_Inout_ PUSETUP_DATA pSetupData,
_In_ PCWSTR InstallationDir,
_In_ PVOLENTRY Volume)
{
NTSTATUS Status;
PPARTENTRY PartEntry = Volume->PartEntry;
PDISKENTRY DiskEntry = PartEntry->DiskEntry;
WCHAR PathBuffer[MAX_PATH];
WCHAR PathBuffer[RTL_NUMBER_OF_FIELD(VOLINFO, DeviceName) + 1];
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
/* Create 'pSetupData->DestinationRootPath' string */
RtlFreeUnicodeString(&pSetupData->DestinationRootPath);
Status = RtlStringCchPrintfW(PathBuffer, ARRAYSIZE(PathBuffer),
L"\\Device\\Harddisk%lu\\Partition%lu\\",
DiskEntry->DiskNumber,
PartEntry->PartitionNumber);
Status = RtlStringCchPrintfW(PathBuffer, _countof(PathBuffer),
L"%s\\", Volume->Info.DeviceName);
if (!NT_SUCCESS(Status))
{
DPRINT1("RtlStringCchPrintfW() failed with status 0x%08lx\n", Status);

View File

@@ -204,9 +204,9 @@ IsValidInstallDirectory(
NTSTATUS
InitDestinationPaths(
IN OUT PUSETUP_DATA pSetupData,
IN PCWSTR InstallationDir,
IN PPARTENTRY PartEntry); // FIXME: HACK!
_Inout_ PUSETUP_DATA pSetupData,
_In_ PCWSTR InstallationDir,
_In_ PVOLENTRY Volume);
// NTSTATUS
ERROR_NUMBER

View File

@@ -0,0 +1,87 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Device utility functions
* COPYRIGHT: Copyright 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#include "precomp.h"
#include "devutils.h"
/* FUNCTIONS *****************************************************************/
/**
* @brief
* Open an existing device given by its NT-style path, which is assumed to be
* for a disk device or a partition. The open is for synchronous I/O access.
*
* @param[in] DevicePath
* Supplies the NT-style path to the device to open.
*
* @param[out] DeviceHandle
* If successful, receives the NT handle of the opened device.
* Once the handle is no longer in use, call NtClose() to close it.
*
* @param[in] DesiredAccess
* An ACCESS_MASK value combination that determines the requested access
* to the device. Because the open is for synchronous access, SYNCHRONIZE
* is automatically added to the access mask.
*
* @param[in] ShareAccess
* Specifies the type of share access for the device.
*
* @return An NTSTATUS code indicating success or failure.
**/
NTSTATUS
pOpenDeviceEx(
_In_ PCWSTR DevicePath,
_Out_ PHANDLE DeviceHandle,
_In_ ACCESS_MASK DesiredAccess,
_In_ ULONG ShareAccess)
{
UNICODE_STRING Name;
OBJECT_ATTRIBUTES ObjectAttributes;
IO_STATUS_BLOCK IoStatusBlock;
RtlInitUnicodeString(&Name, DevicePath);
InitializeObjectAttributes(&ObjectAttributes,
&Name,
OBJ_CASE_INSENSITIVE,
NULL,
NULL);
return NtOpenFile(DeviceHandle,
DesiredAccess | SYNCHRONIZE,
&ObjectAttributes,
&IoStatusBlock,
ShareAccess,
/* FILE_NON_DIRECTORY_FILE | */
FILE_SYNCHRONOUS_IO_NONALERT);
}
/**
* @brief
* Open an existing device given by its NT-style path, which is assumed to be
* for a disk device or a partition. The open is share read/write/delete, for
* synchronous I/O and read access.
*
* @param[in] DevicePath
* @param[out] DeviceHandle
* See the DevicePath and DeviceHandle parameters of pOpenDeviceEx().
*
* @return An NTSTATUS code indicating success or failure.
*
* @see pOpenDeviceEx()
**/
NTSTATUS
pOpenDevice(
_In_ PCWSTR DevicePath,
_Out_ PHANDLE DeviceHandle)
{
return pOpenDeviceEx(DevicePath,
DeviceHandle,
FILE_READ_DATA | FILE_READ_ATTRIBUTES,
FILE_SHARE_VALID_FLAGS // FILE_SHARE_READ,WRITE,DELETE
);
}
/* EOF */

View File

@@ -0,0 +1,24 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Device utility functions
* COPYRIGHT: Copyright 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#pragma once
/* FUNCTIONS *****************************************************************/
NTSTATUS
pOpenDeviceEx(
_In_ PCWSTR DevicePath,
_Out_ PHANDLE DeviceHandle,
_In_ ACCESS_MASK DesiredAccess,
_In_ ULONG ShareAccess);
NTSTATUS
pOpenDevice(
_In_ PCWSTR DevicePath,
_Out_ PHANDLE DeviceHandle);
/* EOF */

View File

@@ -1,9 +1,9 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: NT 5.x family (MS Windows <= 2003, and ReactOS)
* operating systems detection code.
* COPYRIGHT: Copyright 2017-2018 Hermes Belusca-Maito
* COPYRIGHT: Copyright 2017-2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
/* INCLUDES *****************************************************************/
@@ -46,22 +46,20 @@ FindExistingNTOSInstall(
static PNTOS_INSTALLATION
AddNTOSInstallation(
IN PGENERIC_LIST List,
IN PCWSTR InstallationName,
IN USHORT Machine,
IN PCWSTR VendorName,
IN PCWSTR SystemRootArcPath,
IN PUNICODE_STRING SystemRootNtPath, // or PCWSTR ?
IN PCWSTR PathComponent, // Pointer inside SystemRootNtPath buffer
IN ULONG DiskNumber,
IN ULONG PartitionNumber,
IN PPARTENTRY PartEntry OPTIONAL);
_In_ PGENERIC_LIST List,
_In_ PCWSTR InstallationName,
_In_ USHORT Machine,
_In_ PCWSTR VendorName,
_In_ PCWSTR SystemRootArcPath,
_In_ PUNICODE_STRING SystemRootNtPath, // or PCWSTR ?
_In_ PCWSTR PathComponent, // Pointer inside SystemRootNtPath buffer
_In_ ULONG DiskNumber,
_In_ ULONG PartitionNumber);
typedef struct _ENUM_INSTALLS_DATA
{
IN OUT PGENERIC_LIST List;
IN PPARTLIST PartList;
// IN PPARTENTRY PartEntry;
_Inout_ PGENERIC_LIST List;
_In_ PPARTLIST PartList;
} ENUM_INSTALLS_DATA, *PENUM_INSTALLS_DATA;
// PENUM_BOOT_ENTRIES_ROUTINE
@@ -78,7 +76,6 @@ EnumerateInstallations(
ULONG DiskNumber = 0, PartitionNumber = 0;
PCWSTR PathComponent = NULL;
PPARTENTRY PartEntry = NULL;
UNICODE_STRING SystemRootPath;
WCHAR SystemRoot[MAX_PATH];
@@ -136,9 +133,9 @@ EnumerateInstallations(
}
/*
* Convert the ARC path into an NT path, from which we will deduce
* the real disk drive & partition on which the candidate installation
* resides, as well verifying whether it is indeed an NTOS installation.
* Convert the ARC path into an NT path, from which we will deduce the
* real disk & partition on which the candidate installation resides,
* as well as verifying whether it is indeed an NTOS installation.
*/
RtlInitEmptyUnicodeString(&SystemRootPath, SystemRoot, sizeof(SystemRoot));
if (!ArcPathToNtPath(&SystemRootPath, Options->OsLoadPath, Data->PartList))
@@ -182,14 +179,6 @@ EnumerateInstallations(
{
DPRINT("SystemRootPath = '%wZ' points to disk #%d, partition #%d, path '%S'\n",
&SystemRootPath, DiskNumber, PartitionNumber, PathComponent);
/* Retrieve the corresponding partition */
PartEntry = SelectPartition(Data->PartList, DiskNumber, PartitionNumber);
if (!PartEntry)
{
DPRINT1("SelectPartition(disk #%d, partition #%d) failed\n",
DiskNumber, PartitionNumber);
}
}
else
{
@@ -197,13 +186,24 @@ EnumerateInstallations(
}
/* Add the discovered NTOS installation into the list */
AddNTOSInstallation(Data->List,
BootEntry->FriendlyName,
Machine,
VendorName.Buffer, // FIXME: What if it's not NULL-terminated?
Options->OsLoadPath,
&SystemRootPath, PathComponent,
DiskNumber, PartitionNumber, PartEntry);
NtOsInstall = AddNTOSInstallation(Data->List,
BootEntry->FriendlyName,
Machine,
VendorName.Buffer, // FIXME: What if it's not NULL-terminated?
Options->OsLoadPath,
&SystemRootPath, PathComponent,
DiskNumber, PartitionNumber);
if (NtOsInstall)
{
/* Retrieve the volume corresponding to the disk and partition numbers */
PPARTENTRY PartEntry = SelectPartition(Data->PartList, DiskNumber, PartitionNumber);
if (!PartEntry)
{
DPRINT1("SelectPartition(disk #%d, partition #%d) failed\n",
DiskNumber, PartitionNumber);
}
NtOsInstall->Volume = (PartEntry ? PartEntry->Volume : NULL);
}
/* Continue the enumeration */
return STATUS_SUCCESS;
@@ -607,16 +607,15 @@ FindExistingNTOSInstall(
static PNTOS_INSTALLATION
AddNTOSInstallation(
IN PGENERIC_LIST List,
IN PCWSTR InstallationName,
IN USHORT Machine,
IN PCWSTR VendorName,
IN PCWSTR SystemRootArcPath,
IN PUNICODE_STRING SystemRootNtPath, // or PCWSTR ?
IN PCWSTR PathComponent, // Pointer inside SystemRootNtPath buffer
IN ULONG DiskNumber,
IN ULONG PartitionNumber,
IN PPARTENTRY PartEntry OPTIONAL)
_In_ PGENERIC_LIST List,
_In_ PCWSTR InstallationName,
_In_ USHORT Machine,
_In_ PCWSTR VendorName,
_In_ PCWSTR SystemRootArcPath,
_In_ PUNICODE_STRING SystemRootNtPath, // or PCWSTR ?
_In_ PCWSTR PathComponent, // Pointer inside SystemRootNtPath buffer
_In_ ULONG DiskNumber,
_In_ ULONG PartitionNumber)
{
PNTOS_INSTALLATION NtOsInstall;
SIZE_T ArcPathLength, NtPathLength;
@@ -648,8 +647,6 @@ AddNTOSInstallation(
NtOsInstall->DiskNumber = DiskNumber;
NtOsInstall->PartitionNumber = PartitionNumber;
NtOsInstall->PartEntry = PartEntry;
NtOsInstall->Machine = Machine;
RtlInitEmptyUnicodeString(&NtOsInstall->SystemArcPath,
@@ -680,39 +677,34 @@ AddNTOSInstallation(
static VOID
FindNTOSInstallations(
IN OUT PGENERIC_LIST List,
IN PPARTLIST PartList,
IN PPARTENTRY PartEntry)
_Inout_ PGENERIC_LIST List,
_In_ PPARTLIST PartList,
_In_ PVOLENTRY Volume)
{
NTSTATUS Status;
ULONG DiskNumber = PartEntry->DiskEntry->DiskNumber;
ULONG PartitionNumber = PartEntry->PartitionNumber;
HANDLE PartitionDirectoryHandle;
HANDLE VolumeRootDirHandle;
OBJECT_ATTRIBUTES ObjectAttributes;
IO_STATUS_BLOCK IoStatusBlock;
UNICODE_STRING PartitionRootPath;
UNICODE_STRING VolumeRootPath;
BOOT_STORE_TYPE Type;
PVOID BootStoreHandle;
ENUM_INSTALLS_DATA Data;
ULONG Version;
WCHAR PathBuffer[MAX_PATH];
WCHAR PathBuffer[RTL_NUMBER_OF_FIELD(VOLINFO, DeviceName) + 1];
ASSERT(PartEntry->IsPartitioned && PartEntry->PartitionNumber != 0);
/* Set VolumeRootPath */
RtlStringCchPrintfW(PathBuffer, _countof(PathBuffer),
L"%s\\", Volume->Info.DeviceName);
RtlInitUnicodeString(&VolumeRootPath, PathBuffer);
DPRINT("FindNTOSInstallations(%wZ)\n", &VolumeRootPath);
/* Set PartitionRootPath */
RtlStringCchPrintfW(PathBuffer, ARRAYSIZE(PathBuffer),
L"\\Device\\Harddisk%lu\\Partition%lu\\",
DiskNumber, PartitionNumber);
RtlInitUnicodeString(&PartitionRootPath, PathBuffer);
DPRINT("FindNTOSInstallations: PartitionRootPath: '%wZ'\n", &PartitionRootPath);
/* Open the partition */
/* Open the volume */
InitializeObjectAttributes(&ObjectAttributes,
&PartitionRootPath,
&VolumeRootPath,
OBJ_CASE_INSENSITIVE,
NULL,
NULL);
Status = NtOpenFile(&PartitionDirectoryHandle,
Status = NtOpenFile(&VolumeRootDirHandle,
FILE_LIST_DIRECTORY | FILE_TRAVERSE | SYNCHRONIZE,
&ObjectAttributes,
&IoStatusBlock,
@@ -720,7 +712,7 @@ FindNTOSInstallations(
FILE_SYNCHRONOUS_IO_NONALERT | FILE_DIRECTORY_FILE);
if (!NT_SUCCESS(Status))
{
DPRINT1("Failed to open partition '%wZ', Status 0x%08lx\n", &PartitionRootPath, Status);
DPRINT1("Failed to open volume '%wZ', Status 0x%08lx\n", &VolumeRootPath, Status);
return;
}
@@ -730,7 +722,7 @@ FindNTOSInstallations(
/* Try to see whether we recognize some NT boot loaders */
for (Type = FreeLdr; Type < BldrTypeMax; ++Type)
{
Status = FindBootStore(PartitionDirectoryHandle, Type, &Version);
Status = FindBootStore(VolumeRootDirHandle, Type, &Version);
if (!NT_SUCCESS(Status))
{
/* The loader does not exist, continue with another one */
@@ -740,10 +732,12 @@ FindNTOSInstallations(
}
/* The loader exists, try to enumerate its boot entries */
DPRINT("Analyze the OS installations for loader type '%d' in disk #%d, partition #%d\n",
Type, DiskNumber, PartitionNumber);
DPRINT("Analyze the OS installations for loader type '%d' in Volume %wZ (Disk #%d, Partition #%d)\n",
Type, &VolumeRootPath,
Volume->PartEntry->DiskEntry->DiskNumber,
Volume->PartEntry->PartitionNumber);
Status = OpenBootStoreByHandle(&BootStoreHandle, PartitionDirectoryHandle, Type,
Status = OpenBootStoreByHandle(&BootStoreHandle, VolumeRootDirHandle, Type,
BS_OpenExisting, BS_ReadAccess);
if (!NT_SUCCESS(Status))
{
@@ -755,90 +749,63 @@ FindNTOSInstallations(
CloseBootStore(BootStoreHandle);
}
/* Close the partition */
NtClose(PartitionDirectoryHandle);
}
// static
FORCEINLINE BOOLEAN
ShouldICheckThisPartition(
IN PPARTENTRY PartEntry)
{
if (!PartEntry)
return FALSE;
return PartEntry->IsPartitioned &&
!IsContainerPartition(PartEntry->PartitionType) /* alternatively: PartEntry->PartitionNumber != 0 */ &&
!PartEntry->New &&
(PartEntry->FormatState == Preformatted /* || PartEntry->FormatState == Formatted */);
/* Close the volume */
NtClose(VolumeRootDirHandle);
}
/**
* @brief
* Create a list of available NT OS installations on the computer,
* by searching for recognized ones on each recognized storage volume.
**/
// EnumerateNTOSInstallations
PGENERIC_LIST
CreateNTOSInstallationsList(
IN PPARTLIST PartList)
_In_ PPARTLIST PartList)
{
PGENERIC_LIST List;
PLIST_ENTRY Entry, Entry2;
PDISKENTRY DiskEntry;
PPARTENTRY PartEntry;
PLIST_ENTRY Entry;
PVOLENTRY Volume;
BOOLEAN CheckVolume;
List = CreateGenericList();
if (List == NULL)
if (!List)
return NULL;
/* Loop each available disk ... */
Entry = PartList->DiskListHead.Flink;
while (Entry != &PartList->DiskListHead)
/* Loop each available volume */
for (Entry = PartList->VolumesList.Flink;
Entry != &PartList->VolumesList;
Entry = Entry->Flink)
{
DiskEntry = CONTAINING_RECORD(Entry, DISKENTRY, ListEntry);
Entry = Entry->Flink;
Volume = CONTAINING_RECORD(Entry, VOLENTRY, ListEntry);
/* Valid OS installations can be found only on basic volumes */
if (!Volume->PartEntry) // TODO: In the future: (!Volume->IsSimpleVolume)
continue;
DPRINT("Disk #%d\n", DiskEntry->DiskNumber);
CheckVolume = (!Volume->New && (Volume->FormatState == Formatted));
/* ... and for each disk, loop each available partition */
/* First, the primary partitions */
Entry2 = DiskEntry->PrimaryPartListHead.Flink;
while (Entry2 != &DiskEntry->PrimaryPartListHead)
#ifndef NDEBUG
{
PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
Entry2 = Entry2->Flink;
ASSERT(PartEntry->DiskEntry == DiskEntry);
DPRINT(" Primary Partition #%d, index %d - Type 0x%02x, IsLogical = %s, IsPartitioned = %s, IsNew = %s, FormatState = %lu -- Should I check it? %s\n",
PartEntry->PartitionNumber, PartEntry->PartitionIndex,
PartEntry->PartitionType, PartEntry->LogicalPartition ? "TRUE" : "FALSE",
PartEntry->IsPartitioned ? "TRUE" : "FALSE",
PartEntry->New ? "Yes" : "No",
PartEntry->FormatState,
ShouldICheckThisPartition(PartEntry) ? "YES!" : "NO!");
if (ShouldICheckThisPartition(PartEntry))
FindNTOSInstallations(List, PartList, PartEntry);
PPARTENTRY PartEntry = Volume->PartEntry;
ASSERT(PartEntry->Volume == Volume);
DPRINT("Volume %S (%c%c) on Disk #%d, Partition #%d (%s), "
"index %d - Type 0x%02x, IsVolNew = %s, FormatState = %lu -- Should I check it? %s\n",
Volume->Info.DeviceName,
!Volume->Info.DriveLetter ? '-' : (CHAR)Volume->Info.DriveLetter,
!Volume->Info.DriveLetter ? '-' : ':',
PartEntry->DiskEntry->DiskNumber,
PartEntry->PartitionNumber,
PartEntry->LogicalPartition ? "Logical" : "Primary",
PartEntry->PartitionIndex,
PartEntry->PartitionType,
Volume->New ? "Yes" : "No",
Volume->FormatState,
CheckVolume ? "YES!" : "NO!");
}
#endif
/* Then, the logical partitions (present in the extended partition) */
Entry2 = DiskEntry->LogicalPartListHead.Flink;
while (Entry2 != &DiskEntry->LogicalPartListHead)
{
PartEntry = CONTAINING_RECORD(Entry2, PARTENTRY, ListEntry);
Entry2 = Entry2->Flink;
ASSERT(PartEntry->DiskEntry == DiskEntry);
DPRINT(" Logical Partition #%d, index %d - Type 0x%02x, IsLogical = %s, IsPartitioned = %s, IsNew = %s, FormatState = %lu -- Should I check it? %s\n",
PartEntry->PartitionNumber, PartEntry->PartitionIndex,
PartEntry->PartitionType, PartEntry->LogicalPartition ? "TRUE" : "FALSE",
PartEntry->IsPartitioned ? "TRUE" : "FALSE",
PartEntry->New ? "Yes" : "No",
PartEntry->FormatState,
ShouldICheckThisPartition(PartEntry) ? "YES!" : "NO!");
if (ShouldICheckThisPartition(PartEntry))
FindNTOSInstallations(List, PartList, PartEntry);
}
if (CheckVolume)
FindNTOSInstallations(List, PartList, Volume);
}
#ifndef NDEBUG

View File

@@ -1,9 +1,9 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: NT 5.x family (MS Windows <= 2003, and ReactOS)
* operating systems detection code.
* COPYRIGHT: Copyright 2017-2018 Hermes Belusca-Maito
* COPYRIGHT: Copyright 2017-2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#pragma once
@@ -22,7 +22,7 @@ typedef struct _NTOS_INSTALLATION
PCWSTR PathComponent; // Pointer inside SystemNtPath.Buffer
ULONG DiskNumber;
ULONG PartitionNumber;
PPARTENTRY PartEntry;
PVOLENTRY Volume; // PVOLINFO
WCHAR InstallationName[MAX_PATH];
WCHAR VendorName[MAX_PATH];
// CHAR Data[ANYSIZE_ARRAY];
@@ -31,7 +31,7 @@ typedef struct _NTOS_INSTALLATION
// EnumerateNTOSInstallations
PGENERIC_LIST
CreateNTOSInstallationsList(
IN PPARTLIST List);
_In_ PPARTLIST PartList);
/*
* FindSubStrI(PCWSTR str, PCWSTR strSearch) :

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,9 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Partition list functions
* COPYRIGHT: Copyright 2003-2019 Casper S. Hornstrup (chorns@users.sourceforge.net)
* Copyright 2018-2019 Hermes Belusca-Maito
* Copyright 2018-2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#pragma once
@@ -34,10 +34,30 @@ typedef enum _FORMATSTATE
Unformatted,
UnformattedOrDamaged,
UnknownFormat,
Preformatted,
Formatted
} FORMATSTATE, *PFORMATSTATE;
#include "volutil.h"
typedef struct _PARTENTRY PARTENTRY, *PPARTENTRY;
typedef struct _VOLENTRY
{
LIST_ENTRY ListEntry; ///< Entry in VolumesList
VOLINFO Info;
FORMATSTATE FormatState;
/* Volume must be checked */
BOOLEAN NeedsCheck;
/* Volume is new and has not yet been actually formatted and mounted */
BOOLEAN New;
// union {
// PVOLUME_DISK_EXTENTS pExtents;
PPARTENTRY PartEntry;
// };
} VOLENTRY, *PVOLENTRY;
typedef struct _PARTENTRY
{
LIST_ENTRY ListEntry;
@@ -54,24 +74,25 @@ typedef struct _PARTENTRY
ULONG OnDiskPartitionNumber; /* Enumerated partition number (primary partitions first, excluding the extended partition container, then the logical partitions) */
ULONG PartitionNumber; /* Current partition number, only valid for the currently running NTOS instance */
ULONG PartitionIndex; /* Index in the LayoutBuffer->PartitionEntry[] cached array of the corresponding DiskEntry */
WCHAR DriveLetter;
WCHAR VolumeLabel[20];
WCHAR FileSystem[MAX_PATH+1];
FORMATSTATE FormatState;
WCHAR DeviceName[MAX_PATH]; ///< NT device name: "\Device\HarddiskM\PartitionN"
BOOLEAN LogicalPartition;
/* Partition is partitioned disk space */
BOOLEAN IsPartitioned;
/** The following three properties may be replaced by flags **/
/* Partition is new, table does not exist on disk yet */
BOOLEAN New;
/* Partition must be checked */
BOOLEAN NeedsCheck;
/*
* Volume-related properties:
* NULL: No volume is associated to this partition (either because it is
* an empty disk region, or the partition type is unrecognized).
* 0x1 : TBD.
* Valid pointer: A basic volume associated to this partition is (or will)
* be mounted by the PARTMGR and enumerated by the MOUNTMGR.
*/
PVOLENTRY Volume;
} PARTENTRY, *PPARTENTRY;
@@ -162,9 +183,12 @@ typedef struct _PARTLIST
LIST_ENTRY DiskListHead;
LIST_ENTRY BiosDiskListHead;
/* (Basic) Volumes management */
LIST_ENTRY VolumesList;
} PARTLIST, *PPARTLIST;
#define PARTITION_TBL_SIZE 4
#define PARTITION_TBL_SIZE 4
#define PARTITION_MAGIC 0xAA55
@@ -292,6 +316,11 @@ GetPrevPartition(
IN PPARTLIST List,
IN PPARTENTRY CurrentPart OPTIONAL);
PPARTENTRY
GetAdjUnpartitionedEntry(
_In_ PPARTENTRY PartEntry,
_In_ BOOLEAN Direction);
ERROR_NUMBER
PartitionCreationChecks(
_In_ PPARTENTRY PartEntry);
@@ -307,10 +336,6 @@ CreatePartition(
_In_opt_ ULONGLONG SizeBytes,
_In_opt_ ULONG_PTR PartitionInfo);
NTSTATUS
DismountVolume(
IN PPARTENTRY PartEntry);
BOOLEAN
DeletePartition(
_In_ PPARTLIST List,
@@ -338,15 +363,9 @@ BOOLEAN
WritePartitionsToDisk(
IN PPARTLIST List);
BOOLEAN
SetMountedDeviceValue(
IN WCHAR Letter,
IN ULONG Signature,
IN LARGE_INTEGER StartingOffset);
BOOLEAN
SetMountedDeviceValues(
IN PPARTLIST List);
_In_ PPARTLIST List);
VOID
SetMBRPartitionType(

View File

@@ -0,0 +1,226 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Volume utility functions
* COPYRIGHT: Copyright 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
/* INCLUDES ******************************************************************/
#include "precomp.h"
#include "volutil.h"
#include "fsrec.h"
#include "devutils.h"
#define NDEBUG
#include <debug.h>
/* FUNCTIONS *****************************************************************/
NTSTATUS
MountVolume(
_Inout_ PVOLINFO Volume,
_In_opt_ UCHAR MbrPartitionType)
{
NTSTATUS Status;
HANDLE VolumeHandle;
/* If the volume is already mounted, just return success */
if (*Volume->FileSystem)
return STATUS_SUCCESS;
/* Try to open the volume so as to mount it */
VolumeHandle = NULL;
Status = pOpenDevice(Volume->DeviceName, &VolumeHandle);
if (!NT_SUCCESS(Status))
{
DPRINT1("pOpenDevice() failed, Status 0x%08lx\n", Status);
/* We failed, reset some data and bail out */
Volume->DriveLetter = UNICODE_NULL;
Volume->VolumeLabel[0] = UNICODE_NULL;
Volume->FileSystem[0] = UNICODE_NULL;
return Status;
}
ASSERT(VolumeHandle);
/* We don't have a FS, try to guess one */
Status = InferFileSystem(NULL, VolumeHandle,
Volume->FileSystem,
sizeof(Volume->FileSystem));
if (!NT_SUCCESS(Status))
DPRINT1("InferFileSystem() failed, Status 0x%08lx\n", Status);
if (*Volume->FileSystem)
{
/*
* Handle volume mounted with RawFS: it is
* either unformatted or has an unknown format.
*/
if (IsUnformatted(Volume)) // FileSystem is "RAW"
{
/*
* True unformatted partitions on NT are created with their
* partition type set to either one of the following values,
* and are mounted with RawFS. This is done this way since we
* are assured to have FAT support, which is the only FS that
* uses these partition types. Therefore, having a partition
* mounted with RawFS and with these partition types means that
* the FAT FS was unable to mount it beforehand and thus the
* partition is unformatted.
* However, any partition mounted by RawFS that does NOT have
* any of these partition types must be considered as having
* an unknown format.
*/
if (MbrPartitionType == PARTITION_FAT_12 ||
MbrPartitionType == PARTITION_FAT_16 ||
MbrPartitionType == PARTITION_HUGE ||
MbrPartitionType == PARTITION_XINT13 ||
MbrPartitionType == PARTITION_FAT32 ||
MbrPartitionType == PARTITION_FAT32_XINT13)
{
/* The volume is unformatted */
}
else
{
/* Close the volume before dismounting */
NtClose(VolumeHandle);
VolumeHandle = NULL;
/*
* Dismount the volume since RawFS owns it, and reset its
* format (it is unknown, may or may not be actually formatted).
*/
DismountVolume(Volume, TRUE);
Volume->FileSystem[0] = UNICODE_NULL;
}
}
/* Else, the volume is formatted */
}
/* Else, the volume has an unknown format */
/* Retrieve the volume label */
if (VolumeHandle)
{
IO_STATUS_BLOCK IoStatusBlock;
struct
{
FILE_FS_VOLUME_INFORMATION;
WCHAR Data[255];
} LabelInfo;
Status = NtQueryVolumeInformationFile(VolumeHandle,
&IoStatusBlock,
&LabelInfo,
sizeof(LabelInfo),
FileFsVolumeInformation);
if (NT_SUCCESS(Status))
{
/* Copy the (possibly truncated) volume label and NULL-terminate it */
RtlStringCbCopyNW(Volume->VolumeLabel, sizeof(Volume->VolumeLabel),
LabelInfo.VolumeLabel, LabelInfo.VolumeLabelLength);
}
else
{
DPRINT1("NtQueryVolumeInformationFile() failed, Status 0x%08lx\n", Status);
}
}
/* Close the volume */
if (VolumeHandle)
NtClose(VolumeHandle);
return STATUS_SUCCESS;
}
/**
* @brief
* Attempts to dismount the designated volume.
*
* @param[in,out] Volume
* The volume to dismount.
*
* @param[in] Force
* Whether the volume is forcibly dismounted, even
* if there are open handles to files on this volume.
*
* @return An NTSTATUS code indicating success or failure.
**/
NTSTATUS
DismountVolume(
_Inout_ PVOLINFO Volume,
_In_ BOOLEAN Force)
{
NTSTATUS Status, LockStatus;
IO_STATUS_BLOCK IoStatusBlock;
HANDLE VolumeHandle;
/* If the volume is not mounted, just return success */
if (!*Volume->FileSystem)
return STATUS_SUCCESS;
/* Open the volume */
Status = pOpenDeviceEx(Volume->DeviceName, &VolumeHandle,
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE);
if (!NT_SUCCESS(Status))
{
DPRINT1("ERROR: Cannot open volume %S for dismounting! (Status 0x%lx)\n",
Volume->DeviceName, Status);
return Status;
}
/* Lock the volume (succeeds only if there are no open handles to files) */
LockStatus = NtFsControlFile(VolumeHandle,
NULL, NULL, NULL,
&IoStatusBlock,
FSCTL_LOCK_VOLUME,
NULL, 0,
NULL, 0);
if (!NT_SUCCESS(LockStatus))
DPRINT1("WARNING: Failed to lock volume (Status 0x%lx)\n", LockStatus);
/* Dismount the volume (succeeds even when lock fails and there are open handles) */
Status = STATUS_ACCESS_DENIED; // Suppose dismount failure.
if (NT_SUCCESS(LockStatus) || Force)
{
Status = NtFsControlFile(VolumeHandle,
NULL, NULL, NULL,
&IoStatusBlock,
FSCTL_DISMOUNT_VOLUME,
NULL, 0,
NULL, 0);
if (!NT_SUCCESS(Status))
DPRINT1("Failed to unmount volume (Status 0x%lx)\n", Status);
}
/* Unlock the volume */
if (NT_SUCCESS(LockStatus))
{
LockStatus = NtFsControlFile(VolumeHandle,
NULL, NULL, NULL,
&IoStatusBlock,
FSCTL_UNLOCK_VOLUME,
NULL, 0,
NULL, 0);
if (!NT_SUCCESS(LockStatus))
DPRINT1("Failed to unlock volume (Status 0x%lx)\n", LockStatus);
}
/* Close the volume */
NtClose(VolumeHandle);
/* Reset some data only if dismount succeeded */
if (NT_SUCCESS(Status))
{
Volume->DriveLetter = UNICODE_NULL;
Volume->VolumeLabel[0] = UNICODE_NULL;
Volume->FileSystem[0] = UNICODE_NULL;
}
return Status;
}
/* EOF */

View File

@@ -0,0 +1,48 @@
/*
* PROJECT: ReactOS Setup Library
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Volume utility functions
* COPYRIGHT: Copyright 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#pragma once
typedef struct _VOLINFO
{
// WCHAR VolumeName[MAX_PATH]; ///< Name in the DOS/Win32 namespace: "\??\Volume{GUID}\"
WCHAR DeviceName[MAX_PATH]; ///< NT device name: "\Device\HarddiskVolumeN"
WCHAR DriveLetter;
WCHAR VolumeLabel[20];
WCHAR FileSystem[MAX_PATH+1];
// VOLUME_TYPE VolumeType;
// ULARGE_INTEGER Size;
// PVOLUME_DISK_EXTENTS Extents;
} VOLINFO, *PVOLINFO;
/* RawFS "RAW" file system name */
#define IS_RAWFS(fs) \
((fs)[0] == 'R' && (fs)[1] == 'A' && (fs)[2] == 'W' && (fs)[3] == 0)
#define IsUnknown(VolInfo) \
(!*(VolInfo)->FileSystem)
#define IsUnformatted(VolInfo) \
IS_RAWFS((VolInfo)->FileSystem)
#define IsFormatted(VolInfo) \
(!IsUnknown(VolInfo) && !IsUnformatted(VolInfo))
NTSTATUS
MountVolume(
_Inout_ PVOLINFO Volume,
_In_opt_ UCHAR MbrPartitionType);
NTSTATUS
DismountVolume(
_Inout_ PVOLINFO Volume,
_In_ BOOLEAN Force);
/* EOF */

View File

@@ -17,8 +17,8 @@ list(APPEND SOURCE
file(GLOB reactos_rc_deps res/*.*)
add_rc_deps(reactos.rc ${reactos_rc_deps})
add_executable(reactos ${SOURCE} reactos.rc)
set_module_type(reactos win32gui UNICODE)
add_pch(reactos reactos.h SOURCE)
set_module_type(reactos win32gui UNICODE)
target_link_libraries(reactos uuid setuplib ext2lib vfatlib btrfslib)
target_link_libraries(reactos zlib_solo) ## We use USETUP's cabinet implementation
add_importlibs(reactos advapi32 gdi32 user32 comctl32 shlwapi setupapi msvcrt kernel32 ntdll)

File diff suppressed because it is too large Load Diff

View File

@@ -55,27 +55,43 @@ CAPTION "Настройка на РеактОС"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Създаване", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "Из&триване", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "Драйвер", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "Раз&ширани възможности...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Натиснете „Напред“, за да започне слагането.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Създаване", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "Из&триване", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "Драйвер", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "Раз&ширани възможности...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Натиснете „Напред“, за да започне слагането.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Създаване на дял"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Създаване и форматиране на дял"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Създаване и форматиране на дял", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Размер:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "ГБ", IDC_UNIT, 117, 24, 14, 9
LTEXT "Файлова система:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&Добре", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Отказ", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Размер:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "Мб", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Файлова система:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "Добре", IDOK, 88, 98, 50, 14
PUSHBUTTON "Отказ", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Форматиране на дял"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Файлова система:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "Добре", IDOK, 88, 61, 50, 14
PUSHBUTTON "Отказ", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Добре", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Отказ", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "Добре", IDOK, 193, 113, 50, 14
PUSHBUTTON "Отказ", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Прекъсване на слагането?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "Настройка на РеактОС"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Само VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -61,27 +61,43 @@ CAPTION "Instalace systému ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Vytvořit", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Smazat", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "&Ovladač", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Pokročilé volby...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Po klepnutí na Další bude možné zkontrolovat všechna nastavení.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Vytvořit", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Smazat", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "&Ovladač", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Pokročilé volby...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Po klepnutí na Další bude možné zkontrolovat všechna nastavení.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Vytvořit oddíl"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Vytvořit a naformátovat oddíl"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Vytvořit a naformátovat oddíl", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Velikost:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Souborový systém:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Storno", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Velikost:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "Sou&borový systém:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Storno", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Naformátovat oddíl"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Sou&borový systém:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Storno", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -90,12 +106,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Storno", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Storno", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -166,6 +182,7 @@ BEGIN
IDS_ABORTSETUP2 "Přerušit instalaci?"
IDS_NO_TXTSETUP_SIF "Soubor 'txtsetup.sif' nenalezen.\nInstalace nemůže pokračovat."
IDS_CAPTION "Instalace systému ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -192,6 +209,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Jen VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -201,8 +255,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS-Setup"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Erstellen", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Löschen", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "&Treiber", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "E&rweiterte Optionen...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Klicken Sie auf Weiter um die Zusammenfassung zu überprüfen.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Erstellen", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Löschen", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "&Treiber", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "E&rweiterte Optionen...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Klicken Sie auf Weiter um die Zusammenfassung zu überprüfen.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Erstelle Partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Erstelle und formatiere Partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Erstelle und formatiere Partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Größe:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Dateisystem:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Abbrechen", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Größe:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Dateisystem:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Abbrechen", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatiere Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Dateisystem:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Abbrechen", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Erweiterte Installationseinstellungen"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Abbrechen", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Abbrechen", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Installation abbrechen?"
IDS_NO_TXTSETUP_SIF "Die Datei 'txtsetup.sif' konnte nicht gefunden werden.\nSetup kann nicht fortfahren."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Nur VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Εγκατάσταση του ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Δημιουργία", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Διαγραφή", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Επιλογές για προχωρημένους...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Πατήστε Επόμενο για να ξεκινήσετε τη διαδικασία εγκατάστασης.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Δημιουργία", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "Δ&ιαγραφή", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Επιλογές για προχωρημένους...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Πατήστε Επόμενο για να ξεκινήσετε τη διαδικασία εγκατάστασης.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Δημιουργία Partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Create and Format partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Create and format partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Μέγεθος:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Τύπος συστήματος:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Άκυρο", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Μέγεθος:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Τύπος συστήματος:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Άκυρο", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Τύπος συστήματος:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Άκυρο", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Άκυρο", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Άκυρο", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Abort installation?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR only"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS Setup"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Create", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Delete", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Advanced Options...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Create Partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Create and Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Create and format partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Size:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "File System:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancel", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Size:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&File System:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&File System:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancel", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Abort installation?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR only"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -64,27 +64,43 @@ CAPTION "Instalación de ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Crear", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Borrar", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opciones avanzadas...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Presione Siguiente para verificar el resumen.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Crear", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Borrar", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opciones avanzadas...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Presione Siguiente para verificar el resumen.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Crear Partición"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Crear y formatear una partición"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Crear y formatear una partición", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Tamaño:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistema de archivos:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&Aceptar", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancelar", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Tamaño:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Sistema de archivos:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "Aceptar", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatear una partición"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Sistema de archivos:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "Aceptar", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -93,12 +109,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Cargador de arranque", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Aceptar", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "Aceptar", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -169,6 +185,7 @@ BEGIN
IDS_ABORTSETUP2 "¿Abortar instalación?"
IDS_NO_TXTSETUP_SIF "No se pudo encontrar 'txtsetup.sif'.\nLa instalación no puede continuar."
IDS_CAPTION "Instalación de ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -195,6 +212,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Solo VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -204,8 +258,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS'i paigaldamine"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Loo uus", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Kustuta", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&raiver", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Täpsemad seaded...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Vajuta Järgmine, et seaded üle kontrollida.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Loo uus", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Kustuta", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&raiver", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Täpsemad seaded...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Vajuta Järgmine, et seaded üle kontrollida.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Partitsiooni loomine"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Loo ja vorminda partitsioon"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Loo ja vorminda ketas", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Suurus:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Failisüsteem:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&Olgu", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Tühista", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Suurus:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Failisüsteem:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "Olgu", IDOK, 88, 98, 50, 14
PUSHBUTTON "Tühista", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Vorminda partitsioon"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Failisüsteem:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "Olgu", IDOK, 88, 61, 50, 14
PUSHBUTTON "Tühista", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Olgu", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Tühista", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "Olgu", IDOK, 193, 113, 50, 14
PUSHBUTTON "Tühista", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Katkestada paigaldamine?"
IDS_NO_TXTSETUP_SIF "Ei leitud faili 'txtsetup.sif'.\nPaigaldust ei saa lõpuni viia."
IDS_CAPTION "ReactOS'i paigaldamine"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Ainult VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -62,27 +62,43 @@ CAPTION "Instalación de ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Crear", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Borrar", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opciones avanzadas...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Presione Siguiente para verificar el resumen.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Crear", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Borrar", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opciones avanzadas...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Presione Siguiente para verificar el resumen.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Crear Partición"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Crear y formatear una partición"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Crear y formatear una partición", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Tamaño:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistema de archivos:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&Aceptar", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancelar", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Tamaño:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Sistema de archivos:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "Aceptar", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatear una partición"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Sistema de archivos:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "Aceptar", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -91,12 +107,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Cargador de arranque", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Aceptar", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "Aceptar", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -167,6 +183,7 @@ BEGIN
IDS_ABORTSETUP2 "¿Abortar instalación?"
IDS_NO_TXTSETUP_SIF "No se pudo encontrar 'txtsetup.sif'.\nLa instalación no puede continuar."
IDS_CAPTION "Instalación de ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -193,6 +210,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Solo VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -202,8 +256,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS Setup"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Create", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Delete", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Advanced Options...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Click Next to check the summary.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Create", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Delete", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Advanced Options...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Create Partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Create and Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Create and format partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Size:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "File System:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancel", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Size:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&File System:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&File System:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancel", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Abort installation?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR only"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Installation de ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Créer", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Supprimer", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "&Pilote", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Options avancées...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Click Next to check the summary.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialiser", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Créer", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Formatter", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Supprimer", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "&Pilote", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Options avancées...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Créer une partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Créer et formatter une partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Créer et formatter une partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Taille :", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "Go", IDC_UNIT, 117, 24, 14, 9
LTEXT "Système de fichier :", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Annuler", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Taille :", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "Mo", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "Partition étendu&e", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Système de fichier :", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "Formatage &rapide", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Annuler", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatter une partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Système de fichier :", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "Formatage &rapide", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Annuler", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Paramètres d'installation avancés"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choisissez un &répertoire où vous voulez installer ReactOS :", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Chargeur de démarrage", IDC_STATIC, 7, 45, 291, 60
LTEXT "Sélectionnez l'endroit où le chargeur de\ndémarrage FreeLoader doit être installé.\n\nPar défaut, il est installé sur la partition système du disque de démarrage (et sur le Master ou le Volume Boot Record pour les ordinateurs basés sur le BIOS).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Annuler", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Annuler", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Abandonner l'installation ?"
IDS_NO_TXTSETUP_SIF "Impossible de trouver 'txtsetup.sif'.\nL'installation ne peut continuer."
IDS_CAPTION "Installation de ReactOS"
IDS_VOLUME_NOFORMAT "Non formaté"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR seulement"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formate le volume %c: (%s) sur %s..."
IDS_FORMATTING_PROGRESS2 "Formate le volume %s sur %s..."
IDS_CHECKING_PROGRESS1 "Vérifie le volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Vérifie le volume %s..."
IDS_COPYING "Copie %s"
IDS_MOVING "Déplace %s vers %s"
IDS_RENAMING "Renomme %s en %s"
IDS_DELETING "Supprime %s"
IDS_PREPARE_PARTITIONS "Prépare les partitions..."
IDS_PREPARE_FILES "Prépare la liste de fichiers à copier, veuillez patienter..."
IDS_COPYING_FILES "Copie les fichiers..."
IDS_CREATE_REGISTRY "Crée la base de registres..."
IDS_UPDATE_REGISTRY "Mise à jour de la base de registres..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Terminé"
IDS_REG_REGHIVEUPDATE "Mise à jour de la base de registres"
IDS_REG_IMPORTFILE "Importe %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Mise à jour des paramètres de registre pour l'écran"
IDS_REG_LOCALESETTINGSUPDATE "Mise à jour des paramètres régionaux"
IDS_REG_ADDKBLAYOUTS "Ajout des dispositions de clavier"
IDS_REG_KEYBOARDSETTINGSUPDATE "Mise à jour des paramètres de disposition du clavier"
IDS_REG_CODEPAGEINFOUPDATE "Ajout des informations de pages de codes"
IDS_REG_UNKNOWN "Statut %d inconnu"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumériques (a-z, A-Z, 0-9), et\n . \\ - _\n\
Les caractères d'espacement ne sont pas autorisés."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Chemin d'installation invalide"
IDS_ERROR_DIRECTORY_NAME "Le chemin d'installation de ReactOS doit être au format DOS de noms 8.3, \
et contenir seulement des lettres, chiffres, tirets et points. Les caractères d'espacement ne sont pas autorisés."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -57,27 +57,43 @@ CAPTION "התקנת ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "צור", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "מחק", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "טעינת מנהל התקן", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "אפשרויות מתקדמות...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "לחץ על 'הבא' כדי לראות סיכום.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "Initialize(&I)", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "צור", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "Format(&F)", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "מחק", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "טעינת מנהל התקן", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "אפשרויות מתקדמות...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "לחץ על 'הבא' כדי לראות סיכום.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "יצירת מחיצה"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "יצירה ואתחול מחיצה"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "יצירה ואתחול מחיצה", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "גודל:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "מערכת קבצים:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "אישור", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "ביטול", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "גודל(&S):", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "מערכת קבצים(&F):", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "אישור", IDOK, 88, 98, 50, 14
PUSHBUTTON "ביטול", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "מערכת קבצים(&F):", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "אישור", IDOK, 88, 61, 50, 14
PUSHBUTTON "ביטול", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -86,12 +102,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "אישור", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "ביטול", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "אישור", IDOK, 193, 113, 50, 14
PUSHBUTTON "ביטול", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -162,6 +178,7 @@ BEGIN
IDS_ABORTSETUP2 "לבטל את ההתקנה?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "התקנת ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -188,6 +205,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR only"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -197,8 +251,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -51,27 +51,43 @@ CAPTION "रिऐक्ट ओएस सेटअप"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysListView32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&बनाएं", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&डिलीट", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "&ड्राइवर", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&उन्नत विकल्प...", IDC_PARTMOREOPTS, 230, 122, 80, 14
/* LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8 */
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "विभाजन बनाएं"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "विभाजन बनाएं और फ़ॉर्मेट करें"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "विभाजन बनाएं और फ़ॉर्मेट करें", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "साइज़:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "फाइल सिस्टम:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&ओके", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&रद्द करे", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "साइज़(&S):", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "फाइल सिस्टम(&F):", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "ओके", IDOK, 88, 98, 50, 14
PUSHBUTTON "रद्द करे", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "फाइल सिस्टम(&F):", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "ओके", IDOK, 88, 61, 50, 14
PUSHBUTTON "रद्द करे", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -80,12 +96,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "ओके", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "रद्द करे", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "ओके", IDOK, 193, 113, 50, 14
PUSHBUTTON "रद्द करे", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -138,6 +154,7 @@ BEGIN
IDS_ABORTSETUP2 "इन्स्टलेशन रद्द करें?"
IDS_NO_TXTSETUP_SIF "'txtsetup.sif' खोजने में असमर्थ\nसेटअप जारी रखने में असमर्थ है "
IDS_CAPTION "रिऐक्ट ओएस सेटअप"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -156,6 +173,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "केवल VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -165,8 +219,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -57,27 +57,43 @@ CAPTION "ReactOS telepítõ"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Create", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Delete", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Advanced Options...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Click Next to check the summary.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Create", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Delete", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Advanced Options...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Create Partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Create and Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Create and format partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Size:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "File System:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancel", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Size:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&File System:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&File System:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -86,12 +102,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancel", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -162,6 +178,7 @@ BEGIN
IDS_ABORTSETUP2 "Abort installation?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -188,6 +205,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR only"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -197,8 +251,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Penyetelan ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Buat", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Hapus", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "&Perangkat", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "Pilihan &Tingkat Lanjut...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Buat Partisi"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Buat dan format partisi"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Buat dan format partisi", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Ukuran:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistem Berkas:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Batal", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Ukuran:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Sistem Berkas:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Batal", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format partisi"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Sistem Berkas:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Batal", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Batal", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Batal", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Gugurkan pemasangan?"
IDS_NO_TXTSETUP_SIF "Tidak bisa menemukan 'txtsetup.sif'.\nPenyetelan tidak bisa dilanjutkan."
IDS_CAPTION "Penyetelan ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Hanya VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Installazione di ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Crea", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Rimuovi", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opzioni avanzate...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Cliccare Avanti per iniziare l'installazione.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Crea", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Rimuovi", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opzioni avanzate...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Cliccare Avanti per iniziare l'installazione.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Creazione Partizioni"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Crea e formatta la partizione"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Crea e formatta la partizione", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Dimensione:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Filesystem:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Annulla", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Dimensione:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Filesystem:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Annulla", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatta la partizione"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Filesystem:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Annulla", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Annulla", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Annulla", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Volete interrompere l'installazione?"
IDS_NO_TXTSETUP_SIF "Impossibile trovare 'txtsetup.sif'.\nL'installazione non può continuare."
IDS_CAPTION "Installazione di ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Solo VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS セットアップ"
FONT 9, "MS UI Gothic"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "Initialize(&I)", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "作成(&C)", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "Format(&F)", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "削除(&D)", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "ドライバ(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "上級者向け(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "次へをクリックすれば、要約をチェックできます。", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 175, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "パーティション作成"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "パーティション作成し、フォーマットします"
FONT 9, "MS UI Gothic"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 129, 22, 9, 13
CONTROL "パーティションを作成し、フォーマットします", IDC_STATIC, "Button", BS_GROUPBOX, 6, 5, 161, 57
LTEXT "サイズ:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 83, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 142, 24, 14, 9
LTEXT "ファイルシステム:", IDC_STATIC, 13, 46, 63, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 83, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "キャンセル(&C)", IDCANCEL, 89, 68, 55, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "サイズ(&S):", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "ファイルシステム(&F):", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "キャンセル", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "ファイルシステム(&F):", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "キャンセル", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 9, "MS UI Gothic"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "キャンセル", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "キャンセル", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "インストールを中断しますか?"
IDS_NO_TXTSETUP_SIF "'txtsetup.sif'が見つかりません。\nセットアップは続行できません。"
IDS_CAPTION "ReactOS セットアップ"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBRのみ"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -57,27 +57,43 @@ CAPTION "ReactOS Persediaan"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "Men&cipta", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "Hapus(&D)", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "Pemacu(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "Opsyen l&anjutan...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Klik Seterusnya untuk menyemak ringkasan.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "Men&cipta", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "Hapus(&D)", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "Pemacu(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "Opsyen l&anjutan...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Klik Seterusnya untuk menyemak ringkasan.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Membuat Partition"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cipta dan format partition"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Cipta dan format partition", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Saiz:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistem fail:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Batal(&C)", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Saiz:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "Sistem &fail:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Batal", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Sistem &fail:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Batal", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -86,12 +102,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Batal", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Batal", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -162,6 +178,7 @@ BEGIN
IDS_ABORTSETUP2 "Henti paksa pemasangan?"
IDS_NO_TXTSETUP_SIF "Persediaan tidak dapat mencari 'txtsetup.sif'.\nPersediaan tidak dapat meneruskan."
IDS_CAPTION "ReactOS Persediaan"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -188,6 +205,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR sahaja"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -197,8 +251,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS installering"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Opprett", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Slett", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "S&tasjon", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Avansert valg...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Trykk på Neste for å starte installasjon prosessen.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Opprett", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Slett", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "S&tasjon", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Avansert valg...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Trykk på Neste for å starte installasjon prosessen.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Opprett partisjon"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Opprett og formater partisjon"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Opprett og formater partisjon", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Størrelse:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Filsystem:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Avbryt", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Størrelse:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Filsystem:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Avbryt", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formater partisjon"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Filsystem:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Avbryt", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Oppstartslaster", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Avbryt", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Avbryt", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Avbryt installasjonen?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS installering"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Bare VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -66,27 +66,43 @@ CAPTION "Instalator systemu ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Utwórz", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "U&suń", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "S&terownik", IDC_DEVICEDRIVER, 169, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opcje zaawansowane...", IDC_PARTMOREOPTS, 225, 122, 86, 15
// LTEXT "Kliknij Dalej, aby rozpocząć proces instalacji.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Utwórz", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "U&suń", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "S&terownik", IDC_DEVICEDRIVER, 169, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opcje zaawansowane...", IDC_PARTMOREOPTS, 225, 122, 86, 14
// LTEXT "Kliknij Dalej, aby rozpocząć proces instalacji.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Utwórz partycję"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Utwórz i sformatuj partycję"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Utwórz i sformatuj partycję", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Rozmiar:",IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "System plików:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Anuluj", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Rozmiar:",IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&System plików:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Anuluj", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sformatuj partycję"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&System plików:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Anuluj", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -95,12 +111,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Anuluj", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Anuluj", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -171,6 +187,7 @@ BEGIN
IDS_ABORTSETUP2 "Czy na pewno chcesz przerwać instalację?"
IDS_NO_TXTSETUP_SIF "Nie można znaleźć pliku 'txtsetup.sif'.\nInstalator nie może kontynuować."
IDS_CAPTION "Instalator systemu ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -197,6 +214,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Tylko VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -206,8 +260,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Instalação do ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Criar", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Apagar", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&rivers", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opções Avançadas...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Clique em Próximo para verificar o sumário.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Criar", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Apagar", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&rivers", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opções Avançadas...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Clique em Próximo para verificar o sumário.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Criar Partição"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Criar e formatar partição"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Criar e formatar partição", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Tamanho:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistema de arquivo:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancelar", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Tamanho:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Sistema de arquivo:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatar partição"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Sistema de arquivo:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Abortar instalação?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "Instalação do ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Apenas VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Instalação do ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Criar", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Apagar", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&rivers", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opções Avançadas...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Clique em Próximo para verificar o sumário.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Criar", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Apagar", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&rivers", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opções Avançadas...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Clique em Próximo para verificar o sumário.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Criar Partição"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Criar e formatar partição"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Criar e formatar partição", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Tamanho:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistema de arquivo:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Cancelar", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Tamanho:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Sistema de arquivo:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatar partição"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Sistema de arquivo:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Cancelar", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Abortar instalação?"
IDS_NO_TXTSETUP_SIF " 'txtsetup.sif' não foi encontrado.\n o programa de instalação não pode continuar."
IDS_CAPTION "Instalação do ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Apenas VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -64,27 +64,43 @@ CAPTION "Expert de instalare ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Crează", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "Șt&erge", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "&Driver", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "Opțiuni a&vansate…", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Apăsați pe Înainte pentru a verifica sumarul.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Crează", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "Șt&erge", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "&Driver", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "Opțiuni a&vansate…", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Apăsați pe Înainte pentru a verifica sumarul.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Creare partiție"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Crearea și formatarea partiției"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Crearea și formatarea partiției", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Mărime:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GO", IDC_UNIT, 117, 24, 14, 9
LTEXT "Sistemul de fișiere:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Revocare", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Mărime:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MO", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Sistemul de fișiere:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Revocare", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formatarea partiției"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Sistemul de fișiere:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Revocare", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -93,12 +109,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Revocare", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Revocare", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -169,6 +185,7 @@ BEGIN
IDS_ABORTSETUP2 "Abandonați instalarea?"
IDS_NO_TXTSETUP_SIF "Fișierului „txtsetup.sif” nu poate fi găsit.\nInstalarea nu poate continua."
IDS_CAPTION "Expertul de instalare ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -195,6 +212,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Numai VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -204,8 +258,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Установка ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Создать", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Удалить", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "Д&райвер", IDC_DEVICEDRIVER, 119, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Дополнительные параметры...", IDC_PARTMOREOPTS, 189, 122, 122, 15
// LTEXT "Для начала установки нажмите ""Далее"".", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Создать", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Удалить", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "Д&райвер", IDC_DEVICEDRIVER, 119, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Дополнительные параметры...", IDC_PARTMOREOPTS, 189, 122, 122, 14
// LTEXT "Для начала установки нажмите ""Далее"".", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 167, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Создать раздел на диске"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Создать и отформатировать раздел диска"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 127, 22, 9, 13
CONTROL "Создать и отформатировать раздел диска", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 153, 57
LTEXT "Размер:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 80, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "Гб", IDC_UNIT, 143, 24, 14, 9
LTEXT "Файловая система:", IDC_STATIC, 13, 44, 65, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 80, 42, 73, 50
PUSHBUTTON "&Есть", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Отставить", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Размер:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "Мб", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Файловая система:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "ОК", IDOK, 88, 98, 50, 14
PUSHBUTTON "Отмена", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Отформатировать раздел диска"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Файловая система:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "ОК", IDOK, 88, 61, 50, 14
PUSHBUTTON "Отмена", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Загрузчик", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "ОК", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Отмена", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "ОК", IDOK, 193, 113, 50, 14
PUSHBUTTON "Отмена", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Прервать установку?"
IDS_NO_TXTSETUP_SIF "Не удалось найти файл 'txtsetup.sif'.\nПродолжение установки невозможно."
IDS_CAPTION "Установка ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Только VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -60,27 +60,43 @@ CAPTION "Inštalácia systému ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Vytvoriť", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "O&dstrániť", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "Rozšírené &možnosti...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Click Next to check the summary.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Vytvoriť", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "O&dstrániť", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "Rozšírené &možnosti...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Click Next to check the summary.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Vytvoriť partíciu"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Vytvoriť a naformátovať partíciu"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Vytvoriť a naformátovať partíciu", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Veľkosť:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Systém súborov:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Zrušiť", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Veľkosť:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Systém súborov:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Zrušiť", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Naformátovať partíciu"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Systém súborov:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Zrušiť", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -89,12 +105,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Zavádzač systému", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Zrušiť", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Zrušiť", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -165,6 +181,7 @@ BEGIN
IDS_ABORTSETUP2 "Prerušiť inštaláciu?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -191,6 +208,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Iba VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -200,8 +254,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -57,27 +57,43 @@ CAPTION "Instalimi i ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Krijo", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Fshi", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Opsionet e avancuara...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Kliko vazhdo për të kontrolluar përmbajtjen.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Krijo", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Fshi", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "D&river", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Opsionet e avancuara...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Kliko vazhdo për të kontrolluar përmbajtjen.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Krijo particion"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Krijo dhe formato particionin"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Krijo dhe formato particionin", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Size:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Filesystem:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Anulo", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Size:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Filesystem:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Anulo", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Formato particionin"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Filesystem:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Anulo", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -86,12 +102,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Anulo", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Anulo", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -162,6 +178,7 @@ BEGIN
IDS_ABORTSETUP2 "Ndërpritni Instalimin?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "ReactOS Setup"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -188,6 +205,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "VBR veq"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -197,8 +251,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -62,27 +62,43 @@ CAPTION "ReactOS Kur"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Oluştur...", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Sil", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "S&ürücü", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "G&elişmiş Seçenekler...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Kurulum özetini gözden geçirmek için İleri'ye tıklayınız.", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Oluştur...", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Sil", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "S&ürücü", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "G&elişmiş Seçenekler...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Kurulum özetini gözden geçirmek için İleri'ye tıklayınız.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Bölüm Oluştur"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Bölüm Oluşturma ve Biçimlendirme"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Bölüm Oluşturma ve Biçimlendirme", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Boyut:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Dosya sistemi:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "Tamam", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "İptal", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Boyut:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Dosya sistemi:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "Tamam", IDOK, 88, 98, 50, 14
PUSHBUTTON "İptal", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Bölüm Biçimlendirme"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Dosya sistemi:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "Tamam", IDOK, 88, 61, 50, 14
PUSHBUTTON "İptal", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -91,12 +107,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Tamam", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "İptal", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "Tamam", IDOK, 193, 113, 50, 14
PUSHBUTTON "İptal", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -167,6 +183,7 @@ BEGIN
IDS_ABORTSETUP2 "Kurulum iptal edilsin mi?"
IDS_NO_TXTSETUP_SIF """txtsetup.sif"" bulunamıyor.\nKurulum Yöneticisi sürdüremiyor."
IDS_CAPTION "ReactOS Kur"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -193,6 +210,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Yalnızca VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -202,8 +256,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -63,27 +63,43 @@ CAPTION "Встановлення ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Створити", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "&Видалити", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "Д&райвер", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "&Додаткові Опції...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "Для початку встановлення натисніть Далі", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Створити", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Видалити", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "Д&райвер", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Додаткові Опції...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Для початку встановлення натисніть Далі", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 172, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Створення розділу"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Створити та відформатувати розділ"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 131, 22, 9, 13
CONTROL "Створити та відформатувати розділ", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 156, 57
LTEXT "Розмір:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 79, 22, 53, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "Гб", IDC_UNIT, 144, 24, 14, 9
LTEXT "Файлова система:", IDC_STATIC, 13, 46, 65, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 79, 42, 79, 50
PUSHBUTTON "&OK", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Скасувати", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Розмір:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "Мб", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Файлова система:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "OK", IDOK, 88, 98, 50, 14
PUSHBUTTON "Скасувати", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Відформатувати розділ"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Файлова система:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "OK", IDOK, 88, 61, 50, 14
PUSHBUTTON "Скасувати", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -92,12 +108,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Завантажувач", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "OK", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Скасувати", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "OK", IDOK, 193, 113, 50, 14
PUSHBUTTON "Скасувати", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -168,6 +184,7 @@ BEGIN
IDS_ABORTSETUP2 "Перервати встановлення?"
IDS_NO_TXTSETUP_SIF "Unable to find 'txtsetup.sif'.\nSetup is unable to continue."
IDS_CAPTION "Встановлення ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -194,6 +211,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Лише VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -203,8 +257,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "Cài đặt ReactOS"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "&Initialize", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Tạo", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "&Format", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "&Xóa", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "P&hần mềm", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "&Tùy chọn nâng cao...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "Ấn Tiếp để kiểm tra phần tóm lượct.", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "Phân chia ổ cứng"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Tạo và định dạng phần ổ cứng"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "Tạo và định dạng phần ổ cứng", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "Kích cỡ:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "Loại định dạng:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "&Đồng ý", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Hủy", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "&Kích cỡ:", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "&Loại định dạng:", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "Đồng ý", IDOK, 88, 98, 50, 14
PUSHBUTTON "Hủy", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Loại định dạng:", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "Đồng ý", IDOK, 88, 61, 50, 14
PUSHBUTTON "Hủy", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "Đồng ý", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "Hủy", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "Đồng ý", IDOK, 193, 113, 50, 14
PUSHBUTTON "Hủy", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "Hủy bỏ trình Thiết lập?"
IDS_NO_TXTSETUP_SIF "Không thể tìm được tập tin 'txtsetup.sif'.\nTrình Thiết lập không thể tiếp tục"
IDS_CAPTION "Cài đặt ReactOS"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "Chỉ VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -55,27 +55,43 @@ CAPTION "ReactOS 安装程序"
FONT 9, "宋体"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "新建(&C)", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "删除(&D)", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "驱动器(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "高级选项(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "点击下一步检查安装概要。", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "Initialize(&I)", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "新建(&C)", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "Format(&F)", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "删除(&D)", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "驱动器(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "高级选项(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "点击下一步检查安装概要。", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "建立分区"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "创建并格式化分区"
FONT 9, "宋体"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "创建并格式化分区", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "大小:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "文件系统:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "确定(&O)", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "取消(&C)", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "大小(&S)", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "文件系统(&F)", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "确定", IDOK, 88, 98, 50, 14
PUSHBUTTON "取消", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "文件系统(&F)", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "确定", IDOK, 88, 61, 50, 14
PUSHBUTTON "取消", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -84,12 +100,12 @@ CAPTION "Advanced Installation Options"
FONT 9, "宋体"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "确定", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "取消", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "确定", IDOK, 193, 113, 50, 14
PUSHBUTTON "取消", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -160,6 +176,7 @@ BEGIN
IDS_ABORTSETUP2 "终止安装?"
IDS_NO_TXTSETUP_SIF "无法找到 'txtsetup.sif'。\n安装程序无法继续。"
IDS_CAPTION "ReactOS 安装程序"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -186,6 +203,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "仅 VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -195,8 +249,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -63,27 +63,43 @@ CAPTION "ReactOS 安裝程式"
FONT 9, "新細明體"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "建立(&C)", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "刪除(&D)", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "驅動程式(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "進階選項(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "點選下一步檢查安裝概要。", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "Initialize(&I)", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "建立(&C)", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "Format(&F)", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "刪除(&D)", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "驅動程式(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "進階選項(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "點選下一步檢查安裝概要。", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "建立磁碟區"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "建立並格式化磁碟區"
FONT 9, "新細明體"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "建立並格式化磁碟區", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "大小:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "檔案系統:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "確定(&O)", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "取消(&C)", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "大小(&S)", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "檔案系統(&F)", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "確定", IDOK, 88, 98, 50, 14
PUSHBUTTON "取消", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "檔案系統(&F)", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "確定", IDOK, 88, 61, 50, 14
PUSHBUTTON "取消", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -92,12 +108,12 @@ CAPTION "Advanced Installation Options"
FONT 9, "新細明體"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "確定", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "取消", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "確定", IDOK, 193, 113, 50, 14
PUSHBUTTON "取消", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -168,6 +184,7 @@ BEGIN
IDS_ABORTSETUP2 "終止安裝?"
IDS_NO_TXTSETUP_SIF "找不到「txtsetup.sif」。\n安裝程式無法繼續。"
IDS_CAPTION "ReactOS 安裝程式"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -194,6 +211,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "僅 VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -203,8 +257,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -64,27 +64,43 @@ CAPTION "ReactOS 安裝程式"
FONT 9, "新細明體"
BEGIN
CONTROL "", IDC_PARTITION, "SysTreeList32", WS_BORDER | WS_VISIBLE | WS_TABSTOP | LVS_REPORT | LVS_SINGLESEL, 7, 7, 303, 112
PUSHBUTTON "建立(&C)", IDC_PARTCREATE, 7, 122, 50, 15
PUSHBUTTON "刪除(&D)", IDC_PARTDELETE, 63, 122, 50, 15
PUSHBUTTON "驅動程式(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 15, WS_DISABLED
PUSHBUTTON "進階選項(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 15
// LTEXT "點選下一步檢查安裝概要。", IDC_STATIC, 10, 180, 277, 20
PUSHBUTTON "Initialize(&I)", IDC_INITDISK, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "建立(&C)", IDC_PARTCREATE, 7, 122, 50, 14
PUSHBUTTON "Format(&F)", IDC_PARTFORMAT, 7, 122, 50, 14 // NOTE: At same position as IDC_PARTCREATE
PUSHBUTTON "刪除(&D)", IDC_PARTDELETE, 63, 122, 50, 14
PUSHBUTTON "驅動程式(&R)", IDC_DEVICEDRIVER, 174, 122, 50, 14, WS_DISABLED
PUSHBUTTON "進階選項(&A)...", IDC_PARTMOREOPTS, 230, 122, 80, 14
// LTEXT "點選下一步檢查安裝概要。", IDC_STATIC, 7, 128, 277, 8
END
IDD_PARTITION DIALOGEX 0, 0, 145, 90
STYLE DS_SHELLFONT | WS_VISIBLE | WS_CAPTION
CAPTION "建立磁碟區"
IDD_PARTITION DIALOGEX 0, 0, 200, 120
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "建立並格式化磁碟區"
FONT 9, "新細明體"
BEGIN
CONTROL "", IDC_UPDOWN1, "msctls_updown32", WS_VISIBLE, 104, 22, 9, 13
CONTROL "建立並格式化磁碟區", IDC_STATIC, "Button", BS_GROUPBOX, 7, 5, 129, 57
LTEXT "大小:", IDC_STATIC, 13, 24, 27, 9
EDITTEXT IDC_PARTSIZE, 58, 22, 47, 13, WS_VISIBLE | WS_TABSTOP
LTEXT "GB", IDC_UNIT, 117, 24, 14, 9
LTEXT "檔案系統:", IDC_STATIC, 13, 46, 42, 9
CONTROL "", IDC_FSTYPE, "ComboBox", WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWNLIST, 58, 42, 73, 50
PUSHBUTTON "確定(&O)", IDOK, 35, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "取消(&C)", IDCANCEL, 87, 68, 47, 15, WS_VISIBLE | WS_TABSTOP
LTEXT "大小(&S)", IDC_STATIC, 7, 9, 70, 9
EDITTEXT IDC_EDIT_PARTSIZE, 82, 7, 47, 13, ES_RIGHT | ES_NUMBER | WS_GROUP
CONTROL "", IDC_UPDOWN_PARTSIZE, UPDOWN_CLASS, UDS_SETBUDDYINT | UDS_ALIGNRIGHT |
UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_GROUP, 120, 22, 9, 13
LTEXT "MB", IDC_UNIT, 134, 9, 14, 9
AUTOCHECKBOX "&Extended partition", IDC_CHECK_MBREXTPART, 7, 22, 180, 14
LTEXT "檔案系統(&F)", IDC_FS_STATIC, 7, 46, 70, 9
COMBOBOX IDC_FSTYPE, 82, 44, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 59, 180, 14
PUSHBUTTON "確定", IDOK, 88, 98, 50, 14
PUSHBUTTON "取消", IDCANCEL, 143, 98, 50, 14
END
IDD_FORMAT DIALOGEX 0, 0, 200, 83
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Format Partition"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "檔案系統(&F)", IDC_FS_STATIC, 7, 9, 70, 9
COMBOBOX IDC_FSTYPE, 82, 7, 100, 50, CBS_DROPDOWNLIST | WS_TABSTOP
AUTOCHECKBOX "&Quick format", IDC_CHECK_QUICKFMT, 7, 22, 180, 14
PUSHBUTTON "確定", IDOK, 88, 61, 50, 14
PUSHBUTTON "取消", IDCANCEL, 143, 61, 50, 14
END
IDD_ADVINSTOPTS DIALOGEX 0, 0, 305, 135
@@ -93,12 +109,12 @@ CAPTION "Advanced Installation Options"
FONT 9, "新細明體"
BEGIN
LTEXT "Choose the &directory where you want to install ReactOS:", IDC_STATIC, 7, 9, 291, 10
EDITTEXT IDC_PATH, 7, 23, 291, 13, WS_VISIBLE
EDITTEXT IDC_PATH, 7, 23, 291, 13
GROUPBOX "Bootloader", IDC_STATIC, 7, 45, 291, 60
LTEXT "Select the location where the FreeLoader\nbootloader should be installed.\n\nBy default, it is installed on the system partition of the boot disk (and either in the Master or the Volume Boot Record for BIOS-based computers).", IDC_STATIC, 13, 57, 279, 44
COMBOBOX IDC_INSTFREELDR, 150, 58, 142, 45, WS_VSCROLL | WS_TABSTOP | CBS_DROPDOWNLIST
PUSHBUTTON "確定", IDOK, 193, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
PUSHBUTTON "取消", IDCANCEL, 248, 113, 50, 14, WS_TABSTOP | WS_VISIBLE
DEFPUSHBUTTON "確定", IDOK, 193, 113, 50, 14
PUSHBUTTON "取消", IDCANCEL, 248, 113, 50, 14
END
IDD_SUMMARYPAGE DIALOGEX 0, 0, 317, 143
@@ -169,6 +185,7 @@ BEGIN
IDS_ABORTSETUP2 "終止安裝?"
IDS_NO_TXTSETUP_SIF "無法找到「txtsetup.sif」。\n安裝程式無法繼續。"
IDS_CAPTION "ReactOS 安裝程式"
IDS_VOLUME_NOFORMAT "Not formatted"
END
STRINGTABLE
@@ -195,6 +212,43 @@ BEGIN
IDS_BOOTLOADER_VBRONLY "僅 VBR"
END
/* Progress Strings */
STRINGTABLE
BEGIN
IDS_FORMATTING_PROGRESS1 "Formatting volume %c: (%s) in %s..."
IDS_FORMATTING_PROGRESS2 "Formatting volume %s in %s..."
IDS_CHECKING_PROGRESS1 "Checking volume %c: (%s)..."
IDS_CHECKING_PROGRESS2 "Checking volume %s..."
IDS_COPYING "Copying %s"
IDS_MOVING "Moving %s to %s"
IDS_RENAMING "Renaming %s to %s"
IDS_DELETING "Deleting %s"
IDS_PREPARE_PARTITIONS "Preparing partitions..."
IDS_PREPARE_FILES "Preparing the list of files to be copied, please wait..."
IDS_COPYING_FILES "Copying the files..."
IDS_CREATE_REGISTRY "Creating the registry..."
IDS_UPDATE_REGISTRY "Updating the registry..."
END
// Note to translators: please refer to the corresponding usetup/lang/*.h translations.
STRINGTABLE
BEGIN
IDS_REG_DONE "Done"
IDS_REG_REGHIVEUPDATE "Updating registry hives"
IDS_REG_IMPORTFILE "Importing %s"
IDS_REG_DISPLAYSETTINGSUPDATE "Updating display registry settings"
IDS_REG_LOCALESETTINGSUPDATE "Updating locale settings"
IDS_REG_ADDKBLAYOUTS "Adding keyboard layouts"
IDS_REG_KEYBOARDSETTINGSUPDATE "Updating keyboard layout settings"
IDS_REG_CODEPAGEINFOUPDATE "Adding codepage information"
IDS_REG_UNKNOWN "Unknown status %d"
END
/* Error Strings */
STRINGTABLE
@@ -204,8 +258,35 @@ BEGIN
alphanumericals (a-z, A-Z, 0-9), and\n . \\ - _\n\
Spaces are not allowed."
// ERROR_DIRECTORY_NAME
IDS_ERROR_DIRECTORY_NAME_TITLE "Invalid installation path"
IDS_ERROR_DIRECTORY_NAME "The ReactOS installation path must follow the DOS 8.3 naming scheme, \
and only contain letters, digits, dashes and periods. Spaces are not allowed."
IDS_ERROR_CREATE_PARTITION_TITLE "Create partition"
IDS_ERROR_CREATE_PARTITION "Failed to create a new partition."
IDS_WARN_DELETE_PARTITION_TITLE "Delete partition?"
IDS_WARN_DELETE_PARTITION "Are you sure you want to delete the selected partition?"
IDS_WARN_DELETE_MBR_EXTENDED_PARTITION "Are you sure you want to delete the selected extended partition and ALL the logical partitions it contains?"
IDS_ERROR_WRITE_PTABLE "Setup failed to write partition tables."
IDS_ERROR_SYSTEM_PARTITION "The ReactOS Setup could not find a supported system partition\n\
on your system or could not create a new one. Without such a partition\n\
the Setup program cannot install ReactOS.\
\nClick on OK to return to the partition selection list."
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME "Unrecognized volume while attempting to format the partition."
IDS_ERROR_COULD_NOT_FORMAT "Setup is currently unable to format a partition in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_FORMATTING_PARTITION "Setup is unable to format the partition:\n %s\n"
IDS_ERROR_COULD_NOT_CHECK "Setup is currently unable to check a partition formatted in %s.\n\
\nClick on OK to continue Setup.\
\nClick on CANCEL to quit Setup."
IDS_ERROR_CHECKING_PARTITION "ChkDsk detected some disk errors.\n(Status 0x%08lx)."
END

View File

@@ -41,6 +41,19 @@ HANDLE ProcessHeap;
BOOLEAN IsUnattendedSetup = FALSE;
SETUPDATA SetupData;
/* The partition where to perform the installation */
PPARTENTRY InstallPartition = NULL;
// static PVOLENTRY InstallVolume = NULL;
#define InstallVolume (InstallPartition->Volume)
/* The system partition we will actually use */
PPARTENTRY SystemPartition = NULL;
// static PVOLENTRY SystemVolume = NULL;
#define SystemVolume (SystemPartition->Volume)
/* UI elements */
UI_CONTEXT UiContext;
/* FUNCTIONS ****************************************************************/
@@ -233,6 +246,47 @@ DisplayError(
return iRes;
}
VOID
SetWindowResTextW(
_In_ HWND hWnd,
_In_opt_ HINSTANCE hInstance,
_In_ UINT uID)
{
WCHAR szText[256];
LoadStringW(hInstance, uID, szText, _countof(szText));
SetWindowTextW(hWnd, szText);
}
VOID
SetWindowResPrintfVW(
_In_ HWND hWnd,
_In_opt_ HINSTANCE hInstance,
_In_ UINT uID,
_In_ va_list args)
{
WCHAR ResBuffer[256];
WCHAR szText[256];
LoadStringW(hInstance, uID, ResBuffer, _countof(ResBuffer));
StringCchVPrintfW(szText, _countof(szText), ResBuffer, args);
SetWindowTextW(hWnd, szText);
}
VOID
__cdecl
SetWindowResPrintfW(
_In_ HWND hWnd,
_In_opt_ HINSTANCE hInstance,
_In_ UINT uID,
...)
{
va_list args;
va_start(args, uID);
SetWindowResPrintfVW(hWnd, hInstance, uID, args);
va_end(args);
}
static INT_PTR CALLBACK
StartDlgProc(
IN HWND hwndDlg,
@@ -350,10 +404,10 @@ TypeDlgProc(
case PSN_QUERYCANCEL:
{
if (MessageBoxW(GetParent(hwndDlg),
pSetupData->szAbortMessage,
pSetupData->szAbortTitle,
MB_YESNO | MB_ICONQUESTION) == IDYES)
if (DisplayMessage(GetParent(hwndDlg),
MB_YESNO | MB_ICONQUESTION,
MAKEINTRESOURCEW(IDS_ABORTSETUP2),
MAKEINTRESOURCEW(IDS_ABORTSETUP)) == IDYES)
{
/* Go to the Terminate page */
PropSheet_SetCurSelByID(GetParent(hwndDlg), IDD_RESTARTPAGE);
@@ -596,14 +650,14 @@ AddNTOSInstallationItem(
IN SIZE_T cchBufferSize)
{
PNTOS_INSTALLATION NtOsInstall = (PNTOS_INSTALLATION)GetListEntryData(Entry);
PPARTENTRY PartEntry = NtOsInstall->PartEntry;
PVOLINFO VolInfo = (NtOsInstall->Volume ? &NtOsInstall->Volume->Info : NULL);
if (PartEntry && PartEntry->DriveLetter)
if (VolInfo && VolInfo->DriveLetter)
{
/* We have retrieved a partition that is mounted */
StringCchPrintfW(Buffer, cchBufferSize,
L"%c:%s",
PartEntry->DriveLetter,
VolInfo->DriveLetter,
NtOsInstall->PathComponent);
}
else
@@ -784,10 +838,10 @@ UpgradeRepairDlgProc(
case PSN_QUERYCANCEL:
{
if (MessageBoxW(GetParent(hwndDlg),
pSetupData->szAbortMessage,
pSetupData->szAbortTitle,
MB_YESNO | MB_ICONQUESTION) == IDYES)
if (DisplayMessage(GetParent(hwndDlg),
MB_YESNO | MB_ICONQUESTION,
MAKEINTRESOURCEW(IDS_ABORTSETUP2),
MAKEINTRESOURCEW(IDS_ABORTSETUP)) == IDYES)
{
/* Go to the Terminate page */
PropSheet_SetCurSelByID(GetParent(hwndDlg), IDD_RESTARTPAGE);
@@ -893,10 +947,10 @@ DeviceDlgProc(
case PSN_QUERYCANCEL:
{
if (MessageBoxW(GetParent(hwndDlg),
pSetupData->szAbortMessage,
pSetupData->szAbortTitle,
MB_YESNO | MB_ICONQUESTION) == IDYES)
if (DisplayMessage(GetParent(hwndDlg),
MB_YESNO | MB_ICONQUESTION,
MAKEINTRESOURCEW(IDS_ABORTSETUP2),
MAKEINTRESOURCEW(IDS_ABORTSETUP)) == IDYES)
{
/* Go to the Terminate page */
PropSheet_SetCurSelByID(GetParent(hwndDlg), IDD_RESTARTPAGE);
@@ -987,6 +1041,8 @@ SummaryDlgProc(
{
WCHAR CurrentItemText[256];
ASSERT(InstallPartition);
/* Show the current selected settings */
// FIXME! Localize
@@ -1022,24 +1078,39 @@ SummaryDlgProc(
ARRAYSIZE(CurrentItemText));
SetDlgItemTextW(hwndDlg, IDC_KEYBOARD, CurrentItemText);
if (L'C') // FIXME!
if (InstallVolume->Info.DriveLetter)
{
#if 0
StringCchPrintfW(CurrentItemText, ARRAYSIZE(CurrentItemText),
L"%c: \x2014 %wZ",
L'C', // FIXME!
InstallVolume->Info.DriveLetter,
&pSetupData->USetupData.DestinationRootPath);
#else
StringCchPrintfW(CurrentItemText, ARRAYSIZE(CurrentItemText),
L"%c: \x2014 Harddisk %lu, Partition %lu",
InstallVolume->Info.DriveLetter,
InstallPartition->DiskEntry->DiskNumber,
InstallPartition->OnDiskPartitionNumber);
#endif
}
else
{
#if 0
StringCchPrintfW(CurrentItemText, ARRAYSIZE(CurrentItemText),
L"%wZ",
&pSetupData->USetupData.DestinationRootPath);
#else
StringCchPrintfW(CurrentItemText, ARRAYSIZE(CurrentItemText),
L"Harddisk %lu, Partition %lu",
InstallPartition->DiskEntry->DiskNumber,
InstallPartition->OnDiskPartitionNumber);
#endif
}
SetDlgItemTextW(hwndDlg, IDC_DESTDRIVE, CurrentItemText);
SetDlgItemTextW(hwndDlg, IDC_PATH,
/*pSetupData->USetupData.InstallationDirectory*/
pSetupData->USetupData.InstallPath.Buffer);
pSetupData->USetupData.InstallationDirectory
/*pSetupData->USetupData.InstallPath.Buffer*/);
/* Change the "Next" button text to "Install" */
@@ -1073,10 +1144,10 @@ SummaryDlgProc(
case PSN_QUERYCANCEL:
{
if (MessageBoxW(GetParent(hwndDlg),
pSetupData->szAbortMessage,
pSetupData->szAbortTitle,
MB_YESNO | MB_ICONQUESTION) == IDYES)
if (DisplayMessage(GetParent(hwndDlg),
MB_YESNO | MB_ICONQUESTION,
MAKEINTRESOURCEW(IDS_ABORTSETUP2),
MAKEINTRESOURCEW(IDS_ABORTSETUP)) == IDYES)
{
/* Go to the Terminate page */
PropSheet_SetCurSelByID(GetParent(hwndDlg), IDD_RESTARTPAGE);
@@ -1101,11 +1172,419 @@ SummaryDlgProc(
}
typedef struct _FSVOL_CONTEXT
{
PSETUPDATA pSetupData;
// PAGE_NUMBER NextPageOnAbort;
} FSVOL_CONTEXT, *PFSVOL_CONTEXT;
static
BOOLEAN
NTAPI
FormatCallback(
_In_ CALLBACKCOMMAND Command,
_In_ ULONG Modifier,
_In_ PVOID Argument)
{
switch (Command)
{
case PROGRESS:
{
PULONG Percent = (PULONG)Argument;
DPRINT("%lu percent completed\n", *Percent);
SendMessageW(UiContext.hWndProgress, PBM_SETPOS, *Percent, 0);
break;
}
#if 0
case OUTPUT:
{
PTEXTOUTPUT output = (PTEXTOUTPUT)Argument;
DPRINT("%s\n", output->Output);
break;
}
#endif
case DONE:
{
#if 0
PBOOLEAN Success = (PBOOLEAN)Argument;
if (*Success == FALSE)
{
DPRINT("FormatEx was unable to complete successfully.\n\n");
}
#endif
DPRINT("Done\n");
break;
}
default:
DPRINT("Unknown callback %lu\n", (ULONG)Command);
break;
}
return TRUE;
}
static
BOOLEAN
NTAPI
ChkdskCallback(
_In_ CALLBACKCOMMAND Command,
_In_ ULONG Modifier,
_In_ PVOID Argument)
{
switch (Command)
{
default:
DPRINT("Unknown callback %lu\n", (ULONG)Command);
break;
}
return TRUE;
}
// PFSVOL_CALLBACK
static FSVOL_OP
CALLBACK
FsVolCallback(
_In_opt_ PVOID Context,
_In_ FSVOLNOTIFY FormatStatus,
_In_ ULONG_PTR Param1,
_In_ ULONG_PTR Param2)
{
PFSVOL_CONTEXT FsVolContext = (PFSVOL_CONTEXT)Context;
WCHAR Buffer[MAX_PATH];
switch (FormatStatus)
{
// FIXME: Deprecate!
case ChangeSystemPartition:
{
// PPARTENTRY SystemPartition = (PPARTENTRY)Param1;
// FsVolContext->NextPageOnAbort = SELECT_PARTITION_PAGE;
// if (ChangeSystemPartitionPage(Ir, SystemPartition))
// return FSVOL_DOIT;
return FSVOL_ABORT;
}
case FSVOLNOTIFY_PARTITIONERROR:
{
switch (Param1)
{
case STATUS_PARTITION_FAILURE:
{
// ERROR_WRITE_PTABLE
DisplayError(NULL,
0, // Default to "Error"
IDS_ERROR_WRITE_PTABLE);
// FsVolContext->NextPageOnAbort = QUIT_PAGE;
// TODO: Go back to the partitioning page?
break;
}
case ERROR_SYSTEM_PARTITION_NOT_FOUND:
{
/* FIXME: improve the error dialog */
//
// Error dialog should say that we cannot find a suitable
// system partition and create one on the system. At this point,
// it may be nice to ask the user whether he wants to continue,
// or use an external drive as the system drive/partition
// (e.g. floppy, USB drive, etc...)
//
DisplayError(NULL,
0, // Default to "Error"
IDS_ERROR_SYSTEM_PARTITION);
// FsVolContext->NextPageOnAbort = SELECT_PARTITION_PAGE;
// TODO: Go back to the partitioning page
break;
}
default:
break;
}
return FSVOL_ABORT;
}
case FSVOLNOTIFY_STARTQUEUE:
case FSVOLNOTIFY_ENDQUEUE:
// NOTE: If needed, clear progress gauges.
return FSVOL_DOIT;
case FSVOLNOTIFY_STARTSUBQUEUE:
{
if ((FSVOL_OP)Param1 == FSVOL_FORMAT)
{
/*
* In case we just repair an existing installation, or make
* an unattended setup without formatting, just go to the
* filesystem check step.
*/
if (FsVolContext->pSetupData->RepairUpdateFlag)
return FSVOL_SKIP; /** HACK!! **/
if (IsUnattendedSetup && !FsVolContext->pSetupData->USetupData.FormatPartition)
return FSVOL_SKIP; /** HACK!! **/
/* Set status text */
SetDlgItemTextW(UiContext.hwndDlg, IDC_ITEM, L"");
}
else
if ((FSVOL_OP)Param1 == FSVOL_CHECK)
{
/* Set status text */
SetDlgItemTextW(UiContext.hwndDlg, IDC_ITEM, L"");
/* Filechecking step: set progress marquee style and start it up */
UiContext.dwPbStyle = GetWindowLongPtrW(UiContext.hWndProgress, GWL_STYLE);
SetWindowLongPtrW(UiContext.hWndProgress, GWL_STYLE, UiContext.dwPbStyle | PBS_MARQUEE);
SendMessageW(UiContext.hWndProgress, PBM_SETMARQUEE, TRUE, 0);
}
return FSVOL_DOIT;
}
case FSVOLNOTIFY_ENDSUBQUEUE:
{
if ((FSVOL_OP)Param1 == FSVOL_CHECK)
{
/* File-checking finished: stop the progress bar and restore its style */
SendMessageW(UiContext.hWndProgress, PBM_SETMARQUEE, FALSE, 0);
SetWindowLongPtrW(UiContext.hWndProgress, GWL_STYLE, UiContext.dwPbStyle);
}
return 0;
}
case FSVOLNOTIFY_FORMATERROR:
{
PFORMAT_VOLUME_INFO FmtInfo = (PFORMAT_VOLUME_INFO)Param1;
// FIXME: See also FSVOLNOTIFY_PARTITIONERROR
if (FmtInfo->ErrorStatus == STATUS_PARTITION_FAILURE)
{
// ERROR_WRITE_PTABLE
DisplayError(NULL,
0, // Default to "Error"
IDS_ERROR_WRITE_PTABLE);
// FsVolContext->NextPageOnAbort = QUIT_PAGE;
// TODO: Go back to the partitioning page?
return FSVOL_ABORT;
}
else
if (FmtInfo->ErrorStatus == STATUS_UNRECOGNIZED_VOLUME)
{
/* FIXME: show an error dialog */
// MUIDisplayError(ERROR_FORMATTING_PARTITION, Ir, POPUP_WAIT_ANY_KEY, PathBuffer);
DisplayError(NULL,
0, // Default to "Error"
IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME);
// FsVolContext->NextPageOnAbort = QUIT_PAGE;
return FSVOL_ABORT;
}
else
if (FmtInfo->ErrorStatus == STATUS_NOT_SUPPORTED)
{
INT nRet;
nRet = DisplayMessage(NULL, MB_ICONERROR | MB_OKCANCEL,
NULL, // Default to "Error"
MAKEINTRESOURCEW(IDS_ERROR_COULD_NOT_FORMAT),
FmtInfo->FileSystemName);
if (nRet == IDCANCEL)
{
// FsVolContext->NextPageOnAbort = QUIT_PAGE;
return FSVOL_ABORT;
}
else if (nRet == IDOK)
{
return FSVOL_RETRY;
}
}
else if (!NT_SUCCESS(FmtInfo->ErrorStatus))
{
ASSERT(*FmtInfo->Volume->Info.DeviceName);
DPRINT1("FormatPartition() failed with status 0x%08lx\n", FmtInfo->ErrorStatus);
// ERROR_FORMATTING_PARTITION
DisplayError(NULL,
0, // Default to "Error"
IDS_ERROR_FORMATTING_PARTITION,
FmtInfo->Volume->Info.DeviceName);
// FsVolContext->NextPageOnAbort = QUIT_PAGE;
return FSVOL_ABORT;
}
return FSVOL_RETRY;
}
case FSVOLNOTIFY_CHECKERROR:
{
PCHECK_VOLUME_INFO ChkInfo = (PCHECK_VOLUME_INFO)Param1;
if (ChkInfo->ErrorStatus == STATUS_NOT_SUPPORTED)
{
INT nRet;
nRet = DisplayMessage(NULL, MB_ICONERROR | MB_OKCANCEL,
NULL, // Default to "Error"
MAKEINTRESOURCEW(IDS_ERROR_COULD_NOT_CHECK),
ChkInfo->Volume->Info.FileSystem);
if (nRet == IDCANCEL)
{
// FsVolContext->NextPageOnAbort = QUIT_PAGE;
return FSVOL_ABORT;
}
else if (nRet == IDOK)
{
return FSVOL_SKIP;
}
}
else if (!NT_SUCCESS(ChkInfo->ErrorStatus))
{
DPRINT1("ChkdskPartition() failed with status 0x%08lx\n", ChkInfo->ErrorStatus);
DisplayError(NULL,
0, // Default to "Error"
IDS_ERROR_CHECKING_PARTITION,
ChkInfo->ErrorStatus);
return FSVOL_SKIP;
}
return FSVOL_SKIP;
}
case FSVOLNOTIFY_STARTFORMAT:
{
PFORMAT_VOLUME_INFO FmtInfo = (PFORMAT_VOLUME_INFO)Param1;
PVOL_CREATE_INFO VolCreate;
ASSERT((FSVOL_OP)Param2 == FSVOL_FORMAT);
/* Find the volume info in the partition TreeList UI.
* If none, don't format it. */
VolCreate = FindVolCreateInTreeByVolume(UiContext.hPartList,
FmtInfo->Volume);
if (!VolCreate)
return FSVOL_SKIP;
ASSERT(VolCreate->Volume == FmtInfo->Volume);
/* If there is no formatting information, skip it */
if (!*VolCreate->FileSystemName)
return FSVOL_SKIP;
ASSERT(*FmtInfo->Volume->Info.DeviceName);
/* Set status text */
if (FmtInfo->Volume->Info.DriveLetter)
{
StringCchPrintfW(Buffer, ARRAYSIZE(Buffer),
L"Formatting volume %c: (%s) in %s...", // IDS_FORMATTING_PROGRESS1
FmtInfo->Volume->Info.DriveLetter,
FmtInfo->Volume->Info.DeviceName,
VolCreate->FileSystemName);
}
else
{
StringCchPrintfW(Buffer, ARRAYSIZE(Buffer),
L"Formatting volume %s in %s...", // IDS_FORMATTING_PROGRESS2
FmtInfo->Volume->Info.DeviceName,
VolCreate->FileSystemName);
}
SetDlgItemTextW(UiContext.hwndDlg, IDC_ITEM, Buffer);
// StartFormat(FmtInfo, FileSystemList->Selected);
FmtInfo->FileSystemName = VolCreate->FileSystemName;
FmtInfo->MediaFlag = VolCreate->MediaFlag;
FmtInfo->Label = VolCreate->Label;
FmtInfo->QuickFormat = VolCreate->QuickFormat;
FmtInfo->ClusterSize = VolCreate->ClusterSize;
FmtInfo->Callback = FormatCallback;
/* Set up the progress bar */
SendMessageW(UiContext.hWndProgress,
PBM_SETRANGE, 0, MAKELPARAM(0, 100));
SendMessageW(UiContext.hWndProgress,
PBM_SETPOS, 0, 0);
return FSVOL_DOIT;
}
case FSVOLNOTIFY_ENDFORMAT:
{
PFORMAT_VOLUME_INFO FmtInfo = (PFORMAT_VOLUME_INFO)Param1;
// EndFormat(FmtInfo->ErrorStatus);
if (FmtInfo->FileSystemName)
*(PWSTR)FmtInfo->FileSystemName = UNICODE_NULL; // FIXME: HACK!
// /* Reset the file system list */
// ResetFileSystemList();
return 0;
}
case FSVOLNOTIFY_STARTCHECK:
{
PCHECK_VOLUME_INFO ChkInfo = (PCHECK_VOLUME_INFO)Param1;
PVOL_CREATE_INFO VolCreate;
ASSERT((FSVOL_OP)Param2 == FSVOL_CHECK);
/* Find the volume info in the partition TreeList UI.
* If none, don't check it. */
VolCreate = FindVolCreateInTreeByVolume(UiContext.hPartList,
ChkInfo->Volume);
if (!VolCreate)
return FSVOL_SKIP;
ASSERT(VolCreate->Volume == ChkInfo->Volume);
ASSERT(*ChkInfo->Volume->Info.DeviceName);
/* Set status text */
if (ChkInfo->Volume->Info.DriveLetter)
{
StringCchPrintfW(Buffer, ARRAYSIZE(Buffer),
L"Checking volume %c: (%s)...", // IDS_CHECKING_PROGRESS1
ChkInfo->Volume->Info.DriveLetter,
ChkInfo->Volume->Info.DeviceName);
}
else
{
StringCchPrintfW(Buffer, ARRAYSIZE(Buffer),
L"Checking volume %s...", // IDS_CHECKING_PROGRESS2
ChkInfo->Volume->Info.DeviceName);
}
SetDlgItemTextW(UiContext.hwndDlg, IDC_ITEM, Buffer);
// StartCheck(ChkInfo);
// TODO: Think about which values could be defaulted...
ChkInfo->FixErrors = TRUE;
ChkInfo->Verbose = FALSE;
ChkInfo->CheckOnlyIfDirty = TRUE;
ChkInfo->ScanDrive = FALSE;
ChkInfo->Callback = ChkdskCallback;
return FSVOL_DOIT;
}
case FSVOLNOTIFY_ENDCHECK:
{
// PCHECK_VOLUME_INFO ChkInfo = (PCHECK_VOLUME_INFO)Param1;
// EndCheck(ChkInfo->ErrorStatus);
return 0;
}
}
return 0;
}
typedef struct _COPYCONTEXT
{
PSETUPDATA pSetupData;
HWND hWndItem;
HWND hWndProgress;
ULONG TotalOperations;
ULONG CompletedOperations;
} COPYCONTEXT, *PCOPYCONTEXT;
@@ -1133,11 +1612,14 @@ FileCopyCallback(PVOID Context,
CopyContext->TotalOperations = (ULONG)Param2;
CopyContext->CompletedOperations = 0;
SendMessageW(CopyContext->hWndProgress,
/* Set up the progress bar */
SendMessageW(UiContext.hWndProgress,
PBM_SETRANGE, 0,
MAKELPARAM(0, CopyContext->TotalOperations));
SendMessageW(CopyContext->hWndProgress,
SendMessageW(UiContext.hWndProgress,
PBM_SETSTEP, 1, 0);
SendMessageW(UiContext.hWndProgress,
PBM_SETPOS, 0, 0);
break;
}
@@ -1158,7 +1640,7 @@ FileCopyCallback(PVOID Context,
// STRING_DELETING
StringCchPrintfW(Status, ARRAYSIZE(Status), L"Deleting %s", DstFileName);
SetWindowTextW(CopyContext->hWndItem, Status);
SetWindowTextW(UiContext.hWndItem, Status);
}
else if (Notification == SPFILENOTIFY_STARTRENAME)
{
@@ -1179,7 +1661,7 @@ FileCopyCallback(PVOID Context,
else
StringCchPrintfW(Status, ARRAYSIZE(Status), L"Renaming %s to %s", SrcFileName, DstFileName);
SetWindowTextW(CopyContext->hWndItem, Status);
SetWindowTextW(UiContext.hWndItem, Status);
}
else if (Notification == SPFILENOTIFY_STARTCOPY)
{
@@ -1192,11 +1674,20 @@ FileCopyCallback(PVOID Context,
// STRING_COPYING
StringCchPrintfW(Status, ARRAYSIZE(Status), L"Copying %s", DstFileName);
SetWindowTextW(CopyContext->hWndItem, Status);
SetWindowTextW(UiContext.hWndItem, Status);
}
break;
}
case SPFILENOTIFY_COPYERROR:
{
FilePathInfo = (PFILEPATHS_W)Param1;
DPRINT1("An error happened while trying to copy file '%S' (error 0x%08lx), skipping it...\n",
FilePathInfo->Target, FilePathInfo->Win32Error);
return FILEOP_SKIP;
}
case SPFILENOTIFY_ENDDELETE:
case SPFILENOTIFY_ENDRENAME:
case SPFILENOTIFY_ENDCOPY:
@@ -1207,7 +1698,7 @@ FileCopyCallback(PVOID Context,
if (CopyContext->TotalOperations >> 1 == CopyContext->CompletedOperations)
DPRINT1("CHECKPOINT:HALF_COPIED\n");
SendMessageW(CopyContext->hWndProgress, PBM_STEPIT, 0, 0);
SendMessageW(UiContext.hWndProgress, PBM_STEPIT, 0, 0);
break;
}
}
@@ -1215,6 +1706,55 @@ FileCopyCallback(PVOID Context,
return FILEOP_DOIT;
}
static VOID
__cdecl
RegistryStatus(IN REGISTRY_STATUS RegStatus, ...)
{
/* WARNING: Please keep this lookup table in sync with the resources! */
static const UINT StringIDs[] =
{
IDS_REG_DONE, /* Success */
IDS_REG_REGHIVEUPDATE, /* RegHiveUpdate */
IDS_REG_IMPORTFILE, /* ImportRegHive */
IDS_REG_DISPLAYSETTINGSUPDATE, /* DisplaySettingsUpdate */
IDS_REG_LOCALESETTINGSUPDATE, /* LocaleSettingsUpdate */
IDS_REG_ADDKBLAYOUTS, /* KeybLayouts */
IDS_REG_KEYBOARDSETTINGSUPDATE, /* KeybSettingsUpdate */
IDS_REG_CODEPAGEINFOUPDATE, /* CodePageInfoUpdate */
};
if (RegStatus < _countof(StringIDs))
{
va_list args;
va_start(args, RegStatus);
SetWindowResPrintfVW(UiContext.hWndItem, SetupData.hInstance, StringIDs[RegStatus], args);
va_end(args);
}
else
{
SetWindowResPrintfW(UiContext.hWndItem, SetupData.hInstance, IDS_REG_UNKNOWN, RegStatus);
}
SendMessageW(UiContext.hWndProgress, PBM_STEPIT, 0, 0);
}
/**
* @brief
* Enables or disables the Cancel and the Close title-bar
* property-sheet window buttons.
**/
VOID
PropSheet_SetCloseCancel(
_In_ HWND hWndWiz,
_In_ BOOL Enable)
{
EnableDlgItem(hWndWiz, IDCANCEL, Enable);
// ShowDlgItem(hWndWiz, IDCANCEL, Enable ? SW_SHOW : SW_HIDE);
EnableMenuItem(GetSystemMenu(hWndWiz, FALSE),
SC_CLOSE,
MF_BYCOMMAND | (Enable ? MF_ENABLED : MF_GRAYED));
}
static DWORD
WINAPI
PrepareAndDoCopyThread(
@@ -1224,9 +1764,12 @@ PrepareAndDoCopyThread(
HWND hwndDlg = (HWND)Param;
HWND hWndProgress;
LONG_PTR dwStyle;
// ERROR_NUMBER ErrorNumber;
ERROR_NUMBER ErrorNumber;
BOOLEAN Success;
NTSTATUS Status;
FSVOL_CONTEXT FsVolContext;
COPYCONTEXT CopyContext;
// WCHAR PathBuffer[MAX_PATH];
/* Retrieve pointer to the global setup data */
pSetupData = (PSETUPDATA)GetWindowLongPtrW(hwndDlg, GWLP_USERDATA);
@@ -1234,6 +1777,109 @@ PrepareAndDoCopyThread(
/* Get the progress handle */
hWndProgress = GetDlgItem(hwndDlg, IDC_PROCESSPROGRESS);
/* Setup global UI context */
UiContext.hwndDlg = hwndDlg;
UiContext.hWndItem = GetDlgItem(hwndDlg, IDC_ITEM);
UiContext.hWndProgress = hWndProgress;
UiContext.dwPbStyle = 0;
/* Disable the Close/Cancel buttons during all partition operations */
// TODO: Consider, alternatively, to just show an info-box saying
// that the installation process cannot be canceled at this stage?
// PropSheet_SetWizButtons(GetParent(hwndDlg), 0);
PropSheet_SetCloseCancel(GetParent(hwndDlg), FALSE);
/*
* Find/Set the system partition, and apply all pending partition operations.
*/
/* Create context for the volume/partition operations */
FsVolContext.pSetupData = pSetupData;
/* Set status text */
SetDlgItemTextW(hwndDlg, IDC_ACTIVITY, L"Setting the system partition...");
SetDlgItemTextW(hwndDlg, IDC_ITEM, L"");
/* Find or set the active system partition before starting formatting */
Success = InitSystemPartition(pSetupData->PartitionList,
InstallPartition,
&SystemPartition,
FsVolCallback,
&FsVolContext);
// if (!Success)
// return FsVolContext.NextPageOnAbort;
//
// FIXME?? If cannot use any system partition, install FreeLdr on floppy / removable media??
//
if (!Success)
{
/* Display an error if an unexpected failure happened */
MessageBoxW(GetParent(hwndDlg), L"Failed to find or set the system partition!", L"Error", MB_ICONERROR);
/* Re-enable the Close/Cancel buttons */
PropSheet_SetCloseCancel(GetParent(hwndDlg), TRUE);
/*
* We failed due to an unexpected error, keep on the copy page to view the current state,
* but enable the "Next" button to allow the user to continue to the terminate page.
*/
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT);
return 1;
}
/* Set status text */
SetDlgItemTextW(hwndDlg, IDC_ACTIVITY, L"Preparing partitions...");
SetDlgItemTextW(hwndDlg, IDC_ITEM, L"");
/* Apply all pending operations on partitions: formatting and checking */
Success = FsVolCommitOpsQueue(pSetupData->PartitionList,
SystemVolume,
InstallVolume,
FsVolCallback,
&FsVolContext);
if (!Success)
{
/* Display an error if an unexpected failure happened */
MessageBoxW(GetParent(hwndDlg), L"Failed to prepare the partitions!", L"Error", MB_ICONERROR);
/* Re-enable the Close/Cancel buttons */
PropSheet_SetCloseCancel(GetParent(hwndDlg), TRUE);
/*
* We failed due to an unexpected error, keep on the copy page to view the current state,
* but enable the "Next" button to allow the user to continue to the terminate page.
*/
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT);
return 1;
}
/* Re-enable the Close/Cancel buttons */
PropSheet_SetCloseCancel(GetParent(hwndDlg), TRUE);
/* Re-calculate the final destination paths */
ASSERT(InstallPartition);
Status = InitDestinationPaths(&pSetupData->USetupData,
NULL, // pSetupData->USetupData.InstallationDirectory,
InstallVolume);
if (!NT_SUCCESS(Status))
{
DisplayMessage(GetParent(hwndDlg), MB_ICONERROR, L"Error", L"InitDestinationPaths() failed with status 0x%08lx\n", Status);
/*
* We failed due to an unexpected error, keep on the copy page to view the current state,
* but enable the "Next" button to allow the user to continue to the terminate page.
*/
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT);
return 1;
}
/*
* Preparation of the list of files to be copied
@@ -1243,27 +1889,24 @@ PrepareAndDoCopyThread(
SetDlgItemTextW(hwndDlg, IDC_ACTIVITY, L"Preparing the list of files to be copied, please wait...");
SetDlgItemTextW(hwndDlg, IDC_ITEM, L"");
/* Set progress marquee style */
/* Set progress marquee style and start it up */
dwStyle = GetWindowLongPtrW(hWndProgress, GWL_STYLE);
SetWindowLongPtrW(hWndProgress, GWL_STYLE, dwStyle | PBS_MARQUEE);
/* Start it up */
SendMessageW(hWndProgress, PBM_SETMARQUEE, TRUE, 0);
/* Prepare the list of files */
/* ErrorNumber = */ Success = PrepareFileCopy(&pSetupData->USetupData, NULL);
/* Stop progress and restore its style */
SendMessageW(hWndProgress, PBM_SETMARQUEE, FALSE, 0);
SetWindowLongPtrW(hWndProgress, GWL_STYLE, dwStyle);
if (/*ErrorNumber != ERROR_SUCCESS*/ !Success)
{
/* Display an error only if an unexpected failure happened, and not because the user cancelled the installation */
if (!pSetupData->bStopInstall)
MessageBoxW(GetParent(hwndDlg), L"Failed to prepare the list of files!", L"Error", MB_ICONERROR);
/* Stop it */
SendMessageW(hWndProgress, PBM_SETMARQUEE, FALSE, 0);
/* Restore progress style */
SetWindowLongPtrW(hWndProgress, GWL_STYLE, dwStyle);
/*
* If we failed due to an unexpected error, keep on the copy page to view the current state,
* but enable the "Next" button to allow the user to continue to the terminate page.
@@ -1274,12 +1917,6 @@ PrepareAndDoCopyThread(
return 1;
}
/* Stop it */
SendMessageW(hWndProgress, PBM_SETMARQUEE, FALSE, 0);
/* Restore progress style */
SetWindowLongPtrW(hWndProgress, GWL_STYLE, dwStyle);
/*
* Perform the file copy
@@ -1291,8 +1928,6 @@ PrepareAndDoCopyThread(
/* Create context for the copy process */
CopyContext.pSetupData = pSetupData;
CopyContext.hWndItem = GetDlgItem(hwndDlg, IDC_ITEM);
CopyContext.hWndProgress = hWndProgress;
CopyContext.TotalOperations = 0;
CopyContext.CompletedOperations = 0;
@@ -1313,13 +1948,45 @@ PrepareAndDoCopyThread(
return 1;
}
/* Set status text */
SetDlgItemTextW(hwndDlg, IDC_ACTIVITY, L"Finalizing the installation...");
SetDlgItemTextW(hwndDlg, IDC_ITEM, L"");
// /* Set status text */
// SetDlgItemTextW(hwndDlg, IDC_ACTIVITY, L"Finalizing the installation...");
// SetDlgItemTextW(hwndDlg, IDC_ITEM, L"");
/* Create the $winnt$.inf file */
InstallSetupInfFile(&pSetupData->USetupData);
/*
* Create or update the registry hives
*/
/* Set status text */
SetWindowResTextW(GetDlgItem(hwndDlg, IDC_ACTIVITY),
pSetupData->hInstance,
pSetupData->RepairUpdateFlag ? IDS_UPDATE_REGISTRY
: IDS_CREATE_REGISTRY);
SetDlgItemTextW(hwndDlg, IDC_ITEM, L"");
/* Set up the progress bar */
SendMessageW(hWndProgress,
PBM_SETRANGE, 0,
MAKELPARAM(0, 8)); // FIXME: hardcoded number of steps, see StringIDs[] array in RegistryStatus()
SendMessageW(hWndProgress,
PBM_SETSTEP, 1, 0);
SendMessageW(hWndProgress,
PBM_SETPOS, 0, 0);
ErrorNumber = UpdateRegistry(&pSetupData->USetupData,
pSetupData->RepairUpdateFlag,
pSetupData->PartitionList,
InstallVolume->Info.DriveLetter,
pSetupData->SelectedLanguageId,
RegistryStatus,
NULL /* SubstSettings */);
DBG_UNREFERENCED_PARAMETER(ErrorNumber);
SendMessageW(UiContext.hWndProgress, PBM_SETPOS, 100, 0);
/* We are done! Switch to the Terminate page */
PropSheet_SetCurSelByID(GetParent(hwndDlg), IDD_RESTARTPAGE);
return 0;
@@ -1397,10 +2064,10 @@ ProcessDlgProc(
/* Halt the on-going file copy */
ResetEvent(pSetupData->hHaltInstallEvent);
if (MessageBoxW(GetParent(hwndDlg),
pSetupData->szAbortMessage,
pSetupData->szAbortTitle,
MB_YESNO | MB_ICONQUESTION) == IDYES)
if (DisplayMessage(GetParent(hwndDlg),
MB_YESNO | MB_ICONQUESTION,
MAKEINTRESOURCEW(IDS_ABORTSETUP2),
MAKEINTRESOURCEW(IDS_ABORTSETUP)) == IDYES)
{
/* Stop the file copy thread */
pSetupData->bStopInstall = TRUE;
@@ -1503,7 +2170,7 @@ RestartDlgProc(
case PSN_SETACTIVE:
{
/* Only "Finish" for closing the wizard */
ShowWindow(GetDlgItem(GetParent(hwndDlg), IDCANCEL), SW_HIDE);
ShowDlgItem(GetParent(hwndDlg), IDCANCEL, SW_HIDE);
PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_FINISH);
/* Set up the reboot progress bar */
@@ -2038,10 +2705,6 @@ _tWinMain(HINSTANCE hInst,
hHotkeyThread = CreateThread(NULL, 0, HotkeyThread, NULL, 0, NULL);
/* Cache commonly-used strings */
LoadStringW(hInst, IDS_ABORTSETUP, SetupData.szAbortMessage, ARRAYSIZE(SetupData.szAbortMessage));
LoadStringW(hInst, IDS_ABORTSETUP2, SetupData.szAbortTitle, ARRAYSIZE(SetupData.szAbortTitle));
/* Whenever any of the common controls are used in your app,
* you must call InitCommonControlsEx() to register the classes
* for those controls. */

View File

@@ -45,6 +45,12 @@
#include <commctrl.h>
#include <windowsx.h>
#define EnableDlgItem(hDlg, nID, bEnable) \
EnableWindow(GetDlgItem((hDlg), (nID)), (bEnable))
#define ShowDlgItem(hDlg, nID, nCmdShow) \
ShowWindow(GetDlgItem((hDlg), (nID)), (nCmdShow))
/* These are public names and values determined from MFC, and compatible with Windows */
// Property Sheet control id's (determined with Spy++)
#define IDC_TAB_CONTROL 0x3020
@@ -69,14 +75,18 @@
// #include <reactos/rosioctl.h>
#include <../lib/setuplib.h>
#if 0
typedef struct _KBLAYOUT
/* UI elements */
typedef struct _UI_CONTEXT
{
TCHAR LayoutId[9];
TCHAR LayoutName[128];
TCHAR DllName[128];
} KBLAYOUT, *PKBLAYOUT;
#endif
HWND hPartList; // Disks & partitions list
HWND hwndDlg; // Install progress page
HWND hWndItem; // Progress action
HWND hWndProgress; // Progress gauge
LONG_PTR dwPbStyle; // Progress gauge style
} UI_CONTEXT, *PUI_CONTEXT;
extern UI_CONTEXT UiContext;
/*
@@ -108,6 +118,15 @@ typedef struct _NT_WIN32_PATH_MAPPING_LIST
} NT_WIN32_PATH_MAPPING_LIST, *PNT_WIN32_PATH_MAPPING_LIST;
#if 0
typedef struct _KBLAYOUT
{
TCHAR LayoutId[9];
TCHAR LayoutName[128];
TCHAR DllName[128];
} KBLAYOUT, *PKBLAYOUT;
#endif
typedef struct _SETUPDATA
{
/* General */
@@ -120,9 +139,6 @@ typedef struct _SETUPDATA
HANDLE hHaltInstallEvent;
BOOL bStopInstall;
TCHAR szAbortMessage[512];
TCHAR szAbortTitle[64];
NT_WIN32_PATH_MAPPING_LIST MappingList;
USETUP_DATA USetupData;
@@ -151,6 +167,34 @@ extern BOOLEAN IsUnattendedSetup;
extern SETUPDATA SetupData;
extern PPARTENTRY InstallPartition;
extern PPARTENTRY SystemPartition;
/**
* @brief Data structure stored when a partition/volume needs to be formatted.
**/
typedef struct _VOL_CREATE_INFO
{
PVOLENTRY Volume;
/* Volume-related parameters:
* Cached input information that will be set to
* the FORMAT_VOLUME_INFO structure given to the
* 'FSVOLNOTIFY_STARTFORMAT' step */
// PCWSTR FileSystemName;
WCHAR FileSystemName[MAX_PATH+1];
FMIFS_MEDIA_FLAG MediaFlag;
PCWSTR Label;
BOOLEAN QuickFormat;
ULONG ClusterSize;
} VOL_CREATE_INFO, *PVOL_CREATE_INFO;
/* See drivepage.c */
PVOL_CREATE_INFO
FindVolCreateInTreeByVolume(
_In_ HWND hTreeList,
_In_ PVOLENTRY Volume);
/*
* Attempts to convert a pure NT file path into a corresponding Win32 path.
@@ -169,10 +213,10 @@ ConvertNtPathToWin32Path(
INT_PTR
CALLBACK
DriveDlgProc(
HWND hwndDlg,
UINT uMsg,
WPARAM wParam,
LPARAM lParam);
_In_ HWND hwndDlg,
_In_ UINT uMsg,
_In_ WPARAM wParam,
_In_ LPARAM lParam);
/* reactos.c */
@@ -211,6 +255,27 @@ DisplayError(
_In_ UINT uIDMessage,
...);
VOID
SetWindowResTextW(
_In_ HWND hWnd,
_In_opt_ HINSTANCE hInstance,
_In_ UINT uID);
VOID
SetWindowResPrintfVW(
_In_ HWND hWnd,
_In_opt_ HINSTANCE hInstance,
_In_ UINT uID,
_In_ va_list args);
VOID
__cdecl
SetWindowResPrintfW(
_In_ HWND hWnd,
_In_opt_ HINSTANCE hInstance,
_In_ UINT uID,
...);
#endif /* _REACTOS_PCH_ */
/* EOF */

View File

@@ -36,9 +36,12 @@
#define IDD_DRIVEPAGE 2040
#define IDC_PARTITION 2041
#define IDC_PARTCREATE 2042
#define IDC_PARTDELETE 2043
#define IDC_DEVICEDRIVER 2044
#define IDC_INITDISK 2042
#define IDC_PARTCREATE 2043
#define IDC_PARTFORMAT 2044
#define IDC_PARTDELETE 2045
#define IDC_DEVICEDRIVER 2046
#define IDC_PARTMOREOPTS 2047
#define IDD_SUMMARYPAGE 2050
#define IDC_INSTALLTYPE 2051
@@ -47,9 +50,9 @@
// #define IDC_COMPUTER 2031
// #define IDC_DISPLAY 2032
// #define IDC_KEYBOARD 2033
#define IDC_DESTDRIVE 2054
#define IDC_DESTDRIVE 2054
// #define IDC_PATH 2071
#define IDC_CONFIRM_INSTALL 2055
#define IDC_CONFIRM_INSTALL 2055
#define IDD_PROCESSPAGE 2060
#define IDC_ACTIVITY 2061
@@ -59,17 +62,21 @@
#define IDD_RESTARTPAGE 2070
#define IDC_FINISHTITLE 2071
#define IDC_RESTART_PROGRESS 2072
#define IDC_PARTMOREOPTS 2073
#define IDD_ADVINSTOPTS 2080
#define IDC_PATH 2081
#define IDC_INSTFREELDR 2082
#define IDD_PARTITION 2090
#define IDC_UPDOWN1 2091
#define IDC_PARTSIZE 2092
#define IDC_EDIT_PARTSIZE 2091
#define IDC_UPDOWN_PARTSIZE 2092
#define IDC_UNIT 2093
#define IDC_FSTYPE 2094
#define IDC_CHECK_MBREXTPART 2094
#define IDC_FS_STATIC 2095
#define IDC_FSTYPE 2096
#define IDC_CHECK_QUICKFMT 2097
#define IDD_FORMAT 2100
/* Strings */
@@ -89,28 +96,85 @@
#define IDS_SUMMARYSUBTITLE 5051
#define IDS_NO_TXTSETUP_SIF 5053
#define IDS_CAPTION 5054
#define IDS_VOLUME_NOFORMAT 5060
#define IDS_INSTALLATION_NAME 5100
#define IDS_INSTALLATION_PATH 5101
#define IDS_INSTALLATION_VENDOR 5102
#define IDS_PARTITION_NAME 5200
#define IDS_PARTITION_TYPE 5201
#define IDS_PARTITION_SIZE 5202
#define IDS_PARTITION_STATUS 5203
#define IDS_PARTITION_NAME 5110
#define IDS_PARTITION_TYPE 5111
#define IDS_PARTITION_SIZE 5112
#define IDS_PARTITION_STATUS 5113
// WARNING: These IDs *MUST* stay in increasing order!
#define IDS_BOOTLOADER_NOINST 5300
#define IDS_BOOTLOADER_REMOVABLE 5301
#define IDS_BOOTLOADER_SYSTEM 5302 // For non-MBR disks
#define IDS_BOOTLOADER_MBRVBR 5303 // For MBR disks only
#define IDS_BOOTLOADER_VBRONLY 5304 // ""
#define IDS_BOOTLOADER_NOINST 5120
#define IDS_BOOTLOADER_REMOVABLE 5121
#define IDS_BOOTLOADER_SYSTEM 5122 // For non-MBR disks
#define IDS_BOOTLOADER_MBRVBR 5123 // For MBR disks only
#define IDS_BOOTLOADER_VBRONLY 5124 // ""
/* Progress Strings */
#define IDS_FORMATTING_PROGRESS1 5200
#define IDS_FORMATTING_PROGRESS2 5201
#define IDS_CHECKING_PROGRESS1 5202
#define IDS_CHECKING_PROGRESS2 5203
#define IDS_COPYING 5204
#define IDS_MOVING 5205
#define IDS_RENAMING 5206
#define IDS_DELETING 5207
#define IDS_PREPARE_PARTITIONS 5208
#define IDS_PREPARE_FILES 5209
#define IDS_COPYING_FILES 5210
#define IDS_CREATE_REGISTRY 5211
#define IDS_UPDATE_REGISTRY 5212
#define IDS_REG_DONE 5220
#define IDS_REG_REGHIVEUPDATE 5221
#define IDS_REG_IMPORTFILE 5222
#define IDS_REG_DISPLAYSETTINGSUPDATE 5223
#define IDS_REG_LOCALESETTINGSUPDATE 5224
#define IDS_REG_ADDKBLAYOUTS 5225
#define IDS_REG_KEYBOARDSETTINGSUPDATE 5226
#define IDS_REG_CODEPAGEINFOUPDATE 5227
#define IDS_REG_UNKNOWN 5228
/* Error Strings */
#define IDS_ERROR_INVALID_INSTALLDIR_CHAR_TITLE 5400
#define IDS_ERROR_INVALID_INSTALLDIR_CHAR 5401
#define IDS_ERROR_INVALID_INSTALLDIR_CHAR_TITLE 5300
#define IDS_ERROR_INVALID_INSTALLDIR_CHAR 5301
// ERROR_DIRECTORY_NAME
#define IDS_ERROR_DIRECTORY_NAME_TITLE 5402
#define IDS_ERROR_DIRECTORY_NAME 5403
#define IDS_ERROR_DIRECTORY_NAME_TITLE 5302
#define IDS_ERROR_DIRECTORY_NAME 5303
// ERROR_CREATE_PARTITION // TODO?
#define IDS_ERROR_CREATE_PARTITION_TITLE 5304
#define IDS_ERROR_CREATE_PARTITION 5305
#define IDS_WARN_DELETE_PARTITION_TITLE 5306
#define IDS_WARN_DELETE_PARTITION 5307
#define IDS_WARN_DELETE_MBR_EXTENDED_PARTITION 5308
// ERROR_WRITE_PTABLE
#define IDS_ERROR_WRITE_PTABLE 5309
// ERROR_SYSTEM_PARTITION_NOT_FOUND
// ERROR_SYSTEM_PARTITION // TODO
#define IDS_ERROR_SYSTEM_PARTITION 5310
// ERROR_FORMAT_UNRECOGNIZED_VOLUME // TODO
#define IDS_ERROR_FORMAT_UNRECOGNIZED_VOLUME 5311
// ERROR_COULD_NOT_FORMAT // TODO?
#define IDS_ERROR_COULD_NOT_FORMAT 5312
// ERROR_FORMATTING_PARTITION
#define IDS_ERROR_FORMATTING_PARTITION 5313
// ERROR_COULD_NOT_CHECK // TODO?
#define IDS_ERROR_COULD_NOT_CHECK 5314
// ERROR_CHECKING_PARTITION // TODO
#define IDS_ERROR_CHECKING_PARTITION 5315

View File

@@ -421,9 +421,15 @@ typedef TVSORTEX TV_SORTEX;
#define TreeList_GetOption(h,i) ((INT )SNDMSG(h,TVM_GETSETOPTION,i,0))
#define TreeList_SetColumnOrderArray(h,n,p) ((BOOL )SNDMSG(h,TVM_SETCOLUMNORDERARRAY,n,(LPARAM)(p)))
#define TreeList_GetColumnOrderArray(h,n,p) ((BOOL )SNDMSG(h,TVM_GETCOLUMNORDERARRAY,n,(LPARAM)(p)))
#ifdef __cplusplus
#define TreeList_GetStyle(h) ((DWORD )::GetWindowLong(h,GWL_STYLE))
#define TreeList_SetStyle(h,d) ((DWORD )::SetWindowLong(h,GWL_STYLE,d))
#define TreeList_SetStyleEx(h,d,m) ((DWORD )::SetWindowLong(h,GWL_STYLE,((d)&(m))|(::GetWindowLong(h,GWL_STYLE)&~(m))))
#else
#define TreeList_GetStyle(h) ((DWORD )GetWindowLong(h,GWL_STYLE))
#define TreeList_SetStyle(h,d) ((DWORD )SetWindowLong(h,GWL_STYLE,d))
#define TreeList_SetStyleEx(h,d,m) ((DWORD )SetWindowLong(h,GWL_STYLE,((d)&(m))|(GetWindowLong(h,GWL_STYLE)&~(m))))
#endif
#define TreeList_GetItemRect(h,i,s,p,c) (*(HTREEITEM*)p =(i),(BOOL)SNDMSG(h,TVM_GETITEMRECT,(WPARAM)((c)|(TVIR_COLTOSUB(s))),(LPARAM)(RECT*)(p)))
@@ -457,10 +463,21 @@ extern BOOL TreeListUnregister(HINSTANCE hInstance);
/* Compat with my old code... */
#define TLCOLUMN TVCOLUMN
#define HTLITEM HTREEITEM
#define HTLITEM HTREEITEM
#define TL_INSERTSTRUCTA TV_INSERTSTRUCTA
#define TLINSERTSTRUCTA TVINSERTSTRUCTA
#define TL_INSERTSTRUCTW TV_INSERTSTRUCTW
#define TL_INSERTSTRUCT TV_INSERTSTRUCT
#define TLINSERTSTRUCTW TVINSERTSTRUCTW
#define TL_INSERTSTRUCT TV_INSERTSTRUCT
#define TLINSERTSTRUCT TVINSERTSTRUCT
#define TL_ITEMA TV_ITEMA
#define TLITEMA TVITEMA
#define TL_ITEMW TV_ITEMW
#define TLITEMW TVITEMW
#define TL_ITEM TV_ITEM
#define TLITEM TVITEM
/* New stuff */
#ifndef __REACTOS__

View File

@@ -2287,7 +2287,7 @@ MUI_STRING bgBGStrings[] =
{STRING_KEYBOARDSETTINGSUPDATE,
" \216\341\352\242\340\245\254\245\255\357\242\240\255\245 \255\240\341\342\340\256\251\252\250\342\245 \255\240 \252\253\240\242\250\240\342\343\340\255\250\342\245 \257\256\244\340\245\244\241\250..."},
{STRING_CODEPAGEINFOUPDATE,
" \204\256\241\240\242\357\255\245 \242 \340\245\243\250\341\342\352\340\240 \255\240 \341\242\245\244\245\255\250\357 \247\240 \247\255\240\252\256\242\250\357 \255\240\241\256\340..."},
" \204\256\241\240\242\357\255\245 \255\240 \341\242\245\244\245\255\250\357 \247\240 \247\255\240\252\256\242\250\357 \255\240\241\256\340..."},
{STRING_DONE,
" \203\256\342\256\242\256..."},
{STRING_REBOOTCOMPUTER2,

View File

@@ -2017,7 +2017,7 @@ MUI_ERROR bnBDErrorEntries[] =
},
{
// ERROR_ADDING_CODEPAGE,
"Setup failed to add codepage to registry.\n"
"Setup failed to add codepage to the registry.\n"
"ENTER = Reboot computer"
},
{
@@ -2027,7 +2027,7 @@ MUI_ERROR bnBDErrorEntries[] =
},
{
// ERROR_ADDING_KBLAYOUTS,
"Setup failed to add keyboard layouts to registry.\n"
"Setup failed to add keyboard layouts to the registry.\n"
"ENTER = Reboot computer"
},
{
@@ -2262,7 +2262,7 @@ MUI_STRING bnBDStrings[] =
{STRING_KEYBOARDSETTINGSUPDATE,
" Updating keyboard layout settings..."},
{STRING_CODEPAGEINFOUPDATE,
" Adding codepage information to registry..."},
" Adding codepage information..."},
{STRING_DONE,
" Done..."},
{STRING_REBOOTCOMPUTER2,

View File

@@ -2270,7 +2270,7 @@ MUI_STRING csCZStrings[] =
{STRING_KEYBOARDSETTINGSUPDATE,
" Aktualizuji nastaven\241 rozlo\247en\241 kl\240ves..."},
{STRING_CODEPAGEINFOUPDATE,
" P\375id\240v\240m do registru informaci o znakov\202 str\240nce..."},
" P\375id\240v\240m informaci o znakov\202 str\240nce..."},
{STRING_DONE,
" Hotovo..."},
{STRING_REBOOTCOMPUTER2,

View File

@@ -2272,7 +2272,7 @@ MUI_STRING daDKStrings[] =
{STRING_KEYBOARDSETTINGSUPDATE,
" Opdatere indstillinger for tastaturlauout..."},
{STRING_CODEPAGEINFOUPDATE,
" Tilf\233jrer tegntabelsinfomation til registrerinsdatabasen..."},
" Tilf\233jrer tegntabelsinfomation..."},
{STRING_DONE,
" Udf\233rt..."},
{STRING_REBOOTCOMPUTER2,

View File

@@ -2047,7 +2047,7 @@ MUI_ERROR elGRErrorEntries[] =
},
{
// ERROR_ADDING_CODEPAGE,
"Setup failed to add codepage to registry.\n"
"Setup failed to add codepage to the registry.\n"
"ENTER = \204\247\230\244\234\241\241\345\244\236\251\236 \254\247\246\242\246\232\240\251\253\343"
},
{
@@ -2285,7 +2285,7 @@ MUI_STRING elGRStrings[] =
{STRING_KEYBOARDSETTINGSUPDATE,
" \202\345\244\234\253\230\240 \230\244\230\244\342\340\251\236 \253\340\244 \250\254\237\243\345\251\234\340\244 \233\240\341\253\230\245\236\252 \247\242\236\241\253\250\246\242\246\232\345\246\254..."},
{STRING_CODEPAGEINFOUPDATE,
" Adding codepage information to registry..."},
" Adding codepage information..."},
{STRING_DONE,
" \216\242\246\241\242\236\250\351\237\236\241\234..."},
{STRING_REBOOTCOMPUTER2,

Some files were not shown because too many files have changed in this diff Show More