diff --git a/base/applications/regedit/regedit.c b/base/applications/regedit/regedit.c index 35fa13f037d..0e3cc27f669 100644 --- a/base/applications/regedit/regedit.c +++ b/base/applications/regedit/regedit.c @@ -37,9 +37,7 @@ static void output_writeconsole(const WCHAR *str, DWORD wlen) #ifdef __REACTOS__ /* This is win32gui application, don't ever try writing to console. * For the console version we have a separate reg.exe application. */ - WCHAR AppStr[255]; - LoadStringW(hInst, IDS_APP_TITLE, AppStr, ARRAY_SIZE(AppStr)); - MessageBoxW(NULL, str, AppStr, MB_OK | MB_ICONINFORMATION); + MessageBoxW(NULL, str, NULL, MB_ICONERROR); #else DWORD count; @@ -219,7 +217,11 @@ static void PerformRegAction(REGEDIT_ACTION action, WCHAR **argv, int *i) break; } default: +#ifdef __REACTOS__ + output_message(STRING_UNHANDLED_ACTION); +#else error_exit(STRING_UNHANDLED_ACTION); +#endif break; } } diff --git a/base/applications/regedit/regproc.c b/base/applications/regedit/regproc.c index 8311a477712..1ef1fc9e6c2 100644 --- a/base/applications/regedit/regproc.c +++ b/base/applications/regedit/regproc.c @@ -1105,11 +1105,23 @@ void delete_registry_key(WCHAR *reg_key_name) if (!(key_class = parse_key_name(reg_key_name, &key_name))) { if (key_name) *(key_name - 1) = 0; +#ifdef __REACTOS__ + output_message(STRING_INVALID_SYSTEM_KEY, reg_key_name); + return; +#else error_exit(STRING_INVALID_SYSTEM_KEY, reg_key_name); +#endif } if (!key_name || !*key_name) +#ifdef __REACTOS__ + { + output_message(STRING_DELETE_FAILED, reg_key_name); + return; + } +#else error_exit(STRING_DELETE_FAILED, reg_key_name); +#endif #ifdef __REACTOS__ SHDeleteKey(key_class, key_name); @@ -1191,7 +1203,8 @@ static size_t export_value_name(FILE *fp, WCHAR *name, size_t len, BOOL unicode) WCHAR *str = REGPROC_escape_string(name, len, &line_len); WCHAR *buf = malloc((line_len + 4) * sizeof(WCHAR)); #ifdef __REACTOS__ - line_len = swprintf(buf, L"\"%s\"=", str); + StringCchPrintfW(buf, line_len + 4, L"\"%s\"=", str); + line_len = wcslen(buf); #else line_len = swprintf(buf, line_len + 4, L"\"%s\"=", str); #endif @@ -1218,7 +1231,7 @@ static void export_string_data(WCHAR **buf, WCHAR *data, size_t size) str = REGPROC_escape_string(data, len, &line_len); *buf = malloc((line_len + 3) * sizeof(WCHAR)); #ifdef __REACTOS__ - swprintf(*buf, L"\"%s\"", str); + StringCchPrintfW(*buf, line_len + 3, L"\"%s\"", str); #else swprintf(*buf, line_len + 3, L"\"%s\"", str); #endif @@ -1229,7 +1242,7 @@ static void export_dword_data(WCHAR **buf, DWORD *data) { *buf = malloc(15 * sizeof(WCHAR)); #ifdef __REACTOS__ - swprintf(*buf, L"dword:%08x", *data); + StringCchPrintfW(*buf, 15, L"dword:%08x", *data); #else swprintf(*buf, 15, L"dword:%08x", *data); #endif @@ -1249,7 +1262,8 @@ static size_t export_hex_data_type(FILE *fp, DWORD type, BOOL unicode) { WCHAR *buf = malloc(15 * sizeof(WCHAR)); #ifdef __REACTOS__ - line_len = swprintf(buf, L"hex(%x):", type); + StringCchPrintfW(buf, 15, L"hex(%x):", type); + line_len = wcslen(buf); #else line_len = swprintf(buf, 15, L"hex(%x):", type); #endif @@ -1280,7 +1294,8 @@ static void export_hex_data(FILE *fp, WCHAR **buf, DWORD type, DWORD line_len, for (i = 0, pos = 0; i < size; i++) { #ifdef __REACTOS__ - pos += swprintf(*buf + pos, L"%02x", ((BYTE *)data)[i]); + StringCchPrintfW(*buf + pos, 3, L"%02x", ((BYTE *)data)[i]); + pos += wcslen(*buf + pos); #else pos += swprintf(*buf + pos, 3, L"%02x", ((BYTE *)data)[i]); #endif @@ -1346,7 +1361,7 @@ static WCHAR *build_subkey_path(WCHAR *path, DWORD path_len, WCHAR *subkey_name, subkey_path = malloc((path_len + subkey_len + 2) * sizeof(WCHAR)); #ifdef __REACTOS__ - swprintf(subkey_path, L"%s\\%s", path, subkey_name); + StringCchPrintfW(subkey_path, path_len + subkey_len + 2, L"%s\\%s", path, subkey_name); #else swprintf(subkey_path, path_len + subkey_len + 2, L"%s\\%s", path, subkey_name); #endif @@ -1360,7 +1375,7 @@ static void export_key_name(FILE *fp, WCHAR *name, BOOL unicode) buf = malloc((lstrlenW(name) + 7) * sizeof(WCHAR)); #ifdef __REACTOS__ - swprintf(buf, L"\r\n[%s]\r\n", name); + StringCchPrintfW(buf, lstrlenW(name) + 7, L"\r\n[%s]\r\n", name); #else swprintf(buf, lstrlenW(name) + 7, L"\r\n[%s]\r\n", name); #endif @@ -1457,7 +1472,12 @@ static FILE *REGPROC_open_export_file(WCHAR *file_name, BOOL unicode) if (!file) { _wperror(L"regedit"); +#ifdef __REACTOS__ + output_message(STRING_CANNOT_OPEN_FILE, file_name); + return NULL; +#else error_exit(STRING_CANNOT_OPEN_FILE, file_name); +#endif } } @@ -1503,6 +1523,10 @@ static BOOL export_key(WCHAR *file_name, WCHAR *path, BOOL unicode) return FALSE; fp = REGPROC_open_export_file(file_name, unicode); +#ifdef __REACTOS__ + if (!fp) + return TRUE; /* Error message is already displayed */ +#endif export_registry_data(fp, key, path, unicode); export_newline(fp, unicode); fclose(fp); @@ -1519,6 +1543,10 @@ static BOOL export_all(WCHAR *file_name, WCHAR *path, BOOL unicode) WCHAR *class_name; fp = REGPROC_open_export_file(file_name, unicode); +#ifdef __REACTOS__ + if (!fp) + return TRUE; /* Error message is already displayed */ +#endif for (i = 0; i < ARRAY_SIZE(classes); i++) { diff --git a/base/setup/lib/utils/partlist.c b/base/setup/lib/utils/partlist.c index 8a4e660e23d..725d4e1d319 100644 --- a/base/setup/lib/utils/partlist.c +++ b/base/setup/lib/utils/partlist.c @@ -2782,16 +2782,92 @@ GetNextUnpartitionedEntry( return NULL; } +ERROR_NUMBER +PartitionCreationChecks( + _In_ PPARTENTRY PartEntry) +{ + PDISKENTRY DiskEntry = PartEntry->DiskEntry; + + if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT) + { + DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n"); + return ERROR_WARN_PARTITION; + } + + /* Fail if the partition is already in use */ + if (PartEntry->IsPartitioned) + return ERROR_NEW_PARTITION; + + /* + * For primary partitions + */ + if (!PartEntry->LogicalPartition) + { + /* Only one primary partition is allowed on super-floppy */ + if (IsSuperFloppy(DiskEntry)) + return ERROR_PARTITION_TABLE_FULL; + + /* Fail if there are already 4 primary partitions in the list */ + if (GetPrimaryPartitionCount(DiskEntry) >= 4) + return ERROR_PARTITION_TABLE_FULL; + } + /* + * For logical partitions + */ + else + { + // TODO: Check that we are inside an extended partition!! + // Then the following check will be useless. + + /* Only one (primary) partition is allowed on super-floppy */ + if (IsSuperFloppy(DiskEntry)) + return ERROR_PARTITION_TABLE_FULL; + } + + return ERROR_SUCCESS; +} + +ERROR_NUMBER +ExtendedPartitionCreationChecks( + _In_ PPARTENTRY PartEntry) +{ + PDISKENTRY DiskEntry = PartEntry->DiskEntry; + + if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT) + { + DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n"); + return ERROR_WARN_PARTITION; + } + + /* Fail if the partition is already in use */ + if (PartEntry->IsPartitioned) + return ERROR_NEW_PARTITION; + + /* Only one primary partition is allowed on super-floppy */ + if (IsSuperFloppy(DiskEntry)) + return ERROR_PARTITION_TABLE_FULL; + + /* Fail if there are already 4 primary partitions in the list */ + if (GetPrimaryPartitionCount(DiskEntry) >= 4) + return ERROR_PARTITION_TABLE_FULL; + + /* Fail if there is another extended partition in the list */ + if (DiskEntry->ExtendedPartition != NULL) + return ERROR_ONLY_ONE_EXTENDED; + + return ERROR_SUCCESS; +} + BOOLEAN -CreatePrimaryPartition( - IN PPARTLIST List, - IN OUT PPARTENTRY PartEntry, - IN ULONGLONG SectorCount, - IN BOOLEAN AutoCreate) +CreatePartition( + _In_ PPARTLIST List, + _Inout_ PPARTENTRY PartEntry, + _In_ ULONGLONG SectorCount, + _In_ BOOLEAN AutoCreate) { ERROR_NUMBER Error; - DPRINT1("CreatePrimaryPartition(%I64u)\n", SectorCount); + DPRINT1("CreatePartition(%I64u)\n", SectorCount); if (List == NULL || PartEntry == NULL || PartEntry->DiskEntry == NULL || PartEntry->IsPartitioned) @@ -2799,10 +2875,10 @@ CreatePrimaryPartition( return FALSE; } - Error = PrimaryPartitionCreationChecks(PartEntry); + Error = PartitionCreationChecks(PartEntry); if (Error != NOT_AN_ERROR) { - DPRINT1("PrimaryPartitionCreationChecks() failed with error %lu\n", Error); + DPRINT1("PartitionCreationChecks() failed with error %lu\n", Error); return FALSE; } @@ -2810,8 +2886,6 @@ CreatePrimaryPartition( if (!InitializePartitionEntry(PartEntry, SectorCount, AutoCreate)) return FALSE; - ASSERT(PartEntry->LogicalPartition == FALSE); - UpdateDiskLayout(PartEntry->DiskEntry); AssignDriveLetters(List); @@ -2821,7 +2895,7 @@ CreatePrimaryPartition( static VOID AddLogicalDiskSpace( - IN PDISKENTRY DiskEntry) + _In_ PDISKENTRY DiskEntry) { ULONGLONG StartSector; ULONGLONG SectorCount; @@ -2848,9 +2922,9 @@ AddLogicalDiskSpace( BOOLEAN CreateExtendedPartition( - IN PPARTLIST List, - IN OUT PPARTENTRY PartEntry, - IN ULONGLONG SectorCount) + _In_ PPARTLIST List, + _Inout_ PPARTENTRY PartEntry, + _In_ ULONGLONG SectorCount) { ERROR_NUMBER Error; @@ -2900,42 +2974,6 @@ CreateExtendedPartition( return TRUE; } -BOOLEAN -CreateLogicalPartition( - IN PPARTLIST List, - IN OUT PPARTENTRY PartEntry, - IN ULONGLONG SectorCount, - IN BOOLEAN AutoCreate) -{ - ERROR_NUMBER Error; - - DPRINT1("CreateLogicalPartition(%I64u)\n", SectorCount); - - if (List == NULL || PartEntry == NULL || - PartEntry->DiskEntry == NULL || PartEntry->IsPartitioned) - { - return FALSE; - } - - Error = LogicalPartitionCreationChecks(PartEntry); - if (Error != NOT_AN_ERROR) - { - DPRINT1("LogicalPartitionCreationChecks() failed with error %lu\n", Error); - return FALSE; - } - - /* Initialize the partition entry, inserting a new blank region if needed */ - if (!InitializePartitionEntry(PartEntry, SectorCount, AutoCreate)) - return FALSE; - - ASSERT(PartEntry->LogicalPartition == TRUE); - - UpdateDiskLayout(PartEntry->DiskEntry); - AssignDriveLetters(List); - - return TRUE; -} - NTSTATUS DismountVolume( IN PPARTENTRY PartEntry) @@ -3950,87 +3988,6 @@ SetMBRPartitionType( DiskEntry->LayoutBuffer->PartitionEntry[PartEntry->PartitionIndex].RewritePartition = TRUE; } -ERROR_NUMBER -PrimaryPartitionCreationChecks( - IN PPARTENTRY PartEntry) -{ - PDISKENTRY DiskEntry = PartEntry->DiskEntry; - - if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT) - { - DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n"); - return ERROR_WARN_PARTITION; - } - - /* Fail if the partition is already in use */ - if (PartEntry->IsPartitioned) - return ERROR_NEW_PARTITION; - - /* Only one primary partition is allowed on super-floppy */ - if (IsSuperFloppy(DiskEntry)) - return ERROR_PARTITION_TABLE_FULL; - - /* Fail if there are already 4 primary partitions in the list */ - if (GetPrimaryPartitionCount(DiskEntry) >= 4) - return ERROR_PARTITION_TABLE_FULL; - - return ERROR_SUCCESS; -} - -ERROR_NUMBER -ExtendedPartitionCreationChecks( - IN PPARTENTRY PartEntry) -{ - PDISKENTRY DiskEntry = PartEntry->DiskEntry; - - if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT) - { - DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n"); - return ERROR_WARN_PARTITION; - } - - /* Fail if the partition is already in use */ - if (PartEntry->IsPartitioned) - return ERROR_NEW_PARTITION; - - /* Only one primary partition is allowed on super-floppy */ - if (IsSuperFloppy(DiskEntry)) - return ERROR_PARTITION_TABLE_FULL; - - /* Fail if there are already 4 primary partitions in the list */ - if (GetPrimaryPartitionCount(DiskEntry) >= 4) - return ERROR_PARTITION_TABLE_FULL; - - /* Fail if there is another extended partition in the list */ - if (DiskEntry->ExtendedPartition != NULL) - return ERROR_ONLY_ONE_EXTENDED; - - return ERROR_SUCCESS; -} - -ERROR_NUMBER -LogicalPartitionCreationChecks( - IN PPARTENTRY PartEntry) -{ - PDISKENTRY DiskEntry = PartEntry->DiskEntry; - - if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT) - { - DPRINT1("GPT-partitioned disk detected, not currently supported by SETUP!\n"); - return ERROR_WARN_PARTITION; - } - - /* Fail if the partition is already in use */ - if (PartEntry->IsPartitioned) - return ERROR_NEW_PARTITION; - - /* Only one primary partition is allowed on super-floppy */ - if (IsSuperFloppy(DiskEntry)) - return ERROR_PARTITION_TABLE_FULL; - - return ERROR_SUCCESS; -} - BOOLEAN GetNextUnformattedPartition( IN PPARTLIST List, diff --git a/base/setup/lib/utils/partlist.h b/base/setup/lib/utils/partlist.h index 8a41c6af79d..ddce280d677 100644 --- a/base/setup/lib/utils/partlist.h +++ b/base/setup/lib/utils/partlist.h @@ -294,25 +294,26 @@ GetPrevPartition( IN PPARTLIST List, IN PPARTENTRY CurrentPart OPTIONAL); -BOOLEAN -CreatePrimaryPartition( - IN PPARTLIST List, - IN OUT PPARTENTRY PartEntry, - IN ULONGLONG SectorCount, - IN BOOLEAN AutoCreate); +ERROR_NUMBER +PartitionCreationChecks( + _In_ PPARTENTRY PartEntry); + +ERROR_NUMBER +ExtendedPartitionCreationChecks( + _In_ PPARTENTRY PartEntry); BOOLEAN -CreateExtendedPartition( - IN PPARTLIST List, - IN OUT PPARTENTRY PartEntry, - IN ULONGLONG SectorCount); +CreatePartition( + _In_ PPARTLIST List, + _Inout_ PPARTENTRY PartEntry, + _In_ ULONGLONG SectorCount, + _In_ BOOLEAN AutoCreate); BOOLEAN -CreateLogicalPartition( - IN PPARTLIST List, - IN OUT PPARTENTRY PartEntry, - IN ULONGLONG SectorCount, - IN BOOLEAN AutoCreate); +CreateExtendedPartition( + _In_ PPARTLIST List, + _Inout_ PPARTENTRY PartEntry, + _In_ ULONGLONG SectorCount); NTSTATUS DismountVolume( @@ -360,18 +361,6 @@ SetMBRPartitionType( IN PPARTENTRY PartEntry, IN UCHAR PartitionType); -ERROR_NUMBER -PrimaryPartitionCreationChecks( - IN PPARTENTRY PartEntry); - -ERROR_NUMBER -ExtendedPartitionCreationChecks( - IN PPARTENTRY PartEntry); - -ERROR_NUMBER -LogicalPartitionCreationChecks( - IN PPARTENTRY PartEntry); - BOOLEAN GetNextUnformattedPartition( IN PPARTLIST List, diff --git a/base/setup/usetup/format.c b/base/setup/usetup/format.c index cc0603ed07b..21d4d1f87d5 100644 --- a/base/setup/usetup/format.c +++ b/base/setup/usetup/format.c @@ -103,7 +103,7 @@ DoFormat( 10, 24, TRUE, - MUIGetString(STRING_FORMATTINGDISK)); + MUIGetString(STRING_FORMATTINGPART)); ProgressSetStepCount(FormatProgressBar, 100); diff --git a/base/setup/usetup/lang/bg-BG.h b/base/setup/usetup/lang/bg-BG.h index d96c03a07d3..38d38c1abb5 100644 --- a/base/setup/usetup/lang/bg-BG.h +++ b/base/setup/usetup/lang/bg-BG.h @@ -1273,7 +1273,7 @@ static MUI_ENTRY bgBGFormatPartitionEntries[] = }, { 6, - 10, + 16, "\204\357\253\352\342 \351\245 \241\352\244\245 \344\256\340\254\240\342\250\340\240\255. \215\240\342\250\341\255\245\342\245 ENTER \247\240 \244\240 \257\340\256\244\352\253\246\250\342\245.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2253,16 +2253,18 @@ MUI_STRING bgBGStrings[] = " D = \210\247\342\340\250\251 \244\357\253 F3 = \210\247\345\256\244"}, {STRING_PARTITIONSIZE, "\220\240\247\254\245\340 \255\240 \255\256\242\250\357 \244\357\253:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "\210\247\241\340\240\253\250 \341\342\245 \244\240 \341\352\247\244\240\244\245\342\245 \255\256\242 \257\352\340\342\250\350\245\255 \244\357\253 \255\240"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "\210\247\241\340\240\253\250 \341\342\245 \244\240 \341\352\247\244\240\244\245\342\245 \340\240\247\350\250\340\250\342\245\253\245\255 \244\357\253 \255\240"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "\210\247\241\340\240\253\250 \341\342\245 \244\240 \341\352\247\244\240\244\245\342\245 \253\256\243\250\347\245\341\252\250 \244\357\253 \255\240"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "\202\352\242\245\244\245\342\245 \340\240\247\254\245\340\240 \255\240 \255\256\242\250\357 \244\357\253 (\242 \254\245\243\240\241\240\251\342\250)."}, {STRING_CREATEPARTITION, " ENTER = \221\352\247\244\240\242\240\255\245 \255\240 \244\357\253 ESC = \216\342\252\240\247 F3 = \210\247\345\256\244"}, + {STRING_NEWPARTITION, + "\201\245 \341\352\247\244\240\244\245\255 \255\256\242 \244\357\253 \255\240"}, {STRING_PARTFORMAT, "\217\340\245\244\341\342\256\250 \344\256\340\254\240\342\250\340\240\255\245 \255\240 \244\357\253\240."}, {STRING_NONFORMATTEDPART, @@ -2313,30 +2315,28 @@ MUI_STRING bgBGStrings[] = "\222\256\242\240 \341\245 \341\253\343\347\242\240 \255\240\251- \347\245\341\342\256 \257\340\250 \343\257\256\342\340\245\241\240 \255\240 USB \252\253\240\242\250\240\342\343\340\240\r\n"}, {STRING_CONSOLEFAIL3, "\217\256\244\244\340\352\246\252\240\342\240 \255\240 USB \245 \242\341\245 \256\351\245 \255\245\257\352\253\255\240\r\n"}, - {STRING_FORMATTINGDISK, - "\224\256\340\254\240\342\250\340\240\255\245 \255\240 \244\250\341\252\240"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "\217\340\256\242\245\340\252\240 \255\240 \244\250\341\252\240"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " \224\256\340\254\240\342\250\340\240\255\245 \255\240 \244\357\253\240 \252\240\342\256 %S \344\240\251\253\256\242\240 \341\250\341\342\245\254\240 (\241\352\340\247\256 \344\256\340\254\240\342\250\340\240\255\245) "}, {STRING_FORMATDISK2, " \224\256\340\254\240\342\250\340\240\255\245 \255\240 \244\357\253\240 \252\240\342\256 %S \344\240\251\253\256\242\240 \341\250\341\342\245\254\240 "}, {STRING_KEEPFORMAT, " \207\240\257\240\247\242\240\255\245 \255\240 \344\240\251\253\256\242\240\342\240 \341\250\341\342\245\254\240 (\241\245\247 \257\340\256\254\245\255\250) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "\255\240: %s."}, {STRING_PARTTYPE, "\242\250\244 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "\342\242\352\340\244 \244\250\341\252 %lu (%I64u %s), \210\247\242\256\244=%hu, \230\250\255\240=%hu, \216\223=%hu (%wZ) [%s]" "%I64u %s \342\242\352\340\244 \244\250\341\252 %lu (\210\247\242\256\244=%hu, \230\250\255\240=%hu, \216\223=%hu) \255\240 %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "\342\242\352\340\244 \244\250\341\252 %lu (%I64u %s), \210\247\242\256\244=%hu, \230\250\255\240=%hu, \216\223=%hu [%s]" "%I64u %s \342\242\352\340\244 \244\250\341\252 %lu (\210\247\242\256\244=%hu, \230\250\255\240=%hu, \216\223=%hu) [%s]"}, - {STRING_NEWPARTITION, - "\201\245 \341\352\247\244\240\244\245\255 \255\256\242 \244\357\253 \255\240"}, {STRING_UNPSPACE, "\215\245\247\240\244\245\253\245\255\256 \257\340\256\341\342\340\240\255\341\342\242\256"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/bn-BD.h b/base/setup/usetup/lang/bn-BD.h index 3e585fe281c..effd8ba9ace 100644 --- a/base/setup/usetup/lang/bn-BD.h +++ b/base/setup/usetup/lang/bn-BD.h @@ -1256,7 +1256,7 @@ static MUI_ENTRY bnBDFormatPartitionEntries[] = }, { 6, - 10, + 16, "Setup will now format the partition. Press ENTER to continue.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2227,16 +2227,18 @@ MUI_STRING bnBDStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Size of new partition:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Please enter the size of the new partition in megabytes."}, {STRING_CREATEPARTITION, " ENTER = Create Partition ESC = Cancel F3 = Quit"}, + {STRING_NEWPARTITION, + "Setup created a new partition on"}, {STRING_PARTFORMAT, "This Partition will be formatted next."}, {STRING_NONFORMATTEDPART, @@ -2287,30 +2289,28 @@ MUI_STRING bnBDStrings[] = "The most common cause of this is using an USB keyboard\r\n"}, {STRING_CONSOLEFAIL3, "USB keyboards are not fully supported yet\r\n"}, - {STRING_FORMATTINGDISK, - "Setup is formatting your disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Setup is checking your disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Format partition as %S file system (quick format) "}, {STRING_FORMATDISK2, " Format partition as %S file system "}, {STRING_KEEPFORMAT, " Keep current file system (no changes) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup created a new partition on"}, {STRING_UNPSPACE, "Unpartitioned space"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/cs-CZ.h b/base/setup/usetup/lang/cs-CZ.h index 17a5324ac58..9efef9e807b 100644 --- a/base/setup/usetup/lang/cs-CZ.h +++ b/base/setup/usetup/lang/cs-CZ.h @@ -1264,7 +1264,7 @@ static MUI_ENTRY csCZFormatPartitionEntries[] = }, { 6, - 10, + 16, "Tento odd\241l bude nyn\241 zform\240tov\240n. Stisknut\241m kl\240vesy ENTER za\237nete.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2235,16 +2235,18 @@ MUI_STRING csCZStrings[] = " D = Odstranit odd\241l F3 = Ukon\237it"}, {STRING_PARTITIONSIZE, "Velikost nov\202ho odd\241lu:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Zvolili jste vytvo\375en\241 nov\202ho prim\240rn\241ho odd\241lu na"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Zvolili jste vytvo\375en\241 nov\202ho roz\347\241\375en\202ho odd\241lu na"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Zvolili jste vytvo\375en\241 nov\202ho logick\202ho odd\241lu na"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Zadejte velikost nov\202ho odd\241lu v megabajtech."}, {STRING_CREATEPARTITION, " ENTER = Vytvo\375it odd\241l ESC = Zru\347it F3 = Ukon\237it"}, + {STRING_NEWPARTITION, + "Instalace vytvo\375ila nov\354 odd\241l na"}, {STRING_PARTFORMAT, "Tento odd\241l bude zform\240tov\240n."}, {STRING_NONFORMATTEDPART, @@ -2295,30 +2297,28 @@ MUI_STRING csCZStrings[] = "Nejb\330\247n\330j\347\241 p\375\241\237inou je pou\247\241v\240n\241 USB kl\240vesnice\r\n"}, {STRING_CONSOLEFAIL3, "USB kl\240vesnice zat\241m nejsou pln\330 podporov\240ny\r\n"}, - {STRING_FORMATTINGDISK, - "Instalace form\240tuje disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Instalace kontroluje disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Zform\240tovat odd\241l na souborov\354 syst\202m %S (rychle) "}, {STRING_FORMATDISK2, " Zform\240tovat odd\241l na souborov\354 syst\202m %S "}, {STRING_KEEPFORMAT, " Ponechat sou\237asn\354 souborov\354 syst\202m (bez zm\330ny) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "na: %s."}, {STRING_PARTTYPE, "Typ 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) na %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Instalace vytvo\375ila nov\354 odd\241l na"}, {STRING_UNPSPACE, "M\241sto bez odd\241l\205"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/da-DK.h b/base/setup/usetup/lang/da-DK.h index 30327f5354a..50c5f878333 100644 --- a/base/setup/usetup/lang/da-DK.h +++ b/base/setup/usetup/lang/da-DK.h @@ -1258,7 +1258,7 @@ static MUI_ENTRY daDKFormatPartitionEntries[] = }, { 6, - 10, + 16, "Installationen vil nu formatere partitionen. Tryk p\206 ENTER for at forts\221tte.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2237,16 +2237,18 @@ MUI_STRING daDKStrings[] = " D = Slet partition F3 = Afslut"}, {STRING_PARTITIONSIZE, "St\233rrelse p\206 den nye partition:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Du har valge at lave en ny prim\221r partition p\206"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Du har valgt at lave en ny udviddet partition p\206"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Du har valge at lave en ny logisk partition p\206"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Indtast st\233rrelsen p\206 den nye partition i megabytes."}, {STRING_CREATEPARTITION, " ENTER = Lav partition ESC = Annuller F3 = Afslut"}, + {STRING_NEWPARTITION, + "Installationen har lavet en ny partition p\206"}, {STRING_PARTFORMAT, "Denne partition vil blive formateret som det n\221ste."}, {STRING_NONFORMATTEDPART, @@ -2297,30 +2299,28 @@ MUI_STRING daDKStrings[] = "Dette skykdes ofte at du bruger et USB-tastatur\r\n"}, {STRING_CONSOLEFAIL3, "USB-tastatuere er endnu ikke fuldt underst\233ttet\r\n"}, - {STRING_FORMATTINGDISK, - "Installationen formatere din disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Installationen tjekker din disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formater partitionen som %S-filesystemet (hurtigformatering) "}, {STRING_FORMATDISK2, " Formater partitionen som %S-filesystemet "}, {STRING_KEEPFORMAT, " Behold nuv\221rende filsystem (ingen \221ndringer) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "p\206 %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) p\206 %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Installationen har lavet en ny partition p\206"}, {STRING_UNPSPACE, "Upartitioneret plads"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/de-DE.h b/base/setup/usetup/lang/de-DE.h index 35ca0c0bcfc..b2848e1432c 100644 --- a/base/setup/usetup/lang/de-DE.h +++ b/base/setup/usetup/lang/de-DE.h @@ -1251,7 +1251,7 @@ static MUI_ENTRY deDEFormatPartitionEntries[] = }, { 6, - 10, + 16, "Die gew\201nschte Partition wird nun formatiert.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2239,16 +2239,18 @@ MUI_STRING deDEStrings[] = " D = Partition l\224schen F3 = Installation abbrechen"}, {STRING_PARTITIONSIZE, "Gr\224\341e der neuen Partition:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Eine prim\204re Partition soll hier erstellt werden:"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Eine erweiterte Partition soll hier erstellt werden:"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Ein logisches Laufwerk soll hier erstellt werden:"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Bitte geben Sie die Gr\224\341e der neuen Partition in Megabyte ein."}, {STRING_CREATEPARTITION, " ENTER = Partition erstellen ESC = Abbrechen F3 = Installation abbrechen"}, + {STRING_NEWPARTITION, + "Setup erstellte eine neue Partition auf"}, {STRING_PARTFORMAT, "Diese Partition wird als n\204chstes formatiert."}, {STRING_NONFORMATTEDPART, @@ -2299,30 +2301,28 @@ MUI_STRING deDEStrings[] = "Der h\204ufigste Grund hierf\201r ist die Verwendung einer USB-Tastatur\r\n"}, {STRING_CONSOLEFAIL3, "USB-Tastaturen werden noch nicht vollst\204ndig unterst\201tzt\r\n"}, - {STRING_FORMATTINGDISK, - "Ihre Festplatte wird formatiert"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Ihre Festplatte wird \201berpr\201ft"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Partition mit dem %S-Dateisystem formatieren (Schnell) "}, {STRING_FORMATDISK2, " Partition mit dem %S-Dateisystem formatieren "}, {STRING_KEEPFORMAT, " Dateisystem beibehalten (Keine Ver\204nderungen) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "auf %s."}, {STRING_PARTTYPE, "Typ 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Festplatte %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Festplatte %lu (Port=%hu, Bus=%hu, Id=%hu) auf %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Festplatte %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Festplatte %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup erstellte eine neue Partition auf"}, {STRING_UNPSPACE, "Unpartitionierter Speicher"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/el-GR.h b/base/setup/usetup/lang/el-GR.h index 9203439c329..441de7d675a 100644 --- a/base/setup/usetup/lang/el-GR.h +++ b/base/setup/usetup/lang/el-GR.h @@ -1273,7 +1273,7 @@ static MUI_ENTRY elGRFormatPartitionEntries[] = }, { 6, - 10, + 16, "\206 \234\232\241\230\253\341\251\253\230\251\236 \253\351\250\230 \237\230 \233\240\230\243\246\250\255\351\251\234\240 \253\246 \233\240\230\243\342\250\240\251\243\230 \217\230\253\343\251\253\234 ENTER \232\240\230 \244\230 \251\254\244\234\256\345\251\234\253\234.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2251,17 +2251,19 @@ MUI_STRING elGRStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "\213\342\232\234\237\246\252 \253\246\254 \244\342\246\254 partition:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, // "„§ ¢â¥˜«œ ¤˜ ›ž£ ¦¬¨šã©œ«œ ⤘ ¤â¦ partition on"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "\217\230\250\230\241\230\242\351 \233\351\251\253\234 \253\246 \243\342\232\234\237\246\252 \253\246\254 partition \251\234 megabytes."}, {STRING_CREATEPARTITION, " ENTER = \203\236\243\240\246\254\250\232\345\230 Partition ESC = \200\241\347\250\340\251\236 F3 = \200\247\246\256\351\250\236\251\236"}, + {STRING_NEWPARTITION, + "\206 \234\232\241\230\253\341\251\253\230\251\236 \233\236\243\240\246\347\250\232\236\251\234 \342\244\230 \244\342\246 partition \251\253\246"}, {STRING_PARTFORMAT, "\200\254\253\346 \253\246 Partition \237\230 \233\240\230\243\246\250\255\340\237\234\345 \243\234\253\341."}, {STRING_NONFORMATTEDPART, @@ -2312,30 +2314,28 @@ MUI_STRING elGRStrings[] = "The most common cause of this is using an USB keyboard\r\n"}, {STRING_CONSOLEFAIL3, "\222\230 USB \247\242\236\241\253\250\246\242\346\232\240\230 \233\234\244 \234\345\244\230\240 \247\242\343\250\340\252 \254\247\246\251\253\236\250\240\235\346\243\234\244\230 \230\241\346\243\230\r\n"}, - {STRING_FORMATTINGDISK, - "\206 \234\232\241\230\253\341\251\253\230\251\236 \233\240\230\243\246\250\255\351\244\234\240 \253\246 \233\345\251\241\246 \251\230\252"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "\206 \234\232\241\230\253\341\251\253\230\251\236 \234\242\342\232\256\234\240 \253\246 \233\345\251\241\246 \251\230\252"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " \203\240\230\243\346\250\255\340\251\236 \253\246\254 partition \340\252 %S \251\347\251\253\236\243\230 \230\250\256\234\345\340\244 (\232\250\343\232\246\250\236 \233\240\230\243\346\250\255\340\251\236) "}, {STRING_FORMATDISK2, " \203\240\230\243\346\250\255\340\251\236 \253\246\254 partition \340\252 %S \251\347\251\253\236\243\230 \230\250\256\234\345\340\244 "}, {STRING_KEEPFORMAT, " \214\230 \247\230\250\230\243\234\345\244\234\240 \253\246 \251\347\251\253\236\243\230 \230\250\256\234\345\340\244 \340\252 \342\256\234\240 (\241\230\243\345\230 \230\242\242\230\232\343) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "\251\253\246: %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "\221\241\242\236\250\346\252 \233\345\251\241\246\252 %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s \221\241\242\236\250\346\252 \233\345\251\241\246\252 %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "\221\241\242\236\250\346\252 \233\345\251\241\246\252 %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s \221\241\242\236\250\346\252 \233\345\251\241\246\252 %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "\206 \234\232\241\230\253\341\251\253\230\251\236 \233\236\243\240\246\347\250\232\236\251\234 \342\244\230 \244\342\246 partition \251\253\246"}, {STRING_UNPSPACE, "Unpartitioned space"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/en-US.h b/base/setup/usetup/lang/en-US.h index 19e1db03cde..d86f11c7e47 100644 --- a/base/setup/usetup/lang/en-US.h +++ b/base/setup/usetup/lang/en-US.h @@ -1256,7 +1256,7 @@ static MUI_ENTRY enUSFormatPartitionEntries[] = }, { 6, - 10, + 16, "Setup will now format the partition. Press ENTER to continue.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2227,16 +2227,18 @@ MUI_STRING enUSStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Size of new partition:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Please enter the size of the new partition in megabytes."}, {STRING_CREATEPARTITION, " ENTER = Create Partition ESC = Cancel F3 = Quit"}, + {STRING_NEWPARTITION, + "Setup created a new partition on"}, {STRING_PARTFORMAT, "This Partition will be formatted next."}, {STRING_NONFORMATTEDPART, @@ -2287,30 +2289,28 @@ MUI_STRING enUSStrings[] = "The most common cause of this is using an USB keyboard\r\n"}, {STRING_CONSOLEFAIL3, "USB keyboards are not fully supported yet\r\n"}, - {STRING_FORMATTINGDISK, - "Setup is formatting your disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Setup is checking your disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Format partition as %S file system (quick format) "}, {STRING_FORMATDISK2, " Format partition as %S file system "}, {STRING_KEEPFORMAT, " Keep current file system (no changes) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup created a new partition on"}, {STRING_UNPSPACE, "Unpartitioned space"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/es-ES.h b/base/setup/usetup/lang/es-ES.h index 204ad464489..9f094c5dec3 100644 --- a/base/setup/usetup/lang/es-ES.h +++ b/base/setup/usetup/lang/es-ES.h @@ -1262,7 +1262,7 @@ static MUI_ENTRY esESFormatPartitionEntries[] = }, { 6, - 10, + 16, "El instalador formatear\240 la partici\242n. Pulse INTRO para continuar.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2240,16 +2240,18 @@ MUI_STRING esESStrings[] = " INTRO = Instalar D = Eliminar partici\242n F3 = Salir"}, {STRING_PARTITIONSIZE, "Tama\244o de la nueva Partici\242n:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Ha elegido crear una nueva Partici\242n Primaria en"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Ha elegido crear una nueva Partici\242n Extendida en"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Ha elegido crear una nueva Partici\242n L\242gica en"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Escriba el tama\244o de la nueva Partici\242n en megabytes."}, {STRING_CREATEPARTITION, " INTRO = Crear Partici\242n ESC = Cancelar F3 = Salir"}, + {STRING_NEWPARTITION, + "El instalador ha creado una nueva Partici\242n en"}, {STRING_PARTFORMAT, "A continuaci\242n se formatear\240 esta partici\242n."}, {STRING_NONFORMATTEDPART, @@ -2300,30 +2302,28 @@ MUI_STRING esESStrings[] = "La causa m\240s com\243n es la utilizaci\242n de un teclado USB\r\n"}, {STRING_CONSOLEFAIL3, "Todav\241a no hay soporte del todo para los teclados USB\r\n"}, - {STRING_FORMATTINGDISK, - "El instalador est\240 formateando el disco"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "El instalador est\240 verificando el disco"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatear la partici\242n con sistema de archivos %S (formato r\240pido) "}, {STRING_FORMATDISK2, " Formatear la partici\242n con sistema de archivos %S "}, {STRING_KEEPFORMAT, " Mantener el sistema de archivos actual (sin cambios) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "en %s."}, {STRING_PARTTYPE, "Tipo 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Disco duro %lu (%I64u %s), Puerto=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Disco duro %lu (Puerto=%hu, Bus=%hu, Id=%hu) en %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Disco duro %lu (%I64u %s), Puerto=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Disco duro %lu (Puerto=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "El instalador ha creado una nueva Partici\242n en"}, {STRING_UNPSPACE, "Espacio sin particionar"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/et-EE.h b/base/setup/usetup/lang/et-EE.h index 7065d26e7ca..9bebb9dea8c 100644 --- a/base/setup/usetup/lang/et-EE.h +++ b/base/setup/usetup/lang/et-EE.h @@ -1259,7 +1259,7 @@ static MUI_ENTRY etEEFormatPartitionEntries[] = }, { 6, - 10, + 16, "N\201\201d vormindatakse partitsioon. Vajuta ENTER j\204tkamiseks.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2228,17 +2228,19 @@ MUI_STRING etEEStrings[] = " D = Kustuta partitsioon F3 = V\204lju"}, {STRING_PARTITIONSIZE, "Uue partitsiooni suurus:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, // "Oled valinud kettale uue partitsiooni loomise"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Sisesta uue partitsiooni suurus megabaitides."}, {STRING_CREATEPARTITION, " ENTER = Loo partitsioon ESC = Katkesta F3 = V\204lju"}, + {STRING_NEWPARTITION, + "Loodi uus partitsioon"}, {STRING_PARTFORMAT, "J\204rgmisena vormindatakse seda partitsiooni."}, {STRING_NONFORMATTEDPART, @@ -2289,30 +2291,28 @@ MUI_STRING etEEStrings[] = "T\344en\204oliselt on probleem USB klaviatuuri kasutamises\r\n"}, {STRING_CONSOLEFAIL3, "USB klaviatuurid ei ole veel toetatud\r\n"}, - {STRING_FORMATTINGDISK, - "K\344vaketta vormindamine"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "K\344vaketta kontrollimine"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Vorminda partitsioon %S failis\201steemiga (kiire vormindus) "}, {STRING_FORMATDISK2, " Vorminda partitsioon %S failis\201steemiga "}, {STRING_KEEPFORMAT, " \216ra muuda praegust failis\201steemi "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "%s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "K\344vaketas %lu (%I64u %s), Port=%hu, Siin=%hu, Id=%hu (%wZ) [%s]" "%I64u %s K\344vaketas %lu (Port=%hu, Siin=%hu, Id=%hu) - %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "K\344vaketas %lu (%I64u %s), Port=%hu, Siin=%hu, Id=%hu [%s]" "%I64u %s K\344vaketas %lu (Port=%hu, Siin=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Loodi uus partitsioon"}, {STRING_UNPSPACE, "Kasutamata kettaruum"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/eu-ES.h b/base/setup/usetup/lang/eu-ES.h index ea31b831376..c251e05b604 100644 --- a/base/setup/usetup/lang/eu-ES.h +++ b/base/setup/usetup/lang/eu-ES.h @@ -1257,7 +1257,7 @@ static MUI_ENTRY euESFormatPartitionEntries[] = }, { 6, - 10, + 16, "Orain instalazioa formatuko du partizioa. Sakatu SARTU jarraitzeko.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2235,16 +2235,18 @@ MUI_STRING euESStrings[] = " D = Ezabatu Partitioa F3 = Irten"}, {STRING_PARTITIONSIZE, "Partizio berriaren tamainu:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Zu aukeratu duzu partizio nagusia sortu barruan"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Zu aukeratu duzu partizio luzatuta sortu barruan"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Zu aukeratu duzu partizio logika sortu barruan"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Mezedez osatu tamainua megabytes-en."}, {STRING_CREATEPARTITION, " SARTU = Sortu Partizioa ESC = Utzi F3 = Irten"}, + {STRING_NEWPARTITION, + "Instalazioa sortu du partizio berria barruan"}, {STRING_PARTFORMAT, "Partizio hau izango da formatuta gero."}, {STRING_NONFORMATTEDPART, @@ -2295,30 +2297,28 @@ MUI_STRING euESStrings[] = "Kausa arruntak da USB teklatua erabili\r\n"}, {STRING_CONSOLEFAIL3, "USB teklatua ez dago oraindik osoan euskarri\r\n"}, - {STRING_FORMATTINGDISK, - "Instalazioa zure disko formateatzen ari da"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Instalazioa zure disko ikusten ari da"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatu partizioa %S sistemaren fitxategia (format azkar) "}, {STRING_FORMATDISK2, " Formatu partizioa %S sistemaren fitxategia "}, {STRING_KEEPFORMAT, " Mantendu sistemaren fitxategia (aldaketarik ez) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "%s."}, {STRING_PARTTYPE, "Mota 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Disko gogor %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Disko gogor %lu (Port=%hu, Bus=%hu, Id=%hu) %wZn [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Disko gogor %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Disko gogor %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Instalazioa sortu du partizio berria barruan"}, {STRING_UNPSPACE, "Ezpartizionatu espazio"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/fr-FR.h b/base/setup/usetup/lang/fr-FR.h index bddeaae1269..1e313f9f16e 100644 --- a/base/setup/usetup/lang/fr-FR.h +++ b/base/setup/usetup/lang/fr-FR.h @@ -1293,7 +1293,7 @@ static MUI_ENTRY frFRFormatPartitionEntries[] = }, { 6, - 10, + 16, "Setup va formater la partition. Appuyer sur ENTR\220E pour continuer.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2264,16 +2264,18 @@ MUI_STRING frFRStrings[] = " D = Supprimer partition F3 = Quitter"}, {STRING_PARTITIONSIZE, "Taille de la nouvelle partition :"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Vous avez choisi de cr\202er une partition primaire sur"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Vous avez choisi de cr\202er une partition \202tendue sur"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Vous avez choisi de cr\202er une partition logique sur"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Veuillez entrer la taille de la nouvelle partition en m\202gaoctets."}, {STRING_CREATEPARTITION, " ENTR\220E = Cr\202er partition \220CHAP = Annuler F3 = Quitter"}, + {STRING_NEWPARTITION, + "Setup a cr\202\202 une nouvelle partition sur"}, {STRING_PARTFORMAT, "Cette partition sera ensuite format\202e."}, {STRING_NONFORMATTEDPART, @@ -2324,30 +2326,28 @@ MUI_STRING frFRStrings[] = "La cause probable est l'utilisation d'un clavier USB\r\n"}, {STRING_CONSOLEFAIL3, "Les claviers USB ne sont pas compl\212tement support\202s actuellement\r\n"}, - {STRING_FORMATTINGDISK, - "Setup formate votre disque"}, + {STRING_FORMATTINGPART, + "Setup formate la partition..."}, {STRING_CHECKINGDISK, - "Setup v\202rifie votre disque"}, + "Setup v\202rifie le disque..."}, {STRING_FORMATDISK1, " Formater la partition comme syst\212me de fichiers %S (formatage rapide) "}, {STRING_FORMATDISK2, " Formater la partition comme syst\212me de fichiers %S "}, {STRING_KEEPFORMAT, " Garder le syst\212me de fichiers courant (pas de changements) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "sur le %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Disque dur %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Disque dur %lu (Port=%hu, Bus=%hu, Id=%hu) sur %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Disque dur %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Disque dur %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup a cr\202\202 une nouvelle partition sur"}, {STRING_UNPSPACE, "Espace non partitionn\202"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/he-IL.h b/base/setup/usetup/lang/he-IL.h index 869e3cb8311..dcfb2b02f32 100644 --- a/base/setup/usetup/lang/he-IL.h +++ b/base/setup/usetup/lang/he-IL.h @@ -1260,7 +1260,7 @@ static MUI_ENTRY heILFormatPartitionEntries[] = }, { 6, - 10, + 16, ".\212\211\231\216\204\214 \211\203\213 ENTER \225\207\214 .\204\226\211\207\216\204 \232\200 \214\207\232\200\232 \205\211\231\213\222 \204\220\227\232\204\204", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2229,16 +2229,18 @@ MUI_STRING heILStrings[] = " \204\220\227\232\204 \214\205\210\211\201 = F3 \204\226\211\207\216 \227\207\216 = D"}, {STRING_PARTITIONSIZE, ":\204\231\203\207 \204\226\211\207\216 \214\231 \214\203\205\202"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "\214\222 \232\211\230\227\211\222 \204\226\211\207\216 \230\205\226\211\214 \232\230\207\201"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "\214\222 \232\201\207\230\205\216 \204\226\211\207\216 \230\205\226\211\214 \232\230\207\201"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "\214\222 \232\211\202\205\214 \204\226\211\207\216 \230\205\226\211\214 \232\230\207\201"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, ".\215\211\232\201-\204\202\216\201 \204\231\203\207\204 \204\226\211\207\216\204 \214\231 \214\203\205\202\204 \232\200 \203\214\227\204 \204\231\227\201\201"}, {STRING_CREATEPARTITION, " \204\220\227\232\204 \214\205\210\211\201 = F3 \214\205\210\211\201 = ESC \204\226\211\207\216 \230\205\226 = ENTER"}, + {STRING_NEWPARTITION, + "\214\222 \204\231\203\207 \204\226\211\207\216 \204\230\226\211 \204\220\227\232\204\204 \232\211\220\213\232"}, {STRING_PARTFORMAT, ".\212\231\216\204\201 \214\207\232\205\200\232 \232\200\206\204 \204\226\211\207\216\204"}, {STRING_NONFORMATTEDPART, @@ -2289,30 +2291,28 @@ MUI_STRING heILStrings[] = "USB \232\203\214\227\216\201 \231\205\216\211\231 \200\205\204 \204\206 \214\231 \204\226\205\224\220 \211\213\204 \204\201\211\221\204\r\n"}, {STRING_CONSOLEFAIL3, "\200\214\216 \217\224\205\200\201 \232\205\213\216\232\220 \200\214 \217\211\211\203\222 USB \232\205\203\214\227\216\r\n"}, - {STRING_FORMATTINGDISK, - "\217\220\205\213\204 \232\200 \232\214\207\232\200\216 \204\220\227\232\204\204 \232\211\220\213\232"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "\217\220\205\213\204 \232\200 \232\227\203\205\201 \204\220\227\232\204\204 \232\211\220\213\232"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " (\230\211\204\216 \214\205\207\232\200) %S \215\211\226\201\227 \232\213\230\222\216 \215\222 \204\226\211\207\216 \214\205\207\232\200 "}, {STRING_FORMATDISK2, " %S \215\211\226\201\227 \232\213\230\222\216 \215\222 \204\226\211\207\216 \214\205\207\232\200 "}, {STRING_KEEPFORMAT, " (\211\205\220\211\231 \200\214\214( \232\211\207\213\205\220 \215\211\226\201\227 \232\213\230\222\216 \232\230\200\231\204 "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "\214\222 \204\231\203\207 \204\226\211\207\216 \204\230\226\211 \204\220\227\232\204\204 \232\211\220\213\232"}, {STRING_UNPSPACE, "Unpartitioned space"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/hr-HR.h b/base/setup/usetup/lang/hr-HR.h index 0d6a19a75f7..f85d7870171 100644 --- a/base/setup/usetup/lang/hr-HR.h +++ b/base/setup/usetup/lang/hr-HR.h @@ -1266,7 +1266,7 @@ static MUI_ENTRY hrHRFormatPartitionEntries[] = }, { 6, - 10, + 16, "Instalacijski program \206e sada formatirati particiju.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2258,16 +2258,18 @@ MUI_STRING hrHRStrings[] = " D = Izbri\347i particiju F3 = Iza\320i"}, {STRING_PARTITIONSIZE, "Veli\237ina nove particije:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Odabrali ste stvoriti primarnu particiju na"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Odabrali ste stvoriti pro\347irenu particiju na"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Odabrali ste stvoriti logi\237ku particiju na"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Molimo da unesite veli\237inu nove particije u MB."}, {STRING_CREATEPARTITION, " ENTER = Stvori particiju ESC = Odustani F3 = Iza\320i"}, + {STRING_NEWPARTITION, + "Instalacijski program je stvorio novu particiju na"}, {STRING_PARTFORMAT, "Ova \206e particija biti sljede\206a formatirana."}, {STRING_NONFORMATTEDPART, @@ -2318,30 +2320,28 @@ MUI_STRING hrHRStrings[] = "Naj\237e\347\206i uzrok tome je kori\347tenje USB tipkovnice\r\n"}, {STRING_CONSOLEFAIL3, "USB tipkovnice nisu jo\347 potupuno podr\247ane\r\n"}, - {STRING_FORMATTINGDISK, - "Instalacijski program formatira va\347 disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Instalacijski sustav provjerava va\347 disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatiraj particiju kao %S sustav datoteka (brzo formatiranje) "}, {STRING_FORMATDISK2, " Formatiraj particiju kao %S sustav datoteka "}, {STRING_KEEPFORMAT, " \254uvaj trenutni sustav datoteka (bez promjene) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "na %s."}, {STRING_PARTTYPE, "Vrsta 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Instalacijski program je stvorio novu particiju na"}, {STRING_UNPSPACE, "neparticiranom prostoru"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/hu-HU.h b/base/setup/usetup/lang/hu-HU.h index 6566551dcd3..0e711a70493 100644 --- a/base/setup/usetup/lang/hu-HU.h +++ b/base/setup/usetup/lang/hu-HU.h @@ -1150,7 +1150,7 @@ static MUI_ENTRY huHUFormatPartitionEntries[] = }, { 6, - 10, + 16, "A telep\241t\213 form\240zni fogja a part\241ci\242t. Nyomjon ENTER-t a folytat\240shoz.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2125,16 +2125,18 @@ MUI_STRING huHUStrings[] = " D = Part\241ci\242 t\224rl\202se F3 = Kil\202p\202s"}, {STRING_PARTITIONSIZE, "Az \243j part\241ci\242 m\202rete:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Egy els\213dleges part\241ci\242 l\202trehoz\240s\240t v\240lasztotta itt:"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Egy kiterjesztett part\241ci\242 l\202trehoz\240s\240t v\240lasztotta itt:"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Egy logikai part\241ci\242 l\202trehoz\240s\240t v\240lasztotta itt:"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "K\202rem \241rja be az \243j part\241ci\242 m\202ret\202t megab\240jtban."}, {STRING_CREATEPARTITION, " ENTER = Part\241ci\242 l\202trehoz\240sa ESC = M\202gse F3 = Kil\202p\202s"}, + {STRING_NEWPARTITION, + "A telep\241t\213 egy \243j part\241ci\242t hozott l\202tre itt:"}, {STRING_PARTFORMAT, "K\224vetkez\213 l\202p\202sk\202nt ez a part\241ci\242 form\240zva lesz."}, {STRING_NONFORMATTEDPART, @@ -2185,30 +2187,28 @@ MUI_STRING huHUStrings[] = "Ennek leggyakoribb oka az USB-s billenty\373zet haszn\240lata\r\n"}, {STRING_CONSOLEFAIL3, "Az USB-s billenty\373zetek m\202g nincsenek teljesen t\240mogatva\r\n"}, - {STRING_FORMATTINGDISK, - "A telep\241t\213 form\240zza a merevlemezt"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "A telep\241t\213 ellen\213rzi a merevlemezt"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Part\241ci\242 form\240z\240sa %S f\240jlrendszerrel (gyorsform\240z\240s) "}, {STRING_FORMATDISK2, " Part\241ci\242 form\240z\240sa %S f\240jlrendszerrel "}, {STRING_KEEPFORMAT, " Jelenlegi f\240jlrendszer megtart\240sa (nincs v\240ltoztat\240s) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "itt: %s."}, {STRING_PARTTYPE, "T\241pus 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "%lu. merevlemez (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s %lu. merevlemez (Port=%hu, Bus=%hu, Id=%hu) itt: %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "%lu. merevlemez (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s %lu. merevlemez (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "A telep\241t\213 egy \243j part\241ci\242t hozott l\202tre itt:"}, {STRING_UNPSPACE, "Nem particion\240lt ter\201let"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/id-ID.h b/base/setup/usetup/lang/id-ID.h index 4778a72b7a9..7216d1f379a 100644 --- a/base/setup/usetup/lang/id-ID.h +++ b/base/setup/usetup/lang/id-ID.h @@ -1256,7 +1256,7 @@ static MUI_ENTRY idIDFormatPartitionEntries[] = }, { 6, - 10, + 16, "Penyetelan akan memformat partisi. Tekan ENTER untuk lanjut.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2234,16 +2234,18 @@ MUI_STRING idIDStrings[] = " D = Hapus Partisi F3 = Keluar"}, {STRING_PARTITIONSIZE, "Ukuran partisi baru:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Anda telah memilih untuk membuat partisi primary pada"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Anda telah memilih untuk membuat partisi extended pada"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Anda telah memilih untuk membuat partisi logical pada"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Mohon masukkan ukuran pada partisi baru dalam bentuk megabyte."}, {STRING_CREATEPARTITION, " ENTER = Buat Partisi ESC = Batal F3 = Keluar"}, + {STRING_NEWPARTITION, + "Penyetelan membuat partisi baru pada"}, {STRING_PARTFORMAT, "Partisi ini selanjutnya akan diformat."}, {STRING_NONFORMATTEDPART, @@ -2294,30 +2296,28 @@ MUI_STRING idIDStrings[] = "Secara umum penyebab dari ini adalah menggunakan papan ketik USB\r\n"}, {STRING_CONSOLEFAIL3, "Papan ketik USB belum didukung sepenuhnya\r\n"}, - {STRING_FORMATTINGDISK, - "Penyetelan sedang memformat cakram anda"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Penyetelan sedang memeriksa cakram anda"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Format partisi sebagai sistem berkas %S (format cepat) "}, {STRING_FORMATDISK2, " Format partisi sebagai sistem berkas %S "}, {STRING_KEEPFORMAT, " Tetapkan sistem berkas seperti ini (tanpa perubahan) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "pada %s."}, {STRING_PARTTYPE, "Jenis 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) pada %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Penyetelan membuat partisi baru pada"}, {STRING_UNPSPACE, "Ukuran yang belum dipartisi"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/it-IT.h b/base/setup/usetup/lang/it-IT.h index 0a46faf59e6..96a18888a73 100644 --- a/base/setup/usetup/lang/it-IT.h +++ b/base/setup/usetup/lang/it-IT.h @@ -1262,7 +1262,7 @@ static MUI_ENTRY itITFormatPartitionEntries[] = }, { 6, - 10, + 16, "Setup formatter\x85 la partizione. Premere INVIO per continuare.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2240,16 +2240,18 @@ MUI_STRING itITStrings[] = " D = Elimina Partizione F3 = Esci"}, {STRING_PARTITIONSIZE, "Dimensione nuova partizione:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Si \x8A scelto di creare una nuova partizione primaria su"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Si \x8A scelto di creare una nuova partizione estesa su"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Si \x8A scelto di creare una nuova partizione logica su"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Indicare la dimensione della nuova partizione in megabyte."}, {STRING_CREATEPARTITION, " INVIO = Creare la partizione ESC = Annulla F3 = Esci"}, + {STRING_NEWPARTITION, + "Setup ha creato una nuova partizione su"}, {STRING_PARTFORMAT, "Questa partizione sar\x85 formattata successivamente."}, {STRING_NONFORMATTEDPART, @@ -2300,30 +2302,28 @@ MUI_STRING itITStrings[] = "La causa pi\x97 frequente di questo \x8A l'uso di una tastiera USB\r\n"}, {STRING_CONSOLEFAIL3, "le tastiere USB non sono ancora completamente supportate\r\n"}, - {STRING_FORMATTINGDISK, - "Setup sta formattando il disco"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Setup sta controllando il disco"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatta la partizione con file system %S (formattazione rapida) "}, {STRING_FORMATDISK2, " Formatta la partizione con file system %S "}, {STRING_KEEPFORMAT, " Mantieni il file system attuale (nessuna modifica) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "su %s."}, {STRING_PARTTYPE, "Tipo 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) su %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup ha creato una nuova partizione su"}, {STRING_UNPSPACE, "Spazio non partizionato"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/ja-JP.h b/base/setup/usetup/lang/ja-JP.h index 8f79ee62cce..ae5aef8f2e0 100644 --- a/base/setup/usetup/lang/ja-JP.h +++ b/base/setup/usetup/lang/ja-JP.h @@ -1259,7 +1259,7 @@ static MUI_ENTRY jaJPFormatPartitionEntries[] = }, { 6, - 10, + 16, "\276\257\304\261\257\314\337\312 \312\337\260\303\250\274\256\335\246 \314\253\260\317\257\304 \274\317\275\241 \277\336\257\272\263 \275\331\306\312 ENTER \267\260\246 \265\274\303 \270\300\336\273\262\241", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2238,17 +2238,19 @@ MUI_STRING jaJPStrings[] = " D = \312\337\260\303\250\274\256\335 \273\270\274\336\256 F3 = \301\255\263\274"}, {STRING_PARTITIONSIZE, "\261\300\327\274\262 \312\337\260\303\250\274\256\335\311 \273\262\275\336:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "\314\337\327\262\317\330\260 \312\337\260\303\250\274\256\335 \311 \273\270\276\262 \246 \264\327\313\336 \317\274\300"}, // "±À×¼² Ê߰輮ݦ ·ÞÆ »¸¾²½Ù ºÄ¶Þ ¾ÝÀ¸ »ÚϼÀ:"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "\266\270\301\256\263 \312\337\260\303\250\274\256\335 \311 \273\270\276\262 \246 \264\327\313\336 \317\274\300"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "\333\335\330 \312\337\260\303\250\274\256\335 \311 \273\270\276\262 \246 \264\327\313\336 \317\274\300"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "\261\300\327\274\262 \312\337\260\303\250\274\256\335\311 \273\262\275\336\246 \322\266\336\312\336\262\304 \300\335\262\303\336 \306\255\263\330\256\270 \274\303\270\300\336\273\262\241"}, {STRING_CREATEPARTITION, " ENTER = \312\337\260\303\250\274\256\335 \273\270\276\262 ESC = \267\254\335\276\331 F3 = \301\255\263\274"}, + {STRING_NEWPARTITION, + "\276\257\304\261\257\314\337\312 \261\300\327\274\262 \312\337\260\303\250\274\256\335\246 \302\267\336\306 \273\270\276\262\274\317\274\300:"}, {STRING_PARTFORMAT, "\272\311 \312\337\260\303\250\274\256\335\312 \302\267\336\311 \303\274\336\255\335\303\336 \314\253\260\317\257\304 \273\332\317\275\241"}, {STRING_NONFORMATTEDPART, @@ -2299,30 +2301,28 @@ MUI_STRING jaJPStrings[] = "\262\257\312\337\335\303\267\305 \271\336\335\262\335 \304\274\303 USB \267\260\316\336\260\304\336 \246 \302\266\257\303 \262\331\272\304\266\336 \266\335\266\336\264\327\332 \317\275\r\n"}, {STRING_CONSOLEFAIL3, "USB \267\260\316\336\260\304\336 \312 \317\300\336 \266\335\276\336\335\306 \273\316\337\260\304 \273\332\303 \262\317\276\335\r\n"}, - {STRING_FORMATTINGDISK, - "\276\257\304\261\257\314\337\312 \303\336\250\275\270\246 \314\253\260\317\257\304 \274\303\262\317\275"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "\276\257\304\261\257\314\337\312 \303\336\250\275\270\246 \271\335\273 \274\303\262\317\275\241"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " \312\337\260\303\250\274\256\335\246 %S \314\247\262\331 \274\275\303\321 \303\336\314\253\260\317\257\304 (\270\262\257\270 \314\253\260\317\257\304) "}, {STRING_FORMATDISK2, " \312\337\260\303\250\274\256\335\246 %S \314\247\262\331 \274\275\303\321 \303\336\314\253\260\317\257\304 "}, {STRING_KEEPFORMAT, " \271\336\335\273\336\262\311 \314\247\262\331 \274\275\303\321\311 \317\317 (\315\335\272\263 \274\305\262) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "\274\255\331\262 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "\312\260\304\336\303\336\250\275\270 %lu (%I64u %s), \316\337\260\304=%hu, \312\336\275=%hu, Id=%hu (%wZ) [%s]" "%I64u %s \312\260\304\336\303\336\250\275\270 %lu (\316\337\260\304=%hu, \312\336\275=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "\312\260\304\336\303\336\250\275\270 %lu (%I64u %s), \316\337\260\304=%hu, \312\336\275=%hu, Id=%hu [%s]" "%I64u %s \312\260\304\336\303\336\250\275\270 %lu (\316\337\260\304=%hu, \312\336\275=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "\276\257\304\261\257\314\337\312 \261\300\327\274\262 \312\337\260\303\250\274\256\335\246 \302\267\336\306 \273\270\276\262\274\317\274\300:"}, {STRING_UNPSPACE, "\320\314\336\335\266\302\311 \275\315\337\260\275"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/lt-LT.h b/base/setup/usetup/lang/lt-LT.h index 2f68b9f8b05..8153c8613ea 100644 --- a/base/setup/usetup/lang/lt-LT.h +++ b/base/setup/usetup/lang/lt-LT.h @@ -1267,7 +1267,7 @@ static MUI_ENTRY ltLTFormatPartitionEntries[] = }, { 6, - 10, + 16, "Setup will now format the partition. Press ENTER to continue.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2238,16 +2238,18 @@ MUI_STRING ltLTStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Size of new partition:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Please enter the size of the new partition in megabytes."}, {STRING_CREATEPARTITION, " ENTER = Create Partition ESC = Cancel F3 = Quit"}, + {STRING_NEWPARTITION, + "Setup created a new partition on"}, {STRING_PARTFORMAT, "This Partition will be formatted next."}, {STRING_NONFORMATTEDPART, @@ -2298,30 +2300,28 @@ MUI_STRING ltLTStrings[] = "The most common cause of this is using an USB keyboard\r\n"}, {STRING_CONSOLEFAIL3, "USB keyboards are not fully supported yet\r\n"}, - {STRING_FORMATTINGDISK, - "Setup is formatting your disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Setup is checking your disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Format partition as %S file system (quick format) "}, {STRING_FORMATDISK2, " Format partition as %S file system "}, {STRING_KEEPFORMAT, " Keep current file system (no changes) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup created a new partition on"}, {STRING_UNPSPACE, "Unpartitioned space"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/ms-MY.h b/base/setup/usetup/lang/ms-MY.h index 2e4228e5786..685cad9c688 100644 --- a/base/setup/usetup/lang/ms-MY.h +++ b/base/setup/usetup/lang/ms-MY.h @@ -1248,7 +1248,7 @@ static MUI_ENTRY msMYFormatPartitionEntries[] = }, { 6, - 10, + 16, "Persediaan sekarang akan format partition. Tekan ENTER untuk teruskan.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2219,16 +2219,18 @@ MUI_STRING msMYStrings[] = " D = Menghapuskan Partition F3 = Keluar"}, {STRING_PARTITIONSIZE, "Saiz partition yang baru:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Anda telah memilih untuk mencipta partition yang utama padanya"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Anda telah memilih untuk mencipta partition yang lanjut padanya"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Anda telah memilih untuk mencipta partition yang logik padanya"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Sila masukkan saiz partition yang baru dalam megabait."}, {STRING_CREATEPARTITION, " ENTER = Mencipta Partition ESC = Batalkan F3 = Keluar"}, + {STRING_NEWPARTITION, + "Persediaan yang dicipta partition yang baru di"}, {STRING_PARTFORMAT, "Partition ini akan diformat seterusnya."}, {STRING_NONFORMATTEDPART, @@ -2279,30 +2281,28 @@ MUI_STRING msMYStrings[] = "Punca paling biasa ini menggunakan papan kekunci yang USB\r\n"}, {STRING_CONSOLEFAIL3, "Papan kekunci USB tidak disokong sepenuhnya lagi\r\n"}, - {STRING_FORMATTINGDISK, - "Persediaan sedang format cakera"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Persediaan sedang menyemak cakera"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Format partition seperti sistem fail %S (format ringkas) "}, {STRING_FORMATDISK2, " Format partition seperti sistem fail %S "}, {STRING_KEEPFORMAT, " Memastikan sistem fail semasa (tiada perubahan) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Persediaan yang dicipta partition yang baru di"}, {STRING_UNPSPACE, "Ruang unpartitioned"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/nl-NL.h b/base/setup/usetup/lang/nl-NL.h index 4a84c20f2bc..85ef07636d5 100644 --- a/base/setup/usetup/lang/nl-NL.h +++ b/base/setup/usetup/lang/nl-NL.h @@ -1271,7 +1271,7 @@ static MUI_ENTRY nlNLFormatPartitionEntries[] = }, { 6, - 10, + 16, "Setup gaat nu de partitie formatteren. Druk op ENTER om door te gaan.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2260,17 +2260,19 @@ MUI_STRING nlNLStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Grootte nieuwe partitie:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, // "U wilt een nieuwe partitie aanmaken op"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Voert u de grootte van de nieuwe partitie in in megabytes."}, {STRING_CREATEPARTITION, " ENTER = Partitie Aanmaken ESC = Annuleren F3 = Afsluiten"}, + {STRING_NEWPARTITION, + "Setup heeft een nieuwe partitie aangemaakt op"}, {STRING_PARTFORMAT, "Deze partitie zal vervolgens geformatteerd worden."}, {STRING_NONFORMATTEDPART, @@ -2321,30 +2323,28 @@ MUI_STRING nlNLStrings[] = "De meest voorkomende oorzaak is het gebruik van een USB toetsenbord.\r\n"}, {STRING_CONSOLEFAIL3, "USB toetsenborden worden nog niet volledig ondersteund.\r\n"}, - {STRING_FORMATTINGDISK, - "Setup is de vaste schijf aan het formatteren."}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Setup is de vaste schijf aan het controleren."}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatteer partitie als %S bestandssysteem (snel) "}, {STRING_FORMATDISK2, " Formatteer partitie als %S bestandssysteem "}, {STRING_KEEPFORMAT, " Behoud huidig bestandssysteem (geen wijzigingen) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "op %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Schijf %lu (%I64u %s), Poort=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Schijf %lu (Poort=%hu, Bus=%hu, Id=%hu) op %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Schijf %lu (%I64u %s), Poort=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Schijf %lu (Poort=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup heeft een nieuwe partitie aangemaakt op"}, {STRING_UNPSPACE, "Niet gepartitioneerde ruimte"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/pl-PL.h b/base/setup/usetup/lang/pl-PL.h index 0628f2f2958..96b95cc8863 100644 --- a/base/setup/usetup/lang/pl-PL.h +++ b/base/setup/usetup/lang/pl-PL.h @@ -1268,7 +1268,7 @@ static MUI_ENTRY plPLFormatPartitionEntries[] = }, { 6, - 10, + 16, "Instalator sformatuje teraz partycj\251. Naci\230nij ENTER, aby kontynuowa\206.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2246,16 +2246,18 @@ MUI_STRING plPLStrings[] = " D = Usuni\251cie partycji F3 = Wyj\230cie"}, {STRING_PARTITIONSIZE, "Rozmiar nowej partycji:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Wybrane: utworzenie nowej partycji podstawowej na"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Wybrane: utworzenie nowej partycji rozszerzonej na"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Wybrane: utworzenie nowej partycji logicznej na"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Prosz\251 wprowadzi\206 rozmiar nowej partycji w megabajtach."}, {STRING_CREATEPARTITION, " ENTER = Utworzenie partycji ESC = Anulowanie F3 = Wyj\230cie"}, + {STRING_NEWPARTITION, + "Instalator utworzy\210 now\245 partycj\251"}, {STRING_PARTFORMAT, "Nast\251puj\245ca partycja zostanie sformatowana."}, {STRING_NONFORMATTEDPART, @@ -2306,30 +2308,28 @@ MUI_STRING plPLStrings[] = "Najcz\251stsz\245 tego przyczyn\245 jest u\276ycie klawiatury USB.\r\n"}, {STRING_CONSOLEFAIL3, "Nie s\245 obecnie w pe\210ni obs\210ugiwane.\r\n"}, - {STRING_FORMATTINGDISK, - "Instalator formatuje tw\242j dysk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Instalator sprawdza tw\242j dysk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatuj partycj\251 w systemie plik\242w %S (szybkie formatowanie) "}, {STRING_FORMATDISK2, " Formatuj partycj\251 w systemie plik\242w %S "}, {STRING_KEEPFORMAT, " Zachowaj obecny system plik\242w (bez zmian) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "na: %s."}, {STRING_PARTTYPE, "Typ 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Dysk twardy %lu (%I64u %s), Port=%hu, Szyna=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Dysk twardy %lu (Port=%hu, Szyna=%hu, Id=%hu) na %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Dysk twardy %lu (%I64u %s), Port=%hu, Szyna=%hu, Id=%hu [%s]" "%I64u %s Dysk twardy %lu (Port=%hu, Szyna=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Instalator utworzy\210 now\245 partycj\251"}, {STRING_UNPSPACE, "Miejsce poza partycjami"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/pt-BR.h b/base/setup/usetup/lang/pt-BR.h index 3d15c82695f..15d87aa4f23 100644 --- a/base/setup/usetup/lang/pt-BR.h +++ b/base/setup/usetup/lang/pt-BR.h @@ -1273,7 +1273,7 @@ static MUI_ENTRY ptBRFormatPartitionEntries[] = }, { 6, - 10, + 16, "O instalador ir\240 formatar a parti\207\306o. Para continuar, pressione ENTER.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2273,17 +2273,19 @@ MUI_STRING ptBRStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Tamanho da nova parti\207\306o:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, // "Vocˆ solicitou a cria‡Æo de uma nova parti‡Æo em"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Por favor, insira o tamanho da nova parti\207\306o em megabytes (MB)."}, {STRING_CREATEPARTITION, " ENTER=Criar parti\207\306o ESC=Cancelar F3=Sair"}, + {STRING_NEWPARTITION, + "O instalador criou uma nova parti\207\306o em"}, {STRING_PARTFORMAT, "Esta parti\207\306o ser\240 formatada logo em seguida."}, {STRING_NONFORMATTEDPART, @@ -2334,30 +2336,28 @@ MUI_STRING ptBRStrings[] = "A causa mais com\243m \202 a utiliza\207\306o de um teclado USB\r\n"}, {STRING_CONSOLEFAIL3, "Os teclados USB ainda n\306o s\306o completamente suportados\r\n"}, - {STRING_FORMATTINGDISK, - "O instalador est\240 formatando o disco"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "O instalador est\240 verificando o disco"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatar a parti\207\306o utilizando o sistema de arquivos %S (R\240pido) "}, {STRING_FORMATDISK2, " Formatar a parti\207\306o utilizando o sistema de arquivos %S "}, {STRING_KEEPFORMAT, " Manter o sistema de arquivos atual (sem altera\207\344es) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "em %s."}, {STRING_PARTTYPE, "Tipo 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Disco %lu (%I64u %s), Porta=%hu, Barramento=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Disco %lu (Porta=%hu, Barramento=%hu, Id=%hu) em %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Disco %lu (%I64u %s), Porta=%hu, Barramento=%hu, Id=%hu [%s]" "%I64u %s Disco %lu (Porta=%hu, Barramento=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "O instalador criou uma nova parti\207\306o em"}, {STRING_UNPSPACE, "Espa\207o n\306o particionado"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/pt-PT.h b/base/setup/usetup/lang/pt-PT.h index 9a1b7f57534..bac03268ec5 100644 --- a/base/setup/usetup/lang/pt-PT.h +++ b/base/setup/usetup/lang/pt-PT.h @@ -1273,7 +1273,7 @@ static MUI_ENTRY ptPTFormatPartitionEntries[] = }, { 6, - 10, + 16, "O instalador ir\240 formatar a parti\207\306o. Para continuar, pressione ENTER.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2272,17 +2272,19 @@ MUI_STRING ptPTStrings[] = " D = Apagar Parti\207\306o F3 = Sair"}, {STRING_PARTITIONSIZE, "Tamanho da nova parti\207\306o:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "Seleccionou criar uma parti\207\306o prim\240ria"}, // "Voc\210 solicitou a cria\207\306o de uma nova parti\207\306o em"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "Seleccionou criar uma parti\207\306o estendida"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "Seleccionou criar uma parti\207\306o l\242gica"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Por favor, insira o tamanho da nova parti\207\306o em megabytes (MB)."}, {STRING_CREATEPARTITION, " ENTER=Criar parti\207\306o ESC=Cancelar F3=Sair"}, + {STRING_NEWPARTITION, + "O instalador criou uma nova parti\207\306o em"}, {STRING_PARTFORMAT, "Esta parti\207\306o ser\240 formatada logo em seguida."}, {STRING_NONFORMATTEDPART, @@ -2333,30 +2335,28 @@ MUI_STRING ptPTStrings[] = "A causa mais com\243m \202 a utiliza\207\306o de um teclado USB\r\n"}, {STRING_CONSOLEFAIL3, "Os teclados USB ainda n\306o s\306o completamente suportados\r\n"}, - {STRING_FORMATTINGDISK, - "O instalador est\240 a formatar o disco"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "O instalador est\240 a verificar o disco"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formatar a parti\207\306o utilizando o sistema de arquivos %S (R\240pido) "}, {STRING_FORMATDISK2, " Formatar a parti\207\306o utilizando o sistema de arquivos %S "}, {STRING_KEEPFORMAT, " Manter o sistema de arquivos actual (sem altera\207\344es) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "em %s."}, {STRING_PARTTYPE, "Tipo 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Disco %lu (%I64u %s), Porta=%hu, Barramento=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Disco %lu (Porta=%hu, Barramento=%hu, Id=%hu) em %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Disco %lu (%I64u %s), Porta=%hu, Barramento=%hu, Id=%hu [%s]" "%I64u %s Disco %lu (Porta=%hu, Barramento=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "O instalador criou uma nova parti\207\306o em"}, {STRING_UNPSPACE, "Espa\207o n\306o particionado"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/ro-RO.h b/base/setup/usetup/lang/ro-RO.h index 40a58f6443a..01d761b02f9 100644 --- a/base/setup/usetup/lang/ro-RO.h +++ b/base/setup/usetup/lang/ro-RO.h @@ -1297,6 +1297,13 @@ static MUI_ENTRY roROFormatPartitionEntries[] = { 6, 8, + "Urmeaz\343 formatarea parti\376iei.", + TEXT_STYLE_NORMAL, + TEXT_ID_STATIC + }, + { + 6, + 16, "Urmeaz\343 formatarea parti\376iei. Tasta\376i ENTER pentru a continua.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2288,16 +2295,18 @@ MUI_STRING roROStrings[] = " D = \252tergere parti\376ie F3 = Ie\272ire"}, {STRING_PARTITIONSIZE, "M\343rimea noii parti\376ii:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "A\376i ales crearea unei parti\376ii primare pe"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "A\376i ales crearea unei parti\376ii extinse pe"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "A\376i ales crearea unei parti\376ii logice pe"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Introduce\376i m\343rimea noii parti\376ii \356n megaocte\376i."}, {STRING_CREATEPARTITION, " ENTER = Creare parti\376ie ESC = Anulare F3 = Ie\272ire"}, + {STRING_NEWPARTITION, + "O nou\343 parti\376ie a fost creat\343 \356n"}, {STRING_PARTFORMAT, "Aceast\343 parti\376ie urmeaz\343 s\343 fie formatat\343."}, {STRING_NONFORMATTEDPART, @@ -2348,8 +2357,8 @@ MUI_STRING roROStrings[] = "Cea mai frecvent\343 cauz\343 pentru asta este utilizarea unei tastaturi USB\r\n"}, {STRING_CONSOLEFAIL3, "Tastaturile USB nu sunt \356nc\343 toate acceptate\r\n"}, - {STRING_FORMATTINGDISK, - "Disc \356n curs de formatare..."}, + {STRING_FORMATTINGPART, + "Parti\376ia \356n curs de formatare..."}, {STRING_CHECKINGDISK, "Disc \356n curs de verificare..."}, {STRING_FORMATDISK1, @@ -2358,20 +2367,18 @@ MUI_STRING roROStrings[] = " Formateaz\343 parti\376ia ca sistem de fi\272iere %S "}, {STRING_KEEPFORMAT, " P\343streaz\343 sistemul de fi\272iere actual (f\343r\343 schimb\343ri) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "de pe %s."}, {STRING_PARTTYPE, "Tip 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Discul %lu (%I64u %s), Port=%hu, Magistrala=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Discul %lu (Port=%hu, Magistrala=%hu, Id=%hu) de tip %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Discul %lu (%I64u %s), Port=%hu, Magistrala=%hu, Id=%hu [%s]" "%I64u %s Discul %lu (Port=%hu, Magistrala=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "O nou\343 parti\376ie a fost creat\343 \356n"}, {STRING_UNPSPACE, "Spa\376iu neparti\376ionat"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/ru-RU.h b/base/setup/usetup/lang/ru-RU.h index 77f3276c559..10a999fcb32 100644 --- a/base/setup/usetup/lang/ru-RU.h +++ b/base/setup/usetup/lang/ru-RU.h @@ -1279,7 +1279,7 @@ static MUI_ENTRY ruRUFormatPartitionEntries[] = }, { 6, - 10, + 16, "\204\253\357 \343\341\342\240\255\256\242\252\250 \340\240\247\244\245\253 \241\343\244\245\342 \256\342\344\256\340\254\240\342\250\340\256\242\240\255. \215\240\246\254\250\342\245 ENTER \244\253\357 \257\340\256\244\256\253\246\245\255\250\357.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2257,16 +2257,18 @@ MUI_STRING ruRUStrings[] = " D = \223\244\240\253\250\342\354 \340\240\247\244\245\253 F3 = \202\353\345\256\244"}, {STRING_PARTITIONSIZE, "\220\240\247\254\245\340 \255\256\242\256\243\256 \340\240\247\244\245\253\240:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "\202\353 \345\256\342\250\342\245 \341\256\247\244\240\342\354 \257\245\340\242\250\347\255\353\251 \340\240\247\244\245\253 \255\240"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "\202\353 \345\256\342\250\342\245 \341\256\247\244\240\342\354 \340\240\341\350\250\340\245\255\255\353\251 \340\240\247\244\245\253 \255\240"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "\202\353 \345\256\342\250\342\245 \341\256\247\244\240\342\354 \253\256\243\250\347\245\341\252\250\251 \340\240\247\244\245\253 \255\240"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "\217\256\246\240\253\343\251\341\342\240, \242\242\245\244\250\342\245 \340\240\247\254\245\340 \255\256\242\256\243\256 \340\240\247\244\245\253\240 \242 \254\245\243\240\241\240\251\342\240\345."}, {STRING_CREATEPARTITION, " ENTER = \221\256\247\244\240\342\354 \340\240\247\244\245\253 ESC = \216\342\254\245\255\240 F3 = \202\353\345\256\244"}, + {STRING_NEWPARTITION, + "\217\340\256\243\340\240\254\254\240 \343\341\342\240\255\256\242\252\250 \341\256\247\244\240\253\240 \255\256\242\353\251 \340\240\247\244\245\253 \255\240:"}, {STRING_PARTFORMAT, "\235\342\256\342 \340\240\247\244\245\253 \241\343\244\245\342 \256\342\344\256\340\254\240\342\250\340\256\242\240\255 \244\240\253\245\245."}, {STRING_NONFORMATTEDPART, @@ -2317,30 +2319,28 @@ MUI_STRING ruRUStrings[] = "\215\240\250\241\256\253\245\245 \242\245\340\256\357\342\255\240\357 \257\340\250\347\250\255\240 \355\342\256\243\256 - \250\341\257\256\253\354\247\256\242\240\255\250\245 USB-\252\253\240\242\250\240\342\343\340\353\r\n"}, {STRING_CONSOLEFAIL3, "USB \252\253\240\242\250\240\342\343\340\353 \341\245\251\347\240\341 \257\256\244\244\245\340\246\250\242\240\356\342\341\357 \255\245 \257\256\253\255\256\341\342\354\356\r\n"}, - {STRING_FORMATTINGDISK, - "\217\340\256\243\340\240\254\254\240 \343\341\342\240\255\256\242\252\250 \344\256\340\254\240\342\250\340\343\245\342 \242\240\350 \244\250\341\252"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "\217\340\256\243\340\240\254\254\240 \343\341\342\240\255\256\242\252\250 \257\340\256\242\245\340\357\245\342 \242\240\350 \244\250\341\252"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " \224\256\340\254\240\342\250\340\256\242\240\255\250\245 \340\240\247\244\245\253\240 \242 \344\240\251\253\256\242\256\251 \341\250\341\342\245\254\245 %S (\241\353\341\342\340\256\245) "}, {STRING_FORMATDISK2, " \224\256\340\254\240\342\250\340\256\242\240\255\250\245 \340\240\247\244\245\253\240 \242 \344\240\251\253\256\242\256\251 \341\250\341\342\245\254\245 %S "}, {STRING_KEEPFORMAT, " \216\341\342\240\242\250\342\354 \341\343\351\245\341\342\242\343\356\351\343\356 \344\240\251\253\256\242\343\356 \341\250\341\342\245\254\343 (\241\245\247 \250\247\254\245\255\245\255\250\251) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "\255\240: %s."}, {STRING_PARTTYPE, "\207\240\257\250\341\354 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "\206\245\341\342\252\250\251 \244\250\341\252 %lu (%I64u %s), \217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu (%wZ) [%s]" "%I64u %s \206\245\341\342\252\250\251 \244\250\341\252 %lu (\217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu) \255\240 %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "\206\245\341\342\252\250\251 \244\250\341\252 %lu (%I64u %s), \217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu [%s]" "%I64u %s \206\245\341\342\252\250\251 \244\250\341\252 %lu (\217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "\217\340\256\243\340\240\254\254\240 \343\341\342\240\255\256\242\252\250 \341\256\247\244\240\253\240 \255\256\242\353\251 \340\240\247\244\245\253 \255\240:"}, {STRING_UNPSPACE, "\215\245\340\240\247\254\245\347\245\255\255\256\245 \257\340\256\341\342\340\240\255\341\342\242\256"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/sk-SK.h b/base/setup/usetup/lang/sk-SK.h index 1052f11041d..c6b51d222f2 100644 --- a/base/setup/usetup/lang/sk-SK.h +++ b/base/setup/usetup/lang/sk-SK.h @@ -1265,7 +1265,7 @@ static MUI_ENTRY skSKFormatPartitionEntries[] = }, { 6, - 10, + 16, "In\347tal\240tor teraz naform\240tuje oblas\234. Stla\237te ENTER pre pokra\237ovanie.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2247,17 +2247,19 @@ MUI_STRING skSKStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Ve\226kos\234 novej oblasti:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, // "Zvolili ste vytvorenie novej oblasti na"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Zadajte, pros\241m, ve\226kos\234 novej oblasti v megabajtoch."}, {STRING_CREATEPARTITION, " ENTER = Vytvori\234 oblas\234 ESC = Zru\347i\234 F3 = Skon\237i\234"}, + {STRING_NEWPARTITION, + "In\347tal\240tor vytvoril nov\243 oblas\234 na"}, {STRING_PARTFORMAT, "T\240to oblas\234 sa bude form\240tova\234 ako \324al\347ia."}, {STRING_NONFORMATTEDPART, @@ -2308,30 +2310,28 @@ MUI_STRING skSKStrings[] = "Najbe\247nej\347ou pr\241\237inou tohto je pou\247itie USB kl\240vesnice\r\n"}, {STRING_CONSOLEFAIL3, "USB kl\240vesnica e\347te nie je plne podporovan\240\r\n"}, - {STRING_FORMATTINGDISK, - "In\347tal\240tor form\240tuje V\240\347 disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "In\347tal\240tor kontroluje V\240\347 disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Naform\240tova\234 oblas\234 ako syst\202m s\243borov %S (r\354chly form\240t) "}, {STRING_FORMATDISK2, " Naform\240tova\234 oblas\234 ako syst\202m s\243borov %S "}, {STRING_KEEPFORMAT, " Ponecha\234 s\243\237asn\354 syst\202m s\243borov (bez zmeny) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "na: %s."}, {STRING_PARTTYPE, "Typ 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "pevn\354 disk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s pevn\354 disk %lu (Port=%hu, Bus=%hu, Id=%hu) na %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "pevn\354 disk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s pevn\354 disk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "In\347tal\240tor vytvoril nov\243 oblas\234 na"}, {STRING_UNPSPACE, "Miesto bez oblast\241"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/sq-AL.h b/base/setup/usetup/lang/sq-AL.h index 166eeebc173..b5caf7ff63e 100644 --- a/base/setup/usetup/lang/sq-AL.h +++ b/base/setup/usetup/lang/sq-AL.h @@ -1263,7 +1263,7 @@ static MUI_ENTRY sqALFormatPartitionEntries[] = }, { 6, - 10, + 16, "Instalimi tani do t\211 formatoj\211 particionin. Kliko ENTER p\211r t\211 vazhduar.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2248,17 +2248,19 @@ MUI_STRING sqALStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Madh\211sia e particionit t\211 ri:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, // "You have chosen to create a primary partition on"}, "Ju keni zgjedhur p\211r t\211 krijuar nj\211 ndarje t\211 re n\211"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "Ju lutem, jepini madh\211sin\211 e particionit t\211 ri n\211 megabajt."}, {STRING_CREATEPARTITION, " ENTER = Krijo Particion ESC = Anulo F3 = Dil"}, + {STRING_NEWPARTITION, + "Instalimi krijoj nj\211 particion t\211 ri n\211"}, {STRING_PARTFORMAT, "Ky particion do t\211 formatohet tani."}, {STRING_NONFORMATTEDPART, @@ -2309,30 +2311,28 @@ MUI_STRING sqALStrings[] = "Shkaku m\211 i zakonsh\211m i k\211saj \211sht\211 arsyea e perdorimit t\211 nj\211 tastiere USB\r\n"}, {STRING_CONSOLEFAIL3, "Tastierat USB nuk jan\211 t\211 mb\211shtetura ende plot\211sisht\r\n"}, - {STRING_FORMATTINGDISK, - "Instalimi po formaton diskun tuaj"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Instalimi \211sht\211 duke kontrolluar diskun tuaj"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formato particionin si %S dokumentat e sistemit (formatim i shpejt\211) "}, {STRING_FORMATDISK2, " Formato particionin si %S dokumentat e sistemit"}, {STRING_KEEPFORMAT, " Mbaj dokumentat e sistemit siq jan\211 (pa ndryshime) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "on %s."}, {STRING_PARTTYPE, "Tipi 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Harddisku %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s Harddisku %lu (Port=%hu, Bus=%hu, Id=%hu) on %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Harddisku %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s Harddisku %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Instalimi krijoj nj\211 particion t\211 ri n\211"}, {STRING_UNPSPACE, "Hap\211sire e papjesesezuar"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/sv-SE.h b/base/setup/usetup/lang/sv-SE.h index 0642867ccb5..b91b3c947e2 100644 --- a/base/setup/usetup/lang/sv-SE.h +++ b/base/setup/usetup/lang/sv-SE.h @@ -1265,7 +1265,7 @@ static MUI_ENTRY svSEFormatPartitionEntries[] = }, { 6, - 10, + 16, "Partitionen kommer nu att formaters Tryck ENTER f\224r att forts\204tta.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2237,17 +2237,19 @@ MUI_STRING svSEStrings[] = " D = Delete Partition F3 = Quit"}, {STRING_PARTITIONSIZE, "Storlek p\206 den nya partitionen:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "You have chosen to create a primary partition on"}, // "Du har valt att skapa en ny partition p†"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "You have chosen to create an extended partition on"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "You have chosen to create a logical partition on"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "V\204nligen skriv in storleken av den nya partitionen i megabytes."}, {STRING_CREATEPARTITION, " ENTER = Skapa Partition ESC = Avbryt F3 = Avsluta"}, + {STRING_NEWPARTITION, + "Setup skapade en ny partition p\206"}, {STRING_PARTFORMAT, "Denna Partition kommer att bli formaterad h\204rn\204st."}, {STRING_NONFORMATTEDPART, @@ -2298,30 +2300,28 @@ MUI_STRING svSEStrings[] = "Den vanligaste orsaken till detta \204r att ett USB tangentbord anv\204nds\r\n"}, {STRING_CONSOLEFAIL3, "USB tangentbord \204r itne helt st\224tt \204n\r\n"}, - {STRING_FORMATTINGDISK, - "Setup formaterar din disk"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Setup under\224ker din disk"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " Formaterar partition som %S filsystem (snabbformatering) "}, {STRING_FORMATDISK2, " Formaterar partition som %S filsystem "}, {STRING_KEEPFORMAT, " Beh\206ll nuvarande filsystem (inga f\224r\204ndringar) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "p\206 %s."}, {STRING_PARTTYPE, "Typ 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "H\206rddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu (%wZ) [%s]" "%I64u %s H\206rddisk %lu (Port=%hu, Bus=%hu, Id=%hu) p\206 %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "H\206rddisk %lu (%I64u %s), Port=%hu, Bus=%hu, Id=%hu [%s]" "%I64u %s H\206rddisk %lu (Port=%hu, Bus=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Setup skapade en ny partition p\206"}, {STRING_UNPSPACE, "Opartitionerat utrymme"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/tr-TR.h b/base/setup/usetup/lang/tr-TR.h index 6a3e6f13bf3..301d07ed66b 100644 --- a/base/setup/usetup/lang/tr-TR.h +++ b/base/setup/usetup/lang/tr-TR.h @@ -1247,7 +1247,7 @@ static MUI_ENTRY trTRFormatPartitionEntries[] = }, { 6, - 10, + 16, "Kur, \237imdi b\224l\201m\201 bi\207imlendirecek. Devam etmek i\207in ENTER'e bas\215n\215z.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2211,16 +2211,18 @@ MUI_STRING trTRStrings[] = " D = B\224l\201m\201 Sil F3 = \200\215k"}, {STRING_PARTITIONSIZE, "Yeni b\224l\201m\201n b\201y\201kl\201\247\201:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "\232zerinde bir ana b\224l\201m olu\237turmay\215 se\207tiniz:"}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "\232zerinde bir geni\237letilmi\237 b\224l\201m olu\237turmay\215 se\207tiniz:"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "\232zerinde bir mant\215ksal b\224l\201m olu\237turmay\215 se\207tiniz:"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "L\201tfen yeni b\224l\201m\201n b\201y\201kl\201\247\201n\201 megabayt olarak giriniz."}, {STRING_CREATEPARTITION, " ENTER = B\224l\201m Olu\237tur ESC = \230ptal F3 = \200\215k"}, + {STRING_NEWPARTITION, + "Kur, \201zerinde bir yeni b\224l\201m olu\237turdu:"}, {STRING_PARTFORMAT, "Bu b\224l\201m ileride bi\207imlendirilecektir."}, {STRING_NONFORMATTEDPART, @@ -2271,30 +2273,28 @@ MUI_STRING trTRStrings[] = "Bunun en bilinen nedeni, bir USB klavye kullan\215lmas\215d\215r.\r\n"}, {STRING_CONSOLEFAIL3, "USB klavye daha t\201m\201yle desteklenmemektedir.\r\n"}, - {STRING_FORMATTINGDISK, - "Kur, diskinizi bi\207imlendiriyor."}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "Kur, diskinizi g\224zden ge\207iriyor."}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " B\224l\201m\201 %S dosya sistemiyle h\215zl\215 bi\207imlendir. "}, {STRING_FORMATDISK2, " B\224l\201m\201 %S dosya sistemiyle bi\207imlendir. "}, {STRING_KEEPFORMAT, " \236imdiki dosya sistemini koru. (De\247i\237iklik yok.) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "\232zerinde: %s."}, {STRING_PARTTYPE, "T\201r 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "Sabit Disk %lu (%I64u %s), Giri\237=%hu, Veriyolu=%hu, Kimlik=%hu (%wZ) [%s]" "%I64u %s Disk %lu (Giri\237=%hu, VYolu=%hu, Kimlik=%hu), (%wZ) [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "Sabit Disk %lu (%I64u %s), Giri\237=%hu, Veriyolu=%hu, Kimlik=%hu [%s]" "%I64u %s Disk %lu (Giri\237=%hu, VYolu=%hu, Kimlik=%hu) [%s]"}, - {STRING_NEWPARTITION, - "Kur, \201zerinde bir yeni b\224l\201m olu\237turdu:"}, {STRING_UNPSPACE, "Kullan\215lmayan Alan"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/lang/uk-UA.h b/base/setup/usetup/lang/uk-UA.h index 91dae1a8058..c44406150ac 100644 --- a/base/setup/usetup/lang/uk-UA.h +++ b/base/setup/usetup/lang/uk-UA.h @@ -1264,7 +1264,7 @@ static MUI_ENTRY ukUAFormatPartitionEntries[] = }, { 6, - 10, + 16, "\207\240\340\240\247 \242\341\342\240\255\256\242\253\356\242\240\347 \242i\244\344\256\340\254\240\342\343\363 \340\256\247\244i\253. \215\240\342\250\341\255i\342\354 ENTER \244\253\357 \257\340\256\244\256\242\246\245\255\255\357.", TEXT_STYLE_NORMAL, TEXT_ID_FORMAT_PROMPT @@ -2244,17 +2244,19 @@ MUI_STRING ukUAStrings[] = " D = \202\250\244\240\253\250\342\250 \340\256\247\244i\253 F3 = \202\250\251\342\250"}, {STRING_PARTITIONSIZE, "\220\256\247\254i\340 \255\256\242\256\243\256 \340\256\247\244i\253\343:"}, - {STRING_CHOOSENEWPARTITION, + {STRING_CHOOSE_NEW_PARTITION, "\202\250 \345\256\347\245\342\245 \341\342\242\256\340\250\342\250 \257\245\340\242\250\255\255\250\251 \340\256\247\244i\253 \255\240"}, // "‚¨ å®ç¥â¥ á⢮à¨â¨ ­®¢¨© ஧¤i« ­ "}, {STRING_CHOOSE_NEW_EXTENDED_PARTITION, "\202\250 \345\256\347\245\342\245 \341\342\242\256\340\250\342\250 \340\256\247\350\250\340\245\255\250\251 \340\256\247\244i\253 \255\240"}, {STRING_CHOOSE_NEW_LOGICAL_PARTITION, "\202\250 \345\256\347\245\342\245 \341\342\242\256\340\250\342\250 \253\256\243i\347\255\250\251 \340\256\247\244i\253 \255\240"}, - {STRING_HDDSIZE, + {STRING_HDPARTSIZE, "\201\343\244\354-\253\240\341\252\240, \242\242\245\244i\342\354 \340\256\247\254i\340 \255\256\242\256\243\256 \340\256\247\244i\253\343 \242 \254\245\243\240\241\240\251\342\240\345."}, {STRING_CREATEPARTITION, " ENTER = \221\342\242\256\340\250\342\250 \340\256\247\244i\253 ESC = \221\252\240\341\343\242\240\342\250 F3 = \202\250\251\342\250"}, + {STRING_NEWPARTITION, + "\202\341\342\240\255\256\242\253\356\242\240\347 \341\342\242\256\340\250\242 \255\256\242\250\251 \340\256\247\244i\253 \255\240"}, {STRING_PARTFORMAT, "\226\245\251 \340\256\247\244i\253 \241\343\244\245 \242i\244\344\256\340\254\240\342\256\242\240\255\256."}, {STRING_NONFORMATTEDPART, @@ -2305,30 +2307,28 @@ MUI_STRING ukUAStrings[] = "\215\240\251\241i\253\354\350 \251\254\256\242i\340\255\240 \257\340\250\347\250\255\240 \346\354\256\243\256 - \242\250\252\256\340\250\341\342\240\255\255\357 USB \252\253\240\242i\240\342\343\340\250\r\n"}, {STRING_CONSOLEFAIL3, "USB \252\253\240\242i\240\342\343\340\250 \351\245 \255\245 \257i\244\342\340\250\254\343\356\342\354\341\357 \257\256\242\255i\341\342\356\r\n"}, - {STRING_FORMATTINGDISK, - "\202\341\342\240\255\256\242\253\356\242\240\347 \344\256\340\254\240\342\343\363 \242\240\350 \244\250\341\252"}, + {STRING_FORMATTINGPART, + "Setup is formatting the partition..."}, {STRING_CHECKINGDISK, - "\202\341\342\240\255\256\242\253\356\242\240\347 \257\245\340\245\242i\340\357\363 \242\240\350 \244\250\341\252"}, + "Setup is checking the disk..."}, {STRING_FORMATDISK1, " \224\256\340\254\240\342\343\242\240\342\250 \340\256\247\244i\253 \242 \344\240\251\253\256\242i\251 \341\250\341\342\245\254i %S (\350\242\250\244\252\245 \344\256\340\254\240\342\343\242\240\255\255\357) "}, {STRING_FORMATDISK2, " \224\256\340\254\240\342\343\242\240\342\250 \340\256\247\244i\253 \242 \344\240\251\253\256\242i\251 \341\250\341\342\245\254i %S "}, {STRING_KEEPFORMAT, " \207\240\253\250\350\250\342\250 i\341\255\343\356\347\343 \344\240\251\253\256\242\343 \341\250\341\342\245\254\343 (\241\245\247 \247\254i\255) "}, - {STRING_HDINFOPARTCREATE_1, + {STRING_HDDISK1, "%s."}, - {STRING_HDINFOPARTDELETE_1, + {STRING_HDDISK2, "\255\240: %s."}, {STRING_PARTTYPE, "Type 0x%02x"}, - {STRING_HDDINFO_1, + {STRING_HDDINFO1, // "\206\256\340\341\342\252\250\251 \244\250\341\252 %lu (%I64u %s), \217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu (%wZ) [%s]" "%I64u %s \206\256\340\341\342\252\250\251 \244\250\341\252 %lu (\217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu) \255\240 %wZ [%s]"}, - {STRING_HDDINFO_2, + {STRING_HDDINFO2, // "\206\256\340\341\342\252\250\251 \244\250\341\252 %lu (%I64u %s), \217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu [%s]" "%I64u %s \206\256\340\341\342\252\250\251 \244\250\341\252 %lu (\217\256\340\342=%hu, \230\250\255\240=%hu, Id=%hu) [%s]"}, - {STRING_NEWPARTITION, - "\202\341\342\240\255\256\242\253\356\242\240\347 \341\342\242\256\340\250\242 \255\256\242\250\251 \340\256\247\244i\253 \255\240"}, {STRING_UNPSPACE, "\215\245\340\256\247\254i\347\245\255\240 \256\241\253\240\341\342\354"}, {STRING_MAXSIZE, diff --git a/base/setup/usetup/mui.h b/base/setup/usetup/mui.h index 224a679f34c..b2b2dc179a4 100644 --- a/base/setup/usetup/mui.h +++ b/base/setup/usetup/mui.h @@ -129,60 +129,60 @@ extern CHAR CharDoubleLowerRightCorner; #define TEXT_ID_FORMAT_PROMPT 1 /* MUI Strings */ -#define STRING_PLEASEWAIT 1 -#define STRING_INSTALLCREATEPARTITION 2 -#define STRING_INSTALLCREATELOGICAL 60 -#define STRING_INSTALLDELETEPARTITION 3 -#define STRING_DELETEPARTITION 59 -#define STRING_PARTITIONSIZE 4 -#define STRING_CHOOSENEWPARTITION 5 -#define STRING_CHOOSE_NEW_EXTENDED_PARTITION 57 -#define STRING_CHOOSE_NEW_LOGICAL_PARTITION 61 -#define STRING_HDDSIZE 6 -#define STRING_CREATEPARTITION 7 -#define STRING_PARTFORMAT 8 -#define STRING_NONFORMATTEDPART 9 -#define STRING_NONFORMATTEDSYSTEMPART 62 -#define STRING_NONFORMATTEDOTHERPART 63 -#define STRING_INSTALLONPART 10 -#define STRING_CONTINUE 12 -#define STRING_QUITCONTINUE 13 -#define STRING_REBOOTCOMPUTER 14 -#define STRING_DELETING 15 -#define STRING_MOVING 16 -#define STRING_RENAMING 17 -#define STRING_COPYING 18 -#define STRING_SETUPCOPYINGFILES 19 -#define STRING_REGHIVEUPDATE 20 -#define STRING_IMPORTFILE 21 -#define STRING_DISPLAYSETTINGSUPDATE 22 -#define STRING_LOCALESETTINGSUPDATE 23 -#define STRING_KEYBOARDSETTINGSUPDATE 24 -#define STRING_CODEPAGEINFOUPDATE 25 -#define STRING_DONE 26 -#define STRING_REBOOTCOMPUTER2 27 -#define STRING_CONSOLEFAIL1 28 -#define STRING_CONSOLEFAIL2 29 -#define STRING_CONSOLEFAIL3 30 -#define STRING_FORMATTINGDISK 31 -#define STRING_CHECKINGDISK 32 -#define STRING_FORMATDISK1 33 -#define STRING_FORMATDISK2 34 -#define STRING_KEEPFORMAT 35 -#define STRING_HDINFOPARTCREATE_1 36 -#define STRING_HDINFOPARTDELETE_1 39 -#define STRING_PARTTYPE 42 -#define STRING_HDDINFO_1 45 -#define STRING_HDDINFO_2 46 -#define STRING_NEWPARTITION 47 -#define STRING_UNPSPACE 48 -#define STRING_MAXSIZE 49 -#define STRING_UNFORMATTED 50 -#define STRING_EXTENDED_PARTITION 58 -#define STRING_FORMATUNUSED 51 -#define STRING_FORMATUNKNOWN 52 -#define STRING_KB 53 -#define STRING_MB 54 -#define STRING_GB 55 -#define STRING_ADDKBLAYOUTS 56 -#define STRING_REBOOTPROGRESSBAR 64 +#define STRING_PLEASEWAIT 1 +#define STRING_INSTALLCREATEPARTITION 2 +#define STRING_INSTALLCREATELOGICAL 3 +#define STRING_INSTALLDELETEPARTITION 4 +#define STRING_DELETEPARTITION 5 +#define STRING_PARTITIONSIZE 6 +#define STRING_CHOOSE_NEW_PARTITION 7 +#define STRING_CHOOSE_NEW_EXTENDED_PARTITION 8 +#define STRING_CHOOSE_NEW_LOGICAL_PARTITION 9 +#define STRING_HDPARTSIZE 10 +#define STRING_CREATEPARTITION 11 +#define STRING_NEWPARTITION 12 +#define STRING_PARTFORMAT 13 +#define STRING_NONFORMATTEDPART 14 +#define STRING_NONFORMATTEDSYSTEMPART 15 +#define STRING_NONFORMATTEDOTHERPART 16 +#define STRING_INSTALLONPART 17 +#define STRING_CONTINUE 18 +#define STRING_QUITCONTINUE 19 +#define STRING_REBOOTCOMPUTER 20 +#define STRING_DELETING 21 +#define STRING_MOVING 22 +#define STRING_RENAMING 23 +#define STRING_COPYING 24 +#define STRING_SETUPCOPYINGFILES 25 +#define STRING_REGHIVEUPDATE 26 +#define STRING_IMPORTFILE 27 +#define STRING_DISPLAYSETTINGSUPDATE 28 +#define STRING_LOCALESETTINGSUPDATE 29 +#define STRING_KEYBOARDSETTINGSUPDATE 30 +#define STRING_CODEPAGEINFOUPDATE 31 +#define STRING_DONE 32 +#define STRING_REBOOTCOMPUTER2 33 +#define STRING_CONSOLEFAIL1 34 +#define STRING_CONSOLEFAIL2 35 +#define STRING_CONSOLEFAIL3 36 +#define STRING_FORMATTINGPART 37 +#define STRING_CHECKINGDISK 38 +#define STRING_FORMATDISK1 39 +#define STRING_FORMATDISK2 40 +#define STRING_KEEPFORMAT 41 +#define STRING_HDDISK1 42 +#define STRING_HDDISK2 43 +#define STRING_PARTTYPE 44 +#define STRING_HDDINFO1 45 +#define STRING_HDDINFO2 46 +#define STRING_UNPSPACE 47 +#define STRING_MAXSIZE 48 +#define STRING_UNFORMATTED 49 +#define STRING_EXTENDED_PARTITION 50 +#define STRING_FORMATUNUSED 51 +#define STRING_FORMATUNKNOWN 52 +#define STRING_KB 53 +#define STRING_MB 54 +#define STRING_GB 55 +#define STRING_ADDKBLAYOUTS 56 +#define STRING_REBOOTPROGRESSBAR 57 diff --git a/base/setup/usetup/partlist.c b/base/setup/usetup/partlist.c index d6c934bc47a..5feaf446529 100644 --- a/base/setup/usetup/partlist.c +++ b/base/setup/usetup/partlist.c @@ -316,7 +316,7 @@ DiskDescription( if (DiskEntry->DriverName.Length > 0) { RtlStringCchPrintfA(strBuffer, cchBuffer, - MUIGetString(STRING_HDDINFO_1), + MUIGetString(STRING_HDDINFO1), DiskSize, Unit, DiskEntry->DiskNumber, @@ -331,7 +331,7 @@ DiskDescription( else { RtlStringCchPrintfA(strBuffer, cchBuffer, - MUIGetString(STRING_HDDINFO_2), + MUIGetString(STRING_HDDINFO2), DiskSize, Unit, DiskEntry->DiskNumber, diff --git a/base/setup/usetup/usetup.c b/base/setup/usetup/usetup.c index 2cc425e9ba1..447616b74d3 100644 --- a/base/setup/usetup/usetup.c +++ b/base/setup/usetup/usetup.c @@ -74,6 +74,10 @@ static PPARTLIST PartitionList = NULL; /* Currently selected partition entry in the list */ static PPARTENTRY CurrentPartition = NULL; +static enum { + PartTypeData, // On MBR-disks, primary or logical partition + PartTypeExtended // MBR-disk container +} PartCreateType = PartTypeData; /* List of supported file systems for the partition to be formatted */ static PFILE_SYSTEM_LIST FileSystemList = NULL; @@ -1524,9 +1528,7 @@ IsDiskSizeValid(PPARTENTRY PartEntry) * Next pages: * SelectFileSystemPage (At once if unattended) * SelectFileSystemPage (Default if free space is selected) - * CreatePrimaryPartitionPage - * CreateExtendedPartitionPage - * CreateLogicalPartitionPage + * CreatePartitionPage * ConfirmDeleteSystemPartitionPage (if the selected partition is the system partition, aka with the boot flag set) * DeletePartitionPage * QuitPage @@ -1604,20 +1606,10 @@ SelectPartitionPage(PINPUT_RECORD Ir) ASSERT(CurrentPartition != NULL); ASSERT(!IsContainerPartition(CurrentPartition->PartitionType)); - if (CurrentPartition->LogicalPartition) - { - CreateLogicalPartition(PartitionList, - CurrentPartition, - CurrentPartition->SectorCount.QuadPart, - TRUE); - } - else - { - CreatePrimaryPartition(PartitionList, - CurrentPartition, - CurrentPartition->SectorCount.QuadPart, - TRUE); - } + CreatePartition(PartitionList, + CurrentPartition, + CurrentPartition->SectorCount.QuadPart, + TRUE); // FIXME?? Aren't we going to enter an infinite loop, if this test fails?? if (!IsDiskSizeValid(CurrentPartition)) @@ -1651,42 +1643,35 @@ SelectPartitionPage(PINPUT_RECORD Ir) while (TRUE) { + ULONG uID; + CurrentPartition = ListUi.CurrentPartition; /* Update status text */ if (CurrentPartition == NULL) { - CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATEPARTITION)); - } - else if (CurrentPartition->LogicalPartition) - { - if (CurrentPartition->IsPartitioned) - { - CONSOLE_SetStatusText(MUIGetString(STRING_DELETEPARTITION)); - } - else - { - CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATELOGICAL)); - } + ASSERT(FALSE); // TEST TEST + uID = STRING_INSTALLCREATEPARTITION; } else { if (CurrentPartition->IsPartitioned) { - if (IsContainerPartition(CurrentPartition->PartitionType)) - { - CONSOLE_SetStatusText(MUIGetString(STRING_DELETEPARTITION)); - } - else + uID = STRING_INSTALLDELETEPARTITION; + if (!CurrentPartition->LogicalPartition && + IsContainerPartition(CurrentPartition->PartitionType)) { - CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLDELETEPARTITION)); + uID = STRING_DELETEPARTITION; } } else { - CONSOLE_SetStatusText(MUIGetString(STRING_INSTALLCREATEPARTITION)); + uID = STRING_INSTALLCREATEPARTITION; + if (CurrentPartition->LogicalPartition) + uID = STRING_INSTALLCREATELOGICAL; } } + CONSOLE_SetStatusText(MUIGetString(uID)); CONSOLE_ConInKey(Ir); @@ -1738,34 +1723,17 @@ SelectPartitionPage(PINPUT_RECORD Ir) if (CurrentPartition->IsPartitioned == FALSE) { - if (CurrentPartition->LogicalPartition) + Error = PartitionCreationChecks(CurrentPartition); + if (Error != NOT_AN_ERROR) { - Error = LogicalPartitionCreationChecks(CurrentPartition); - if (Error != NOT_AN_ERROR) - { - MUIDisplayError(Error, Ir, POPUP_WAIT_ANY_KEY); - return SELECT_PARTITION_PAGE; - } - - CreateLogicalPartition(PartitionList, - CurrentPartition, - 0ULL, - TRUE); + MUIDisplayError(Error, Ir, POPUP_WAIT_ANY_KEY); + return SELECT_PARTITION_PAGE; } - else - { - Error = PrimaryPartitionCreationChecks(CurrentPartition); - if (Error != NOT_AN_ERROR) - { - MUIDisplayError(Error, Ir, POPUP_WAIT_ANY_KEY); - return SELECT_PARTITION_PAGE; - } - CreatePrimaryPartition(PartitionList, - CurrentPartition, - 0ULL, - TRUE); - } + CreatePartition(PartitionList, + CurrentPartition, + 0ULL, + TRUE); } if (!IsDiskSizeValid(CurrentPartition)) @@ -1784,14 +1752,15 @@ SelectPartitionPage(PINPUT_RECORD Ir) if (CurrentPartition->LogicalPartition == FALSE) { - Error = PrimaryPartitionCreationChecks(CurrentPartition); + Error = PartitionCreationChecks(CurrentPartition); if (Error != NOT_AN_ERROR) { MUIDisplayError(Error, Ir, POPUP_WAIT_ANY_KEY); return SELECT_PARTITION_PAGE; } - return CREATE_PRIMARY_PARTITION_PAGE; + PartCreateType = PartTypeData; + return CREATE_PARTITION_PAGE; } } else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'E') /* E */ @@ -1807,7 +1776,8 @@ SelectPartitionPage(PINPUT_RECORD Ir) return SELECT_PARTITION_PAGE; } - return CREATE_EXTENDED_PARTITION_PAGE; + PartCreateType = PartTypeExtended; + return CREATE_PARTITION_PAGE; } } else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'L') /* L */ @@ -1816,14 +1786,15 @@ SelectPartitionPage(PINPUT_RECORD Ir) if (CurrentPartition->LogicalPartition) { - Error = LogicalPartitionCreationChecks(CurrentPartition); + Error = PartitionCreationChecks(CurrentPartition); if (Error != NOT_AN_ERROR) { MUIDisplayError(Error, Ir, POPUP_WAIT_ANY_KEY); return SELECT_PARTITION_PAGE; } - return CREATE_LOGICAL_PARTITION_PAGE; + PartCreateType = PartTypeData; + return CREATE_PARTITION_PAGE; } } else if (Ir->Event.KeyEvent.wVirtualKeyCode == 'D') /* D */ @@ -2066,7 +2037,7 @@ ShowPartitionSizeInputBox(SHORT Left, /* - * Displays the CreatePrimaryPartitionPage. + * Displays the CreatePartitionPage. * * Next pages: * SelectPartitionPage @@ -2077,10 +2048,11 @@ ShowPartitionSizeInputBox(SHORT Left, * Number of the next page. */ static PAGE_NUMBER -CreatePrimaryPartitionPage(PINPUT_RECORD Ir) +CreatePartitionPage(PINPUT_RECORD Ir) { PPARTENTRY PartEntry; PDISKENTRY DiskEntry; + ULONG uID; BOOLEAN Quit; BOOLEAN Cancel; ULONG MaxSize; @@ -2095,149 +2067,33 @@ CreatePrimaryPartitionPage(PINPUT_RECORD Ir) return QUIT_PAGE; } - PartEntry = CurrentPartition; - DiskEntry = CurrentPartition->DiskEntry; - - CONSOLE_SetStatusText(MUIGetString(STRING_PLEASEWAIT)); - - CONSOLE_SetTextXY(6, 8, MUIGetString(STRING_CHOOSENEWPARTITION)); - - DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(6, 10, MUIGetString(STRING_HDINFOPARTCREATE_1), - LineBuffer); - - CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_HDDSIZE)); - -#if 0 - CONSOLE_PrintTextXY(8, 10, "Maximum size of the new partition is %I64u MB", - CurrentPartition->SectorCount * DiskEntry->BytesPerSector / MB); -#endif - - CONSOLE_SetStatusText(MUIGetString(STRING_CREATEPARTITION)); - - PartEntry = CurrentPartition; - while (TRUE) + if (PartCreateType == PartTypeData) { - MaxSize = (PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector) / MB; /* in MBytes (rounded) */ - - if (MaxSize > PARTITION_MAXSIZE) - MaxSize = PARTITION_MAXSIZE; - - ShowPartitionSizeInputBox(12, 14, xScreen - 12, 17, /* left, top, right, bottom */ - MaxSize, InputBuffer, &Quit, &Cancel); - - if (Quit) - { - if (ConfirmQuit(Ir)) - return QUIT_PAGE; - - break; - } - else if (Cancel) - { - return SELECT_PARTITION_PAGE; - } - else - { - PartSize = _wcstoui64(InputBuffer, NULL, 10); - - if (PartSize < 1) - { - /* Too small */ - continue; - } - - if (PartSize > MaxSize) - { - /* Too large */ - continue; - } - - /* Convert to bytes */ - if (PartSize == MaxSize) - { - /* Use all of the unpartitioned disk space */ - SectorCount = PartEntry->SectorCount.QuadPart; - } - else - { - /* Calculate the sector count from the size in MB */ - SectorCount = PartSize * MB / DiskEntry->BytesPerSector; - - /* But never get larger than the unpartitioned disk space */ - if (SectorCount > PartEntry->SectorCount.QuadPart) - SectorCount = PartEntry->SectorCount.QuadPart; - } - - DPRINT ("Partition size: %I64u bytes\n", PartSize); - - CreatePrimaryPartition(PartitionList, - CurrentPartition, - SectorCount, - FALSE); - - return SELECT_PARTITION_PAGE; - } + uID = STRING_CHOOSE_NEW_PARTITION; + if (CurrentPartition->LogicalPartition) + uID = STRING_CHOOSE_NEW_LOGICAL_PARTITION; } - - return CREATE_PRIMARY_PARTITION_PAGE; -} - - -/* - * Displays the CreateExtendedPartitionPage. - * - * Next pages: - * SelectPartitionPage (default) - * QuitPage - * - * RETURNS - * Number of the next page. - */ -static PAGE_NUMBER -CreateExtendedPartitionPage(PINPUT_RECORD Ir) -{ - PPARTENTRY PartEntry; - PDISKENTRY DiskEntry; - BOOLEAN Quit; - BOOLEAN Cancel; - ULONG MaxSize; - ULONGLONG PartSize; - ULONGLONG SectorCount; - WCHAR InputBuffer[50]; - CHAR LineBuffer[100]; - - if (PartitionList == NULL || CurrentPartition == NULL) + else // if (PartCreateType == PartTypeExtended) { - /* FIXME: show an error dialog */ - return QUIT_PAGE; + uID = STRING_CHOOSE_NEW_EXTENDED_PARTITION; } + CONSOLE_SetTextXY(6, 8, MUIGetString(uID)); + PartEntry = CurrentPartition; DiskEntry = CurrentPartition->DiskEntry; - CONSOLE_SetStatusText(MUIGetString(STRING_PLEASEWAIT)); - - CONSOLE_SetTextXY(6, 8, MUIGetString(STRING_CHOOSE_NEW_EXTENDED_PARTITION)); - DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(6, 10, MUIGetString(STRING_HDINFOPARTCREATE_1), + CONSOLE_PrintTextXY(6, 10, MUIGetString(STRING_HDDISK1), LineBuffer); - CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_HDDSIZE)); - -#if 0 - CONSOLE_PrintTextXY(8, 10, "Maximum size of the new partition is %I64u MB", - CurrentPartition->SectorCount * DiskEntry->BytesPerSector / MB); -#endif + CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_HDPARTSIZE)); CONSOLE_SetStatusText(MUIGetString(STRING_CREATEPARTITION)); - PartEntry = CurrentPartition; while (TRUE) { MaxSize = (PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector) / MB; /* in MBytes (rounded) */ - if (MaxSize > PARTITION_MAXSIZE) MaxSize = PARTITION_MAXSIZE; @@ -2248,7 +2104,6 @@ CreateExtendedPartitionPage(PINPUT_RECORD Ir) { if (ConfirmQuit(Ir)) return QUIT_PAGE; - break; } else if (Cancel) @@ -2259,17 +2114,11 @@ CreateExtendedPartitionPage(PINPUT_RECORD Ir) { PartSize = _wcstoui64(InputBuffer, NULL, 10); + /* Retry if too small or too large */ if (PartSize < 1) - { - /* Too small */ continue; - } - if (PartSize > MaxSize) - { - /* Too large */ continue; - } /* Convert to bytes */ if (PartSize == MaxSize) @@ -2287,135 +2136,27 @@ CreateExtendedPartitionPage(PINPUT_RECORD Ir) SectorCount = PartEntry->SectorCount.QuadPart; } - DPRINT ("Partition size: %I64u bytes\n", PartSize); - - CreateExtendedPartition(PartitionList, - CurrentPartition, - SectorCount); - - return SELECT_PARTITION_PAGE; - } - } - - return CREATE_EXTENDED_PARTITION_PAGE; -} - - -/* - * Displays the CreateLogicalPartitionPage. - * - * Next pages: - * SelectFileSystemPage (default) - * QuitPage - * - * RETURNS - * Number of the next page. - */ -static PAGE_NUMBER -CreateLogicalPartitionPage(PINPUT_RECORD Ir) -{ - PPARTENTRY PartEntry; - PDISKENTRY DiskEntry; - BOOLEAN Quit; - BOOLEAN Cancel; - ULONG MaxSize; - ULONGLONG PartSize; - ULONGLONG SectorCount; - WCHAR InputBuffer[50]; - CHAR LineBuffer[100]; - - if (PartitionList == NULL || CurrentPartition == NULL) - { - /* FIXME: show an error dialog */ - return QUIT_PAGE; - } - - PartEntry = CurrentPartition; - DiskEntry = CurrentPartition->DiskEntry; - - CONSOLE_SetStatusText(MUIGetString(STRING_PLEASEWAIT)); - - CONSOLE_SetTextXY(6, 8, MUIGetString(STRING_CHOOSE_NEW_LOGICAL_PARTITION)); - - DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(6, 10, MUIGetString(STRING_HDINFOPARTCREATE_1), - LineBuffer); - - CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_HDDSIZE)); - -#if 0 - CONSOLE_PrintTextXY(8, 10, "Maximum size of the new partition is %I64u MB", - CurrentPartition->SectorCount * DiskEntry->BytesPerSector / MB); -#endif - - CONSOLE_SetStatusText(MUIGetString(STRING_CREATEPARTITION)); - - PartEntry = CurrentPartition; - while (TRUE) - { - MaxSize = (PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector) / MB; /* in MBytes (rounded) */ - - if (MaxSize > PARTITION_MAXSIZE) - MaxSize = PARTITION_MAXSIZE; - - ShowPartitionSizeInputBox(12, 14, xScreen - 12, 17, /* left, top, right, bottom */ - MaxSize, InputBuffer, &Quit, &Cancel); - - if (Quit) - { - if (ConfirmQuit(Ir)) - return QUIT_PAGE; - - break; - } - else if (Cancel) - { - return SELECT_PARTITION_PAGE; - } - else - { - PartSize = _wcstoui64(InputBuffer, NULL, 10); - - if (PartSize < 1) - { - /* Too small */ - continue; - } - - if (PartSize > MaxSize) - { - /* Too large */ - continue; - } + DPRINT("Partition size: %I64u bytes\n", PartSize); - /* Convert to bytes */ - if (PartSize == MaxSize) + if (PartCreateType == PartTypeData) { - /* Use all of the unpartitioned disk space */ - SectorCount = PartEntry->SectorCount.QuadPart; + CreatePartition(PartitionList, + CurrentPartition, + SectorCount, + FALSE); } - else + else // if (PartCreateType == PartTypeExtended) { - /* Calculate the sector count from the size in MB */ - SectorCount = PartSize * MB / DiskEntry->BytesPerSector; - - /* But never get larger than the unpartitioned disk space */ - if (SectorCount > PartEntry->SectorCount.QuadPart) - SectorCount = PartEntry->SectorCount.QuadPart; + CreateExtendedPartition(PartitionList, + CurrentPartition, + SectorCount); } - DPRINT("Partition size: %I64u bytes\n", PartSize); - - CreateLogicalPartition(PartitionList, - CurrentPartition, - SectorCount, - FALSE); - return SELECT_PARTITION_PAGE; } } - return CREATE_LOGICAL_PARTITION_PAGE; + return CREATE_PARTITION_PAGE; } @@ -2489,10 +2230,10 @@ DeletePartitionPage(PINPUT_RECORD Ir) MUIDisplayPage(DELETE_PARTITION_PAGE); PartitionDescription(PartEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(6, 10, " %s", LineBuffer); + CONSOLE_SetTextXY(6, 10, LineBuffer); DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(6, 12, MUIGetString(STRING_HDINFOPARTDELETE_1), + CONSOLE_PrintTextXY(6, 12, MUIGetString(STRING_HDDISK2), LineBuffer); while (TRUE) @@ -2603,7 +2344,7 @@ SelectFileSystemPage(PINPUT_RECORD Ir) CONSOLE_SetTextXY(8, 10, LineBuffer); DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(8, 14, MUIGetString(STRING_HDINFOPARTCREATE_1), + CONSOLE_PrintTextXY(8, 14, MUIGetString(STRING_HDDISK1), LineBuffer); @@ -2664,10 +2405,10 @@ SelectFileSystemPage(PINPUT_RECORD Ir) */ if (!SystemPartition->IsPartitioned) { - CreatePrimaryPartition(PartitionList, - SystemPartition, - 0LL, // SystemPartition->SectorCount.QuadPart, - TRUE); + CreatePartition(PartitionList, + SystemPartition, + 0LL, // SystemPartition->SectorCount.QuadPart, + TRUE); ASSERT(SystemPartition->IsPartitioned); } @@ -2822,20 +2563,9 @@ SelectFileSystemPage(PINPUT_RECORD Ir) if (PartEntry->AutoCreate) { - CONSOLE_SetTextXY(6, 8, MUIGetString(STRING_NEWPARTITION)); - -#if 0 - PartitionDescription(PartEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_SetTextXY(8, 10, LineBuffer); -#endif - - DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(8, 10, MUIGetString(STRING_HDINFOPARTCREATE_1), - LineBuffer); - - CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_PARTFORMAT)); - PartEntry->AutoCreate = FALSE; + + CONSOLE_SetTextXY(6, 8, MUIGetString(STRING_NEWPARTITION)); } else if (PartEntry->New) { @@ -2857,24 +2587,22 @@ SelectFileSystemPage(PINPUT_RECORD Ir) ASSERT(FALSE); break; } - - DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(8, 10, MUIGetString(STRING_HDINFOPARTCREATE_1), - LineBuffer); - - CONSOLE_SetTextXY(6, 12, MUIGetString(STRING_PARTFORMAT)); } else { CONSOLE_SetTextXY(6, 8, MUIGetString(STRING_INSTALLONPART)); + } - PartitionDescription(PartEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_SetTextXY(8, 10, LineBuffer); + PartitionDescription(PartEntry, LineBuffer, ARRAYSIZE(LineBuffer)); + CONSOLE_SetTextXY(6, 10, LineBuffer); - DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); - CONSOLE_PrintTextXY(6, 12, MUIGetString(STRING_HDINFOPARTDELETE_1), - LineBuffer); - } + DiskDescription(DiskEntry, LineBuffer, ARRAYSIZE(LineBuffer)); + CONSOLE_PrintTextXY(6, 12, MUIGetString(STRING_HDDISK2), + LineBuffer); + + /* Show "This Partition will be formatted next" only if it is unformatted */ + if (PartEntry->New || PartEntry->FormatState == Unformatted) + CONSOLE_SetTextXY(6, 14, MUIGetString(STRING_PARTFORMAT)); ASSERT(FileSystemList == NULL); @@ -3018,8 +2746,6 @@ FormatPartitionPage(PINPUT_RECORD Ir) DPRINT("FormatPartitionPage()\n"); - MUIDisplayPage(FORMAT_PARTITION_PAGE); - if (PartitionList == NULL || TempPartition == NULL) { /* FIXME: show an error dialog */ @@ -3034,6 +2760,15 @@ FormatPartitionPage(PINPUT_RECORD Ir) SelectedFileSystem = FileSystemList->Selected; ASSERT(SelectedFileSystem && SelectedFileSystem->FileSystem); + MUIDisplayPage(FORMAT_PARTITION_PAGE); + + PartitionDescription(PartEntry, Buffer, ARRAYSIZE(Buffer)); + CONSOLE_SetTextXY(6, 10, Buffer); + + DiskDescription(DiskEntry, Buffer, ARRAYSIZE(Buffer)); + CONSOLE_PrintTextXY(6, 12, MUIGetString(STRING_HDDISK2), + Buffer); + while (TRUE) { if (!IsUnattendedSetup) @@ -3163,8 +2898,6 @@ CheckFileSystemPage(PINPUT_RECORD Ir) PPARTENTRY PartEntry; CHAR Buffer[MAX_PATH]; - MUIDisplayPage(CHECK_FILE_SYSTEM_PAGE); - if (PartitionList == NULL) { /* FIXME: show an error dialog */ @@ -3181,6 +2914,15 @@ CheckFileSystemPage(PINPUT_RECORD Ir) DPRINT1("CheckFileSystemPage -- PartitionType: 0x%02X ; FileSystem: %S\n", PartEntry->PartitionType, (*PartEntry->FileSystem ? PartEntry->FileSystem : L"n/a")); + MUIDisplayPage(CHECK_FILE_SYSTEM_PAGE); + + PartitionDescription(PartEntry, Buffer, ARRAYSIZE(Buffer)); + CONSOLE_SetTextXY(6, 10, Buffer); + + DiskDescription(PartEntry->DiskEntry, Buffer, ARRAYSIZE(Buffer)); + CONSOLE_PrintTextXY(6, 12, MUIGetString(STRING_HDDISK2), + Buffer); + /* Check the partition */ Status = DoChkdsk(PartEntry); if (Status == STATUS_NOT_SUPPORTED) @@ -4569,16 +4311,8 @@ RunUSetup(VOID) Page = SelectPartitionPage(&Ir); break; - case CREATE_PRIMARY_PARTITION_PAGE: - Page = CreatePrimaryPartitionPage(&Ir); - break; - - case CREATE_EXTENDED_PARTITION_PAGE: - Page = CreateExtendedPartitionPage(&Ir); - break; - - case CREATE_LOGICAL_PARTITION_PAGE: - Page = CreateLogicalPartitionPage(&Ir); + case CREATE_PARTITION_PAGE: + Page = CreatePartitionPage(&Ir); break; case CONFIRM_DELETE_SYSTEM_PARTITION_PAGE: diff --git a/base/setup/usetup/usetup.h b/base/setup/usetup/usetup.h index bc5f9e39ae6..54f3ba771e3 100644 --- a/base/setup/usetup/usetup.h +++ b/base/setup/usetup/usetup.h @@ -94,9 +94,7 @@ typedef enum _PAGE_NUMBER LAYOUT_SETTINGS_PAGE, SELECT_PARTITION_PAGE, - CREATE_PRIMARY_PARTITION_PAGE, - CREATE_EXTENDED_PARTITION_PAGE, - CREATE_LOGICAL_PARTITION_PAGE, + CREATE_PARTITION_PAGE, CHANGE_SYSTEM_PARTITION, CONFIRM_DELETE_SYSTEM_PARTITION_PAGE, DELETE_PARTITION_PAGE, diff --git a/dll/cpl/hotplug/CMakeLists.txt b/dll/cpl/hotplug/CMakeLists.txt index ec6588697c5..c5e636d8938 100644 --- a/dll/cpl/hotplug/CMakeLists.txt +++ b/dll/cpl/hotplug/CMakeLists.txt @@ -3,6 +3,7 @@ spec2def(hotplug.dll hotplug.spec) list(APPEND SOURCE hotplug.c + eject.c enum.c) file(GLOB hotplug_rc_deps resources/*.*) diff --git a/dll/cpl/hotplug/eject.c b/dll/cpl/hotplug/eject.c new file mode 100644 index 00000000000..2de314ba50e --- /dev/null +++ b/dll/cpl/hotplug/eject.c @@ -0,0 +1,62 @@ +/* + * PROJECT: ReactOS Safely Remove Hardware Applet + * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) + * PURPOSE: Hardware safe removal support + * COPYRIGHT: Copyright 2023 Thamatip Chitpong + */ + +#include "hotplug.h" + +static +VOID +SafeRemoveDevice( + _In_ DEVINST DevInst) +{ + PNP_VETO_TYPE VetoType = PNP_VetoTypeUnknown; + CONFIGRET cr; + + cr = CM_Request_Device_EjectW(DevInst, &VetoType, NULL, 0, 0); + if (cr != CR_SUCCESS && VetoType == PNP_VetoTypeUnknown) + { + WCHAR szError[64]; + swprintf(szError, L"Failed to remove device (0x%x)", cr); + MessageBoxW(NULL, szError, NULL, MB_ICONEXCLAMATION | MB_OK); + } +} + +INT_PTR +CALLBACK +ConfirmRemovalDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + static DEVINST selectedDev; + + switch (uMsg) + { + case WM_INITDIALOG: + selectedDev = lParam; + return TRUE; + + case WM_COMMAND: + { + switch (LOWORD(wParam)) + { + case IDOK: + SafeRemoveDevice(selectedDev); + EndDialog(hwndDlg, TRUE); + break; + + case IDCANCEL: + EndDialog(hwndDlg, TRUE); + break; + } + + break; + } + } + + return FALSE; +} diff --git a/dll/cpl/hotplug/hotplug.c b/dll/cpl/hotplug/hotplug.c index 15dea9c7583..a74728abf99 100644 --- a/dll/cpl/hotplug/hotplug.c +++ b/dll/cpl/hotplug/hotplug.c @@ -505,6 +505,18 @@ SafeRemovalDlgProc( ShowDeviceProperties(hwndDlg, GetSelectedDeviceInst(hwndDevTree)); break; } + + case IDC_SAFE_REMOVE_STOP: + case IDM_STOP: + { + HWND hwndDevTree = GetDlgItem(hwndDlg, IDC_SAFE_REMOVE_DEVICE_TREE); + DialogBoxParamW(hApplet, + MAKEINTRESOURCEW(IDD_CONFIRM_STOP_HARDWARE_DIALOG), + hwndDlg, + ConfirmRemovalDlgProc, + (LPARAM)GetSelectedDeviceInst(hwndDevTree)); + break; + } } break; diff --git a/dll/cpl/hotplug/hotplug.h b/dll/cpl/hotplug/hotplug.h index 8e11875c613..47cf851b93a 100644 --- a/dll/cpl/hotplug/hotplug.h +++ b/dll/cpl/hotplug/hotplug.h @@ -39,6 +39,14 @@ typedef struct }APPLET, *PAPPLET; +// eject.c +INT_PTR +CALLBACK +ConfirmRemovalDlgProc( + HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam); // hotplug.c LONG diff --git a/dll/cpl/hotplug/lang/en-US.rc b/dll/cpl/hotplug/lang/en-US.rc index f0728860bba..fc6cc0c9f19 100644 --- a/dll/cpl/hotplug/lang/en-US.rc +++ b/dll/cpl/hotplug/lang/en-US.rc @@ -17,6 +17,18 @@ BEGIN PUSHBUTTON "&Close", IDCLOSE, 216, 224, 55, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP END +IDD_CONFIRM_STOP_HARDWARE_DIALOG DIALOGEX 32, 10, 256, 148 +CAPTION "Stop a Hardware Device" +STYLE DS_SHELLFONT | DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION | WS_SYSMENU +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "ReactOS will attempt to stop the following devices. After the devices are stopped they may be removed safely.", IDC_STATIC, 7, 8, 240, 18, WS_CHILD | WS_VISIBLE | WS_GROUP + LTEXT "Choose OK to continue.", IDC_STATIC, 7, 32, 240, 18, WS_CHILD | WS_VISIBLE | WS_GROUP + CONTROL "", IDC_CONFIRM_STOP_DEVICE_LIST, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 8, 45, 240, 78 + DEFPUSHBUTTON "OK", IDOK, 144, 127, 50, 14 + PUSHBUTTON "Cancel", IDCANCEL, 198, 127, 50, 14 +END + /* Menus */ diff --git a/dll/cpl/hotplug/resource.h b/dll/cpl/hotplug/resource.h index af8d359670d..e848a0f926a 100644 --- a/dll/cpl/hotplug/resource.h +++ b/dll/cpl/hotplug/resource.h @@ -15,6 +15,7 @@ #define IDC_SAFE_REMOVE_DISPLAY_COMPONENTS 306 #define IDD_CONFIRM_STOP_HARDWARE_DIALOG 310 +#define IDC_CONFIRM_STOP_DEVICE_LIST 311 /* Menu IDs */ #define IDM_POPUP_DEVICE_TREE 500 diff --git a/dll/win32/advapi32/reg/reg.c b/dll/win32/advapi32/reg/reg.c index eac6d22f568..d2456324481 100644 --- a/dll/win32/advapi32/reg/reg.c +++ b/dll/win32/advapi32/reg/reg.c @@ -3371,6 +3371,7 @@ RegOpenKeyExW(HKEY hKey, NTSTATUS Status; ULONG Attributes = OBJ_CASE_INSENSITIVE; LONG ErrorCode = ERROR_SUCCESS; + BOOLEAN SubKeyStringAllocated = FALSE; TRACE("RegOpenKeyExW hKey 0x%x lpSubKey %S ulOptions 0x%x samDesired 0x%x phkResult %p\n", hKey, lpSubKey, ulOptions, samDesired, phkResult); @@ -3407,10 +3408,31 @@ RegOpenKeyExW(HKEY hKey, Attributes |= OBJ_OPENLINK; if (lpSubKey == NULL || wcscmp(lpSubKey, L"\\") == 0) + { RtlInitUnicodeString(&SubKeyString, L""); + } else + { RtlInitUnicodeString(&SubKeyString, lpSubKey); + /* Handle unaligned lpSubKey */ + if ((ULONG_PTR)lpSubKey & 1) + { + UNICODE_STRING AlignedString; + + Status = RtlDuplicateUnicodeString(RTL_DUPLICATE_UNICODE_STRING_NULL_TERMINATE, + &SubKeyString, + &AlignedString); + if (!NT_SUCCESS(Status)) + { + goto Exit; + } + + SubKeyString = AlignedString; + SubKeyStringAllocated = TRUE; + } + } + InitializeObjectAttributes(&ObjectAttributes, &SubKeyString, Attributes, @@ -3421,37 +3443,11 @@ RegOpenKeyExW(HKEY hKey, samDesired, &ObjectAttributes); - if (Status == STATUS_DATATYPE_MISALIGNMENT) - { - HANDLE hAligned; - UNICODE_STRING AlignedString; - - Status = RtlDuplicateUnicodeString(RTL_DUPLICATE_UNICODE_STRING_NULL_TERMINATE, - &SubKeyString, - &AlignedString); - if (NT_SUCCESS(Status)) - { - /* Try again with aligned parameters */ - InitializeObjectAttributes(&ObjectAttributes, - &AlignedString, - Attributes, - KeyHandle, - NULL); - - Status = NtOpenKey(&hAligned, - samDesired, - &ObjectAttributes); - - RtlFreeUnicodeString(&AlignedString); +Exit: - if (NT_SUCCESS(Status)) - *phkResult = hAligned; - } - else - { - /* Restore the original error */ - Status = STATUS_DATATYPE_MISALIGNMENT; - } + if (SubKeyStringAllocated) + { + RtlFreeUnicodeString(&SubKeyString); } if (!NT_SUCCESS(Status)) @@ -3459,7 +3455,6 @@ RegOpenKeyExW(HKEY hKey, ErrorCode = RtlNtStatusToDosError(Status); } - ClosePredefKey(KeyHandle); return ErrorCode; diff --git a/dll/win32/imm32/CtfImeTable.h b/dll/win32/imm32/CtfImeTable.h new file mode 100644 index 00000000000..14f701b6c46 --- /dev/null +++ b/dll/win32/imm32/CtfImeTable.h @@ -0,0 +1,18 @@ +/* + * PROJECT: ReactOS IMM32 + * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) + * PURPOSE: Defining the CTF IME file interface + * COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ + */ + +/* The valid CTF IME file contains the following functions: */ + +/* DEFINE_CTF_IME_FN(func_name, ret_type, params) */ +DEFINE_CTF_IME_FN(CtfImeCreateThreadMgr, HRESULT, (VOID)) +DEFINE_CTF_IME_FN(CtfImeDestroyThreadMgr, HRESULT, (VOID)) +DEFINE_CTF_IME_FN(CtfImeCreateInputContext, HRESULT, (HIMC hIMC)) +DEFINE_CTF_IME_FN(CtfImeDestroyInputContext, HRESULT, (HIMC hIMC)) +DEFINE_CTF_IME_FN(CtfImeSetActiveContextAlways, HRESULT, (DWORD dwFIXME1, DWORD dwFIXME2, DWORD dwFIXME3, DWORD dwFIXME4)) +DEFINE_CTF_IME_FN(CtfImeProcessCicHotkey, HRESULT, (DWORD dwFIXME1, DWORD dwFIXME2, DWORD dwFIXME3)) +DEFINE_CTF_IME_FN(CtfImeDispatchDefImeMessage, LRESULT, (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)) +DEFINE_CTF_IME_FN(CtfImeIsIME, BOOL, (HKL hKL)) diff --git a/dll/win32/imm32/ctf.c b/dll/win32/imm32/ctf.c index b796ff4290d..dc4d0497f8e 100644 --- a/dll/win32/imm32/ctf.c +++ b/dll/win32/imm32/ctf.c @@ -2,7 +2,7 @@ * PROJECT: Windivs IMM32 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later) * PURPOSE: Implementing the IMM32 Cicero-aware Text Framework (CTF) - * COPYRIGHT: Copyright 2022 Katayama Hirofumi MZ + * COPYRIGHT: Copyright 2022-2023 Katayama Hirofumi MZ */ #include "precomp.h" @@ -17,62 +17,326 @@ WINE_DEFAULT_DEBUG_CHANNEL(imm); * https://googleprojectzero.blogspot.com/2019/08/down-rabbit-hole.html */ -// Win: LoadCtfIme -HMODULE APIENTRY Imm32LoadCtfIme(VOID) +/* + * TSF stands for "Text Services Framework". "Cicero" is the code name of TSF. + * CTF stands for "Cicero-aware Text Framework". + * + * Comparing with old-style IMM IME, the combination of CTF IME and TSF provides + * new-style and high-level input method. + * + * The CTF IME file is a DLL file that the software developer distributes. + * The export functions of the CTF IME file are defined in "CtfImeTable.h" of + * this folder. + */ + +/* The instance of the CTF IME file */ +HINSTANCE g_hCtfIme = NULL; + +/* Define the function types (FN_...) for CTF IME functions */ +#undef DEFINE_CTF_IME_FN +#define DEFINE_CTF_IME_FN(func_name, ret_type, params) \ + typedef ret_type (WINAPI *FN_##func_name)params; +#include "CtfImeTable.h" + +/* Define the global variables (g_pfn...) for CTF IME functions */ +#undef DEFINE_CTF_IME_FN +#define DEFINE_CTF_IME_FN(func_name, ret_type, params) \ + FN_##func_name g_pfn##func_name = NULL; +#include "CtfImeTable.h" + +/* The macro that gets the variable name from the CTF IME function name */ +#define CTF_IME_FN(func_name) g_pfn##func_name + +/* The type of ApphelpCheckIME function in apphelp.dll */ +typedef BOOL (WINAPI *FN_ApphelpCheckIME)(_In_z_ LPCWSTR AppName); + +/* FIXME: This is kernel32 function. We have to declare this in some header. */ +BOOL WINAPI +BaseCheckAppcompatCache(_In_z_ LPCWSTR ApplicationName, + _In_ HANDLE FileHandle, + _In_opt_z_ LPCWSTR Environment, + _Out_ PULONG pdwReason); + +/*********************************************************************** + * This function checks whether the app's IME is disabled by application + * compatibility patcher. + */ +BOOL +Imm32CheckAndApplyAppCompat( + _In_ ULONG dwReason, + _In_z_ LPCWSTR pszAppName) { - return NULL; + HINSTANCE hinstApphelp; + FN_ApphelpCheckIME pApphelpCheckIME; + + /* Query the application compatibility patcher */ + if (BaseCheckAppcompatCache(pszAppName, INVALID_HANDLE_VALUE, NULL, &dwReason)) + return TRUE; /* The app's IME is not disabled */ + + /* Load apphelp.dll if necessary */ + hinstApphelp = GetModuleHandleW(L"apphelp.dll"); + if (!hinstApphelp) + { + hinstApphelp = LoadLibraryW(L"apphelp.dll"); + if (!hinstApphelp) + return TRUE; /* There is no apphelp.dll. The app's IME is not disabled */ + } + + /* Is ApphelpCheckIME implemented? */ + pApphelpCheckIME = (FN_ApphelpCheckIME)GetProcAddress(hinstApphelp, "ApphelpCheckIME"); + if (!pApphelpCheckIME) + return TRUE; /* Not implemented. The app's IME is not disabled */ + + /* Is the app's IME disabled or not? */ + return pApphelpCheckIME(pszAppName); } -// Win: Internal_CtfImeDestroyInputContext -HRESULT APIENTRY Imm32CtfImeDestroyInputContext(HIMC hIMC) +/*********************************************************************** + * This function loads the CTF IME file if necessary and establishes + * communication with the CTF IME. + */ +HINSTANCE +Imm32LoadCtfIme(VOID) +{ + BOOL bSuccess = FALSE; + IMEINFOEX ImeInfoEx; + WCHAR szImeFile[MAX_PATH]; + + /* Lock the IME interface */ + RtlEnterCriticalSection(&gcsImeDpi); + + do + { + if (g_hCtfIme) /* Already loaded? */ + { + bSuccess = TRUE; + break; + } + + /* + * NOTE: (HKL)0x04090409 is English US keyboard (default). + * The Cicero keyboard logically uses English US keyboard. + */ + if (!ImmLoadLayout((HKL)ULongToHandle(0x04090409), &ImeInfoEx)) + break; + + /* Build a path string in system32. The installed IME file must be in system32. */ + Imm32GetSystemLibraryPath(szImeFile, _countof(szImeFile), ImeInfoEx.wszImeFile); + + /* Is the CTF IME disabled by app compatibility patcher? */ + if (!Imm32CheckAndApplyAppCompat(0, szImeFile)) + break; /* This IME is disabled */ + + /* Load a CTF IME file */ + g_hCtfIme = LoadLibraryW(szImeFile); + if (!g_hCtfIme) + break; + + /* Assume success */ + bSuccess = TRUE; + + /* Retrieve the CTF IME functions */ +#undef DEFINE_CTF_IME_FN +#define DEFINE_CTF_IME_FN(func_name, ret_type, params) \ + CTF_IME_FN(func_name) = (FN_##func_name)GetProcAddress(g_hCtfIme, #func_name); \ + if (!CTF_IME_FN(func_name)) \ + { \ + bSuccess = FALSE; /* Failed */ \ + break; \ + } +#include "CtfImeTable.h" + } while (0); + + /* Unload the CTF IME if failed */ + if (!bSuccess) + { + /* Set NULL to the function pointers */ +#undef DEFINE_CTF_IME_FN +#define DEFINE_CTF_IME_FN(func_name, ret_type, params) CTF_IME_FN(func_name) = NULL; +#include "CtfImeTable.h" + + if (g_hCtfIme) + { + FreeLibrary(g_hCtfIme); + g_hCtfIme = NULL; + } + } + + /* Unlock the IME interface */ + RtlLeaveCriticalSection(&gcsImeDpi); + + return g_hCtfIme; +} + +/*********************************************************************** + * This function calls the same name function of the CTF IME side. + */ +HRESULT +CtfImeCreateThreadMgr(VOID) { if (!Imm32LoadCtfIme()) return E_FAIL; -#if 1 - FIXME("(%p)\n", hIMC); - return E_NOTIMPL; -#else - return g_pfnCtfImeDestroyInputContext(hIMC); -#endif + return CTF_IME_FN(CtfImeCreateThreadMgr)(); +} + +/*********************************************************************** + * This function calls the same name function of the CTF IME side. + */ +HRESULT +CtfImeDestroyThreadMgr(VOID) +{ + if (!Imm32LoadCtfIme()) + return E_FAIL; + + return CTF_IME_FN(CtfImeDestroyThreadMgr)(); +} + +/*********************************************************************** + * This function calls the same name function of the CTF IME side. + */ +HRESULT +CtfImeCreateInputContext( + _In_ HIMC hIMC) +{ + if (!Imm32LoadCtfIme()) + return E_FAIL; + + return CTF_IME_FN(CtfImeCreateInputContext)(hIMC); +} + +/*********************************************************************** + * This function calls the same name function of the CTF IME side. + */ +HRESULT +CtfImeDestroyInputContext(_In_ HIMC hIMC) +{ + if (!Imm32LoadCtfIme()) + return E_FAIL; + + return CTF_IME_FN(CtfImeDestroyInputContext)(hIMC); +} + +/*********************************************************************** + * The callback function to activate CTF IMEs. Used in CtfAImmActivate. + */ +static BOOL CALLBACK +Imm32EnumCreateCtfICProc( + _In_ HIMC hIMC, + _In_ LPARAM lParam) +{ + UNREFERENCED_PARAMETER(lParam); + CtfImeCreateInputContext(hIMC); + return TRUE; /* Continue */ } -// Win: CtfImmTIMDestroyInputContext -HRESULT APIENTRY CtfImmTIMDestroyInputContext(HIMC hIMC) +/*********************************************************************** + * This function calls CtfImeDestroyInputContext if possible. + */ +HRESULT +CtfImmTIMDestroyInputContext( + _In_ HIMC hIMC) { if (!IS_CICERO_MODE() || (GetWin32ClientInfo()->dwCompatFlags2 & 2)) return E_NOINTERFACE; - return Imm32CtfImeDestroyInputContext(hIMC); + return CtfImeDestroyInputContext(hIMC); } -// Win: CtfImmTIMCreateInputContext -HRESULT APIENTRY CtfImmTIMCreateInputContext(HIMC hIMC) +HRESULT +CtfImmTIMCreateInputContext( + _In_ HIMC hIMC) { TRACE("(%p)\n", hIMC); return E_NOTIMPL; } +/*********************************************************************** + * CtfAImmActivate (IMM32.@) + * + * This function activates "Active IMM" (AIMM) and TSF. + */ +HRESULT WINAPI +CtfAImmActivate( + _Out_opt_ HINSTANCE *phinstCtfIme) +{ + HRESULT hr; + HINSTANCE hinstCtfIme; + + TRACE("(%p)\n", phinstCtfIme); + + /* Load a CTF IME file if necessary */ + hinstCtfIme = Imm32LoadCtfIme(); + + /* Create a thread manager of the CTF IME */ + hr = CtfImeCreateThreadMgr(); + if (hr == S_OK) + { + /* Update CI_... flags of the thread client info */ + GetWin32ClientInfo()->CI_flags |= CI_AIMMACTIVATED; /* Activate AIMM */ + GetWin32ClientInfo()->CI_flags &= ~CI_TSFDISABLED; /* Enable TSF */ + + /* Create the CTF input contexts */ + ImmEnumInputContext(0, Imm32EnumCreateCtfICProc, 0); + } + + if (phinstCtfIme) + *phinstCtfIme = hinstCtfIme; + + return hr; +} + +/*********************************************************************** + * CtfAImmDeactivate (IMM32.@) + * + * This function de-activates "Active IMM" (AIMM) and TSF. + */ +HRESULT WINAPI +CtfAImmDeactivate( + _In_ BOOL bDestroy) +{ + HRESULT hr; + + if (!bDestroy) + return E_FAIL; + + hr = CtfImeDestroyThreadMgr(); + if (hr == S_OK) + { + GetWin32ClientInfo()->CI_flags &= ~CI_AIMMACTIVATED; /* Deactivate AIMM */ + GetWin32ClientInfo()->CI_flags |= CI_TSFDISABLED; /* Disable TSF */ + } + + return hr; +} + /*********************************************************************** * CtfImmIsCiceroEnabled (IMM32.@) + * + * @return TRUE if Cicero is enabled. */ -BOOL WINAPI CtfImmIsCiceroEnabled(VOID) +BOOL WINAPI +CtfImmIsCiceroEnabled(VOID) { return IS_CICERO_MODE(); } /*********************************************************************** * CtfImmIsTextFrameServiceDisabled(IMM32.@) + * + * @return TRUE if TSF is disabled. */ -BOOL WINAPI CtfImmIsTextFrameServiceDisabled(VOID) +BOOL WINAPI +CtfImmIsTextFrameServiceDisabled(VOID) { - return !!(GetWin32ClientInfo()->CI_flags & CI_TFSDISABLED); + return !!(GetWin32ClientInfo()->CI_flags & CI_TSFDISABLED); } /*********************************************************************** * CtfImmTIMActivate(IMM32.@) */ -HRESULT WINAPI CtfImmTIMActivate(HKL hKL) +HRESULT WINAPI +CtfImmTIMActivate(_In_ HKL hKL) { FIXME("(%p)\n", hKL); return E_NOTIMPL; @@ -81,7 +345,8 @@ HRESULT WINAPI CtfImmTIMActivate(HKL hKL) /*********************************************************************** * CtfImmRestoreToolbarWnd(IMM32.@) */ -VOID WINAPI CtfImmRestoreToolbarWnd(DWORD dwStatus) +VOID WINAPI +CtfImmRestoreToolbarWnd(_In_ DWORD dwStatus) { FIXME("(0x%lx)\n", dwStatus); } @@ -89,7 +354,8 @@ VOID WINAPI CtfImmRestoreToolbarWnd(DWORD dwStatus) /*********************************************************************** * CtfImmHideToolbarWnd(IMM32.@) */ -DWORD WINAPI CtfImmHideToolbarWnd(VOID) +DWORD WINAPI +CtfImmHideToolbarWnd(VOID) { FIXME("()\n"); return 0; @@ -98,7 +364,12 @@ DWORD WINAPI CtfImmHideToolbarWnd(VOID) /*********************************************************************** * CtfImmDispatchDefImeMessage(IMM32.@) */ -LRESULT WINAPI CtfImmDispatchDefImeMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) +LRESULT WINAPI +CtfImmDispatchDefImeMessage( + _In_ HWND hWnd, + _In_ UINT uMsg, + _In_ WPARAM wParam, + _In_ LPARAM lParam) { /* FIXME("(%p, %u, %p, %p)\n", hWnd, uMsg, wParam, lParam); */ return 0; @@ -107,7 +378,9 @@ LRESULT WINAPI CtfImmDispatchDefImeMessage(HWND hWnd, UINT uMsg, WPARAM wParam, /*********************************************************************** * CtfImmIsGuidMapEnable(IMM32.@) */ -BOOL WINAPI CtfImmIsGuidMapEnable(HIMC hIMC) +BOOL WINAPI +CtfImmIsGuidMapEnable( + _In_ HIMC hIMC) { DWORD dwThreadId; HKL hKL; @@ -138,7 +411,11 @@ BOOL WINAPI CtfImmIsGuidMapEnable(HIMC hIMC) /*********************************************************************** * CtfImmGetGuidAtom(IMM32.@) */ -HRESULT WINAPI CtfImmGetGuidAtom(HIMC hIMC, DWORD dwUnknown, LPDWORD pdwGuidAtom) +HRESULT WINAPI +CtfImmGetGuidAtom( + _In_ HIMC hIMC, + _In_ DWORD dwUnknown, + _Out_ LPDWORD pdwGuidAtom) { HRESULT hr = E_FAIL; PIMEDPI pImeDpi; diff --git a/dll/win32/imm32/imm32.spec b/dll/win32/imm32/imm32.spec index 92ac837fffd..eec7202482a 100644 --- a/dll/win32/imm32/imm32.spec +++ b/dll/win32/imm32/imm32.spec @@ -1,3 +1,5 @@ +@ stdcall CtfAImmActivate(ptr) +@ stdcall CtfAImmDeactivate(long) @ stdcall CtfImmIsCiceroEnabled() @ stdcall CtfImmIsTextFrameServiceDisabled() @ stdcall CtfImmTIMActivate(ptr) diff --git a/dll/win32/imm32/precomp.h b/dll/win32/imm32/precomp.h index edff9f0e7d8..2f2d740a16a 100644 --- a/dll/win32/imm32/precomp.h +++ b/dll/win32/imm32/precomp.h @@ -143,7 +143,6 @@ BOOL WINAPI Imm32IsImcAnsi(HIMC hIMC); #define IS_CROSS_THREAD_HIMC(hIMC) IS_TRUE_UNEXPECTEDLY(Imm32IsCrossThreadAccess(hIMC)) #define IS_CROSS_PROCESS_HWND(hWnd) IS_TRUE_UNEXPECTEDLY(Imm32IsCrossProcessAccess(hWnd)) #define ImeDpi_IsUnicode(pImeDpi) ((pImeDpi)->ImeInfo.fdwProperty & IME_PROP_UNICODE) -#define IS_16BIT_MODE() (GetWin32ClientInfo()->dwTIFlags & TIF_16BIT) DWORD APIENTRY CandidateListWideToAnsi(const CANDIDATELIST *pWideCL, LPCANDIDATELIST pAnsiCL, DWORD dwBufLen, @@ -189,3 +188,6 @@ PTHREADINFO FASTCALL Imm32CurrentPti(VOID); HBITMAP Imm32LoadBitmapFromBytes(const BYTE *pb); BOOL Imm32StoreBitmapToBytes(HBITMAP hbm, LPBYTE pbData, DWORD cbDataMax); + +HRESULT CtfImmTIMCreateInputContext(_In_ HIMC hIMC); +HRESULT CtfImmTIMDestroyInputContext(_In_ HIMC hIMC); diff --git a/dll/win32/iphlpapi/address.c b/dll/win32/iphlpapi/address.c index 5ca365ef839..11b84d4f97e 100644 --- a/dll/win32/iphlpapi/address.c +++ b/dll/win32/iphlpapi/address.c @@ -331,8 +331,8 @@ GetAdaptersAddresses( DWORD MIN_SIZE = 15 * 1024; PIP_ADAPTER_ADDRESSES PreviousAA = NULL; - FIXME("GetAdaptersAddresses - Semi Stub: Family %u, Flags 0x%08x, Reserved %p, pAdapterAddress %p, pOutBufLen %p.\n", - Family, Flags, Reserved, pAdapterAddresses, pOutBufLen); + TRACE("Family %u, Flags 0x%08x, Reserved %p, pAdapterAddress %p, pOutBufLen %p\n", + Family, Flags, Reserved, pAdapterAddresses, pOutBufLen); if (!pOutBufLen) return ERROR_INVALID_PARAMETER; diff --git a/dll/win32/shell32/shell32.spec b/dll/win32/shell32/shell32.spec index 9cc8bfd8cdc..2aabb8efb2a 100644 --- a/dll/win32/shell32/shell32.spec +++ b/dll/win32/shell32/shell32.spec @@ -200,7 +200,7 @@ 201 stdcall -noname SHDesktopMessageLoop(ptr) 202 stub -noname DDEHandleViewFolderNotify 203 stdcall -noname AddCommasW(long wstr) -204 stdcall -noname ShortSizeFormatW(double) +204 stdcall -noname ShortSizeFormatW(long ptr) 205 stdcall -noname Printer_LoadIconsW(wstr ptr ptr) 206 stdcall ExtractAssociatedIconA(long str ptr) 207 stdcall ExtractAssociatedIconExA(long str long long) diff --git a/dll/win32/shell32/stubs.cpp b/dll/win32/shell32/stubs.cpp index f8518336906..a23fb0364b5 100644 --- a/dll/win32/shell32/stubs.cpp +++ b/dll/win32/shell32/stubs.cpp @@ -14,17 +14,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell); -/* - * Unimplemented - */ -EXTERN_C LPWSTR -WINAPI -ShortSizeFormatW(LONGLONG llNumber) -{ - FIXME("ShortSizeFormatW() stub\n"); - return NULL; -} - /* * Unimplemented */ @@ -218,35 +207,20 @@ SHGetSetFolderCustomSettingsA(LPSHFOLDERCUSTOMSETTINGSA pfcs, return E_FAIL; } -/* - * Unimplemented +/************************************************************************* + * SHOpenPropSheetW [SHELL32.80] + * + * @see https://learn.microsoft.com/en-us/windows/win32/api/shlobj/nf-shlobj-shopenpropsheetw */ -EXTERN_C BOOL -WINAPI -SHOpenPropSheetA(LPCSTR lpCaption, - HKEY hKeys[], - UINT uCount, - const CLSID *pClsID, - IDataObject *pDataObject, - IShellBrowser *pShellBrowser, - LPCSTR lpStartPage) -{ - FIXME("SHOpenPropSheetA() stub\n"); - return FALSE; -} - -/* - * Unimplemented - */ -EXTERN_C BOOL -WINAPI -SHOpenPropSheetW(LPCWSTR lpCaption, - HKEY hKeys[], - UINT uCount, - const CLSID *pClsID, - IDataObject *pDataObject, - IShellBrowser *pShellBrowser, - LPCWSTR lpStartPage) +BOOL WINAPI +SHOpenPropSheetW( + _In_opt_z_ LPCWSTR pszCaption, + _In_opt_ HKEY *ahKeys, + _In_ UINT cKeys, + _In_ const CLSID *pclsidDefault, + _In_ IDataObject *pDataObject, + _In_opt_ IShellBrowser *pShellBrowser, + _In_opt_z_ LPCWSTR pszStartPage) { FIXME("SHOpenPropSheetW() stub\n"); return FALSE; @@ -783,17 +757,6 @@ DAD_DragEnterEx2(HWND hwndTarget, return FALSE; } -/* - * Unimplemented - */ -EXTERN_C BOOL -WINAPI -IsSuspendAllowed(VOID) -{ - FIXME("IsSuspendAllowed() stub\n"); - return FALSE; -} - /* * Unimplemented */ diff --git a/dll/win32/shell32/utils.cpp b/dll/win32/shell32/utils.cpp index 57ade40713e..895d66ff38a 100644 --- a/dll/win32/shell32/utils.cpp +++ b/dll/win32/shell32/utils.cpp @@ -28,6 +28,19 @@ static BOOL OpenEffectiveToken(DWORD DesiredAccess, HANDLE *phToken) return ret; } +/************************************************************************* + * ShortSizeFormatW (SHELL32.204) + */ +EXTERN_C +LPWSTR WINAPI +ShortSizeFormatW( + _In_ DWORD dwNumber, + _Out_writes_z_(0x8FFF) LPWSTR pszBuffer) +{ + TRACE("(%lu, %p)\n", dwNumber, pszBuffer); + return StrFormatByteSizeW(dwNumber, pszBuffer, 0x8FFF); +} + /************************************************************************* * SHOpenEffectiveToken (SHELL32.235) */ @@ -164,6 +177,20 @@ SHTestTokenPrivilegeW(_In_opt_ HANDLE hToken, _In_z_ LPCWSTR lpName) return ret; } +BOOL IsShutdownAllowed(VOID) +{ + return SHTestTokenPrivilegeW(NULL, SE_SHUTDOWN_NAME); +} + +/************************************************************************* + * IsSuspendAllowed (SHELL32.53) + */ +BOOL WINAPI IsSuspendAllowed(VOID) +{ + TRACE("()\n"); + return IsShutdownAllowed() && IsPwrSuspendAllowed(); +} + /************************************************************************* * SHGetShellStyleHInstance (SHELL32.749) */ @@ -452,3 +479,41 @@ LargeIntegerToString( return Int64ToString(pLargeInt->QuadPart, pszOut, cchOut, bUseFormat, pNumberFormat, dwNumberFlags); } + +/************************************************************************* + * SHOpenPropSheetA [SHELL32.707] + * + * @see https://learn.microsoft.com/en-us/windows/win32/api/shlobj/nf-shlobj-shopenpropsheeta + */ +EXTERN_C +BOOL WINAPI +SHOpenPropSheetA( + _In_opt_z_ LPCSTR pszCaption, + _In_opt_ HKEY *ahKeys, + _In_ UINT cKeys, + _In_ const CLSID *pclsidDefault, + _In_ IDataObject *pDataObject, + _In_opt_ IShellBrowser *pShellBrowser, + _In_opt_z_ LPCSTR pszStartPage) +{ + WCHAR szStartPageW[MAX_PATH], szCaptionW[MAX_PATH]; + LPCWSTR pszCaptionW = NULL, pszStartPageW = NULL; + + TRACE("(%s, %p, %u, %p, %p, %p, %s)", pszCaption, ahKeys, cKeys, pclsidDefault, pDataObject, + pShellBrowser, pszStartPage); + + if (pszCaption) + { + SHAnsiToUnicode(pszCaption, szCaptionW, _countof(szCaptionW)); + pszCaptionW = szCaptionW; + } + + if (pszStartPage) + { + SHAnsiToUnicode(pszStartPage, szStartPageW, _countof(szStartPageW)); + pszStartPageW = szStartPageW; + } + + return SHOpenPropSheetW(pszCaptionW, ahKeys, cKeys, pclsidDefault, + pDataObject, pShellBrowser, pszStartPageW); +} diff --git a/sdk/include/psdk/shlobj.h b/sdk/include/psdk/shlobj.h index 601fd58f30c..39124f6af41 100644 --- a/sdk/include/psdk/shlobj.h +++ b/sdk/include/psdk/shlobj.h @@ -340,6 +340,25 @@ int WINAPI PathCleanupSpec(_In_opt_ LPCWSTR, _Inout_ LPWSTR); HINSTANCE WINAPI SHGetShellStyleHInstance(VOID); #endif +BOOL WINAPI +SHOpenPropSheetA( + _In_opt_z_ LPCSTR pszCaption, + _In_opt_ HKEY *ahKeys, + _In_ UINT cKeys, + _In_ const CLSID *pclsidDefault, + _In_ IDataObject *pDataObject, + _In_opt_ IShellBrowser *pShellBrowser, + _In_opt_z_ LPCSTR pszStartPage); +BOOL WINAPI +SHOpenPropSheetW( + _In_opt_z_ LPCWSTR pszCaption, + _In_opt_ HKEY *ahKeys, + _In_ UINT cKeys, + _In_ const CLSID *pclsidDefault, + _In_ IDataObject *pDataObject, + _In_opt_ IShellBrowser *pShellBrowser, + _In_opt_z_ LPCWSTR pszStartPage); + /***************************************************************************** * IContextMenu interface */ diff --git a/sdk/include/reactos/imm32_undoc.h b/sdk/include/reactos/imm32_undoc.h index 601e576ecef..4c25b625622 100644 --- a/sdk/include/reactos/imm32_undoc.h +++ b/sdk/include/reactos/imm32_undoc.h @@ -14,14 +14,16 @@ extern "C" { BOOL WINAPI ImmGetImeInfoEx(PIMEINFOEX pImeInfoEx, IMEINFOEXCLASS SearchType, PVOID pvSearchKey); +BOOL WINAPI ImmLoadLayout(HKL hKL, PIMEINFOEX pImeInfoEx); PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc); VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc); PIMEDPI WINAPI ImmLockImeDpi(HKL hKL); VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi); -HRESULT APIENTRY CtfImmTIMCreateInputContext(HIMC hIMC); -HRESULT APIENTRY CtfImmTIMDestroyInputContext(HIMC hIMC); HRESULT WINAPI CtfImmTIMActivate(HKL hKL); +HRESULT WINAPI CtfAImmActivate(_Out_opt_ HINSTANCE *phinstCtfIme); +HRESULT WINAPI CtfAImmDeactivate(_In_ BOOL bDestroy); + #ifdef __cplusplus } // extern "C" #endif diff --git a/sdk/include/reactos/undocshell.h b/sdk/include/reactos/undocshell.h index 1577466ab9f..63e1b8cfd78 100644 --- a/sdk/include/reactos/undocshell.h +++ b/sdk/include/reactos/undocshell.h @@ -684,6 +684,11 @@ LargeIntegerToString( _In_opt_ const NUMBERFMTW *pNumberFormat, _In_ DWORD dwNumberFlags); +LPWSTR WINAPI +ShortSizeFormatW( + _In_ DWORD dwNumber, + _Out_writes_z_(0x8FFF) LPWSTR pszBuffer); + BOOL WINAPI SHOpenEffectiveToken(_Out_ LPHANDLE phToken); DWORD WINAPI SHGetUserSessionId(_In_opt_ HANDLE hToken); @@ -697,6 +702,7 @@ SHInvokePrivilegedFunctionW( BOOL WINAPI SHTestTokenPrivilegeW(_In_opt_ HANDLE hToken, _In_z_ LPCWSTR lpName); +BOOL WINAPI IsSuspendAllowed(VOID); /***************************************************************************** * Shell32 resources diff --git a/win32ss/include/ntuser.h b/win32ss/include/ntuser.h index e1a3ee9788a..1cb0fb2db4c 100644 --- a/win32ss/include/ntuser.h +++ b/win32ss/include/ntuser.h @@ -302,8 +302,9 @@ typedef struct _CALLBACKWND #define CI_INITTHREAD 0x00000008 #define CI_CURTHPRHOOK 0x00000010 #define CI_CLASSESREGISTERED 0x00000020 -#define CI_IMMACTIVATE 0x00000040 -#define CI_TFSDISABLED 0x00000400 +#define CI_IMMACTIVATE 0x00000040 /* IMM/IME (Asian input) */ +#define CI_TSFDISABLED 0x00000400 /* TSF (Text Services Framework a.k.a. Cicero) */ +#define CI_AIMMACTIVATED 0x00000800 /* Active IMM (AIMM) */ /* * CLIENTINFO structure. @@ -1231,6 +1232,7 @@ typedef enum IMEINFOEXCLASS #define IS_IME_HKL(hkl) ((((ULONG_PTR)(hkl)) & 0xF0000000) == 0xE0000000) #define IS_IMM_MODE() (gpsi && (gpsi->dwSRVIFlags & SRVINFO_IMM32)) #define IS_CICERO_MODE() (gpsi && (gpsi->dwSRVIFlags & SRVINFO_CICERO_ENABLED)) +#define IS_16BIT_MODE() (GetWin32ClientInfo()->dwTIFlags & TIF_16BIT) typedef struct tagIMEUI { diff --git a/win32ss/user/ntuser/defwnd.c b/win32ss/user/ntuser/defwnd.c index de4b4e12e18..5034fa9ea9d 100644 --- a/win32ss/user/ntuser/defwnd.c +++ b/win32ss/user/ntuser/defwnd.c @@ -528,10 +528,33 @@ DefWndScreenshot(PWND pWnd) UserCloseClipboard(); } +/** + * Toggle the input language on Alt+Shift or Ctrl+Shift. + * The behaviour depends on key "HKCU\Keyboard Layout\Toggle", value "Language Hotkey". + * @see https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc976564%28v=technet.10%29 + */ +static VOID FASTCALL IntToggleInputLanguage(PWND Wnd) +{ + RTL_ATOM ClassAtom = 0; + UNICODE_STRING ustrClass, ustrWindow; + HWND hwndSwitch; + + /* Use kbswitcher window of kbswitch.exe */ + RtlInitUnicodeString(&ustrClass, L"kbswitcher"); + IntGetAtomFromStringOrAtom(&ustrClass, &ClassAtom); + RtlInitUnicodeString(&ustrWindow, L""); + hwndSwitch = IntFindWindow(UserGetDesktopWindow(), NULL, ClassAtom, &ustrWindow); + if (!hwndSwitch) + return; + +#define ID_NEXTLAYOUT 10003 + UserPostMessage(hwndSwitch, WM_COMMAND, ID_NEXTLAYOUT, (LPARAM)UserHMGetHandle(Wnd)); +#undef ID_NEXTLAYOUT +} + /* Win32k counterpart of User DefWindowProc */ -/* Win: xxxRealDefWindowProc */ LRESULT FASTCALL IntDefWindowProc( PWND Wnd, @@ -788,6 +811,14 @@ IntDefWindowProc( co_IntSendMessage(UserHMGetHandle(Wnd), WM_CONTEXTMENU, (WPARAM)UserHMGetHandle(Wnd), MAKELPARAM(-1, -1)); } } + else if (wParam == VK_SHIFT && (UserGetKeyState(VK_CONTROL) & 0x8000)) // Ctrl+Shift + { + if (gdwLanguageToggleKey == 2) + { + IntToggleInputLanguage(Wnd); + break; + } + } if (g_bWindowSnapEnabled && (IS_KEY_DOWN(gafAsyncKeyState, VK_LWIN) || IS_KEY_DOWN(gafAsyncKeyState, VK_RWIN))) { BOOL IsTaskBar; @@ -948,20 +979,10 @@ IntDefWindowProc( } else if (wParam == VK_SHIFT) // Alt+Shift { - RTL_ATOM ClassAtom = 0; - UNICODE_STRING ustrClass, ustrWindow; - HWND hwndSwitch; - - RtlInitUnicodeString(&ustrClass, L"kbswitcher"); - RtlInitUnicodeString(&ustrWindow, L""); - - IntGetAtomFromStringOrAtom(&ustrClass, &ClassAtom); - - hwndSwitch = IntFindWindow(UserGetDesktopWindow(), NULL, ClassAtom, &ustrWindow); - if (hwndSwitch) + if (gdwLanguageToggleKey == 1) { -#define ID_NEXTLAYOUT 10003 - UserPostMessage(hwndSwitch, WM_COMMAND, ID_NEXTLAYOUT, (LPARAM)UserHMGetHandle(Wnd)); + IntToggleInputLanguage(Wnd); + break; } } }