Start to switch UTF16 litteral to utf8.

This commit is contained in:
Jief L 2020-03-12 20:45:28 +03:00
parent c3a986f611
commit d1a66122d3
12 changed files with 410 additions and 394 deletions

View File

@ -39,13 +39,13 @@ void DebugLog(int DebugMode, const char *FormatString, ...)
void* AllocatePool(UINTN AllocationSize)
{
return malloc(AllocationSize);
return (void*)malloc((size_t)AllocationSize);
}
void* ReallocatePool(UINTN OldSize, UINTN NewSize, void* OldBuffer)
{
(void)OldSize;
if ( !OldBuffer ) return AllocatePool(NewSize);
return realloc(OldBuffer, NewSize);
return (void*)realloc(OldBuffer, (size_t)NewSize);
}
void FreePool(const void* Buffer)
@ -55,7 +55,7 @@ void FreePool(const void* Buffer)
void CopyMem(void *Destination, void *Source, UINTN Length)
{
memmove(Destination, Source, Length);
memmove(Destination, Source, (size_t)Length);
}
void PauseForKey(const wchar_t* msg)
@ -153,7 +153,7 @@ int StrnCmp(const wchar_t* FirstString, const wchar_t* SecondString, UINTN Lengt
#else
#ifdef _MSC_VER
return wcsncmp(FirstString, SecondString, Length);
return wcsncmp(FirstString, SecondString, (size_t)Length);
#else
// Looks like wcscmp doesn't work with Utf16, even if compiled with -fshort-wchar.
// So conversion to Utf32 needed first.

2
Xcode/cpp_tests/src/main.cpp Normal file → Executable file
View File

@ -24,8 +24,10 @@ printf("sizeof(size_t)=%lu\n", sizeof(size_t));
printf("sizeof(long)=%lu\n", sizeof(long));
printf("sizeof(long long)=%lu\n", sizeof(long long));
printf("sizeof(size_t)=%lu\n", sizeof(size_t));
#ifndef _MSC_VER
printf("%zu\n", (size_t)MAX_UINT64);
printf("%zd\n", (size_t)MAX_UINT64);
#endif
return all_tests();
}

View File

