summaryrefslogtreecommitdiff
path: root/src/modules/sparkler
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-03-19 10:35:28 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-03-19 12:11:29 -0700
commit35616ec3926638993caebdf617a7cbae725ef592 (patch)
tree9ae04145913463b88daebda5aad1caf07b2e629f /src/modules/sparkler
parent60625de67efa1d35b415c2409a5279b4d02c51ef (diff)
*: normalize setting description capitalizations
Always only capitalize the first letter, never capitalize like titles.
Diffstat (limited to 'src/modules/sparkler')
-rw-r--r--src/modules/sparkler/sparkler.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c
index ca9bfaf..5d11a9d 100644
--- a/src/modules/sparkler/sparkler.c
+++ b/src/modules/sparkler/sparkler.c
@@ -111,7 +111,7 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t **
r = til_settings_get_and_describe_value(settings,
&(til_setting_desc_t){
- .name = "Show BSP Leaf Node Bounding Boxes",
+ .name = "Show BSP-tree leaf-node bounding boxes",
.key = "show_bsp_leafs",
.preferred = "off",
.values = values
@@ -135,18 +135,18 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t **
sparkler_conf.show_bsp_leafs = 1;
- r = til_settings_get_and_describe_value(settings,
- &(til_setting_desc_t){
- .name = "Show BSP Leaf Node Bounding Boxes Minimum Depth",
- .key = "show_bsp_leafs_min_depth",
- .preferred = "8",
- .values = depth_values
- },
- &show_bsp_leafs_min_depth,
- res_setting,
- res_desc);
- if (r)
- return r;
+ r = til_settings_get_and_describe_value(settings,
+ &(til_setting_desc_t){
+ .name = "Minimum BSP-tree depth for shown leaf-nodes",
+ .key = "show_bsp_leafs_min_depth",
+ .preferred = "8",
+ .values = depth_values
+ },
+ &show_bsp_leafs_min_depth,
+ res_setting,
+ res_desc);
+ if (r)
+ return r;
sscanf(show_bsp_leafs_min_depth, "%u", &sparkler_conf.show_bsp_leafs_min_depth);
} else {
@@ -155,7 +155,7 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t **
r = til_settings_get_and_describe_value(settings,
&(til_setting_desc_t){
- .name = "Show BSP Search Matches",
+ .name = "Show BSP-tree search matches",
.key = "show_bsp_matches",
.preferred = "off",
.values = values
@@ -176,7 +176,7 @@ static int sparkler_setup(const til_settings_t *settings, const til_setting_t **
r = til_settings_get_and_describe_value(settings,
&(til_setting_desc_t){
- .name = "Show Only Affected BSP Search Matches",
+ .name = "Limit matches shown to those affected by the search",
.key = "show_bsp_matches_affected_only",
.preferred = "off",
.values = values
© All Rights Reserved