Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • acides/hiboo
  • frju365/hiboo
  • pascoual/hiboo
  • thedarky/hiboo
  • jeremy/hiboo
  • cyrinux/hiboo
  • a.f/hiboo
  • mickge/hiboo
  • llaq/hiboo
  • vaguelysalaried/hiboo
  • felinn-glotte/hiboo
  • AntoninDelFabbro/hiboo
  • docemmetbrown/hiboo
13 results
Show changes
Commits on Source (19)
......@@ -19,7 +19,8 @@ pre {
.theme-switch {
display: inline-block;
height: 24px;
position: relative;
position: absolute;
top: 5px;
width: 50px;
}
......@@ -68,3 +69,9 @@ input:checked + .slider::before {
.table-responsive {
max-height: 70vh;
}
.action-block {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
// FA
import 'admin-lte/plugins/fontawesome-free/css/fontawesome.css';
import 'admin-lte/plugins/fontawesome-free/css/regular.css';
import 'admin-lte/plugins/fontawesome-free/css/solid.css';
import 'admin-lte/plugins/fontawesome-free/css/fontawesome.min.css';
import 'admin-lte/plugins/fontawesome-free/css/solid.min.css';
// AdminLTE
import 'admin-lte/build/scss/adminlte.scss';
import 'admin-lte/build/js/Layout.js';
import 'admin-lte/build/js/ControlSidebar.js';
import 'admin-lte/build/js/PushMenu.js';
import 'admin-lte/build/js/CardRefresh.js';
......@@ -12,7 +12,7 @@ class LoginForm(flask_wtf.FlaskForm):
class TotpForm(flask_wtf.FlaskForm):
totp = fields.PasswordField(_('Enter the one-time password delivered by your client'), [validators.DataRequired()])
totp = fields.PasswordField(_('Enter the one-time password delivered by your client'), [validators.DataRequired()], render_kw={'autocomplete': 'one-time-code'})
submit = fields.SubmitField(_('Confirm'))
......
......@@ -12,10 +12,10 @@
<dt class="col-lg-3">{% trans %}Username{% endtrans %}</dt>
<dd class="col-lg-9">{{ profile.username }}</dd>
{% if profile.user %}
{% if profile.user %}
<dt class="col-lg-3">{% trans %}Owner{% endtrans %}</dt>
<dd class="col-lg-9"><a href="{{ url_for("user.details", user_uuid=profile.user_uuid) }}">{{ profile.user.username }}</a></dd>
{% endif %}
{% endif %}
<dt class="col-lg-3">{% trans %}UUID{% endtrans %}</dt>
<dd class="col-lg-9"><pre>{{ profile.uuid }}</pre></dd>
......@@ -29,23 +29,6 @@
</div>
</div>
</div>
<div class="col-md-6 col">
<div class="card">
<div class="card-header">
<h4>{% trans %}Actions{% endtrans %}</h4>
</div>
<div class="card-body">
<dl class="row">
{% for action in profile.actions %}
<dt class="col-3"><a href="{{ action.url(profile) }}">{{ action.label | capitalize }}</a></dt>
<dd class="col-9">{{ action.description | capitalize }}</dd>
{% endfor %}
</dl>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col">
{{ macros.timeline(profile.history, public_only=False) }}
</div>
......
......@@ -25,12 +25,6 @@
<li class="nav-item user">
<div class="nav-link"><i class="fas fa-user"></i> {{ current_user.username }}</div>
</li>
<li class="nav-item user">
<a href="{{ url_for("account.signout") }}" class="nav-link">
<i class="fas fa-sign-out"></i>
{% trans %}Sign out{% endtrans %}
</a>
</li>
{% else %}
<li class="nav-item user">
<a href="{{ url_for("account.signin_password") }}" class="nav-link">
......@@ -39,14 +33,6 @@
</a>
</li>
{% endif %}
<li class="nav-item">
<div class="theme-switch-wrapper nav-link">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox">
<span class="slider round"></span>
</label>
</div>
</li>
</ul>
</nav>
......@@ -73,8 +59,11 @@
<small>{% block subtitle %}{{ subtitle }}{% endblock %}</small>
</h1>
<div>
<div class="action-block">
{% block actions %}
{% endblock %}
</div>
</div>
</div>
</div>
......@@ -83,7 +72,7 @@
<div class="container-fluid">
{% for category, message in get_flashed_messages(with_categories=True) or [] %}
<div class="col-md-6 col">
<div class="alert alert-{{ category or "info" }}">{{ message }}</div>
<div class="alert alert-{{ category or "info" }} text-break">{{ message }}</div>
</div>
{% endfor %}
{% if current_user.time_to_deletion and current_user.time_to_deletion() %}
......
<li class="nav-item">
<a class="nav-link">
<i class="nav-icon fas fa-moon"></i>
<p>{% trans %}Dark theme{% endtrans %}</p>
<label class="theme-switch ml-3" for="checkbox">
<input type="checkbox" id="checkbox">
<span class="slider round"></span>
</label>
</a>
</li>
{% if current_user.is_authenticated %}
<li class="nav-header">{% trans %}Account{% endtrans %}</li>
<li class="nav-item">
......@@ -25,11 +36,6 @@
<i class="nav-icon fas fa-qrcode"></i> <p>{% trans %}Two-factor authentication{% endtrans %}</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for("account.signout") }}">
<i class="nav-icon fas fa-sign-out-alt"></i> <p>{% trans %}Sign out{% endtrans %}</p>
</a>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="{{ utils.url_for("account.signup") }}">
......@@ -78,3 +84,12 @@
<i class="nav-icon fas fa-book"></i> <p>{% trans %}Admin guide{% endtrans %}</p>
</a>
</li>
{% if current_user.is_authenticated %}
<li class="nav-header"></li>
<li class="nav-item">
<a class="nav-link border" href="{{ url_for("account.signout") }}">
<i class="nav-icon fas fa-power-off"></i> <p>{% trans %}Sign out{% endtrans %}</p>
</a>
</li>
{% endif %}
No preview for this file type
......@@ -8,49 +8,50 @@ msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-04-07 16:13+0200\n"
"PO-Revision-Date: 2022-11-20 00:15+0000\n"
"Last-Translator: Weblate Admin <admin@example.com>\n"
"PO-Revision-Date: 2023-04-07 16:27+0000\n"
"Last-Translator: ornanovitch <0b4ea887-b833-4b3a-a303-942182ebb18a@users."
"felinn.org>\n"
"Language-Team: French <https://glotte.felinn.org/projects/hiboo/"
"forge-tedomum-hiboo/fr/>\n"
"Language: fr_FR\n"
"Language-Team: French <https://glotte.felinn.org/projects/hiboo/forge-"
"tedomum-hiboo/fr/>\n"
"Plural-Forms: nplurals=2; plural=n > 1\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.14.1\n"
"Generated-By: Babel 2.9.1\n"
#: hiboo/actions.py:80
msgid "cancel"
msgstr ""
msgstr "annuler"
#: hiboo/actions.py:81
msgid "cancel ongoing profile actions"
msgstr ""
msgstr "annuler l'opération en cours sur le profil"
#: hiboo/actions.py:96
msgid "assign"
msgstr ""
msgstr "attribuer"
#: hiboo/actions.py:97
#, fuzzy
msgid "assign the profile to a user"
msgstr "Masquer l'uuid du profil"
msgstr "assigner le profil à un·e utilisateur·ice"
#: hiboo/format.py:35
msgid "must be at least {} and at most {} characters long"
msgstr ""
msgstr "doit contenir entre {} et {} caractères"
#: hiboo/format.py:39
msgid "must comprise only of "
msgstr ""
msgstr "ne doit comporter que des "
#: hiboo/format.py:71
msgid "lowercase letters, digits, dots, dashes, and underscores"
msgstr ""
msgstr "lettres minuscules, chiffres, points, tirets et tirets du bas"
#: hiboo/format.py:81
msgid "letters, digits, dots, dashes and underscores"
msgstr ""
msgstr "lettres, chiffres, points, tirets et tirets du bas"
#: hiboo/models.py:208
msgid "Profile creation is impossible"
......@@ -58,11 +59,11 @@ msgstr "La création de profil est impossible"
#: hiboo/models.py:209
msgid "Profile creation is reserved to managers"
msgstr "La création de profil est réservées aux gestionnaires"
msgstr "La création de profil est réservée aux gestionnaires"
#: hiboo/models.py:210
msgid "Profile creation must be validated"
msgstr "Les profils créés doivents être validés"
msgstr "Les profils créés doivent être validés"
#: hiboo/models.py:211
msgid "Additional profiles must be validated"
......@@ -90,69 +91,59 @@ msgstr "bloqué"
#: hiboo/models.py:253
msgid "deleted"
msgstr "suprimmé"
msgstr "supprimé"
#: hiboo/models.py:254
msgid "purged"
msgstr ""
msgstr "purgé"
#: hiboo/models.py:259
#, fuzzy
msgid "activate"
msgstr "actif"
msgstr "activer"
#: hiboo/models.py:259
#, fuzzy
msgid "activate this profile"
msgstr "Valider le profil"
msgstr "valider ce profil"
#: hiboo/models.py:263
#, fuzzy
msgid "reject"
msgstr "Sélectionner"
msgstr "rejeter"
#: hiboo/models.py:263
msgid "reject this request"
msgstr ""
msgstr "refuser cette demande"
#: hiboo/models.py:267
#, fuzzy
msgid "block"
msgstr "bloqué"
msgstr "bloquer"
#: hiboo/models.py:267
#, fuzzy
msgid "block this profile"
msgstr "Débloquer le profil"
msgstr "débloquer le profil"
#: hiboo/models.py:271
#, fuzzy
msgid "unblock"
msgstr "bloqué"
msgstr "bloquer"
#: hiboo/models.py:271
#, fuzzy
msgid "unblock this blocked profile"
msgstr "Débloquer le profil"
msgstr "débloquer le profil"
#: hiboo/models.py:275
#, fuzzy
msgid "delete"
msgstr "suprim"
msgstr "supprimer"
#: hiboo/models.py:275
#, fuzzy
msgid "delete this profile"
msgstr "Créer un profil"
msgstr "supprimer le profil"
#: hiboo/models.py:280
msgid "purge"
msgstr ""
msgstr "purger"
#: hiboo/models.py:280
#, fuzzy
msgid "delete and purge this profile"
msgstr "Créer un nouveau profil"
msgstr "supprimer et purger le profil"
#: hiboo/models.py:360
msgid "signed up for this account"
......@@ -168,7 +159,7 @@ msgstr "a modifié le mot de passe de ce compte"
#: hiboo/models.py:363
msgid "modified this account multi-factor authentication (MFA) setting"
msgstr ""
msgstr "a modifié les paramètres d'authentification multi-facteurs de ce compte"
#: hiboo/models.py:364
msgid ""
......@@ -179,11 +170,12 @@ msgstr ""
"comme {this.value}"
#: hiboo/models.py:365
#, fuzzy
msgid ""
"did {this.transition.label} the profile {this.profile.username} on "
"{this.service.name}"
msgstr "a créé le profil {this.profile.username} sur {this.service.name}"
msgstr ""
"a enclenché l'action {this.transition.label} pour le profil {this.profile."
"username} sur {this.service.name}"
#: hiboo/account/forms.py:8 hiboo/account/forms.py:20 hiboo/profile/forms.py:8
#: hiboo/profile/forms.py:28 hiboo/profile/templates/profile_details.html:12
......@@ -192,7 +184,7 @@ msgstr "a créé le profil {this.profile.username} sur {this.service.name}"
#: hiboo/user/templates/user_list.html:13
#: hiboo/user/templates/user_pick.html:13
msgid "Username"
msgstr "Nom d'utilisateur"
msgstr "Nom d'utilisateur·ice"
#: hiboo/account/forms.py:9 hiboo/account/forms.py:25 hiboo/profile/forms.py:29
msgid "Password"
......@@ -200,7 +192,7 @@ msgstr "Mot de passe"
#: hiboo/account/forms.py:10
msgid "Remember me"
msgstr ""
msgstr "Se souvenir de moi"
#: hiboo/account/forms.py:11
#: hiboo/account/templates/account_signin_password.html:3
......@@ -210,11 +202,11 @@ msgstr "Se connecter"
#: hiboo/account/forms.py:15
msgid "Enter the one-time password delivered by your client"
msgstr ""
msgstr "Entrez le code à usage unique affiché par votre client"
#: hiboo/account/forms.py:16
msgid "Confirm"
msgstr ""
msgstr "Confirmer"
#: hiboo/account/forms.py:26
msgid "Confirm password"
......@@ -263,15 +255,15 @@ msgstr "Identifiants incorrects"
#: hiboo/account/login.py:45
msgid "Wrong TOTP"
msgstr ""
msgstr "Code à usage unique erroné"
#: hiboo/account/login.py:70
msgid "Invalid or expired signup link"
msgstr ""
msgstr "Lien d'invitation invalide ou expiré"
#: hiboo/account/login.py:76
msgid "A user with the same username exists already"
msgstr "Un utilisateur avec le même nom existe déjà"
msgstr "Un·e utilisateur·ice avec le même nom existe déjà"
#: hiboo/account/login.py:86
msgid "Signed up using the Web form"
......@@ -279,11 +271,11 @@ msgstr "Enregistré via le formulaire web"
#: hiboo/account/login.py:88
msgid "User created successfully"
msgstr "Utilisateur correctement créé"
msgstr "Utilisateur·ice enregistré·e avec succès"
#: hiboo/account/login.py:108 hiboo/account/login.py:137
msgid "Invalid or expired reset link"
msgstr ""
msgstr "Lien de réinitialisation invalide ou expiré"
#: hiboo/account/login.py:118 hiboo/account/settings.py:25
msgid "Successfully reset your password"
......@@ -295,59 +287,57 @@ msgstr "Mauvais identifiants, vérifiez votre ancien mot de passe"
#: hiboo/account/settings.py:39
msgid "TOTP is valid"
msgstr ""
msgstr "Code à usage unique valide"
#: hiboo/account/settings.py:42
msgid "Invalid or expired TOTP"
msgstr ""
msgstr "Code à usage unique invalide ou expiré"
#: hiboo/account/settings.py:70
msgid "TOTP has been enabled"
msgstr ""
msgstr "Authentification par code à usage unique (TOTP) activée"
#: hiboo/account/settings.py:75
#, fuzzy
msgid "Successfully enabled TOTP"
msgstr "Service mis à jour avec succès"
msgstr "Authentification par code à usage unique (TOTP) activée avec succès"
#: hiboo/account/settings.py:78
msgid "Failed to enable TOTP, wrong TOTP"
msgstr ""
msgstr "Échec de l'activation du TOTP, code à usage unique erroné"
#: hiboo/account/settings.py:80
msgid ""
"Scan this QR code or use the informations below it to configure your TOTP"
" client"
msgstr ""
"Scannez ce QR code ou utilisez les informations en-dessous pour configurer "
"votre client TOTP"
#: hiboo/account/settings.py:93
msgid "TOTP has been disabled"
msgstr ""
msgstr "Authentification par code à usage unique (TOTP) désactivée"
#: hiboo/account/settings.py:97
#, fuzzy
msgid "Successfully disabled TOTP"
msgstr "Service mis à jour avec succès"
msgstr "Authentification par code à usage unique (TOTP) désactivée avec succès"
#: hiboo/account/settings.py:113
msgid "Successfully updated your contact info"
msgstr "Mise à jour des informations de contact correctement effectuée"
#: hiboo/account/templates/account_auth_password_reset.html:3
#, fuzzy
msgid "Reset your password"
msgstr "Mot de passe réinitialisé avec succès"
msgstr "Réinitialiser votre mot de passe"
#: hiboo/account/templates/account_auth_totp.html:3
#: hiboo/account/templates/account_auth_totp_enable.html:3
#, fuzzy
msgid "Two-factor authentication (2FA)"
msgstr "Pas d'authentification"
msgstr "Authentification à double facteur (2FA)"
#: hiboo/account/templates/account_auth_totp.html:4
#: hiboo/account/templates/account_auth_totp_enable.html:4
msgid "with time-based one-time password (TOTP)"
msgstr ""
msgstr "avec un code à usage unique (TOTP)"
#: hiboo/account/templates/account_auth_totp.html:9
msgid ""
......@@ -357,38 +347,46 @@ msgid ""
"time_password\">this Wikipedia page</a> if you want to learn more about "
"this mechanism."
msgstr ""
"Le code à usage unique (TOTP) est une seconde étape à optionnelle pour votre "
"authentification. Elle est utilisée pour renforcer la protection de votre "
"compte grâce à la génération d'un code différent pour chaque connexion. Vous "
"pouvez lire <a href=\"https://en.wikipedia.org/wiki/Time-based_one-"
"time_password\">cette page Wikipédia</a> pour en apprendre plus sur ce "
"mécanisme."
#: hiboo/account/templates/account_auth_totp.html:18
#, fuzzy
msgid "Two-factor authentication is enabled"
msgstr "Pas d'authentification"
msgstr "Authentification à double facteur activée"
#: hiboo/account/templates/account_auth_totp.html:19
msgid "Click on <i>Disable TOTP</i> to disable it"
msgstr ""
"Cliquez sur <i>Désactiver le TOTP</i> pour désactiver l'authentification par "
"code à usage unique"
#: hiboo/account/templates/account_auth_totp.html:25
#, fuzzy
msgid "Test your one-time password"
msgstr "Mot de passe réinitialisé avec succès"
msgstr "Testez votre code à usage unique"
#: hiboo/account/templates/account_auth_totp.html:26
msgid "Feel free to use this form in order to check your client configuration"
msgstr ""
"N'hésitez pas à utiliser ce formulaire pour vérifier la configuration de "
"votre client"
#: hiboo/account/templates/account_auth_totp.html:39
#, fuzzy
msgid "Two-factor authentication is disabled"
msgstr "Pas d'authentification"
msgstr "L'authentification à double facteur est désactivée"
#: hiboo/account/templates/account_auth_totp.html:40
msgid "Click on <i>Enable TOTP</i> to configure it"
msgstr ""
"Cliquez sur <i>Activer le TOTP</i> pour activer l'authentification par code "
"à usage unique"
#: hiboo/account/templates/account_auth_totp.html:44
#, fuzzy
msgid "Attention"
msgstr "Pas d'authentification"
msgstr "Attention"
#: hiboo/account/templates/account_auth_totp.html:45
msgid ""
......@@ -397,32 +395,35 @@ msgid ""
"on mobile are available on <a "
"href=\"https://search.f-droid.org/?q=totp&lang=fr\">F-Droid</a>)"
msgstr ""
"Vous aurez besoin d'un client TOTP fonctionnel pour pouvoir aller au bout de "
"cette configuration. Plusieurs applications libres existent (et certaines "
"pour smartphone sont disponibles sur <a href=\"https://search.f-droid.org/"
"?q=totp&lang=fr\">F-Droid</a>)"
#: hiboo/account/templates/account_auth_totp.html:55
msgid "Disable TOTP"
msgstr ""
msgstr "Désactiver le TOTP"
#: hiboo/account/templates/account_auth_totp.html:57
msgid "Enable TOTP"
msgstr ""
msgstr "Activer le TOTP"
#: hiboo/account/templates/account_auth_totp_enable.html:14
msgid "Secret key"
msgstr ""
msgstr "Clé secrète"
#: hiboo/account/templates/account_auth_totp_enable.html:17
#: hiboo/application/templates/application_synapse/rooms.html:14
#, fuzzy
msgid "Name"
msgstr "Nom d'utilisateur"
msgstr "Nom d'utilisateur·ice"
#: hiboo/account/templates/account_auth_totp_enable.html:20
msgid "Issuer"
msgstr ""
msgstr "Émetteur"
#: hiboo/account/templates/account_auth_totp_enable.html:33
msgid "Cancel"
msgstr ""
msgstr "Annuler"
#: hiboo/account/templates/account_home.html:3
#: hiboo/account/templates/account_profiles.html:3
......@@ -452,11 +453,11 @@ msgstr "Rôle"
#: hiboo/account/templates/account_home.html:23
msgid "administrator"
msgstr "administrateur"
msgstr "administrateur·ice"
#: hiboo/account/templates/account_home.html:23
msgid "registered user"
msgstr "utilisateur"
msgstr "utilisateur·ice"
#: hiboo/account/templates/account_profiles.html:4
msgid "my profiles"
......@@ -465,25 +466,22 @@ msgstr "mes profils"
#: hiboo/account/templates/account_profiles.html:25
#: hiboo/profile/templates/profile_pick.html:46
#: hiboo/profile/templates/profile_pick.html:50
#, fuzzy
msgid "Create another profile"
msgstr "Créer un nouveau profil"
#: hiboo/account/templates/account_profiles.html:32
#: hiboo/profile/templates/profile_pick.html:48
#, fuzzy
msgid "Request another profile"
msgstr "Demander un profil"
msgstr "Demander un profil supplémentaire"
#: hiboo/account/templates/account_profiles.html:40
#, fuzzy
msgid "Claim another profile"
msgstr "Récupérer un profil"
msgstr "Récupérer un profil supplémentaire"
#: hiboo/account/templates/account_profiles.html:52
#, python-format
msgid "Profile will be %(status)s in %(when)s"
msgstr ""
msgstr "Le profil sera %(status)s dans %(when)s"
#: hiboo/account/templates/account_signin_password.html:4
#: hiboo/account/templates/account_signin_totp.html:4
......@@ -492,7 +490,7 @@ msgstr "pour accéder à votre compte"
#: hiboo/account/templates/account_signin_totp.html:3
msgid "Time-based one-time password (TOTP) verify"
msgstr ""
msgstr "Vérification par code à usage unique (TOTP)"
#: hiboo/account/templates/account_signup.html:4
msgid "for a new account"
......@@ -520,17 +518,18 @@ msgid "Maximum profile count"
msgstr "Nombre maximum de profils"
#: hiboo/application/base.py:19
#, fuzzy
msgid "Profile username format"
msgstr "Nom de profil"
msgstr "Format des noms de profils"
#: hiboo/application/base.py:21
msgid "Default ({})"
msgstr ""
msgstr "Défaut ({})"
#: hiboo/application/base.py:30
msgid "Enable single-profile behavior (no custom username, no additional profile)"
msgstr ""
"Activer le mode mono-profil (pas de nom personnalisé, pas de profil "
"additionnel)"
#: hiboo/application/base.py:31 hiboo/application/infrastructure.py:15
#: hiboo/application/infrastructure.py:37 hiboo/application/social.py:20
......@@ -575,57 +574,56 @@ msgstr "URL du serveur d'accueil Synapse"
#: hiboo/application/social.py:40
msgid "Synapse hosted domain"
msgstr ""
msgstr "Nom de domaine de Synapse"
#: hiboo/application/social.py:41
#, fuzzy
msgid "Synapse administrator token"
msgstr "administrateur"
msgstr "Token d'administration de Synapse"
#: hiboo/application/social.py:64
msgid "Search keyword"
msgstr ""
msgstr "Mot-clé recherché"
#: hiboo/application/social.py:65
msgid "Search"
msgstr ""
msgstr "Rechercher"
#: hiboo/application/social.py:87
#: hiboo/application/templates/application_synapse/rooms.html:11
msgid "RoomID"
msgstr ""
msgstr "ID du salon"
#: hiboo/application/social.py:88 hiboo/application/social.py:107
msgid "Display"
msgstr ""
msgstr "Afficher"
#: hiboo/application/social.py:106
msgid "MXID"
msgstr ""
msgstr "MXID"
#: hiboo/application/social.py:163
msgid "WriteFreely"
msgstr ""
msgstr "WriteFreely"
#: hiboo/application/social.py:166
msgid "WriteFreely URL"
msgstr ""
msgstr "URL de WriteFreely"
#: hiboo/application/social.py:185
msgid "PeerTube"
msgstr ""
msgstr "PeerTube"
#: hiboo/application/social.py:188
msgid "PeerTube URL"
msgstr ""
msgstr "URL de PeerTube"
#: hiboo/application/social.py:206
msgid "Flarum"
msgstr ""
msgstr "Flarum"
#: hiboo/application/social.py:209
msgid "Flarum URL"
msgstr ""
msgstr "URL de Flarum"
#: hiboo/application/sso.py:11
msgid "Generic OIDC"
......@@ -693,11 +691,11 @@ msgstr "Masquer l'uuid du profil"
#: hiboo/application/sso.py:39
msgid "Return the actual user email"
msgstr "Retourner le véritable email de l'utilisateur"
msgstr "Retourner le véritable email de l'utilisateur·ice"
#: hiboo/application/sso.py:40
msgid "Return all claims independently of asked scopes"
msgstr ""
msgstr "Retourner tous les claims peu importe les attributs demandés"
#: hiboo/application/sso.py:56
msgid "Generic SAML2"
......@@ -725,11 +723,11 @@ msgstr "Signer seulement l'assertion"
#: hiboo/application/storage.py:11
msgid "NextCloud"
msgstr "NextCloud"
msgstr "Nextcloud"
#: hiboo/application/storage.py:14
msgid "NextCloud URL"
msgstr "URL de NextCloud"
msgstr "URL de Nextcloud"
#: hiboo/application/storage.py:30
msgid "Seafile"
......@@ -793,37 +791,35 @@ msgstr "Clé privée du SP"
#: hiboo/application/templates/application_synapse/media.html:7
msgid "Media"
msgstr ""
msgstr "Média"
#: hiboo/application/templates/application_synapse/media.html:8
msgid "Thumbnail"
msgstr ""
msgstr "Miniature"
#: hiboo/application/templates/application_synapse/room.html:19
msgid "Member"
msgstr ""
msgstr "Membre"
#: hiboo/application/templates/application_synapse/rooms.html:12
msgid "Alias"
msgstr ""
msgstr "Alias"
#: hiboo/application/templates/application_synapse/rooms.html:13
msgid "Version"
msgstr ""
msgstr "Version"
#: hiboo/application/templates/application_synapse/rooms.html:15
msgid "Members (local)"
msgstr ""
msgstr "Membres (local)"
#: hiboo/application/templates/application_synapse/rooms.html:16
#, fuzzy
msgid "Properties"
msgstr "profils"
msgstr "Propriétés"
#: hiboo/application/templates/application_synapse/user.html:21
#, fuzzy
msgid "Devices"
msgstr "Services"
msgstr "Appareils"
#: hiboo/profile/forms.py:9
msgid "Comment"
......@@ -842,9 +838,8 @@ msgid "You cannot request a profile for this service"
msgstr "Vous ne pouvez pas demander de profil pour ce service"
#: hiboo/profile/views.py:36
#, fuzzy
msgid "You already own a profile for this service"
msgstr "Vous ne pouvez pas demander de profil pour ce service"
msgstr "Vous possédez déjà un profil sur ce service"
#: hiboo/profile/views.py:38
msgid "Your reached the maximum number of profiles"
......@@ -852,11 +847,11 @@ msgstr "Vous avez atteint le nombre maximal de profils"
#: hiboo/profile/views.py:45
msgid "Your profile creation requires approval"
msgstr "Votre création de profil nécessite une approbation"
msgstr "La création de votre profil nécessite une approbation"
#: hiboo/profile/views.py:62
msgid "A profile with that username exists already"
msgstr "Un profil avec ce nom d'utilisateur existe déjà"
msgstr "Un profil avec ce nom d'utilisateur·ice existe déjà"
#: hiboo/profile/views.py:130
msgid "Successfully claimed the profile!"
......@@ -864,28 +859,27 @@ msgstr "Profil récupéré avec succès !"
#: hiboo/profile/views.py:133
msgid "Wrong username or password"
msgstr "Mauvais nom d'utilisateur ou mot de passe"
msgstr "Mauvais nom d'utilisateur·ice ou mot de passe"
#: hiboo/profile/views.py:200
msgid "Profile status change was requested"
msgstr ""
msgstr "Le changement de statut du profil a été demandé"
#: hiboo/profile/views.py:216
msgid "Profile status change was cancelled"
msgstr ""
msgstr "Le changement de statut du profil a été annulé"
#: hiboo/profile/views.py:228
msgid "Profile status change was completed"
msgstr ""
msgstr "Le changement de statut du profil est terminé"
#: hiboo/profile/views.py:250
msgid "Successfully assigned the profile"
msgstr "Profil assigné correctement"
msgstr "Profil assigné avec succès"
#: hiboo/profile/templates/profile_action.html:18
#, fuzzy
msgid "Show profile"
msgstr "Nouveau profil"
msgstr "Voir le profil"
#: hiboo/profile/templates/profile_claim.html:5
#: hiboo/profile/templates/profile_create.html:6
......@@ -901,7 +895,7 @@ msgstr "Nouveau profil"
#: hiboo/profile/templates/profile_create.html:7
msgid "and user"
msgstr "et l'utilisateur"
msgstr "et l'utilisateur·ice"
#: hiboo/profile/templates/profile_details.html:4
msgid "profile details"
......@@ -961,9 +955,8 @@ msgid "Created on"
msgstr "Crée le"
#: hiboo/profile/templates/profile_list.html:65
#, fuzzy
msgid "Export unclaimed profiles"
msgstr "Récupérer un profil"
msgstr "Exporter les profils non réclamés"
#: hiboo/profile/templates/profile_pick.html:4
msgid "Pick a profile"
......@@ -980,14 +973,13 @@ msgstr "Non partagé"
#: hiboo/profile/templates/profile_pick.html:43
#: hiboo/profile/templates/profile_quick.html:39
#, fuzzy
msgid "Claim a profile"
msgstr "Récupérer un profil"
#: hiboo/profile/templates/profile_quick.html:24
#, fuzzy, python-format
#, python-format
msgid "Your new %(service_name)s profile"
msgstr "pour le service %(service_name)s"
msgstr "Votre nouveau profil pour %(service_name)s"
#: hiboo/profile/templates/profile_quick.html:27
#, python-format
......@@ -995,15 +987,18 @@ msgid ""
"Please click the \"Sign up\" button to initialize your %(service_name)s "
"account."
msgstr ""
"Merci de cliquer sur « S'inscrire » pour initialiser votre compte sur "
"%(service_name)s."
#: hiboo/profile/templates/profile_quick.html:29
msgid ""
"If you wish to pick a different username, please click the \"Custom "
"profile\" button."
msgstr ""
"Si vous souhaitez choisir un nom de profil différent, cliquez sur « "
"Personnaliser le profil »."
#: hiboo/profile/templates/profile_quick.html:42
#, fuzzy
msgid "Create a custom profile"
msgstr "Créer un nouveau profil"
......@@ -1016,9 +1011,8 @@ msgid "Service successfully updated"
msgstr "Service mis à jour avec succès"
#: hiboo/service/templates/service_action.html:18
#, fuzzy
msgid "Show service"
msgstr "Service"
msgstr "Voir le service"
#: hiboo/service/templates/service_create.html:4
#: hiboo/service/templates/service_list.html:51
......@@ -1028,7 +1022,7 @@ msgstr "Créer un service"
#: hiboo/service/templates/service_create.html:5
#, python-format
msgid "add a %(application_name)s service"
msgstr "Ajouter un service %(application_name)s"
msgstr "ajouter un service %(application_name)s"
#: hiboo/service/templates/service_details.html:4
msgid "service details"
......@@ -1036,7 +1030,7 @@ msgstr "détails du service"
#: hiboo/service/templates/service_details.html:11
msgid "Attributes"
msgstr ""
msgstr "Attributs"
#: hiboo/service/templates/service_details.html:24
#: hiboo/service/templates/service_list.html:16
......@@ -1069,7 +1063,7 @@ msgstr "Modifier un service"
#: hiboo/service/templates/service_list.html:3
msgid "Service list"
msgstr "Liste de services"
msgstr "Liste des services"
#: hiboo/service/templates/service_list.html:4
msgid "all available services"
......@@ -1101,7 +1095,7 @@ msgstr "Se déconnecter"
#: hiboo/templates/base.html:90
msgid "Your account has no active profile, it will be deleted in"
msgstr ""
msgstr "Votre compte n'a aucun profil actif, il sera supprimé dans"
#: hiboo/templates/base.html:98
msgid "Hiboo is free software distributed under the MIT license"
......@@ -1131,9 +1125,8 @@ msgid "My contact info"
msgstr "Mes informations de contact"
#: hiboo/templates/sidebar.html:25
#, fuzzy
msgid "Two-factor authentication"
msgstr "Pas d'authentification"
msgstr "Authentification à double facteur"
#: hiboo/templates/sidebar.html:47
msgid "Admin"
......@@ -1145,7 +1138,7 @@ msgstr "Services"
#: hiboo/templates/sidebar.html:55
msgid "Users"
msgstr "Utilisateurs"
msgstr "Utilisateur·ices"
#: hiboo/templates/sidebar.html:60
msgid "Requested profiles"
......@@ -1157,63 +1150,60 @@ msgstr "Profils bloqués"
#: hiboo/templates/sidebar.html:70
msgid "About"
msgstr "A propos"
msgstr "À propos"
#: hiboo/templates/sidebar.html:73
msgid "User guide"
msgstr "Guide utilisateur"
msgstr "Guide d'utilisation"
#: hiboo/templates/sidebar.html:78
msgid "Admin guide"
msgstr "Guide administrateur"
msgstr "Guide d'administration"
#: hiboo/user/views.py:47 hiboo/user/views.py:66
msgid "Reset link: {}"
msgstr ""
msgstr "Lien de réinitialisation : {}"
#: hiboo/user/views.py:83
msgid "Signup link: {}"
msgstr ""
msgstr "Lien d'invitation : {}"
#: hiboo/user/templates/user_details.html:4
msgid "user details"
msgstr "détails de l'utilisateur"
msgstr "détails de l'utilisateur·ice"
#: hiboo/user/templates/user_details.html:21
#, fuzzy
msgid "Updated at"
msgstr "Créé le"
msgstr "Mis à jour le"
#: hiboo/user/templates/user_details.html:24
#: hiboo/user/templates/user_list.html:15
msgid "Auth. methods"
msgstr ""
msgstr "Méthodes d'authentification"
#: hiboo/user/templates/user_details.html:35
#, fuzzy
msgid "Deleted in"
msgstr "suprimmé"
msgstr "Supprimé dans"
#: hiboo/user/templates/user_details.html:78
#, fuzzy
msgid "Password reset"
msgstr "Mot de passe"
msgstr "Réinitialisation du mot de passe"
#: hiboo/user/templates/user_details.html:80
msgid "TOTP reset"
msgstr ""
msgstr "Réinitialisation du TOTP"
#: hiboo/user/templates/user_list.html:3
msgid "Manage users"
msgstr "Gérer les utilisateurs"
msgstr "Gérer les utilisateur·ices"
#: hiboo/user/templates/user_list.html:35
msgid "Invitation link"
msgstr ""
msgstr "Lien d'invitation"
#: hiboo/user/templates/user_pick.html:3
msgid "Pick a user"
msgstr "Choisir un utilisateur"
msgstr "Choisir un·e utilisateur·ice"
#~ msgid "Welcome to Hiboo!"
#~ msgstr "Bienvenue sur Hiboo !"
......@@ -1905,4 +1895,3 @@ msgstr "Choisir un utilisateur"
#~ msgid "Time-based One-Time Password (TOTP) verify"
#~ msgstr ""
Source diff could not be displayed: it is too large. Options to address this: view the blob.
var path = require("path");
var webpack = require("webpack");
var css = require("mini-css-extract-plugin");
const path = require('path');
const webpack = require('webpack');
const css = require('mini-css-extract-plugin');
const mini = require('css-minimizer-webpack-plugin');
const terse = require('terser-webpack-plugin');
const compress = require('compression-webpack-plugin');
module.exports = {
mode: "production",
entry: {
app: "./assets/app.js",
vendor: "./assets/vendor.js"
mode: "production",
entry: {
app: {
import: './assets/app.js',
dependOn: 'vendor',
},
output: {
path: path.resolve(__dirname, "hiboo/static/"),
filename: "[name].js",
hashFunction: "xxhash64"
},
module: {
rules: [
{
test: /\.js$/,
use: ['babel-loader']
},
{
test: /\.scss$/,
use: [css.loader, 'css-loader', 'sass-loader']
},
{
test: /\.less$/,
use: [css.loader, 'css-loader', 'less-loader']
},
{
test: /\.css$/,
use: [css.loader, 'css-loader']
}
]
},
plugins: [
new css({
filename: "[name].css",
chunkFilename: "[id].css"
})
vendor: './assets/vendor.js',
},
output: {
path: path.resolve(__dirname, 'hiboo/static/'),
filename: '[name].js',
assetModuleFilename: '[name][ext]',
},
module: {
rules: [
{
test: /\.js$/,
use: ['babel-loader', 'import-glob'],
},
{
test: /\.s?css$/i,
use: [css.loader, 'css-loader', 'sass-loader'],
},
{
test: /\.(json|png|svg|jpg|jpeg|gif)$/i,
type: 'asset/resource',
}
]
},
plugins: [
new css({
filename: '[name].css',
chunkFilename: '[id].css'
}),
new compress({
filename: '[path][base].gz',
algorithm: "gzip",
exclude: /\.(png|gif|jpe?g)$/,
threshold: 5120,
minRatio: 0.8,
deleteOriginalAssets: false,
}),
],
optimization: {
minimize: true,
minimizer: [
new terse(),
new mini({
minimizerOptions: {
preset: [
'default', {
discardComments: { removeAll: true },
},
],
},
}),
],
},
}