@ -196,7 +196,7 @@ static XString* XString_sprintfBuf;
static xsize XString_sprintfBuf_len;
static wchar_t XString_char_wait;
static unsigned int XString_transmitSprintf_utf32(const wchar_t wchar1, const wchar_t wchar2)
static unsigned int XString_transmitSPrintf_utf32(const wchar_t wchar1, const wchar_t wchar2)
{
unsigned int ret = 0;
UINTN utf32_char;
@ -244,7 +244,7 @@ static unsigned int XString_transmitSprintf_utf32(const wchar_t wchar1, const wc
}
static void XString_transmitSprintf(const wchar_t* buf, size_t nbchar)
static void XString_transmitSPrintf(const wchar_t* buf, size_t nbchar)
{
#if __WCHAR_MAX__ <= 0xFFFF
@ -252,13 +252,13 @@ static void XString_transmitSprintf(const wchar_t* buf, size_t nbchar)
unsigned int ret = 1;
if ( XString_char_wait ) {
ret = XString_transmitSprintf_utf32(XString_char_wait, buf[0]);
ret = XString_transmitSPrintf_utf32(XString_char_wait, buf[0]);
XString_char_wait = 0;
}
xsize i;
for ( i = ret-1 ; i < nbchar-1 ; ) // cast ok, ret >
{
ret = XString_transmitSprintf_utf32(buf[i], buf[i+1]);
ret = XString_transmitSPrintf_utf32(buf[i], buf[i+1]);
i += ret;
}
if ( i < nbchar ) XString_char_wait = buf[i];
@ -274,8 +274,8 @@ void XString::vSPrintf(const char* format, VA_LIST va)
XString_sprintfBuf = this;
XString_sprintfBuf_len = 0;
XString_char_wait = 0;
vprintf_with_callback(format, va, XString_transmitSprintf);
if ( XString_char_wait ) XString_transmitSprintf_utf32(XString_char_wait, 0);
vprintf_with_callback(format, va, XString_transmitSPrintf);
if ( XString_char_wait ) XString_transmitSPrintf_utf32(XString_char_wait, 0);
// This is an attempt to use _PPrint from IO.c. Problem is : you have to allocate the memory BEFORE calling it.
// POOL_PRINT spc;

View File

@ -255,7 +255,7 @@ XStringW XStringW::SubStringReplace(wchar_t c1, wchar_t c2)
static XStringW* XStringW_sprintfBuf;
static void XStringW_transmitSprintf(const wchar_t* buf, size_t nbyte)
static void XStringW_transmitSPrintf(const wchar_t* buf, size_t nbyte)
{
(*XStringW_sprintfBuf).StrnCat(buf, nbyte);
}
@ -265,7 +265,7 @@ void XStringW::vSPrintf(const char* format, VA_LIST va)
SetLength(0);
XStringW_sprintfBuf = this;
vprintf_with_callback(format, va, XStringW_transmitSprintf);
vprintf_with_callback(format, va, XStringW_transmitSPrintf);
// This is an attempt to use _PPrint from IO.c. Problem is : you have to allocate the memory BEFORE calling it.
// POOL_PRINT spc;

View File

@ -892,7 +892,7 @@ void printf_with_callback(const __FlashStringHelper* format, transmitBufCallBack
printf_char_type* sprintfBuf;
size_t sprintfBufLen;
void transmitSprintf(const printf_char_type* buf, size_t nbyte)
void transmitSPrintf(const printf_char_type* buf, size_t nbyte)
{
size_t i=0;
for ( ; sprintfBufLen>0 && i<nbyte ; i++) {
@ -905,7 +905,7 @@ int vsnprintf(printf_char_type* buf, size_t len, const char *__restrict format,
{
sprintfBuf = buf;
sprintfBufLen = len-1;
vprintf_with_callback(format, valist, transmitSprintf
vprintf_with_callback(format, valist, transmitSPrintf
#if PRINTF_LITE_TIMESTAMP_SUPPORT == 1
, NULL, 0
#endif
@ -929,7 +929,7 @@ int vsnprintf(char *__restrict buf, size_t len, const __FlashStringHelper *__res
{
sprintfBuf = buf;
sprintfBufLen = len-1;
vprintf_with_callback(format, valist, transmitSprintf
vprintf_with_callback(format, valist, transmitSPrintf
#if PRINTF_LITE_TIMESTAMP_SUPPORT == 1
, NULL, 0
#endif

8
rEFIt_UEFI/cpp_unit_test/XObjArray_tests.cpp Normal file → Executable file
View File

@ -20,10 +20,10 @@ class TestObjInt
int XObjArray_tests()
{
bool m_destructor_called11;
bool m_destructor_called12;
bool m_destructor_called13;
bool m_destructor_called14;
bool m_destructor_called11 = false; // vs2017 warning
bool m_destructor_called12 = false; // vs2017 warning
bool m_destructor_called13 = false; // vs2017 warning
bool m_destructor_called14 = false; // vs2017 warning
TestObjInt* obj14 = new TestObjInt(14, &m_destructor_called14);
{

View File

@ -110,9 +110,17 @@ int XString_tests()
#endif
#endif
/* Stil doesn't work as VS doesn't encode correctly litteral */
#ifndef _MSC_VER
// int i1 = sizeof(wchar_t);
// int i2 = sizeof(char16_t);
// const wchar_t* ls = L"Выход";
// const char16_t* us = u"Выход";
// const char32_t* Us = U"Выход";
XString str3(L"Выход");
if ( str3 != "Выход" ) return 50;
#endif
// XStringW CommonName("EFI\\CLOVER\\misc\\screenshot");
// for (UINTN Index = 0; Index < 20; Index++) {

View File

@ -6,6 +6,7 @@
#ifdef _MSC_VER
#pragma warning(disable : 4310)
#pragma warning(disable : 4127)
#endif
#define CHECK_CTOR_FAIL(value, code) \

View File

@ -830,7 +830,7 @@ STATIC VOID AddDefaultMenu(IN LOADER_ENTRY *Entry)
}
SubScreen->AddMenuEntry(SubMenuKextInjectMgmt(Entry), true);
SubScreen->AddMenuInfo(L"=== boot-args ===");
SubScreen->AddMenuInfo("=== boot-args ===");
if (!KernelIs64BitOnly) {
if (os_version < AsciiOSVersionToUint64("10.8")) {
SubScreen->AddMenuCheck("Mac OS X 32bit", OPT_I386, 68);

View File

@ -121,7 +121,7 @@ public:
EFI_STATUS MouseBirth();
VOID KillMouse();
VOID AddMenuItem_(REFIT_MENU_ENTRY_ITEM_ABSTRACT* InputBootArgs, INTN Inx, CONST CHAR8 *Title, BOOLEAN Cursor);
VOID AddMenuInfo(CONST CHAR16 *Line);
VOID AddMenuInfo(CONST char *Line);
VOID AddMenuInfoLine(IN CONST CHAR16 *InfoLine);
VOID AddMenuEntry(IN REFIT_ABSTRACT_MENU_ENTRY *Entry, bool freeIt);
VOID AddMenuItemSwitch(INTN Inx, CONST CHAR8 *Title, BOOLEAN Cursor);

16
rEFIt_UEFI/libeg/VectorGraphics.cpp Normal file → Executable file
View File

@ -10,6 +10,7 @@
#include "FloatLib.h"
#include "lodepng.h"
#include "../refit/screen.h"
#include "../cpp_foundation/XString.h"
#ifndef DEBUG_ALL
#define DEBUG_VEC 1
@ -604,18 +605,11 @@ INTN drawSVGtext(EG_IMAGE* TextBufferXY, INTN posX, INTN posY, INTN textType, CO
x = (float)posX; //0.f;
y = (float)posY + fontSVG->bbox[1] * Scale;
p->isText = TRUE;
#ifdef _MSC_VER
CHAR8 *Str8 = (CHAR8*)string;
#endif
//DBG("drawSVGtext -> Enter. Text=%a\n", XString(string).c);
for (i=0; i < len; i++) {
CHAR16 letter = 0;
#ifdef _MSC_VER
Str8 = GetUnicodeChar(Str8, &letter);
Str8++;
#else
letter = string[i]; //already UTF16 in clang
#endif
CHAR16 letter = string[i];
if (!letter) {
break;
}
@ -786,7 +780,7 @@ VOID testSVG()
// DBG("font parsed family=%a\n", p->font->fontFamily);
FreePool(FileData);
// Scale = Height / fontSVG->unitsPerEm;
drawSVGtext(TextBufferXY, 0, 0, 3, L"Clover Кловер", 1);
drawSVGtext(TextBufferXY, 0, 0, 3, XStringW().takeValueFrom("Clover Кловер"), 1);
// DBG("text ready to blit\n");
BltImageAlpha(TextBufferXY,
(UGAWidth - Width) / 2,

View File

@ -46,6 +46,7 @@
#include "HdaCodecDump.h"
#include "menu.h"
#include "screen.h"
#include "../cpp_foundation/XString.h"
#ifndef DEBUG_ALL
#define DEBUG_MENU 1
@ -1338,8 +1339,10 @@ VOID ApplyInputs(VOID)
}
}
VOID REFIT_MENU_SCREEN::AddMenuInfo(CONST CHAR16 *Line)
VOID REFIT_MENU_SCREEN::AddMenuInfo(CONST char *Line)
{
//DBG("%a, %a : Line=%a\n", __FILE__, __LINE__, XString(Line).c);
REFIT_INFO_DIALOG *InputBootArgs;
// InputBootArgs = (__typeof__(InputBootArgs))AllocateZeroPool(sizeof(REFIT_INPUT_DIALOG));
@ -1360,45 +1363,45 @@ VOID AboutRefit(VOID)
AboutMenu.TitleImage = NULL;
}
if (AboutMenu.Entries.size() == 0) {
// AboutMenu.AddMenuInfo(PoolPrint(L"Clover Version 5.0"));
// AboutMenu.AddMenuInfo(SPrintf("Clover Version 5.0"));
#ifdef REVISION_STR
AboutMenu.AddMenuInfo(PoolPrint(L" %a ", REVISION_STR));
AboutMenu.AddMenuInfo(SPrintf(" %s ", REVISION_STR));
#else
AboutMenu.AddMenuInfo(PoolPrint(L"Clover Revision %a", gFirmwareRevision));
AboutMenu.AddMenuInfo(SPrintf(L"Clover Revision %s", gFirmwareRevision));
#endif
#ifdef FIRMWARE_BUILDDATE
AboutMenu.AddMenuInfo(PoolPrint(L" Build: %a", FIRMWARE_BUILDDATE));
AboutMenu.AddMenuInfo(SPrintf(" Build: %s", FIRMWARE_BUILDDATE));
#else
AboutMenu.AddMenuInfo(L" Build: unknown");
AboutMenu.AddMenuInfo(" Build: unknown");
#endif
AboutMenu.AddMenuInfo(L"");
AboutMenu.AddMenuInfo(L"Based on rEFIt (c) 2006-2010 Christoph Pfisterer");
AboutMenu.AddMenuInfo(L"Portions Copyright (c) Intel Corporation");
AboutMenu.AddMenuInfo(L"Developers:");
AboutMenu.AddMenuInfo(L" Slice, dmazar, apianti, JrCs, pene, usrsse2");
AboutMenu.AddMenuInfo(L" Kabyl, pcj, jadran, Blackosx, STLVNUB, ycr.ru");
AboutMenu.AddMenuInfo(L" FrodoKenny, skoczi, crazybirdy, Oscar09, xsmile");
AboutMenu.AddMenuInfo(L" cparm, rehabman, nms42, Sherlocks, Zenith432");
AboutMenu.AddMenuInfo(L" stinga11, TheRacerMaster, solstice, SoThOr, DF");
AboutMenu.AddMenuInfo(L" cecekpawon, Micky1979, Needy, joevt, ErmaC, vit9696");
AboutMenu.AddMenuInfo(L" ath, savvas, syscl, goodwin_c, clovy, jief_machak");
AboutMenu.AddMenuInfo(L"Credits also:");
AboutMenu.AddMenuInfo(L" projectosx.com, applelife.ru, insanelymac.com");
AboutMenu.AddMenuInfo(L"");
AboutMenu.AddMenuInfo(L"Running on:");
AboutMenu.AddMenuInfo(PoolPrint(L" EFI Revision %d.%02d",
AboutMenu.AddMenuInfo("");
AboutMenu.AddMenuInfo("Based on rEFIt (c) 2006-2010 Christoph Pfisterer");
AboutMenu.AddMenuInfo("Portions Copyright (c) Intel Corporation");
AboutMenu.AddMenuInfo("Developers:");
AboutMenu.AddMenuInfo(" Slice, dmazar, apianti, JrCs, pene, usrsse2");
AboutMenu.AddMenuInfo(" Kabyl, pcj, jadran, Blackosx, STLVNUB, ycr.ru");
AboutMenu.AddMenuInfo(" FrodoKenny, skoczi, crazybirdy, Oscar09, xsmile");
AboutMenu.AddMenuInfo(" cparm, rehabman, nms42, Sherlocks, Zenith432");
AboutMenu.AddMenuInfo(" stinga11, TheRacerMaster, solstice, SoThOr, DF");
AboutMenu.AddMenuInfo(" cecekpawon, Micky1979, Needy, joevt, ErmaC, vit9696");
AboutMenu.AddMenuInfo(" ath, savvas, syscl, goodwin_c, clovy, jief_machak");
AboutMenu.AddMenuInfo("Credits also:");
AboutMenu.AddMenuInfo(" projectosx.com, applelife.ru, insanelymac.com");
AboutMenu.AddMenuInfo("");
AboutMenu.AddMenuInfo("Running on:");
AboutMenu.AddMenuInfo(SPrintf(" EFI Revision %d.%02d",
gST->Hdr.Revision >> 16, gST->Hdr.Revision & ((1 << 16) - 1)));
#if defined(MDE_CPU_IA32)
AboutMenu.AddMenuInfo(L" Platform: i386 (32 bit)");
AboutMenu.AddMenuInfo(" Platform: i386 (32 bit)");
#elif defined(MDE_CPU_X64)
AboutMenu.AddMenuInfo(L" Platform: x86_64 (64 bit)");
AboutMenu.AddMenuInfo(" Platform: x86_64 (64 bit)");
#elif defined(_MSC_VER)
AboutMenu.AddMenuInfo(L" Platform: x86_64 (64 bit) VS");
AboutMenu.AddMenuInfo(" Platform: x86_64 (64 bit) VS");
#else
AboutMenu.AddMenuInfo(L" Platform: unknown");
AboutMenu.AddMenuInfo(" Platform: unknown");
#endif
AboutMenu.AddMenuInfo(PoolPrint(L" Firmware: %s rev %d.%04d", gST->FirmwareVendor, gST->FirmwareRevision >> 16, gST->FirmwareRevision & ((1 << 16) - 1)));
AboutMenu.AddMenuInfo(PoolPrint(L" Screen Output: %s", egScreenDescription()));
AboutMenu.AddMenuInfo(SPrintf(" Firmware: %ls rev %d.%04d", gST->FirmwareVendor, gST->FirmwareRevision >> 16, gST->FirmwareRevision & ((1 << 16) - 1)));
AboutMenu.AddMenuInfo(SPrintf(" Screen Output: %ls", egScreenDescription()));
AboutMenu.AnimeRun = AboutMenu.GetAnime();
AboutMenu.AddMenuEntry(&MenuEntryReturn, false);
} else if (AboutMenu.Entries.size() >= 2) {
@ -1419,361 +1422,369 @@ VOID HelpRefit(VOID)
} else {
HelpMenu.TitleImage = NULL;
}
#ifdef JIEF_DEBUG
wchar_t c = L'ы';
XString s(L"ы");
XString s2("ы");
DBG("%a\n", XString(L"ы").c, c);
HelpMenu.Entries.Empty();
#endif
if (HelpMenu.Entries.size() == 0) {
switch (gLanguage)
{
case russian:
HelpMenu.AddMenuInfo(L"ESC - Выход из подменю, обновление главного меню");
HelpMenu.AddMenuInfo(L"F1 - Помощь по горячим клавишам");
HelpMenu.AddMenuInfo(L"F2 - Сохранить отчет в preboot.log (только если FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Показать скрытые значки в меню");
HelpMenu.AddMenuInfo(L"F4 - Родной DSDT сохранить в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Патченный DSDT сохранить в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Сохранить ВидеоБиос в EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Проверить звук на выбранном выходе");
HelpMenu.AddMenuInfo(L"F8 - Сделать дамп звуковых устройств в EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Изменить разрешение экрана на одно из возможных");
HelpMenu.AddMenuInfo(L"F10 - Снимок экрана в папку EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Извлечь указанный DVD");
HelpMenu.AddMenuInfo(L"Пробел - Дополнительное меню запуска выбранного тома");
HelpMenu.AddMenuInfo(L"Цифры 1-9 - Быстрый запуск тома по порядку в меню");
HelpMenu.AddMenuInfo(L"A (About) - О загрузчике");
HelpMenu.AddMenuInfo(L"O (Options) - Дополнительные настройки");
HelpMenu.AddMenuInfo(L"R (Reset) - Теплый перезапуск");
HelpMenu.AddMenuInfo(L"U (go oUt) - Завершить работу в Кловере");
HelpMenu.AddMenuInfo(L"S (Shell) - Переход в режим командной строки");
HelpMenu.AddMenuInfo("ESC - Выход из подменю, обновление главного меню");
HelpMenu.AddMenuInfo("F1 - Помощь по горячим клавишам");
HelpMenu.AddMenuInfo("F2 - Сохранить отчет в preboot.log (только если FAT32)");
HelpMenu.AddMenuInfo("F3 - Показать скрытые значки в меню");
HelpMenu.AddMenuInfo("F4 - Родной DSDT сохранить в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Патченный DSDT сохранить в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Сохранить ВидеоБиос в EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Проверить звук на выбранном выходе");
HelpMenu.AddMenuInfo("F8 - Сделать дамп звуковых устройств в EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Изменить разрешение экрана на одно из возможных");
HelpMenu.AddMenuInfo("F10 - Снимок экрана в папку EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Извлечь указанный DVD");
HelpMenu.AddMenuInfo("Пробел - Дополнительное меню запуска выбранного тома");
HelpMenu.AddMenuInfo("Цифры 1-9 - Быстрый запуск тома по порядку в меню");
HelpMenu.AddMenuInfo("A (About) - О загрузчике");
HelpMenu.AddMenuInfo("O (Options) - Дополнительные настройки");
HelpMenu.AddMenuInfo("R (Reset) - Теплый перезапуск");
HelpMenu.AddMenuInfo("U (go oUt) - Завершить работу в Кловере");
HelpMenu.AddMenuInfo("S (Shell) - Переход в режим командной строки");
break;
case ukrainian:
HelpMenu.AddMenuInfo(L"ESC - Вийти з меню, оновити головне меню");
HelpMenu.AddMenuInfo(L"F1 - Ця довідка");
HelpMenu.AddMenuInfo(L"F2 - Зберегти preboot.log (тiльки FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Відображати приховані розділи");
HelpMenu.AddMenuInfo(L"F4 - Зберегти OEM DSDT в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Зберегти патчений DSDT в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F6 - Зберегти VideoBios в EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F10 - Зберегти знімок екрану в EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Відкрити обраний диск (DVD)");
HelpMenu.AddMenuInfo(L"Пробіл - докладніше про обраний пункт меню");
HelpMenu.AddMenuInfo(L"Клавіші 1-9 -  клавіші пунктів меню");
HelpMenu.AddMenuInfo(L"A - Про систему");
HelpMenu.AddMenuInfo(L"O - Опції меню");
HelpMenu.AddMenuInfo(L"R - Перезавантаження");
HelpMenu.AddMenuInfo(L"U - Відключити ПК");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Вийти з меню, оновити головне меню");
HelpMenu.AddMenuInfo("F1 - Ця довідка");
HelpMenu.AddMenuInfo("F2 - Зберегти preboot.log (тiльки FAT32)");
HelpMenu.AddMenuInfo("F3 - Відображати приховані розділи");
HelpMenu.AddMenuInfo("F4 - Зберегти OEM DSDT в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Зберегти патчений DSDT в EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F6 - Зберегти VideoBios в EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F10 - Зберегти знімок екрану в EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Відкрити обраний диск (DVD)");
HelpMenu.AddMenuInfo("Пробіл - докладніше про обраний пункт меню");
HelpMenu.AddMenuInfo("Клавіші 1-9 -  клавіші пунктів меню");
HelpMenu.AddMenuInfo("A - Про систему");
HelpMenu.AddMenuInfo("O - Опції меню");
HelpMenu.AddMenuInfo("R - Перезавантаження");
HelpMenu.AddMenuInfo("U - Відключити ПК");
HelpMenu.AddMenuInfo("S - Shell");
break;
case spanish:
HelpMenu.AddMenuInfo(L"ESC - Salir de submenu o actualizar el menu principal");
HelpMenu.AddMenuInfo(L"F1 - Esta Ayuda");
HelpMenu.AddMenuInfo(L"F2 - Guardar preboot.log (Solo FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Guardar DSDT oem en EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Guardar DSDT parcheado en EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Guardar VideoBios en EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Guardar Captura de pantalla en EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Expulsar volumen seleccionado (DVD)");
HelpMenu.AddMenuInfo(L"Espacio - Detalles acerca selected menu entry");
HelpMenu.AddMenuInfo(L"Digitos 1-9 - Atajo a la entrada del menu");
HelpMenu.AddMenuInfo(L"A - Menu Acerca de");
HelpMenu.AddMenuInfo(L"O - Menu Optiones");
HelpMenu.AddMenuInfo(L"R - Reiniciar Equipo");
HelpMenu.AddMenuInfo(L"U - Apagar");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Salir de submenu o actualizar el menu principal");
HelpMenu.AddMenuInfo("F1 - Esta Ayuda");
HelpMenu.AddMenuInfo("F2 - Guardar preboot.log (Solo FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Guardar DSDT oem en EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Guardar DSDT parcheado en EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Guardar VideoBios en EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Guardar Captura de pantalla en EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Expulsar volumen seleccionado (DVD)");
HelpMenu.AddMenuInfo("Espacio - Detalles acerca selected menu entry");
HelpMenu.AddMenuInfo("Digitos 1-9 - Atajo a la entrada del menu");
HelpMenu.AddMenuInfo("A - Menu Acerca de");
HelpMenu.AddMenuInfo("O - Menu Optiones");
HelpMenu.AddMenuInfo("R - Reiniciar Equipo");
HelpMenu.AddMenuInfo("U - Apagar");
HelpMenu.AddMenuInfo("S - Shell");
break;
case portuguese:
case brasil:
HelpMenu.AddMenuInfo(L"ESC - Sai do submenu, atualiza o menu principal");
HelpMenu.AddMenuInfo(L"F1 - Esta ajuda");
HelpMenu.AddMenuInfo(L"F2 - Salva preboot.log (somente FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Salva oem DSDT em EFI/CLOVER/ACPI/origin/ (somente FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Salva DSDT corrigido em EFI/CLOVER/ACPI/origin/ (somente FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Salva VideoBios em EFI/CLOVER/misc/ (somente FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Salva screenshot em EFI/CLOVER/misc/ (somente FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Ejeta o volume selecionado (DVD)");
HelpMenu.AddMenuInfo(L"Espaco - Detalhes sobre a opcao do menu selecionada");
HelpMenu.AddMenuInfo(L"Tecle 1-9 - Atalho para as entradas do menu");
HelpMenu.AddMenuInfo(L"A - Sobre o Menu");
HelpMenu.AddMenuInfo(L"O - Opcoes do Menu");
HelpMenu.AddMenuInfo(L"R - Reiniciar");
HelpMenu.AddMenuInfo(L"U - Desligar");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Sai do submenu, atualiza o menu principal");
HelpMenu.AddMenuInfo("F1 - Esta ajuda");
HelpMenu.AddMenuInfo("F2 - Salva preboot.log (somente FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Salva oem DSDT em EFI/CLOVER/ACPI/origin/ (somente FAT32)");
HelpMenu.AddMenuInfo("F5 - Salva DSDT corrigido em EFI/CLOVER/ACPI/origin/ (somente FAT32)");
HelpMenu.AddMenuInfo("F6 - Salva VideoBios em EFI/CLOVER/misc/ (somente FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Salva screenshot em EFI/CLOVER/misc/ (somente FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Ejeta o volume selecionado (DVD)");
HelpMenu.AddMenuInfo("Espaco - Detalhes sobre a opcao do menu selecionada");
HelpMenu.AddMenuInfo("Tecle 1-9 - Atalho para as entradas do menu");
HelpMenu.AddMenuInfo("A - Sobre o Menu");
HelpMenu.AddMenuInfo("O - Opcoes do Menu");
HelpMenu.AddMenuInfo("R - Reiniciar");
HelpMenu.AddMenuInfo("U - Desligar");
HelpMenu.AddMenuInfo("S - Shell");
break;
case italian:
HelpMenu.AddMenuInfo(L"ESC - Esci dal submenu, Aggiorna menu principale");
HelpMenu.AddMenuInfo(L"F1 - Aiuto");
HelpMenu.AddMenuInfo(L"F2 - Salva il preboot.log (solo su FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Mostra volumi nascosti");
HelpMenu.AddMenuInfo(L"F4 - Salva il DSDT oem in EFI/CLOVER/ACPI/origin/ (solo suFAT32)");
HelpMenu.AddMenuInfo(L"F5 - Salva il patched DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Salva il VideoBios in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Controlla il suono sull'uscita selezionata");
HelpMenu.AddMenuInfo(L"F8 - Scarica le uscite audio in EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Cambia la risoluzione dello schermo alla prossima disponibile");
HelpMenu.AddMenuInfo(L"F10 - Salva screenshot in EFI/CLOVER/misc/ (solo su FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Resetta NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Espelli il volume selezionato (DVD)");
HelpMenu.AddMenuInfo(L"Spazio - Dettagli sul menu selezionato");
HelpMenu.AddMenuInfo(L"Digita 1-9 - Abbreviazioni per il menu");
HelpMenu.AddMenuInfo(L"A - Informazioni");
HelpMenu.AddMenuInfo(L"O - Menu Opzioni");
HelpMenu.AddMenuInfo(L"R - Riavvio");
HelpMenu.AddMenuInfo(L"U - Spegnimento");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Esci dal submenu, Aggiorna menu principale");
HelpMenu.AddMenuInfo("F1 - Aiuto");
HelpMenu.AddMenuInfo("F2 - Salva il preboot.log (solo su FAT32)");
HelpMenu.AddMenuInfo("F3 - Mostra volumi nascosti");
HelpMenu.AddMenuInfo("F4 - Salva il DSDT oem in EFI/CLOVER/ACPI/origin/ (solo suFAT32)");
HelpMenu.AddMenuInfo("F5 - Salva il patched DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Salva il VideoBios in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Controlla il suono sull'uscita selezionata");
HelpMenu.AddMenuInfo("F8 - Scarica le uscite audio in EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Cambia la risoluzione dello schermo alla prossima disponibile");
HelpMenu.AddMenuInfo("F10 - Salva screenshot in EFI/CLOVER/misc/ (solo su FAT32)");
HelpMenu.AddMenuInfo("F11 - Resetta NVRAM");
HelpMenu.AddMenuInfo("F12 - Espelli il volume selezionato (DVD)");
HelpMenu.AddMenuInfo("Spazio - Dettagli sul menu selezionato");
HelpMenu.AddMenuInfo("Digita 1-9 - Abbreviazioni per il menu");
HelpMenu.AddMenuInfo("A - Informazioni");
HelpMenu.AddMenuInfo("O - Menu Opzioni");
HelpMenu.AddMenuInfo("R - Riavvio");
HelpMenu.AddMenuInfo("U - Spegnimento");
HelpMenu.AddMenuInfo("S - Shell");
break;
case german:
HelpMenu.AddMenuInfo(L"ESC - Zurueck aus Untermenue, Hauptmenue erneuern");
HelpMenu.AddMenuInfo(L"F1 - Diese Hilfe");
HelpMenu.AddMenuInfo(L"F2 - Sichere preboot.log (nur mit FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Sichere OEM DSDT in EFI/CLOVER/ACPI/origin/ (nur mit FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Sichere gepatchtes DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Sichere VideoBios in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Sichere Bildschirmfoto in EFI/CLOVER/misc/ (nur mit FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Volume auswerfen (DVD)");
HelpMenu.AddMenuInfo(L"Leertaste - Details über den gewählten Menue Eintrag");
HelpMenu.AddMenuInfo(L"Zahlen 1-9 - Kurzwahl zum Menue Eintrag");
HelpMenu.AddMenuInfo(L"A - Menue Informationen");
HelpMenu.AddMenuInfo(L"O - Menue Optionen");
HelpMenu.AddMenuInfo(L"R - Neustart");
HelpMenu.AddMenuInfo(L"U - Ausschalten");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Zurueck aus Untermenue, Hauptmenue erneuern");
HelpMenu.AddMenuInfo("F1 - Diese Hilfe");
HelpMenu.AddMenuInfo("F2 - Sichere preboot.log (nur mit FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Sichere OEM DSDT in EFI/CLOVER/ACPI/origin/ (nur mit FAT32)");
HelpMenu.AddMenuInfo("F5 - Sichere gepatchtes DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Sichere VideoBios in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Sichere Bildschirmfoto in EFI/CLOVER/misc/ (nur mit FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Volume auswerfen (DVD)");
HelpMenu.AddMenuInfo("Leertaste - Details über den gewählten Menue Eintrag");
HelpMenu.AddMenuInfo("Zahlen 1-9 - Kurzwahl zum Menue Eintrag");
HelpMenu.AddMenuInfo("A - Menue Informationen");
HelpMenu.AddMenuInfo("O - Menue Optionen");
HelpMenu.AddMenuInfo("R - Neustart");
HelpMenu.AddMenuInfo("U - Ausschalten");
HelpMenu.AddMenuInfo("S - Shell");
break;
case dutch:
HelpMenu.AddMenuInfo(L"ESC - Verlaat submenu, Vernieuw hoofdmenu");
HelpMenu.AddMenuInfo(L"F1 - Onderdeel hulp");
HelpMenu.AddMenuInfo(L"F2 - preboot.log opslaan (Alleen FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Verborgen opties weergeven");
HelpMenu.AddMenuInfo(L"F4 - Opslaan oem DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Opslaan gepatchte DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Opslaan VideoBios in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Controleer geluid op geselecteerde uitgang");
HelpMenu.AddMenuInfo(L"F8 - Opslaan audio uitgangen in EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Wijzig schermresolutie naar eerstvolgende mogelijke modus");
HelpMenu.AddMenuInfo(L"F10 - Opslaan schermafdruk in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Uitwerpen geselecteerd volume (DVD)");
HelpMenu.AddMenuInfo(L"Spatie - Details over geselecteerd menuoptie");
HelpMenu.AddMenuInfo(L"Cijfers 1-9 - Snelkoppeling naar menuoptie");
HelpMenu.AddMenuInfo(L"A - Menu Over");
HelpMenu.AddMenuInfo(L"O - Menu Opties");
HelpMenu.AddMenuInfo(L"R - Soft Reset");
HelpMenu.AddMenuInfo(L"U - Verlaten");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Verlaat submenu, Vernieuw hoofdmenu");
HelpMenu.AddMenuInfo("F1 - Onderdeel hulp");
HelpMenu.AddMenuInfo("F2 - preboot.log opslaan (Alleen FAT32)");
HelpMenu.AddMenuInfo("F3 - Verborgen opties weergeven");
HelpMenu.AddMenuInfo("F4 - Opslaan oem DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Opslaan gepatchte DSDT in EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Opslaan VideoBios in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Controleer geluid op geselecteerde uitgang");
HelpMenu.AddMenuInfo("F8 - Opslaan audio uitgangen in EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Wijzig schermresolutie naar eerstvolgende mogelijke modus");
HelpMenu.AddMenuInfo("F10 - Opslaan schermafdruk in EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Uitwerpen geselecteerd volume (DVD)");
HelpMenu.AddMenuInfo("Spatie - Details over geselecteerd menuoptie");
HelpMenu.AddMenuInfo("Cijfers 1-9 - Snelkoppeling naar menuoptie");
HelpMenu.AddMenuInfo("A - Menu Over");
HelpMenu.AddMenuInfo("O - Menu Opties");
HelpMenu.AddMenuInfo("R - Soft Reset");
HelpMenu.AddMenuInfo("U - Verlaten");
HelpMenu.AddMenuInfo("S - Shell");
break;
case french:
HelpMenu.AddMenuInfo(L"ESC - Quitter sous-menu, Retour menu principal");
HelpMenu.AddMenuInfo(L"F1 - Aide");
HelpMenu.AddMenuInfo(L"F2 - Enregistrer preboot.log (FAT32 only)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Enregistrer oem DSDT dans EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Enregistrer DSDT modifié dans EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Enregistrer VideoBios dans EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Enregistrer la capture d'écran dans EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Ejecter le volume (DVD)");
HelpMenu.AddMenuInfo(L"Space - Détails a propos du menu selectionné");
HelpMenu.AddMenuInfo(L"Digits 1-9 - Raccourci vers entrée menu");
HelpMenu.AddMenuInfo(L"A - A propos");
HelpMenu.AddMenuInfo(L"O - Options Menu");
HelpMenu.AddMenuInfo(L"R - Redémarrer");
HelpMenu.AddMenuInfo(L"U - Eteindre");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Quitter sous-menu, Retour menu principal");
HelpMenu.AddMenuInfo("F1 - Aide");
HelpMenu.AddMenuInfo("F2 - Enregistrer preboot.log (FAT32 only)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Enregistrer oem DSDT dans EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Enregistrer DSDT modifié dans EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Enregistrer VideoBios dans EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Enregistrer la capture d'écran dans EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Ejecter le volume (DVD)");
HelpMenu.AddMenuInfo("Space - Détails a propos du menu selectionné");
HelpMenu.AddMenuInfo("Digits 1-9 - Raccourci vers entrée menu");
HelpMenu.AddMenuInfo("A - A propos");
HelpMenu.AddMenuInfo("O - Options Menu");
HelpMenu.AddMenuInfo("R - Redémarrer");
HelpMenu.AddMenuInfo("U - Eteindre");
HelpMenu.AddMenuInfo("S - Shell");
break;
case indonesian:
HelpMenu.AddMenuInfo(L"ESC - Keluar submenu, Refresh main menu");
HelpMenu.AddMenuInfo(L"F1 - Help");
HelpMenu.AddMenuInfo(L"F2 - Simpan preboot.log ke EFI/CLOVER/ACPI/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Simpan oem DSDT ke EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Simpan patched DSDT ke EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Simpan VideoBios ke EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Simpan screenshot ke EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Eject volume (DVD)");
HelpMenu.AddMenuInfo(L"Spasi - Detail dari menu yang dipilih");
HelpMenu.AddMenuInfo(L"Tombol 1-9 - Shortcut pilihan menu");
HelpMenu.AddMenuInfo(L"A - About");
HelpMenu.AddMenuInfo(L"O - Opsi");
HelpMenu.AddMenuInfo(L"R - Soft Reset");
HelpMenu.AddMenuInfo(L"U - Shutdown");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Keluar submenu, Refresh main menu");
HelpMenu.AddMenuInfo("F1 - Help");
HelpMenu.AddMenuInfo("F2 - Simpan preboot.log ke EFI/CLOVER/ACPI/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Simpan oem DSDT ke EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Simpan patched DSDT ke EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Simpan VideoBios ke EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Simpan screenshot ke EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Eject volume (DVD)");
HelpMenu.AddMenuInfo("Spasi - Detail dari menu yang dipilih");
HelpMenu.AddMenuInfo("Tombol 1-9 - Shortcut pilihan menu");
HelpMenu.AddMenuInfo("A - About");
HelpMenu.AddMenuInfo("O - Opsi");
HelpMenu.AddMenuInfo("R - Soft Reset");
HelpMenu.AddMenuInfo("U - Shutdown");
HelpMenu.AddMenuInfo("S - Shell");
break;
case polish:
HelpMenu.AddMenuInfo(L"ESC - Wyjscie z podmenu, Odswiezenie glownego menu");
HelpMenu.AddMenuInfo(L"F1 - Pomoc");
HelpMenu.AddMenuInfo(L"F2 - Zapis preboot.log (tylko FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Zapis DSDT do EFI/CLOVER/ACPI/origin/ (tylko FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Zapis poprawionego DSDT do EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Zapis BIOSu k. graficznej do EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Zapis zrzutu ekranu do EFI/CLOVER/misc/ (tylko FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Wysuniecie zaznaczonego dysku (tylko dla DVD)");
HelpMenu.AddMenuInfo(L"Spacja - Informacje nt. dostepnych opcji dla zaznaczonego dysku");
HelpMenu.AddMenuInfo(L"Znaki 1-9 - Skroty opcji dla wybranego dysku");
HelpMenu.AddMenuInfo(L"A - Menu Informacyjne");
HelpMenu.AddMenuInfo(L"O - Menu Opcje");
HelpMenu.AddMenuInfo(L"R - Restart komputera");
HelpMenu.AddMenuInfo(L"U - Wylaczenie komputera");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Wyjscie z podmenu, Odswiezenie glownego menu");
HelpMenu.AddMenuInfo("F1 - Pomoc");
HelpMenu.AddMenuInfo("F2 - Zapis preboot.log (tylko FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Zapis DSDT do EFI/CLOVER/ACPI/origin/ (tylko FAT32)");
HelpMenu.AddMenuInfo("F5 - Zapis poprawionego DSDT do EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Zapis BIOSu k. graficznej do EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Zapis zrzutu ekranu do EFI/CLOVER/misc/ (tylko FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Wysuniecie zaznaczonego dysku (tylko dla DVD)");
HelpMenu.AddMenuInfo("Spacja - Informacje nt. dostepnych opcji dla zaznaczonego dysku");
HelpMenu.AddMenuInfo("Znaki 1-9 - Skroty opcji dla wybranego dysku");
HelpMenu.AddMenuInfo("A - Menu Informacyjne");
HelpMenu.AddMenuInfo("O - Menu Opcje");
HelpMenu.AddMenuInfo("R - Restart komputera");
HelpMenu.AddMenuInfo("U - Wylaczenie komputera");
HelpMenu.AddMenuInfo("S - Shell");
break;
case croatian:
HelpMenu.AddMenuInfo(L"ESC - izlaz iz podizbornika, Osvježi glavni izbornik");
HelpMenu.AddMenuInfo(L"F1 - Ovaj izbornik");
HelpMenu.AddMenuInfo(L"F2 - Spremi preboot.log (samo na FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Spremi oem DSDT u EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Spremi patched DSDT into EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Spremi VideoBios into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Spremi screenshot into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Izbaci izabrai (DVD)");
HelpMenu.AddMenuInfo(L"Space - Detalji o odabranom sistemu");
HelpMenu.AddMenuInfo(L"Brojevi 1 do 9 su prečac do izbora");
HelpMenu.AddMenuInfo(L"A - Izbornik o meni");
HelpMenu.AddMenuInfo(L"O - Izbornik opcije");
HelpMenu.AddMenuInfo(L"R - Restart računala");
HelpMenu.AddMenuInfo(L"U - Isključivanje računala");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - izlaz iz podizbornika, Osvježi glavni izbornik");
HelpMenu.AddMenuInfo("F1 - Ovaj izbornik");
HelpMenu.AddMenuInfo("F2 - Spremi preboot.log (samo na FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Spremi oem DSDT u EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Spremi patched DSDT into EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Spremi VideoBios into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Spremi screenshot into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Izbaci izabrai (DVD)");
HelpMenu.AddMenuInfo("Space - Detalji o odabranom sistemu");
HelpMenu.AddMenuInfo("Brojevi 1 do 9 su prečac do izbora");
HelpMenu.AddMenuInfo("A - Izbornik o meni");
HelpMenu.AddMenuInfo("O - Izbornik opcije");
HelpMenu.AddMenuInfo("R - Restart računala");
HelpMenu.AddMenuInfo("U - Isključivanje računala");
HelpMenu.AddMenuInfo("S - Shell");
break;
case czech:
HelpMenu.AddMenuInfo(L"ESC - Vrátit se do hlavní nabídky");
HelpMenu.AddMenuInfo(L"F1 - Tato Nápověda");
HelpMenu.AddMenuInfo(L"F2 - Uložit preboot.log (FAT32 only)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Uložit oem DSDT do EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Uložit patchnuté DSDT do EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Uložit VideoBios do EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Uložit snímek obrazovky do EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Vysunout vybranou mechaniku (DVD)");
HelpMenu.AddMenuInfo(L"Mezerník - Podrobnosti o vybraném disku");
HelpMenu.AddMenuInfo(L"čísla 1-9 - Klávesové zkratky pro disky");
HelpMenu.AddMenuInfo(L"A - Menu O Programu");
HelpMenu.AddMenuInfo(L"O - Menu Možnosti");
HelpMenu.AddMenuInfo(L"R - Částečný restart");
HelpMenu.AddMenuInfo(L"U - Odejít");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Vrátit se do hlavní nabídky");
HelpMenu.AddMenuInfo("F1 - Tato Nápověda");
HelpMenu.AddMenuInfo("F2 - Uložit preboot.log (FAT32 only)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Uložit oem DSDT do EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Uložit patchnuté DSDT do EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Uložit VideoBios do EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Uložit snímek obrazovky do EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Vysunout vybranou mechaniku (DVD)");
HelpMenu.AddMenuInfo("Mezerník - Podrobnosti o vybraném disku");
HelpMenu.AddMenuInfo("čísla 1-9 - Klávesové zkratky pro disky");
HelpMenu.AddMenuInfo("A - Menu O Programu");
HelpMenu.AddMenuInfo("O - Menu Možnosti");
HelpMenu.AddMenuInfo("R - Částečný restart");
HelpMenu.AddMenuInfo("U - Odejít");
HelpMenu.AddMenuInfo("S - Shell");
break;
case korean:
HelpMenu.AddMenuInfo(L"ESC - 하위메뉴에서 나감, 메인메뉴 새로 고침");
HelpMenu.AddMenuInfo(L"F1 - 이 도움말");
HelpMenu.AddMenuInfo(L"F2 - preboot.log를 저장합니다. (FAT32방식에만 해당됨)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - oem DSDT를 EFI/CLOVER/ACPI/origin/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - 패치된 DSDT를 EFI/CLOVER/ACPI/origin/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - VideoBios를 EFI/CLOVER/misc/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - 선택한 출력에서 사운드 확인");
HelpMenu.AddMenuInfo(L"F8 - 오디오 코덱덤프를 EFI/CLOVER/misc/에 저장합니다.");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - 스크린샷을 EFI/CLOVER/misc/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - NVRAM 초기화");
HelpMenu.AddMenuInfo(L"F12 - 선택한 볼륨을 제거합니다. (DVD)");
HelpMenu.AddMenuInfo(L"Space - 선택한 메뉴의 상세 설명");
HelpMenu.AddMenuInfo(L"Digits 1-9 - 메뉴 단축 번호");
HelpMenu.AddMenuInfo(L"A - 단축키 - 이 부트로더에 관하여");
HelpMenu.AddMenuInfo(L"O - 단축키 - 부트 옵션");
HelpMenu.AddMenuInfo(L"R - 단축키 - 리셋");
HelpMenu.AddMenuInfo(L"U - 단축키 - 시스템 종료");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - 하위메뉴에서 나감, 메인메뉴 새로 고침");
HelpMenu.AddMenuInfo("F1 - 이 도움말");
HelpMenu.AddMenuInfo("F2 - preboot.log를 저장합니다. (FAT32방식에만 해당됨)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - oem DSDT를 EFI/CLOVER/ACPI/origin/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo("F5 - 패치된 DSDT를 EFI/CLOVER/ACPI/origin/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo("F6 - VideoBios를 EFI/CLOVER/misc/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo("F7 - 선택한 출력에서 사운드 확인");
HelpMenu.AddMenuInfo("F8 - 오디오 코덱덤프를 EFI/CLOVER/misc/에 저장합니다.");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - 스크린샷을 EFI/CLOVER/misc/에 저장합니다. (FAT32)");
HelpMenu.AddMenuInfo("F11 - NVRAM 초기화");
HelpMenu.AddMenuInfo("F12 - 선택한 볼륨을 제거합니다. (DVD)");
HelpMenu.AddMenuInfo("Space - 선택한 메뉴의 상세 설명");
HelpMenu.AddMenuInfo("Digits 1-9 - 메뉴 단축 번호");
HelpMenu.AddMenuInfo("A - 단축키 - 이 부트로더에 관하여");
HelpMenu.AddMenuInfo("O - 단축키 - 부트 옵션");
HelpMenu.AddMenuInfo("R - 단축키 - 리셋");
HelpMenu.AddMenuInfo("U - 단축키 - 시스템 종료");
HelpMenu.AddMenuInfo("S - Shell");
break;
case romanian:
HelpMenu.AddMenuInfo(L"ESC - Iesire din sub-meniu, Refresh meniul principal");
HelpMenu.AddMenuInfo(L"F1 - Ajutor");
HelpMenu.AddMenuInfo(L"F2 - Salvare preboot.log (doar pentru FAT32)");
HelpMenu.AddMenuInfo(L"F4 - Salvare oem DSDT in EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Salvare DSDT modificat in EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Salvare VideoBios in EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Salvare screenshot in EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Scoatere volum selectat (DVD)");
HelpMenu.AddMenuInfo(L"Space - Detalii despre item-ul selectat");
HelpMenu.AddMenuInfo(L"Cifre 1-9 - Scurtaturi pentru itemele meniului");
HelpMenu.AddMenuInfo(L"A - Despre");
HelpMenu.AddMenuInfo(L"O - Optiuni");
HelpMenu.AddMenuInfo(L"R - Soft Reset");
HelpMenu.AddMenuInfo(L"U - Inchidere");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Iesire din sub-meniu, Refresh meniul principal");
HelpMenu.AddMenuInfo("F1 - Ajutor");
HelpMenu.AddMenuInfo("F2 - Salvare preboot.log (doar pentru FAT32)");
HelpMenu.AddMenuInfo("F4 - Salvare oem DSDT in EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Salvare DSDT modificat in EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Salvare VideoBios in EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Salvare screenshot in EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Scoatere volum selectat (DVD)");
HelpMenu.AddMenuInfo("Space - Detalii despre item-ul selectat");
HelpMenu.AddMenuInfo("Cifre 1-9 - Scurtaturi pentru itemele meniului");
HelpMenu.AddMenuInfo("A - Despre");
HelpMenu.AddMenuInfo("O - Optiuni");
HelpMenu.AddMenuInfo("R - Soft Reset");
HelpMenu.AddMenuInfo("U - Inchidere");
HelpMenu.AddMenuInfo("S - Shell");
break;
case chinese:
HelpMenu.AddMenuInfo(L"ESC - 离开子菜单, 刷新主菜单");
HelpMenu.AddMenuInfo(L"F1 - 帮助");
HelpMenu.AddMenuInfo(L"F2 - 保存 preboot.log 到 EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F3 - 显示隐藏的启动项");
HelpMenu.AddMenuInfo(L"F4 - 保存原始的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - 保存修正后的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - 保存 VideoBios 到 EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - 检查选中输出设备的声音");
HelpMenu.AddMenuInfo(L"F8 - 生成声卡输出转储到 EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - 调整屏幕分辨率为下一个可用的模式");
HelpMenu.AddMenuInfo(L"F10 - 保存截图到 EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - 重置 NVRAM");
HelpMenu.AddMenuInfo(L"F12 - 推出选中的卷 (DVD)");
HelpMenu.AddMenuInfo(L"空格 - 关于选中项的详情");
HelpMenu.AddMenuInfo(L"数字 1-9 - 菜单快捷键");
HelpMenu.AddMenuInfo(L"A - 关于");
HelpMenu.AddMenuInfo(L"O - 选项");
HelpMenu.AddMenuInfo(L"R - 软复位");
HelpMenu.AddMenuInfo(L"U - 退出");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - 离开子菜单, 刷新主菜单");
HelpMenu.AddMenuInfo("F1 - 帮助");
HelpMenu.AddMenuInfo("F2 - 保存 preboot.log 到 EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F3 - 显示隐藏的启动项");
HelpMenu.AddMenuInfo("F4 - 保存原始的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - 保存修正后的 DSDT 到 EFI/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - 保存 VideoBios 到 EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - 检查选中输出设备的声音");
HelpMenu.AddMenuInfo("F8 - 生成声卡输出转储到 EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - 调整屏幕分辨率为下一个可用的模式");
HelpMenu.AddMenuInfo("F10 - 保存截图到 EFI/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - 重置 NVRAM");
HelpMenu.AddMenuInfo("F12 - 推出选中的卷 (DVD)");
HelpMenu.AddMenuInfo("空格 - 关于选中项的详情");
HelpMenu.AddMenuInfo("数字 1-9 - 菜单快捷键");
HelpMenu.AddMenuInfo("A - 关于");
HelpMenu.AddMenuInfo("O - 选项");
HelpMenu.AddMenuInfo("R - 软复位");
HelpMenu.AddMenuInfo("U - 退出");
HelpMenu.AddMenuInfo("S - Shell");
break;
case english:
default:
HelpMenu.AddMenuInfo(L"ESC - Escape from submenu, Refresh main menu");
HelpMenu.AddMenuInfo(L"F1 - This help");
HelpMenu.AddMenuInfo(L"F2 - Save preboot.log into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F3 - Show hidden entries");
HelpMenu.AddMenuInfo(L"F4 - Save oem DSDT into EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F5 - Save patched DSDT into EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo(L"F6 - Save VideoBios into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F7 - Check sound on selected output");
HelpMenu.AddMenuInfo(L"F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo(L"F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo(L"F10 - Save screenshot into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo(L"F11 - Reset NVRAM");
HelpMenu.AddMenuInfo(L"F12 - Eject selected volume (DVD)");
HelpMenu.AddMenuInfo(L"Space - Details about selected menu entry");
HelpMenu.AddMenuInfo(L"Digits 1-9 - Shortcut to menu entry");
HelpMenu.AddMenuInfo(L"A - Menu About");
HelpMenu.AddMenuInfo(L"O - Menu Options");
HelpMenu.AddMenuInfo(L"R - Soft Reset");
HelpMenu.AddMenuInfo(L"U - Exit from Clover");
HelpMenu.AddMenuInfo(L"S - Shell");
HelpMenu.AddMenuInfo("ESC - Escape from submenu, Refresh main menu");
HelpMenu.AddMenuInfo("F1 - This help");
HelpMenu.AddMenuInfo("F2 - Save preboot.log into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F3 - Show hidden entries");
HelpMenu.AddMenuInfo("F4 - Save oem DSDT into EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F5 - Save patched DSDT into EFI/CLOVER/ACPI/origin/ (FAT32)");
HelpMenu.AddMenuInfo("F6 - Save VideoBios into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F7 - Check sound on selected output");
HelpMenu.AddMenuInfo("F8 - Make audio outputs dump into EFI/CLOVER/misc/");
HelpMenu.AddMenuInfo("F9 - Switch screen resoluton to next possible mode");
HelpMenu.AddMenuInfo("F10 - Save screenshot into EFI/CLOVER/misc/ (FAT32)");
HelpMenu.AddMenuInfo("F11 - Reset NVRAM");
HelpMenu.AddMenuInfo("F12 - Eject selected volume (DVD)");
HelpMenu.AddMenuInfo("Space - Details about selected menu entry");
HelpMenu.AddMenuInfo("Digits 1-9 - Shortcut to menu entry");
HelpMenu.AddMenuInfo("A - Menu About");
HelpMenu.AddMenuInfo("O - Menu Options");
HelpMenu.AddMenuInfo("R - Soft Reset");
HelpMenu.AddMenuInfo("U - Exit from Clover");
HelpMenu.AddMenuInfo("S - Shell");
break;
}
HelpMenu.AnimeRun = HelpMenu.GetAnime();
@ -4490,8 +4501,8 @@ REFIT_ABSTRACT_MENU_ENTRY *SubMenuGraphics()
for (i = 0; i < NGFX; i++) {
SubScreen->AddMenuInfo(L"----------------------");
SubScreen->AddMenuInfo(PoolPrint(L"Card DeviceID=%04x", gGraphics[i].DeviceID));
SubScreen->AddMenuInfo("----------------------");
SubScreen->AddMenuInfo(SPrintf("Card DeviceID=%04x", gGraphics[i].DeviceID));
N = 20 + i * 6;
SubScreen->AddMenuItemInput(N, "Model:", TRUE);
@ -4912,7 +4923,7 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuBinaries()
SubScreen->AddMenuItemInput(64, "Debug", FALSE);
SubScreen->AddMenuInfo(L"----------------------");
SubScreen->AddMenuInfo("----------------------");
SubScreen->AddMenuItemInput(104, "Fake CPUID:", TRUE);
// SubScreen->AddMenuItemInput(108, "Kernel patching allowed", FALSE);
SubScreen->AddMenuItemInput(45, "Kernel Support CPU", FALSE);
@ -4921,14 +4932,14 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuBinaries()
SubScreen->AddMenuItemInput(48, "Kernel PM", FALSE);
SubScreen->AddMenuItemInput(121, "Panic No Kext Dump", FALSE);
SubScreen->AddMenuEntry(SubMenuKernelPatches(), true);
SubScreen->AddMenuInfo(L"----------------------");
SubScreen->AddMenuInfo("----------------------");
SubScreen->AddMenuItemInput(46, "AppleIntelCPUPM Patch", FALSE);
SubScreen->AddMenuItemInput(47, "AppleRTC Patch", FALSE);
SubScreen->AddMenuItemInput(61, "Dell SMBIOS Patch", FALSE);
// SubScreen->AddMenuItemInput(115, "No Caches", FALSE);
// SubScreen->AddMenuItemInput(44, "Kext patching allowed", FALSE);
SubScreen->AddMenuEntry(SubMenuKextPatches(), true);
SubScreen->AddMenuInfo(L"----------------------");
SubScreen->AddMenuInfo("----------------------");
SubScreen->AddMenuEntry(SubMenuBootPatches(), true);
@ -5233,21 +5244,21 @@ VOID CreateMenuProps(REFIT_MENU_SCREEN *SubScreen, DEV_PROPERTY *Prop)
SubScreen->AddMenuEntry(InputBootArgs, true);
switch (Prop->ValueType) {
case kTagTypeInteger:
SubScreen->AddMenuInfo(PoolPrint(L" value: 0x%08x", *(UINT64*)Prop->Value));
SubScreen->AddMenuInfo(SPrintf(" value: 0x%08llx", *(UINT64*)Prop->Value));
break;
case kTagTypeString:
SubScreen->AddMenuInfo(PoolPrint(L" value: %30a", Prop->Value));
SubScreen->AddMenuInfo(SPrintf(" value: %30s", Prop->Value));
break;
case kTagTypeFalse:
SubScreen->AddMenuInfo(PoolPrint(L" value: false"));
SubScreen->AddMenuInfo(SPrintf(" value: false"));
break;
case kTagTypeTrue:
SubScreen->AddMenuInfo(PoolPrint(L" value: true"));
SubScreen->AddMenuInfo(SPrintf(" value: true"));
break;
default: //type data, print first 24 bytes
//CHAR8* Bytes2HexStr(UINT8 *data, UINTN len)
SubScreen->AddMenuInfo(PoolPrint(L" value[%d]: %24a", Prop->ValueLen, Bytes2HexStr((UINT8*)Prop->Value, MIN(24, Prop->ValueLen))));
SubScreen->AddMenuInfo(SPrintf(" value[%llu]: %24s", Prop->ValueLen, Bytes2HexStr((UINT8*)Prop->Value, MIN(24, Prop->ValueLen))));
break;
}
@ -5268,8 +5279,8 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuCustomDevices()
{
DEV_PROPERTY *Props = NULL;
while (Prop) {
SubScreen->AddMenuInfo(L"------------");
SubScreen->AddMenuInfo(PoolPrint(L"%a", Prop->Label));
SubScreen->AddMenuInfo("------------");
SubScreen->AddMenuInfo(SPrintf("%s", Prop->Label));
Props = Prop->Child;
while (Props) {
CreateMenuProps(SubScreen, Props);
@ -5282,8 +5293,8 @@ REFIT_ABSTRACT_MENU_ENTRY* SubMenuCustomDevices()
DevAddr = Prop->Device;
if (DevAddr != 0 && DevAddr != OldDevAddr) {
OldDevAddr = DevAddr;
SubScreen->AddMenuInfo(L"------------");
SubScreen->AddMenuInfo(PoolPrint(L"%a", Prop->Label));
SubScreen->AddMenuInfo("------------");
SubScreen->AddMenuInfo(SPrintf("%s", Prop->Label));
CreateMenuProps(SubScreen, Prop);
}
Prop = Prop->Next;