Skip to content

Commit

Permalink
Fix wordings for about:config favorite category to directory (#213)
Browse files Browse the repository at this point in the history
about:configのお気に入り設定で"ディレクトリ"が"カテゴリ"になっている
部分を修正する。サイドバーのexpander(クリックで項目を表示・非表示
するUI)は板一覧は"カテゴリ"、お気に入りは"ディレクトリ"に相当するが
用語が混ざっていた。

修正にあたり不具合報告をしていただきありがとうございました。
https://mao.5ch.net/test/read.cgi/linux/1551889442/964-967
  • Loading branch information
ma8ma committed Mar 15, 2020
1 parent 40e7b59 commit 98f4315
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/config/aboutconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void AboutConfig::append_rows()
append_row( "ツリービューの行間スペース", get_confitem()->tree_ypad, CONF_TREE_YPAD );
append_row( "ツリービューのエクスパンダを表示する", get_confitem()->tree_show_expanders, CONF_TREE_SHOW_EXPANDERS );
append_row( "ツリービューのレベルインデント調整量(ピクセル)", get_confitem()->tree_level_indent, CONF_TREE_LEVEL_INDENT );
append_row( "カテゴリを開いたときにスクロールする", get_confitem()->scroll_tree, CONF_SCROLL_TREE );
append_row( "カテゴリやディレクトリを開いたときにスクロールする", get_confitem()->scroll_tree, CONF_SCROLL_TREE );
append_row( "ツリービューの選択を表示中のビューと同期する ( 0: 同期しない 1: 同期する 2: 同期する(フォルダを開く) )", get_confitem()->select_item_sync, CONF_SCROLL_TREE );

// 板一覧、履歴ビュー
Expand All @@ -166,7 +166,7 @@ void AboutConfig::append_rows()
// お気に入り
append_row( "" );
append_row( "■ お気に入り" );
append_row( "お気に入りでカテゴリを常にひとつだけ開く", get_confitem()->open_one_favorite, CONF_OPEN_ONE_FAVORITE );
append_row( "お気に入りでディレクトリを常にひとつだけ開く", get_confitem()->open_one_favorite, CONF_OPEN_ONE_FAVORITE );
append_row( "スレをお気に入りに追加した時にしおりをセットする", get_confitem()->bookmark_drop, CONF_BOOKMARK_DROP );
append_row( "起動時にお気に入りを自動でチェックする", get_confitem()->check_update_boot, CONF_CHECK_UPDATE_BOOT );
append_row( "重複項目を登録する ( 0: 登録する 1: ダイアログ表示 2: 登録しない )", get_confitem()->check_favorite_dup, CONF_CHECK_FAVORITE_DUP );
Expand Down
4 changes: 2 additions & 2 deletions src/config/configitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ bool ConfigItems::load( const bool restore )
// ツリービューのレベルインデント調整量(ピクセル)
tree_level_indent = cf.get_option_int( "tree_level_indent", CONF_TREE_LEVEL_INDENT, -256, 256 );

// カテゴリを開いたときにツリービューをスクロールする
// カテゴリやディレクトリを開いたときにツリービューをスクロールする
scroll_tree = cf.get_option_bool( "scroll_tree", CONF_SCROLL_TREE );

// ツリービューの選択を表示中のビューと同期する
Expand Down Expand Up @@ -349,7 +349,7 @@ bool ConfigItems::load( const bool restore )
// 板一覧でカテゴリを常にひとつだけ開く
open_one_category = cf.get_option_bool( "open_one_category", CONF_OPEN_ONE_CATEGORY );

// お気に入りでカテゴリを常にひとつだけ開く
// お気に入りでディレクトリを常にひとつだけ開く
open_one_favorite = cf.get_option_bool( "open_one_favorite", CONF_OPEN_ONE_FAVORITE );

// デフォルトの書き込み名
Expand Down
4 changes: 2 additions & 2 deletions src/config/configitems.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ namespace CONFIG
// ツリービューのレベルインデント調整量(ピクセル)
int tree_level_indent;

// カテゴリを開いたときにツリービューをスクロールする
// カテゴリやディレクトリを開いたときにツリービューをスクロールする
bool scroll_tree;

// ツリービューの選択を表示中のビューと同期する ( 0: 同期しない 1: 同期する 2: 同期する(フォルダを開く) )
Expand Down Expand Up @@ -292,7 +292,7 @@ namespace CONFIG
// 板一覧でカテゴリを常にひとつだけ開く
bool open_one_category;

// お気に入りでカテゴリを常にひとつだけ開く
// お気に入りでディレクトリを常にひとつだけ開く
bool open_one_favorite;

// デフォルトの書き込み名
Expand Down
4 changes: 2 additions & 2 deletions src/config/defaultconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace CONFIG
CONF_TREE_YPAD = 1, // ツリービューの行間スペース
CONF_TREE_SHOW_EXPANDERS = 1, // ツリービューにエクスパンダを表示
CONF_TREE_LEVEL_INDENT = 0, // ツリービューのレベルインデント調整量(ピクセル)
CONF_SCROLL_TREE = 1, // カテゴリを開いたときにツリービューをスクロールする
CONF_SCROLL_TREE = 1, // カテゴリやディレクトリを開いたときにツリービューをスクロールする
CONF_SELECT_ITEM_SYNC = 1, // ツリービューの選択を表示中のビューと同期する ( 0: 同期しない 1: 同期する 2: 同期する(フォルダを開く) )
CONF_VIEW_MARGIN = 0, // 各ビューと枠との間の余白
CONF_LEFT_SCRBAR = 0, // スクロールバーを左に配置
Expand All @@ -66,7 +66,7 @@ namespace CONFIG
CONF_LIVE_SPEED = 2, // 実況速度
CONF_LIVE_THRESHOLD = 10, // 実況のスクロールモードを切り替えるしきい値
CONF_OPEN_ONE_CATEGORY = 0, // 板一覧でカテゴリを常にひとつだけ開く
CONF_OPEN_ONE_FAVORITE = 0, // お気に入りでカテゴリを常にひとつだけ開く
CONF_OPEN_ONE_FAVORITE = 0, // お気に入りでディレクトリを常にひとつだけ開く
CONF_ALWAYS_WRITE_OK = 0, // 書き込み時に書き込み確認ダイアログを出さない
CONF_SAVE_POSTLOG = 0, //書き込みログを保存
CONF_SAVE_POSTHIST = 1, //書き込み履歴を保存
Expand Down
2 changes: 1 addition & 1 deletion src/config/globalconf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ bool CONFIG::get_tree_show_expanders(){ return get_confitem()->tree_show_expande
// ツリービューのレベルインデント調整量(ピクセル)
int CONFIG::get_tree_level_indent(){ return get_confitem()->tree_level_indent; }

// カテゴリを開いたときにツリービューをスクロールする
// カテゴリやディレクトリを開いたときにツリービューをスクロールする
bool CONFIG::get_scroll_tree(){ return get_confitem()->scroll_tree; }

// ツリービューの選択を表示中のビューと同期する ( 0: 同期しない 1: 同期する 2: 同期する(フォルダを開く) )
Expand Down
4 changes: 2 additions & 2 deletions src/config/globalconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace CONFIG
// ツリービューのレベルインデント調整量(ピクセル)
int get_tree_level_indent();

// カテゴリを開いたときにツリービューをスクロールする
// カテゴリやディレクトリを開いたときにツリービューをスクロールする
bool get_scroll_tree();

// ツリービューの選択を表示中のビューと同期する ( 0: 同期しない 1: 同期する 2: 同期する(フォルダを開く) )
Expand Down Expand Up @@ -335,7 +335,7 @@ namespace CONFIG
// 板一覧でカテゴリを常にひとつだけ開く
bool get_open_one_category();

// お気に入りでカテゴリを常にひとつだけ開く
// お気に入りでディレクトリを常にひとつだけ開く
bool get_open_one_favorite();

// デフォルトの書き込み名
Expand Down

0 comments on commit 98f4315

Please sign in to comment.