mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-22 00:40:18 +01:00
Added Japanese translation.
This commit is contained in:
parent
356977290e
commit
e2f10333d9
5 changed files with 6 additions and 1 deletions
Binary file not shown.
|
@ -455,6 +455,9 @@ void gdrv::grtext_draw_ttext_in_box(LPCWSTR text, int xOff, int yOff, int width,
|
||||||
case Languages::SimplifiedChinese:
|
case Languages::SimplifiedChinese:
|
||||||
font = "Microsoft YaHei";
|
font = "Microsoft YaHei";
|
||||||
break;
|
break;
|
||||||
|
case Languages::Japanese:
|
||||||
|
font = "MS UI Gothic";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
font = "Arial";
|
font = "Arial";
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,6 +76,7 @@ LanguageMenuEntry options::LanguageMenu[]
|
||||||
{L"正體字", Languages::TraditionalChinese},
|
{L"正體字", Languages::TraditionalChinese},
|
||||||
{L"Polski", Languages::Polish},
|
{L"Polski", Languages::Polish},
|
||||||
{L"Deutsch", Languages::German},
|
{L"Deutsch", Languages::German},
|
||||||
|
{L"日本", Languages::Japanese},
|
||||||
};
|
};
|
||||||
|
|
||||||
void options::ReadOptions()
|
void options::ReadOptions()
|
||||||
|
|
|
@ -10,6 +10,7 @@ enum class Languages
|
||||||
SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED),
|
SimplifiedChinese = MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED),
|
||||||
Polish = MAKELANGID(LANG_POLISH, SUBLANG_POLISH_POLAND),
|
Polish = MAKELANGID(LANG_POLISH, SUBLANG_POLISH_POLAND),
|
||||||
German = MAKELANGID(LANG_GERMAN, SUBLANG_GERMAN),
|
German = MAKELANGID(LANG_GERMAN, SUBLANG_GERMAN),
|
||||||
|
Japanese = MAKELANGID(LANG_JAPANESE, SUBLANG_JAPANESE_JAPAN),
|
||||||
};
|
};
|
||||||
|
|
||||||
struct LanguageMenuEntry
|
struct LanguageMenuEntry
|
||||||
|
|
|
@ -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 706
|
#define Menu1_LanguageMax 707
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue