Skip to content

Commit

Permalink
Fix #67
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Apr 3, 2024
1 parent f9d36d4 commit c895636
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -935,3 +935,4 @@
- 辞書リストの読み込みを修正。
- 「辞書」設定からテーマを開けるようにした。
- 「ジャンプ」ダイアログを修正。
- 「辞書」設定の一部テキストを修正。
4 changes: 2 additions & 2 deletions XgDictList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ XgDictListDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)

// 辞書リストのヘッダーを初期化。
LV_COLUMNW column = { LVCF_TEXT | LVCF_WIDTH };
column.pszText = const_cast<LPWSTR>(L"Filename");
column.pszText = XgLoadStringDx1(IDS_FILENAME);
column.cx = 200;
ListView_InsertColumn(hwndLst1, 0, &column);
column.pszText = const_cast<LPWSTR>(L"Display name");
column.pszText = XgLoadStringDx1(IDS_DISPLAYNAME);
column.cx = 250;
ListView_InsertColumn(hwndLst1, 1, &column);

Expand Down
2 changes: 2 additions & 0 deletions lang/en_US.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1807,6 +1807,8 @@ STRINGTABLE
IDS_GENERALSETTINGS, "Settings (Alt+Enter)"
IDS_MADEPROBLEM2, "I've generated a crossword and saved as '%s'.\n\nCalculation time: %u.%u[sec]"
IDS_FITWHOLE, "Fit whole"
IDS_FILENAME, "Filename"
IDS_DISPLAYNAME, "Display Name"
IDS_TT_NEW, "New crossword"
IDS_TT_GENERATE, "Generate crossword"
IDS_TT_OPEN, "Open crossword"
Expand Down
2 changes: 2 additions & 0 deletions lang/ja_JP.rc
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,8 @@ STRINGTABLE
IDS_OUTOFRANGE, "範囲外です。"
IDS_GENERALSETTINGS, "設定 (Alt+Enter)"
IDS_MADEPROBLEM2, "問題の生成とファイル「%s」への保存に成功しました。\n\n計算時間: %u.%u[秒]"
IDS_FILENAME, "ファイル名"
IDS_DISPLAYNAME, "表示名"
IDS_FITWHOLE, "全体に合わせる"
IDS_TT_NEW, "新規作成"
IDS_TT_GENERATE, "問題を自動生成する"
Expand Down
2 changes: 2 additions & 0 deletions resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@
#define IDS_GENERALSETTINGS 329
#define IDS_MADEPROBLEM2 330
#define IDS_FITWHOLE 331
#define IDS_FILENAME 332
#define IDS_DISPLAYNAME 333
#define IDS_TT_NEW 10100
#define IDS_TT_GENERATE 10101
#define IDS_TT_OPEN 10102
Expand Down

0 comments on commit c895636

Please sign in to comment.