1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-22 08:50:18 +01:00

Added Korean translation.

This commit is contained in:
Muzychenko Andrey 2021-10-31 18:29:41 +03:00
parent 620ec011ec
commit a079117507
5 changed files with 6 additions and 1 deletions

View file

@ -458,6 +458,9 @@ void gdrv::grtext_draw_ttext_in_box(LPCWSTR text, int xOff, int yOff, int width,
case Languages::Japanese: case Languages::Japanese:
font = "MS UI Gothic"; font = "MS UI Gothic";
break; break;
case Languages::Korean:
font = "Gulim";
break;
default: default:
font = "Arial"; font = "Arial";
} }

View file

@ -88,6 +88,7 @@ LanguageMenuEntry options::LanguageMenu[]
{L"اَلْعَرَبِيَّة", Languages::Arabic}, {L"اَلْعَرَبِيَّة", Languages::Arabic},
{L"Ελληνικά", Languages::Greek}, {L"Ελληνικά", Languages::Greek},
{L"Español", Languages::Spanish}, {L"Español", Languages::Spanish},
{L"한국어", Languages::Korean},
}; };
void options::ReadOptions() void options::ReadOptions()

View file

@ -22,6 +22,7 @@ enum class Languages
Arabic = MAKELANGID(LANG_ARABIC, SUBLANG_ARABIC_SAUDI_ARABIA), Arabic = MAKELANGID(LANG_ARABIC, SUBLANG_ARABIC_SAUDI_ARABIA),
Greek = MAKELANGID(LANG_GREEK, SUBLANG_GREEK_GREECE), Greek = MAKELANGID(LANG_GREEK, SUBLANG_GREEK_GREECE),
Spanish = MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH_MODERN), Spanish = MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH_MODERN),
Korean = MAKELANGID(LANG_KOREAN, SUBLANG_KOREAN),
}; };
struct LanguageMenuEntry struct LanguageMenuEntry

View file

@ -242,7 +242,7 @@
#define DLG_HIGHSCORES_EditName5 605 #define DLG_HIGHSCORES_EditName5 605
#define Menu1_AlternativeRender 601 #define Menu1_AlternativeRender 601
#define Menu1_Language 700 #define Menu1_Language 700
#define Menu1_LanguageMax 718 #define Menu1_LanguageMax 719
// Next default values for new objects // Next default values for new objects
// //