From 89671533ab40a5d3ac0b8802c82ecfd8ac62c850 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 17 Aug 2021 17:33:43 -0300 Subject: src/gistatic.c: Add to HTML --- src/gistatic.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/gistatic.c') diff --git a/src/gistatic.c b/src/gistatic.c index 6dac369..a60aa81 100644 --- a/src/gistatic.c +++ b/src/gistatic.c @@ -71,6 +71,7 @@ static nl_catd catalog_descriptor = NULL; #define MSG_MISSING_ARGS 23 #define MSG_INCOMPATIBLE_OPTIONS 24 #define MSG_ERR_NONDIRECT_REF 25 +#define MSG_INDEX_DESCRIPTION 26 static const char *const MSGS[] = { "", @@ -99,6 +100,7 @@ static const char *const MSGS[] = { [MSG_MISSING_ARGS]="Missing [PATH | [PATHS]]", [MSG_INCOMPATIBLE_OPTIONS]="Incompatible options -u and -i", [MSG_ERR_NONDIRECT_REF]="Git reference is not direct", + [MSG_INDEX_DESCRIPTION]="Index of repositories", NULL }; @@ -972,7 +974,8 @@ static int index_write_header(FILE *const fd, const char *const idx_title) { "\n" " \n" " \n" - " \n" + " \n" + " \n" " \n" " \n" " %s\n" @@ -1004,6 +1007,7 @@ static int index_write_header(FILE *const fd, const char *const idx_title) { " \n" " \n", _(MSG_LANG), + _(MSG_INDEX_DESCRIPTION), idx_title, _(MSG_LOGO_ALT_INDEX), idx_title, @@ -1389,7 +1393,8 @@ static int repo_write_refs( "\n" " \n" " \n" - " \n" + " \n" + " \n" " \n" " \n" " \n" @@ -1455,6 +1460,7 @@ static int repo_write_refs( " \n" " \n", _(MSG_LANG), + description, project_name, _(MSG_COMMIT_FEED), _(MSG_LANG), -- cgit v1.2.3