diff --git a/scss/index.scss b/scss/index.scss index d5e1e50..b9f7fcf 100644 --- a/scss/index.scss +++ b/scss/index.scss @@ -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) { header .header-text { padding: 24px; diff --git a/templates/index.rs.html b/templates/index.rs.html index 1037d6c..2e2e2e1 100644 --- a/templates/index.rs.html +++ b/templates/index.rs.html @@ -19,15 +19,15 @@ templates::{info, instance, statics::index_css},
-

@Config::software_name()@Config::software_version()

-

on @config.hostname()

+

@config.hostname()

+

@Config::software_name() @Config::software_version()

-

Connected Servers

+

Instances fédérées

@if nodes.is_empty() { -

There are no connected servers at this time.

+

Aucune instance fédérée en ce moment.

} else {
-

Joining

+

Rejoindre

@if config.restricted_mode() {

- This relay is Restricted + Ce relais est restreint.

- This relay is currently in Restricted Mode, which means servers need to be approved ahead of time by the relay - administrator. Please contact the admin before attempting to join. + Ce relais est restreint; Les instances doivent être approuvées avant de pouvoir se connecter. Merci de + contacter l'administrateur avant de tenter d'y connecter votre instance.

} else {

- If you are the admin of a server that supports activitypub relays, you can add - this relay to your server. + Ce relais est ouvert; Vous pouvez l'ajouter à la configuration de votre serveur supportant ActivityPub.

}

Mastodon

- Mastodon admins can add this relay by adding -

@config.generate_url(UrlKind::Inbox)
in their relay settings. + Les administrateurs de Mastodon peuvent connecter ce relais en ajoutant +
@config.generate_url(UrlKind::Inbox)
dans la liste de leurs relais..

Pleroma

- Pleroma admins can add this relay by adding + Les administrateurs de Pleroma peuvent connecter ce relais en ajoutant

@config.generate_url(UrlKind::Actor)
- to their relay settings (I don't actually know how pleroma handles adding - relays, is it still a mix command?). + dans la liste de leur relais.

-

Others

+

Autres

- Consult the documentation for your server. It's likely that it follows either - Mastodon or Pleroma's relay formatting. + Vérifiez la documentation de votre installation, qui suit probablement la convention de Mastodon ou de Pleroma.

diff --git a/templates/info.rs.html b/templates/info.rs.html index 7614398..0d9434f 100644 --- a/templates/info.rs.html +++ b/templates/info.rs.html @@ -8,9 +8,9 @@

@authority

}

- Running @info.software, version @info.version. + Utilise @info.software, version @info.version. @if info.reg { - Registration is open + Enregistrement ouvert. }

diff --git a/templates/instance.rs.html b/templates/instance.rs.html index 0699147..01e8018 100644 --- a/templates/instance.rs.html +++ b/templates/instance.rs.html @@ -7,21 +7,23 @@

@instance.title

@if let Some(software) = software { - Running @software, version @instance.version. + Utilise @software, version @instance.version. } +
@if instance.reg { -
Registration is open. @if instance.requires_approval { - Accounts must be approved by an admin. - } + Inscriptions soumises à approbation. + } else{ + Inscriptions ouvertes. + } } else{ - Registration is closed + Inscriptions fermées. }

@if !instance.description.trim().is_empty() || contact.is_some() {
@if !instance.description.trim().is_empty() { -
@instance.title's description:
+
Description:
@Html(instance.description.trim()) @@ -29,7 +31,7 @@
} @if let Some(contact) = contact { -
@instance.title's admin:
+
Administré par:
@:admin(contact, base) }