Skip to content

Commit

Permalink
Add English translations of some strings
Browse files Browse the repository at this point in the history
  • Loading branch information
nightmareci committed Jul 30, 2024
1 parent b923a34 commit b6ee433
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main_sdl/ygs2kfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,7 @@ static void YGS2kPrivateKanjiFontInitialize()
SDL_RWops *src;

/* 10pxフォント読み込み */
/* Load 10px fonts */
src = FSOpenRead("res/font/knj10.bdf");
if ( src )
{
Expand All @@ -1680,6 +1681,7 @@ static void YGS2kPrivateKanjiFontInitialize()
else
{
/* フォントがない場合代替を使う */
/* Use a fallback if the 10px font is missing */
src = FSOpenRead("res/font/knj12.bdf");
if ( src )
{
Expand All @@ -1705,6 +1707,7 @@ static void YGS2kPrivateKanjiFontInitialize()
}

/* 12pxフォント読み込み */
/* Load 12px fonts */
src = FSOpenRead("res/font/knj12.bdf");
if ( src ) {
s_pKanjiFont[1] = Kanji_OpenFont(src, 12);
Expand All @@ -1726,6 +1729,7 @@ static void YGS2kPrivateKanjiFontInitialize()
}

/* 16pxフォント読み込み */
/* Load 16px fonts */
src = FSOpenRead("res/font/knj16.bdf");
if ( src )
{
Expand Down

0 comments on commit b6ee433

Please sign in to comment.