Make the info webpage french
This commit is contained in:
parent
3b0e9fddc0
commit
41c406d0c3
@ -221,6 +221,21 @@ footer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.open {
|
||||||
|
color: blue;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.moderated {
|
||||||
|
font-weight: bold;
|
||||||
|
color: green;
|
||||||
|
}
|
||||||
|
|
||||||
|
.closed {
|
||||||
|
font-weight: bold;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
@media(max-width: 700px) {
|
@media(max-width: 700px) {
|
||||||
header .header-text {
|
header .header-text {
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
|
@ -19,15 +19,15 @@ templates::{info, instance, statics::index_css},
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<div class="header-text">
|
<div class="header-text">
|
||||||
<h1>@Config::software_name()<span class="smaller">@Config::software_version()</span></h1>
|
<h1>@config.hostname()</h1>
|
||||||
<p>on @config.hostname()</p>
|
<p>@Config::software_name() <span class="smaller">@Config::software_version()</span></p>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<section>
|
<section>
|
||||||
<h3>Connected Servers</h3>
|
<h3>Instances fédérées</h3>
|
||||||
@if nodes.is_empty() {
|
@if nodes.is_empty() {
|
||||||
<p>There are no connected servers at this time.</p>
|
<p>Aucune instance fédérée en ce moment.</p>
|
||||||
} else {
|
} else {
|
||||||
<ul>
|
<ul>
|
||||||
@for node in nodes {
|
@for node in nodes {
|
||||||
@ -47,45 +47,42 @@ templates::{info, instance, statics::index_css},
|
|||||||
}
|
}
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h3>Joining</h3>
|
<h3>Rejoindre</h3>
|
||||||
<article class="joining">
|
<article class="joining">
|
||||||
@if config.restricted_mode() {
|
@if config.restricted_mode() {
|
||||||
<h4>
|
<h4>
|
||||||
This relay is Restricted
|
Ce relais est restreint.
|
||||||
</h4>
|
</h4>
|
||||||
<p>
|
<p>
|
||||||
This relay is currently in Restricted Mode, which means servers need to be approved ahead of time by the relay
|
Ce relais est restreint; Les instances doivent être approuvées avant de pouvoir se connecter. Merci de
|
||||||
administrator. Please contact the admin before attempting to join.
|
contacter l'<a href="https://mastodon.xolus.net/@@max">administrateur</a> avant de tenter d'y connecter votre instance.
|
||||||
</p>
|
</p>
|
||||||
} else {
|
} else {
|
||||||
<p>
|
<p>
|
||||||
If you are the admin of a server that supports activitypub relays, you can add
|
Ce relais est ouvert; Vous pouvez l'ajouter à la configuration de votre serveur supportant ActivityPub.
|
||||||
this relay to your server.
|
|
||||||
</p>
|
</p>
|
||||||
}
|
}
|
||||||
<h4>Mastodon</h4>
|
<h4>Mastodon</h4>
|
||||||
<p>
|
<p>
|
||||||
Mastodon admins can add this relay by adding
|
Les administrateurs de Mastodon peuvent connecter ce relais en ajoutant
|
||||||
<pre>@config.generate_url(UrlKind::Inbox)</pre> in their relay settings.
|
<pre>@config.generate_url(UrlKind::Inbox)</pre> dans la liste de leurs relais..
|
||||||
</p>
|
</p>
|
||||||
<h4>Pleroma</h4>
|
<h4>Pleroma</h4>
|
||||||
<p>
|
<p>
|
||||||
Pleroma admins can add this relay by adding
|
Les administrateurs de Pleroma peuvent connecter ce relais en ajoutant
|
||||||
<pre>@config.generate_url(UrlKind::Actor)</pre>
|
<pre>@config.generate_url(UrlKind::Actor)</pre>
|
||||||
to their relay settings (I don't actually know how pleroma handles adding
|
dans la liste de leur relais.
|
||||||
relays, is it still a mix command?).
|
|
||||||
</p>
|
</p>
|
||||||
<h4>Others</h4>
|
<h4>Autres</h4>
|
||||||
<p>
|
<p>
|
||||||
Consult the documentation for your server. It's likely that it follows either
|
Vérifiez la documentation de votre installation, qui suit probablement la convention de Mastodon ou de Pleroma.
|
||||||
Mastodon or Pleroma's relay formatting.
|
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
The source code for this project can be found at
|
Code source de l'application disponible ici:
|
||||||
<a href="@config.source_code()">@config.source_code()</a>
|
<a href="@config.source_code()">@config.source_code()</a>
|
||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
<h4 class="padded"><a href="@base">@authority</a></h4>
|
<h4 class="padded"><a href="@base">@authority</a></h4>
|
||||||
}
|
}
|
||||||
<p class="padded">
|
<p class="padded">
|
||||||
Running @info.software, version @info.version.
|
Utilise @info.software, version @info.version.
|
||||||
@if info.reg {
|
@if info.reg {
|
||||||
Registration is open
|
Enregistrement ouvert.
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
</article>
|
</article>
|
||||||
|
@ -7,21 +7,23 @@
|
|||||||
<h4 class="padded"><a href="@base">@instance.title</a></h4>
|
<h4 class="padded"><a href="@base">@instance.title</a></h4>
|
||||||
<p class="padded">
|
<p class="padded">
|
||||||
@if let Some(software) = software {
|
@if let Some(software) = software {
|
||||||
Running @software, version @instance.version.
|
Utilise @software, version @instance.version.
|
||||||
}
|
}
|
||||||
|
<br>
|
||||||
@if instance.reg {
|
@if instance.reg {
|
||||||
<br>Registration is open.
|
|
||||||
@if instance.requires_approval {
|
@if instance.requires_approval {
|
||||||
Accounts must be approved by an admin.
|
<span class="moderated">Inscriptions soumises à approbation.</span>
|
||||||
}
|
} else{
|
||||||
|
<span class="open">Inscriptions ouvertes.</span>
|
||||||
|
}
|
||||||
} else{
|
} else{
|
||||||
Registration is closed
|
<span class="closed">Inscriptions fermées.</span>
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
@if !instance.description.trim().is_empty() || contact.is_some() {
|
@if !instance.description.trim().is_empty() || contact.is_some() {
|
||||||
<div class="instance-info">
|
<div class="instance-info">
|
||||||
@if !instance.description.trim().is_empty() {
|
@if !instance.description.trim().is_empty() {
|
||||||
<h5 class="instance-description">@instance.title's description:</h5>
|
<h5 class="instance-description">Description:</h5>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<div class="please-stay">
|
<div class="please-stay">
|
||||||
@Html(instance.description.trim())
|
@Html(instance.description.trim())
|
||||||
@ -29,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
@if let Some(contact) = contact {
|
@if let Some(contact) = contact {
|
||||||
<h5 class="instance-admin">@instance.title's admin:</h5>
|
<h5 class="instance-admin">Administré par:</h5>
|
||||||
@:admin(contact, base)
|
@:admin(contact, base)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user