aboutsummaryrefslogtreecommitdiff
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/ui-shared.c b/ui-shared.c
index acd8ab5..f1079fa 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -337,25 +337,25 @@ void cgit_summary_link(const char *name, const char *title, const char *class,
void cgit_tag_link(const char *name, const char *title, const char *class,
const char *tag)
{
- reporevlink("tag", name, title, class, tag, NULL, NULL);
+ reporevlink("Tag", name, title, class, tag, NULL, NULL);
}
void cgit_tree_link(const char *name, const char *title, const char *class,
const char *head, const char *rev, const char *path)
{
- reporevlink("tree", name, title, class, head, rev, path);
+ reporevlink("Arbre", name, title, class, head, rev, path);
}
void cgit_plain_link(const char *name, const char *title, const char *class,
const char *head, const char *rev, const char *path)
{
- reporevlink("plain", name, title, class, head, rev, path);
+ reporevlink("brute", name, title, class, head, rev, path);
}
void cgit_blame_link(const char *name, const char *title, const char *class,
const char *head, const char *rev, const char *path)
{
- reporevlink("blame", name, title, class, head, rev, path);
+ reporevlink("Blâme", name, title, class, head, rev, path);
}
void cgit_log_link(const char *name, const char *title, const char *class,
@@ -779,7 +779,7 @@ void cgit_print_docstart(void)
}
html(cgit_doctype);
- html("<html lang='en'>\n");
+ html("<html lang='fr'>\n");
html("<head>\n");
html("<title>");
html_txt(ctx.page.title);
@@ -1033,33 +1033,33 @@ void cgit_print_pageheader(void)
html("<table class='tabs'><tr><td>\n");
if (ctx.env.authenticated && ctx.repo) {
if (ctx.repo->readme.nr)
- reporevlink("about", "about", NULL,
+ reporevlink("about", "À propos", NULL,
hc("about"), ctx.qry.head, NULL,
NULL);
- cgit_summary_link("summary", NULL, hc("summary"),
+ cgit_summary_link("Sommaire", NULL, hc("summary"),
ctx.qry.head);
- cgit_refs_link("refs", NULL, hc("refs"), ctx.qry.head,
+ cgit_refs_link("Références", NULL, hc("refs"), ctx.qry.head,
ctx.qry.oid, NULL);
- cgit_log_link("log", NULL, hc("log"), ctx.qry.head,
+ cgit_log_link("Logs", NULL, hc("log"), ctx.qry.head,
NULL, ctx.qry.vpath, 0, NULL, NULL,
ctx.qry.showmsg, ctx.qry.follow);
if (ctx.qry.page && !strcmp(ctx.qry.page, "blame"))
cgit_blame_link("blame", NULL, hc("blame"), ctx.qry.head,
ctx.qry.oid, ctx.qry.vpath);
else
- cgit_tree_link("tree", NULL, hc("tree"), ctx.qry.head,
+ cgit_tree_link("Arbre", NULL, hc("tree"), ctx.qry.head,
ctx.qry.oid, ctx.qry.vpath);
- cgit_commit_link("commit", NULL, hc("commit"),
+ cgit_commit_link("Commits", NULL, hc("commit"),
ctx.qry.head, ctx.qry.oid, ctx.qry.vpath);
- cgit_diff_link("diff", NULL, hc("diff"), ctx.qry.head,
+ cgit_diff_link("Diff", NULL, hc("diff"), ctx.qry.head,
ctx.qry.oid, ctx.qry.oid2, ctx.qry.vpath);
if (ctx.repo->max_stats)
- cgit_stats_link("stats", NULL, hc("stats"),
+ cgit_stats_link("Stats", NULL, hc("stats"),
ctx.qry.head, ctx.qry.vpath);
if (ctx.repo->homepage) {
html("<a href='");
html_attr(ctx.repo->homepage);
- html("'>homepage</a>");
+ html("'>Accueil</a>");
}
html("</td><td class='form'>");
html("<form class='right' method='get' action='");
@@ -1086,7 +1086,7 @@ void cgit_print_pageheader(void)
char *currenturl = cgit_currenturl();
site_link(NULL, "index", NULL, hc("repolist"), NULL, NULL, 0, 1);
if (ctx.cfg.root_readme)
- site_link("about", "about", NULL, hc("about"),
+ site_link("about", "À propos", NULL, hc("about"),
NULL, NULL, 0, 1);
html("</td><td class='form'>");
html("<form method='get' action='");