Diff options
Diffstat (limited to 'source')
| -rw-r--r-- | source/ui-diff.c | 8 | |
| -rw-r--r-- | source/ui-stats.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source/ui-diff.c b/source/ui-diff.c index 33d1751..91ad860 100644 --- a/source/ui-diff.c +++ b/source/ui-diff.c @@ -572,11 +572,11 @@ void cgit_print_diff_ctrls(void) int i, selected; html("<div class='cgit-panel'>\n"); - html("<strong>diff options</strong>"); + html("<strong>Diff options</strong>"); html("<form method='get' aria-label='Diff options'>"); cgit_add_hidden_formfields(1, 0, ctx.qry.page); html("<div class='fields'>"); - html("<label for='diff-context'>context:</label>"); + html("<label for='diff-context'>context</label>"); html("<select id='diff-context' name='context'>"); selected = ctx.qry.context; if (!selected) @@ -586,12 +586,12 @@ void cgit_print_diff_ctrls(void) for (i = 15; i <= MAX_DIFF_CONTEXT_LINES; i += 5) html_intoption(i, cgit_fmt("%d", i), selected); html("</select>"); - html("<label for='diff-space'>space:</label>"); + html("<label for='diff-space'>space</label>"); html("<select id='diff-space' name='ignorews'>"); html_intoption(0, "include", ctx.qry.ignorews); html_intoption(1, "ignore", ctx.qry.ignorews); html("</select>"); - html("<label for='diff-mode'>mode:</label>"); + html("<label for='diff-mode'>mode</label>"); html("<select id='diff-mode' name='dt'>"); selected = ctx.qry.has_difftype ? ctx.qry.difftype : ctx.cfg.difftype; html_intoption(0, "unified", selected); diff --git a/source/ui-stats.c b/source/ui-stats.c index a332335..e4dcf8e 100644 --- a/source/ui-stats.c +++ b/source/ui-stats.c @@ -373,20 +373,20 @@ static void print_options_form(const struct cgit_period *period, int top) int choices, i; html("<div class='cgit-panel'>\n"); - html("<strong>stat options</strong>"); + html("<strong>Stat options</strong>"); html("<form method='get' aria-label='Stat options'>"); cgit_add_hidden_formfields(1, 0, "stats"); html("<div class='fields'>"); if (ctx.repo->max_stats > 1) { choices = ctx.repo->max_stats; - html("<label for='stats-period'>Period:</label>"); + html("<label for='stats-period'>period</label>"); html("<select id='stats-period' name='period'>"); for (i = 0; i < choices; i++) html_option(cgit_fmt("%c", periods[i].code), periods[i].name, cgit_fmt("%c", period->code)); html("</select>\n"); } - html("<label for='stats-authors'>Authors:</label>"); + html("<label for='stats-authors'>authors</label>"); html("<select id='stats-authors' name='ofs'>"); html_intoption(10, "10", top); html_intoption(25, "25", top); |
