aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2021-09-06 20:28:07 +0200
committerache <ache@ache.one>2021-09-06 20:28:07 +0200
commit6f726688b1e1d672af537657c4ec50a3862428a0 (patch)
treed6e7b64641388060cca5ce6861a0b1201edf7d4c
parentgit: update to v2.32.0 (diff)
Translate to french !tr_fr
-rw-r--r--ui-blame.c4
-rw-r--r--ui-log.c8
-rw-r--r--ui-refs.c14
-rw-r--r--ui-repolist.c6
-rw-r--r--ui-shared.c30
-rw-r--r--ui-tree.c10
6 files changed, 36 insertions, 36 deletions
diff --git a/ui-blame.c b/ui-blame.c
index 03136f7..18f8fa2 100644
--- a/ui-blame.c
+++ b/ui-blame.c
@@ -147,9 +147,9 @@ static void print_object(const struct object_id *oid, const char *path,
cgit_print_layout_start();
htmlf("blob: %s (", oid_to_hex(oid));
- cgit_plain_link("plain", NULL, NULL, ctx.qry.head, rev, path);
+ cgit_plain_link("Brute", NULL, NULL, ctx.qry.head, rev, path);
html(") (");
- cgit_tree_link("tree", NULL, NULL, ctx.qry.head, rev, path);
+ cgit_tree_link("Arbre", NULL, NULL, ctx.qry.head, rev, path);
html(")\n");
if (ctx.cfg.max_blob_size && size / 1024 > ctx.cfg.max_blob_size) {
diff --git a/ui-log.c b/ui-log.c
index 20774bf..6c47a16 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -459,8 +459,8 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
if (commit_graph)
html("<th></th>");
else
- html("<th class='left'>Age</th>");
- html("<th class='left'>Commit message");
+ html("<th class='left'>Date</th>");
+ html("<th class='left'>Message de commit");
if (pager) {
html(" (");
cgit_log_link(ctx.qry.showmsg ? "Collapse" : "Expand", NULL,
@@ -470,9 +470,9 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
ctx.qry.follow);
html(")");
}
- html("</th><th class='left'>Author</th>");
+ html("</th><th class='left'>Auteurâ‹…e</th>");
if (rev.graph)
- html("<th class='left'>Age</th>");
+ html("<th class='left'>Date</th>");
if (ctx.repo->enable_log_filecount) {
html("<th class='left'>Files</th>");
columns++;
diff --git a/ui-refs.c b/ui-refs.c
index 456f610..fa16a11 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -85,9 +85,9 @@ static int print_branch(struct refinfo *ref)
static void print_tag_header(void)
{
html("<tr class='nohover'><th class='left'>Tag</th>"
- "<th class='left'>Download</th>"
- "<th class='left'>Author</th>"
- "<th class='left' colspan='2'>Age</th></tr>\n");
+ "<th class='left'>Télécharger</th>"
+ "<th class='left'>Auteurâ‹…e</th>"
+ "<th class='left' colspan='2'>Date</th></tr>\n");
}
static int print_tag(struct refinfo *ref)
@@ -148,10 +148,10 @@ void cgit_print_branches(int maxcount)
struct reflist list;
int i;
- html("<tr class='nohover'><th class='left'>Branch</th>"
- "<th class='left'>Commit message</th>"
- "<th class='left'>Author</th>"
- "<th class='left' colspan='2'>Age</th></tr>\n");
+ html("<tr class='nohover'><th class='left'>Branche</th>"
+ "<th class='left'>Message de commit</th>"
+ "<th class='left'>Auteurâ‹…e</th>"
+ "<th class='left' colspan='2'>Date</th></tr>\n");
list.refs = NULL;
list.alloc = list.count = 0;
diff --git a/ui-repolist.c b/ui-repolist.c
index 529a203..d149564 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -143,11 +143,11 @@ static void print_sort_header(const char *title, const char *sort)
static void print_header(void)
{
html("<tr class='nohover'>");
- print_sort_header("Name", "name");
+ print_sort_header("Nom", "name");
print_sort_header("Description", "desc");
if (ctx.cfg.enable_index_owner)
- print_sort_header("Owner", "owner");
- print_sort_header("Idle", "idle");
+ print_sort_header("Propriétaire", "owner");
+ print_sort_header("Dernière modification", "idle");
if (ctx.cfg.enable_index_links)
html("<th class='left'>Links</th>");
html("</tr>\n");
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='");
diff --git a/ui-tree.c b/ui-tree.c
index b61f6f5..9560a5c 100644
--- a/ui-tree.c
+++ b/ui-tree.c
@@ -108,7 +108,7 @@ static void print_object(const struct object_id *oid, const char *path, const ch
cgit_print_layout_start();
htmlf("blob: %s (", oid_to_hex(oid));
- cgit_plain_link("plain", NULL, NULL, ctx.qry.head,
+ cgit_plain_link("Brute", NULL, NULL, ctx.qry.head,
rev, path);
if (ctx.repo->enable_blame) {
html(") (");
@@ -240,17 +240,17 @@ static int ls_item(const struct object_id *oid, struct strbuf *base,
htmlf("</td><td class='ls-size'>%li</td>", size);
html("<td>");
- cgit_log_link("log", NULL, "button", ctx.qry.head,
+ cgit_log_link("Log", NULL, "button", ctx.qry.head,
walk_tree_ctx->curr_rev, fullpath.buf, 0, NULL, NULL,
ctx.qry.showmsg, 0);
if (ctx.repo->max_stats)
- cgit_stats_link("stats", NULL, "button", ctx.qry.head,
+ cgit_stats_link("Stats", NULL, "button", ctx.qry.head,
fullpath.buf);
if (!S_ISGITLINK(mode))
- cgit_plain_link("plain", NULL, "button", ctx.qry.head,
+ cgit_plain_link("Brute", NULL, "button", ctx.qry.head,
walk_tree_ctx->curr_rev, fullpath.buf);
if (!S_ISDIR(mode) && ctx.repo->enable_blame)
- cgit_blame_link("blame", NULL, "button", ctx.qry.head,
+ cgit_blame_link("Blâme", NULL, "button", ctx.qry.head,
walk_tree_ctx->curr_rev, fullpath.buf);
html("</td></tr>\n");
free(name);