2022-05-15 08:45:57 +00:00
/*
2023-02-15 21:42:31 +00:00
* Copyright ( c ) 2022 - 2023 , The PurpleI2P Project
2022-05-15 08:45:57 +00:00
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
# include <map>
# include <vector>
# include <string>
# include <memory>
# include "I18N.h"
// French localization file
namespace i2p
{
namespace i18n
{
namespace french // language namespace
{
// language name in lowercase
static std : : string language = " french " ;
// See for language plural forms here:
// https://localization-guide.readthedocs.io/en/latest/l10n/pluralforms.html
static int plural ( int n ) {
return n ! = 1 ? 1 : 0 ;
}
static std : : map < std : : string , std : : string > strings
{
2023-01-18 04:21:36 +00:00
{ " %.2f KiB " , " %.2f Kio " } ,
{ " %.2f MiB " , " %.2f Mio " } ,
{ " %.2f GiB " , " %.2f Gio " } ,
2022-05-15 08:45:57 +00:00
{ " building " , " En construction " } ,
2022-08-21 19:38:40 +00:00
{ " failed " , " échoué " } ,
2022-05-15 08:45:57 +00:00
{ " expiring " , " expiré " } ,
{ " established " , " établi " } ,
{ " unknown " , " inconnu " } ,
{ " exploratory " , " exploratoire " } ,
2022-08-21 19:38:40 +00:00
{ " Purple I2P Webconsole " , " Console web Purple I2P " } ,
2022-05-15 08:45:57 +00:00
{ " <b>i2pd</b> webconsole " , " Console web <b>i2pd</b> " } ,
{ " Main page " , " Page principale " } ,
{ " Router commands " , " Commandes du routeur " } ,
{ " Local Destinations " , " Destinations locales " } ,
2022-08-21 19:38:40 +00:00
{ " LeaseSets " , " Jeu de baux " } ,
2022-05-15 08:45:57 +00:00
{ " Tunnels " , " Tunnels " } ,
{ " Transit Tunnels " , " Tunnels transitoires " } ,
2022-08-21 19:38:40 +00:00
{ " Transports " , " Transports " } ,
2022-05-15 08:45:57 +00:00
{ " I2P tunnels " , " Tunnels I2P " } ,
{ " SAM sessions " , " Sessions SAM " } ,
{ " ERROR " , " ERREUR " } ,
{ " OK " , " OK " } ,
2022-08-21 19:38:40 +00:00
{ " Testing " , " Test en cours " } ,
2022-05-15 08:45:57 +00:00
{ " Firewalled " , " Derrière un pare-feu " } ,
2022-08-21 19:38:40 +00:00
{ " Unknown " , " Inconnu " } ,
{ " Proxy " , " Proxy " } ,
{ " Mesh " , " Maillé " } ,
{ " Clock skew " , " Horloge décalée " } ,
2022-05-15 08:45:57 +00:00
{ " Offline " , " Hors ligne " } ,
2022-08-21 19:38:40 +00:00
{ " Symmetric NAT " , " NAT symétrique " } ,
2023-02-15 21:42:31 +00:00
{ " Full cone NAT " , " NAT à cône complet " } ,
{ " No Descriptors " , " Aucuns Descripteurs " } ,
2022-05-15 08:45:57 +00:00
{ " Uptime " , " Temps de fonctionnement " } ,
{ " Network status " , " État du réseau " } ,
{ " Network status v6 " , " État du réseau v6 " } ,
{ " Stopping in " , " Arrêt dans " } ,
{ " Family " , " Famille " } ,
{ " Tunnel creation success rate " , " Taux de succès de création de tunnels " } ,
2023-06-12 13:33:21 +00:00
{ " Total tunnel creation success rate " , " Taux de réussite de création de tunnel " } ,
2022-05-15 08:45:57 +00:00
{ " Received " , " Reçu " } ,
2023-02-15 21:42:31 +00:00
{ " %.2f KiB/s " , " %.2f Kio/s " } ,
2022-05-15 08:45:57 +00:00
{ " Sent " , " Envoyé " } ,
2022-08-21 19:38:40 +00:00
{ " Transit " , " Transité " } ,
{ " Data path " , " Emplacement des données " } ,
{ " Hidden content. Press on text to see. " , " Contenu caché. Cliquez sur le texte pour afficher. " } ,
2022-05-15 08:45:57 +00:00
{ " Router Ident " , " Identifiant du routeur " } ,
{ " Router Family " , " Famille du routeur " } ,
2022-08-21 19:38:40 +00:00
{ " Router Caps " , " Limiteurs du routeur " } ,
2022-05-15 08:45:57 +00:00
{ " Version " , " Version " } ,
{ " Our external address " , " Notre adresse externe " } ,
2022-08-21 19:38:40 +00:00
{ " supported " , " supporté " } ,
{ " Routers " , " Routeurs " } ,
2023-02-15 21:42:31 +00:00
{ " Floodfills " , " Remplisseurs " } ,
2022-05-15 08:45:57 +00:00
{ " Client Tunnels " , " Tunnels clients " } ,
{ " Services " , " Services " } ,
{ " Enabled " , " Activé " } ,
{ " Disabled " , " Désactivé " } ,
{ " Encrypted B33 address " , " Adresse B33 chiffrée " } ,
2022-08-21 19:38:40 +00:00
{ " Address registration line " , " Ligne d'inscription de l'adresse " } ,
2022-05-15 08:45:57 +00:00
{ " Domain " , " Domaine " } ,
2022-08-21 19:38:40 +00:00
{ " Generate " , " Générer " } ,
2023-06-12 13:33:21 +00:00
{ " <b>Note:</b> result string can be used only for registering 2LD domains (example.i2p). For registering subdomains please use i2pd-tools. " , " <b>Note :</b> La chaîne résultante peut seulement être utilisée pour enregistrer les domaines 2LD (exemple.i2p). Pour enregistrer des sous-domaines, veuillez utiliser i2pd-tools. " } ,
2022-05-15 08:45:57 +00:00
{ " Address " , " Adresse " } ,
2022-08-21 19:38:40 +00:00
{ " Type " , " Type " } ,
2023-02-15 21:42:31 +00:00
{ " EncType " , " EncType " } ,
2023-09-17 15:59:11 +00:00
{ " Expire LeaseSet " , " Expirer le jeu de baux " } ,
2022-08-21 19:38:40 +00:00
{ " Inbound tunnels " , " Tunnels entrants " } ,
2023-01-18 04:21:36 +00:00
{ " %dms " , " %dms " } ,
2022-05-15 08:45:57 +00:00
{ " Outbound tunnels " , " Tunnels sortants " } ,
2022-08-21 19:38:40 +00:00
{ " Tags " , " Balises " } ,
{ " Incoming " , " Entrant " } ,
{ " Outgoing " , " Sortant " } ,
2022-05-15 08:45:57 +00:00
{ " Destination " , " Destination " } ,
2022-08-21 19:38:40 +00:00
{ " Amount " , " Quantité " } ,
{ " Incoming Tags " , " Balises entrantes " } ,
{ " Tags sessions " , " Sessions des balises " } ,
{ " Status " , " Statut " } ,
2022-05-15 08:45:57 +00:00
{ " Local Destination " , " Destination locale " } ,
2022-08-21 19:38:40 +00:00
{ " Streams " , " Flux " } ,
{ " Close stream " , " Fermer le flux " } ,
2023-06-12 13:33:21 +00:00
{ " Such destination is not found " , " Cette destination est introuvable " } ,
2022-08-21 19:38:40 +00:00
{ " I2CP session not found " , " Session I2CP introuvable " } ,
{ " I2CP is not enabled " , " I2CP est désactivé " } ,
{ " Invalid " , " Invalide " } ,
{ " Store type " , " Type de stockage " } ,
{ " Expires " , " Expire " } ,
{ " Non Expired Leases " , " Baux non expirés " } ,
{ " Gateway " , " Passerelle " } ,
{ " TunnelID " , " ID du tunnel " } ,
{ " EndDate " , " Date de fin " } ,
2023-02-15 21:42:31 +00:00
{ " floodfill mode is disabled " , " le mode de remplissage est désactivé " } ,
2022-08-21 19:38:40 +00:00
{ " Queue size " , " Longueur de la file " } ,
{ " Run peer test " , " Lancer test des pairs " } ,
2023-02-15 21:42:31 +00:00
{ " Reload tunnels configuration " , " Recharger la configuration des tunnels " } ,
2022-08-21 19:38:40 +00:00
{ " Decline transit tunnels " , " Refuser les tunnels transitoires " } ,
{ " Accept transit tunnels " , " Accepter les tunnels transitoires " } ,
{ " Cancel graceful shutdown " , " Annuler l'arrêt gracieux " } ,
{ " Start graceful shutdown " , " Démarrer l'arrêt gracieux " } ,
{ " Force shutdown " , " Forcer l'arrêt " } ,
{ " Reload external CSS styles " , " Rafraîchir les styles CSS externes " } ,
2023-06-12 13:33:21 +00:00
{ " <b>Note:</b> any action done here are not persistent and not changes your config files. " , " <b>Note :</b> Toute action effectuée ici n'est pas permanente et ne modifie pas vos fichiers de configuration. " } ,
2022-08-21 19:38:40 +00:00
{ " Logging level " , " Niveau de journalisation " } ,
{ " Transit tunnels limit " , " Limite sur les tunnels transitoires " } ,
{ " Change " , " Changer " } ,
{ " Change language " , " Changer la langue " } ,
{ " no transit tunnels currently built " , " aucun tunnel transitoire présentement établi " } ,
{ " SAM disabled " , " SAM désactivé " } ,
{ " no sessions currently running " , " aucune session présentement en cours " } ,
{ " SAM session not found " , " session SAM introuvable " } ,
{ " SAM Session " , " Session SAM " } ,
{ " Server Tunnels " , " Tunnels serveurs " } ,
2023-02-15 21:42:31 +00:00
{ " Client Forwards " , " Transmission du client " } ,
{ " Server Forwards " , " Transmission du serveur " } ,
2022-08-21 19:38:40 +00:00
{ " Unknown page " , " Page inconnue " } ,
{ " Invalid token " , " Jeton invalide " } ,
{ " SUCCESS " , " SUCCÈS " } ,
{ " Stream closed " , " Flux fermé " } ,
{ " Stream not found or already was closed " , " Flux introuvable ou déjà fermé " } ,
{ " Destination not found " , " Destination introuvable " } ,
{ " StreamID can't be null " , " StreamID ne peut pas être vide " } ,
{ " Return to destination page " , " Retourner à la page de destination " } ,
2023-02-15 21:42:31 +00:00
{ " You will be redirected in %d seconds " , " Vous serez redirigé dans %d secondes " } ,
2023-09-17 15:59:11 +00:00
{ " LeaseSet expiration time updated " , " Temps d'expiration du jeu de baux mis à jour " } ,
{ " LeaseSet is not found or already expired " , " Le jeu de baux est introuvable ou a déjà expiré " } ,
2023-02-15 21:42:31 +00:00
{ " Transit tunnels count must not exceed %d " , " Le nombre de tunnels de transit ne doit pas excéder %d " } ,
2022-08-21 19:38:40 +00:00
{ " Back to commands list " , " Retour à la liste des commandes " } ,
{ " Register at reg.i2p " , " Inscription à reg.i2p " } ,
{ " Description " , " Description " } ,
{ " A bit information about service on domain " , " Un peu d'information à propos des services disponibles dans le domaine " } ,
{ " Submit " , " Soumettre " } ,
{ " Domain can't end with .b32.i2p " , " Le domaine ne peut pas terminer par .b32.i2p " } ,
{ " Domain must end with .i2p " , " Le domaine doit terminer par .i2p " } ,
{ " Unknown command " , " Commande inconnue " } ,
{ " Command accepted " , " Commande acceptée " } ,
{ " Proxy error " , " Erreur de proxy " } ,
{ " Proxy info " , " Information sur le proxy " } ,
2023-06-12 13:33:21 +00:00
{ " Proxy error: Host not found " , " Erreur de proxy : Hôte introuvable " } ,
2022-08-21 19:38:40 +00:00
{ " Remote host not found in router's addressbook " , " Hôte distant introuvable dans le carnet d'adresse du routeur " } ,
{ " You may try to find this host on jump services below " , " Vous pouvez essayer de trouver cet hôte sur des services de redirection ci-dessous " } ,
{ " Invalid request " , " Requête invalide " } ,
{ " Proxy unable to parse your request " , " Proxy incapable de comprendre votre requête " } ,
2023-02-15 21:42:31 +00:00
{ " Addresshelper is not supported " , " Assistant d'adresse non supporté " } ,
2023-06-12 13:33:21 +00:00
{ " Host %s is <font color=red>already in router's addressbook</font>. <b>Be careful: source of this URL may be harmful!</b> Click here to update record: <a href= \" %s%s%s&update=true \" >Continue</a>. " , " L'hôte %s est <font color=red>déjà dans le carnet d'adresses du routeur</font>. <b>Attention : la source de cette URL peut être nuisible !</b> Cliquez ici pour mettre à jour l'enregistrement : <a href= \" %s%s%s&update=true \" >Continuer</a>. " } ,
2023-02-15 21:42:31 +00:00
{ " Addresshelper forced update rejected " , " Mise à jour forcée des assistants d'adresses rejetée " } ,
2023-06-12 13:33:21 +00:00
{ " To add host <b>%s</b> in router's addressbook, click here: <a href= \" %s%s%s \" >Continue</a>. " , " Pour ajouter l'hôte <b>%s</b> au carnet d'adresses du routeur, cliquez ici : <a href= \" %s%s%s \" >Continuer</a>. " } ,
2023-02-15 21:42:31 +00:00
{ " Addresshelper request " , " Demande à l'assistant d'adresse " } ,
{ " Host %s added to router's addressbook from helper. Click here to proceed: <a href= \" %s \" >Continue</a>. " , " L'hôte %s a été ajouté au carnet d'adresses du routeur depuis l'assistant. Cliquez ici pour continuer : <a href= \" %s \" >Continuer</a>. " } ,
{ " Addresshelper adding " , " Ajout de l'assistant d'adresse " } ,
2023-06-12 13:33:21 +00:00
{ " Host %s is <font color=red>already in router's addressbook</font>. Click here to update record: <a href= \" %s%s%s&update=true \" >Continue</a>. " , " L'hôte %s est <font color=red>déjà dans le carnet d'adresses du routeur</font>. Cliquez ici pour mettre à jour le dossier : <a href= \" %s%s%s&update=true \" >Continuer</a>. " } ,
2023-02-15 21:42:31 +00:00
{ " Addresshelper update " , " Mise à jour de l'assistant d'adresse " } ,
{ " Invalid request URI " , " URI de la requête invalide " } ,
2022-08-21 19:38:40 +00:00
{ " Can't detect destination host from request " , " Impossible de détecter l'hôte de destination à partir de la requête " } ,
{ " Outproxy failure " , " Échec de proxy de sortie " } ,
2023-02-15 21:42:31 +00:00
{ " Bad outproxy settings " , " Mauvaise configuration du proxy de sortie " } ,
{ " Host %s is not inside I2P network, but outproxy is not enabled " , " Hôte %s pas dans le réseau I2P, mais le proxy de sortie n'est pas activé " } ,
{ " Unknown outproxy URL " , " URL du proxy de sortie inconnu " } ,
{ " Cannot resolve upstream proxy " , " Impossible de résoudre l'adresse du proxy en amont " } ,
{ " Hostname is too long " , " Nom d'hôte trop long " } ,
{ " Cannot connect to upstream SOCKS proxy " , " Impossible de se connecter au proxy SOCKS en amont " } ,
{ " Cannot negotiate with SOCKS proxy " , " Impossible de négocier avec le proxy SOCKS " } ,
2022-08-21 19:38:40 +00:00
{ " CONNECT error " , " Erreur de connexion " } ,
2023-02-15 21:42:31 +00:00
{ " Failed to connect " , " Échec de connexion " } ,
{ " SOCKS proxy error " , " Erreur de proxy SOCKS " } ,
{ " Failed to send request to upstream " , " Erreur lors de l'envoie de la requête en amont " } ,
{ " No reply from SOCKS proxy " , " Pas de réponse du proxy SOCKS " } ,
{ " Cannot connect " , " Impossible de connecter " } ,
{ " HTTP out proxy not implemented " , " Proxy de sortie HTTP non implémenté " } ,
{ " Cannot connect to upstream HTTP proxy " , " Impossible de se connecter au proxy HTTP en amont " } ,
2022-08-21 19:38:40 +00:00
{ " Host is down " , " Hôte hors service " } ,
{ " Can't create connection to requested host, it may be down. Please try again later. " , " Impossible d'établir une connexion avec l'hôte, il est peut-être hors service. Veuillez réessayer plus tard. " } ,
2022-05-15 08:45:57 +00:00
{ " " , " " } ,
} ;
static std : : map < std : : string , std : : vector < std : : string > > plurals
{
2023-01-18 04:21:36 +00:00
{ " %d days " , { " %d jour " , " %d jours " } } ,
{ " %d hours " , { " %d heure " , " %d heures " } } ,
{ " %d minutes " , { " %d minute " , " %d minutes " } } ,
{ " %d seconds " , { " %d seconde " , " %d secondes " } } ,
2022-05-15 08:45:57 +00:00
{ " " , { " " , " " } } ,
} ;
std : : shared_ptr < const i2p : : i18n : : Locale > GetLocale ( )
{
return std : : make_shared < i2p : : i18n : : Locale > ( language , strings , plurals , [ ] ( int n ) - > int { return plural ( n ) ; } ) ;
}
} // language
} // i18n
} // i2p