Diff options
Diffstat (limited to '')
-rw-r--r--source/ui-diff.c8
1 file changed, 4 insertions, 4 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);