-{{define "head"}}<title>Page not found — {{.SiteName}}</title>{{end}}
+{{define "head"}}<title>Page non trouvée — {{.SiteName}}</title>{{end}}
{{define "content"}}
<div class="error-page">
- <p class="msg">This page is missing.</p>
- <p>Are you sure it was ever here?</p>
+ <p class="msg">Cette page est manquante.</p>
+ <p>Vous êtes-sûr qu'elle ai jamais existé ?</p>
</div>
{{end}}
diff --git a/pages/404.tmpl b/pages/404.tmpl
index b103e27..6f42750 100644
--- a/pages/404.tmpl
+++ b/pages/404.tmpl
@@ -1,10 +1,10 @@
-{{define "head"}}<title>Post not found — {{.SiteName}}</title>{{end}}
+{{define "head"}}<title>Publication non trouvée — {{.SiteName}}</title>{{end}}
{{define "content"}}
<div class="error-page" style="max-width:30em">
- <p class="msg">Post not found.</p>
+ <p class="msg">Publication non trouvée.</p>
{{if and (not .SingleUser) .OpenRegistration}}
- <p class="commentary" style="margin-top:2.5em">Why not share a thought of your own?</p>
- <p><a href="/">Start a blog</a> and spread your ideas on <strong>{{.SiteName}}</strong>, a simple{{if .Federation}}, federated{{end}} blogging community.</p>
+ <p class="commentary" style="margin-top:2.5em">Pourquoi ne pas partager vos propres mots ?</p>
+ <p><a href="/">Créez un blog</a> et partagez vos idées sur <strong>{{.SiteName}}</strong></p>
- <p>Please <a href="https://github.com/writefreely/writefreely/issues/new">contact the human authors</a> of this software and remind them of their many shortcomings.</p>
- <p>Be gentle, though. They are fragile mortal beings.</p>
- <p style="margin-top:2em">Also, unlike the AI that will soon replace them, you will need to include an error log from the server in your report. (Utterly <em>primitive</em>, we know.)</p>
+ <h1>Erreur serveur 😵</h1>
+ <p>S'il vous plaît <a href="https://github.com/writefreely/writefreely/issues/new">contactez les auteurs</a> de ce logiciel et rappelez-leur leurs nombreux défauts.</p>
+ <p>Restez courtois néanmoins, ce sont de fragiles êtres vivants.</p>
+ <p style="margin-top:2em">De plus, contrairement à l'IA qui les remplacera bientôt, vous devrez inclure un journal des erreurs du serveur dans votre rapport. (Très <em>primitif</em>, on sait.)</p>
- <p><em>{{.SiteName}}</em> is home to <strong>{{largeNumFmt .AboutStats.NumPosts}}</strong> {{pluralize "article" "articles" .AboutStats.NumPosts}} across <strong>{{largeNumFmt .AboutStats.NumBlogs}}</strong> {{pluralize "blog" "blogs" .AboutStats.NumBlogs}}.</p>
- <p><a href="https://writefreely.org">WriteFreely</a> is a self-hosted, decentralized blogging platform for publishing beautiful, simple blogs.</p>
- <p>It lets you publish a single blog, or host a community of writers who can create multiple blogs under one account. You can also enable federation, which allows people in the fediverse to follow your blog, bookmark your posts, and share them with others.</p>
+ <h2 style="margin-top:2em">A propos de WriteFreely</h2>
+ <p><a href="https://writefreely.org">WriteFreely</a> est une plate-forme de blogs décentralisée et auto-hébergée pour publier de beaux et simples blogs.</p>
+ <p>Il vous permet de publier un seul blog ou d'héberger une communauté d'écrivains qui peuvent créer plusieurs blogs sous un seul compte. Vous pouvez également activer la fédération, qui permet aux personnes du fediverse de suivre votre blog, d'ajouter vos articles à leurs favoris et de les partager avec d'autres.</p>
$aliasSite.innerHTML = '{{ if .Federation }}@<strong>' + data.data + '</strong>@{{.FriendlyHost}}{{ else }}{{.FriendlyHost}}/<strong>' + data.data + '</strong>/{{ end }}';
} else {
aliasOK = false;
$alias.setClass('error');
$aliasSite.className = 'error';
$aliasSite.textContent = data.error_msg;
}
}
}
http.send(JSON.stringify(params));
} else {
$aliasSite.className += ' demo';
$aliasSite.innerHTML = '{{ if .Federation }}@<strong>your-username</strong>@{{.FriendlyHost}}{{ else }}{{.FriendlyHost}}/<strong>your-username</strong>/{{ end }}';
- {{if and (not .SingleUser) .OpenRegistration}}<p style="text-align:center;font-size:0.9em;margin:3em auto;max-width:26em;">{{if .Message}}{{.Message}}{{else}}<em>No account yet?</em> <a href="{{.SignupPath}}">Sign up</a> to start a blog.{{end}}</p>{{end}}
+ {{if and (not .SingleUser) .OpenRegistration}}<p style="text-align:center;font-size:0.9em;margin:3em auto;max-width:26em;">{{if .Message}}{{.Message}}{{else}}<em>Pas encore inscrit ?</em> <a href="{{.SignupPath}}">Inscrivez-vous</a> pour créer un blog.{{end}}</p>{{end}}
$aliasSite.innerHTML = '{{ if .Federation }}@<strong>' + data.data + '</strong>@{{.FriendlyHost}}{{ else }}{{.FriendlyHost}}/<strong>' + data.data + '</strong>/{{ end }}';
} else {
aliasOK = false;
$alias.setClass('error');
$aliasSite.className = 'error';
$aliasSite.textContent = data.error_msg;
}
}
}
http.send(JSON.stringify(params));
} else {
$aliasSite.className += ' demo';
$aliasSite.innerHTML = '{{ if .Federation }}@<strong>your-username</strong>@{{.FriendlyHost}}{{ else }}{{.FriendlyHost}}/<strong>your-username</strong>/{{ end }}';