diff options
author | root <root@adnab.me> | 2014-01-31 17:30:35 +0100 |
---|---|---|
committer | root <root@adnab.me> | 2014-01-31 17:30:35 +0100 |
commit | 1ed8a37bea8882cd3a1aa0f421dbc15493a781a0 (patch) | |
tree | d014616096b7f8b94b707626cae46cff0e0608ce /tpl/blog/index.php | |
parent | b0c23ea84327d48e3a4383fac3e795c2dc0a1215 (diff) | |
download | Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.tar.gz Bits-1ed8a37bea8882cd3a1aa0f421dbc15493a781a0.zip |
Traduction into french of some parts of the site.
Diffstat (limited to 'tpl/blog/index.php')
-rw-r--r-- | tpl/blog/index.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tpl/blog/index.php b/tpl/blog/index.php index cd458c1..712b205 100644 --- a/tpl/blog/index.php +++ b/tpl/blog/index.php @@ -3,8 +3,8 @@ require("tpl/general/top.php"); if ($can_post) { echo '<div class="small_right">'; - echo '<a href="post-blog">post a message</a>'; - echo ' | <a href="drafts-blog">my drafts</a>'; + echo '<a href="post-blog">écrire un article</a>'; + echo ' | <a href="drafts-blog">brouillons</a>'; echo '</div>'; } @@ -12,12 +12,12 @@ echo '<div class="ordering_links">' . filters_html_full() . '</div>'; foreach ($posts as $post) { echo '<div class="blog_post">'; - echo '<div class="small_right">by ' . $post['owner']; + echo '<div class="small_right">écrit par ' . $post['owner']; if ($can_edit && $post['owner_id'] == $user['id']) - echo ' | <a href="edit-blog-' . $post['id'] . '">edit</a>'; + echo ' | <a href="edit-blog-' . $post['id'] . '">modifier</a>'; if ($can_delete && $post['owner_id'] == $user['id']) - echo ' | <a href="delete-blog-' . $post['id'] . '">delete</a>'; - echo ' | <a href="view-blog-' . $post['id'] . '">read & comment (' . $post['comments'] . ')</a>'; + echo ' | <a href="delete-blog-' . $post['id'] . '">supprimer</a>'; + echo ' | <a href="view-blog-' . $post['id'] . '">lire & commenter (' . $post['comments'] . ')</a>'; echo '</div>'; echo '<div class="small_right">published ' . $post['date'] . '</div>'; if ($post['tags'] != '') { @@ -31,7 +31,8 @@ foreach ($posts as $post) { echo '</div><div class="contents-left">'; foreach ($fa as $kname => $kdata) { - echo '<h1>Filter by ' . $kname . '</h1>'; + if ($kname == "author") continue; + echo '<h1>Filtrer par ' . $kname . '</h1>'; if (isset($fvalues[$kname])) { echo '<p>Filtering ' . $kname . ' : ' . $kdata[$fvalues[$kname]]['name'] . '.<br />'; $n = array(); @@ -61,7 +62,7 @@ if (count($fvalues) > 0) { echo '<li><a href="index.php?p=index-blog-' . $zd . '">Atom feed for this selection</a></li>'; echo '<li><a href="index.php?p=index-blog-feed-atom">Homepage Atom feed</a></li>'; } else { - echo '<li><a href="index.php?p=index-blog-feed-atom">Atom feed</a></li>'; + echo '<li><a href="index.php?p=index-blog-feed-atom">Flux Atom</a></li>'; } echo '</ul>'; |