2009-01-03 09:49:30 +01:00
## @file
# Messages translation for Lemonldap::NG::Manager
## @class
# Messages translation for Lemonldap::NG::Manager.
2006-12-31 16:43:59 +01:00
package Lemonldap::NG::Manager::_i18n ;
2008-06-09 16:42:57 +02:00
# Developer warning : this file must be utf8 encoded
2006-12-31 16:43:59 +01:00
use AutoLoader qw( AUTOLOAD ) ;
2009-06-08 18:29:13 +02:00
our $ VERSION = '0.34' ;
2006-12-31 16:43:59 +01:00
2009-01-03 09:49:30 +01:00
## @fn void import(string lang)
# Import messages
2006-12-31 16:43:59 +01:00
sub import {
2007-01-04 09:42:13 +01:00
my ( $ caller_package ) = caller ;
2007-01-14 08:51:44 +01:00
my $ lang = pop ;
2006-12-31 16:43:59 +01:00
$ lang = lc ( $ lang ) ;
$ lang =~ s/-/_/g ;
2007-01-04 09:42:13 +01:00
foreach ( split ( /[,;]/ , $ lang ) ) {
2006-12-31 16:43:59 +01:00
next if /=/ ;
2007-01-04 09:42:13 +01:00
if ( __PACKAGE__ - > can ( $ _ ) ) {
$ functions = & $ _ ;
last ;
}
2006-12-31 16:43:59 +01:00
}
$ functions || = & en ;
2007-01-04 09:42:13 +01:00
while ( my ( $ f , $ v ) = each ( %$ functions ) ) {
2007-01-14 21:54:52 +01:00
* { "${caller_package}::txt_$f" } = sub { $ v } ;
2006-12-31 16:43:59 +01:00
}
}
* fr_fr = * fr ;
* en_us = * en ;
1 ;
2007-01-14 14:09:10 +01:00
2006-12-31 16:43:59 +01:00
__END__
2007-01-04 09:42:13 +01:00
2006-12-31 16:43:59 +01:00
= pod
= cut
2007-01-14 14:09:10 +01:00
2007-06-24 11:23:14 +02:00
sub en {
2006-12-31 16:43:59 +01:00
return {
2007-06-24 11:23:14 +02:00
apacheSessionModule = > "Apache::Session module" ,
applyConf = > "Apply" ,
areYouSure = > "Are you sure ?" ,
authParams = > "Authentication Parameters" ,
2008-05-07 18:21:04 +02:00
authenticationType = > "Authentication Type" ,
2007-06-24 11:23:14 +02:00
canNotReadApplyConfFile = > "Configuration not applied: cannot read configuration file" ,
changesAppliedLater = > 'Changes will be effective within 10 minutes. Use "apachectl reload" on concerned servers for immediate reloading' ,
checkLogs = > "Check Apache logs" ,
confSaved = > "Configuration saved with number" ,
configLoaded = > "Configuration loaded" ,
configuration = > "Configuration" ,
configurationDeleted = > "Configuration deleted" ,
configurationNotDeleted = > "Configuration not deleted" ,
configurationWasChanged = > "Configuration has been changed since you got it" ,
confirmDeleteConf = > "You're going to delete configuration. Do you confirm ?" ,
cookieName = > "Cookie Name" ,
containsAnAssignment = > 'contains an assignment ("="). Possible confusion with "==".' ,
deleteConf = > "Delete" ,
deleteNode = > "Delete" ,
deleteVirtualHost = > "Delete virtual host" ,
domain = > "Domain" ,
error = > "Error" ,
exportedVars = > "Exported Variables" ,
2008-05-05 19:04:33 +02:00
field = > "Field" ,
2007-06-24 11:23:14 +02:00
generalParameters = > "General Parameters" ,
globalStorageOptions = > "Session Storage Parameters" ,
group = > "Group" ,
header = > "Header" ,
httpHeaders = > "HTTP Headers" ,
invalidLine = > "Invalid Line" ,
invalidVirtualHostName = > "Invalid virtual host name" ,
invalidWhatToTrace = > "Data to use in Apache's logs can contain only an exported attribute or a macro" ,
2008-02-08 17:09:22 +01:00
isNotANumber = > "is not a number" ,
2007-06-24 11:23:14 +02:00
isNotAValidAttributeName = > "is not a valid attribute name" ,
isNotAValidCookieName = > "is not a valid cookie name" ,
isNotAValidDomainName = > "is not a valid domain name" ,
isNotAValidGroupName = > "is not a valid group name" ,
isNotAValidHTTPHeaderName = > "is not a valid HTTP header name" ,
isNotAValidLDAPAttributeName = > "is not a valid LDAP attribute name" ,
isNotAValidMacroName = > "is not a valid macro name" ,
isNotAValidVirtualHostName = > "is not a valid virtual host name" ,
lastConf = > "Last" ,
ldapBase = > "LDAP Search Base" ,
ldapParameters = > "LDAP Parameters" ,
ldapPort = > "LDAP Server Port" ,
ldapServer = > "LDAP Server" ,
locationRules = > "Rules" ,
macro = > "Macro" ,
macros = > "Macros" ,
managerDn = > "LDAP Account" ,
managerPassword = > "LDAP Password" ,
newGSOpt = > "New Option" ,
newGroup = > "New Group" ,
newHeader = > "New Header" ,
newMacro = > "New Macro" ,
newRule = > "New Rule" ,
newVar = > "New Variable" ,
newVirtualHost = > "New Virtual Host" ,
nextConf = > "Next" ,
2008-05-07 18:21:04 +02:00
portal = > "Portal" ,
2007-06-24 11:23:14 +02:00
prevConf = > "Previous" ,
result = > "Result" ,
rule = > "Rule" ,
rules = > "Rules" ,
saveConf = > "Save" ,
saveFailure = > "Save failure" ,
securedCookie = > "Secured Cookie (SSL)" ,
sessionStorage = > "Session Storage" ,
2008-02-08 17:09:22 +01:00
sessionTimeout = > "Session timeout" ,
2007-06-24 11:23:14 +02:00
syntaxError = > "Syntax error" ,
unableToSave = > "Your browser does not support XMLHTTPRequest objects: fail to save." ,
unknownError = > "Unknown error" ,
unknownErrorInVars = > "Unknown error in exported attributes" ,
userGroups = > "User Groups" ,
2008-05-05 19:04:33 +02:00
value = > "Value" ,
2007-06-24 11:23:14 +02:00
virtualHosts = > "Virtual Hosts" ,
waitingResult = > "Waiting result..." ,
warningConfNotApplied = > "You have to reload handlers to take the saved configuration in account" ,
whatToTrace = > "Attribute to use in Apache's logs" ,
2007-01-04 09:42:13 +01:00
} ;
2006-12-31 16:43:59 +01:00
}
2007-06-24 11:23:14 +02:00
sub fr {
2006-12-31 16:43:59 +01:00
return {
2007-06-24 11:23:14 +02:00
apacheSessionModule = > "Module Apache::Session" ,
applyConf = > "Appliquer" ,
2008-06-09 16:42:57 +02:00
areYouSure = > "Êtes vous sur ?" ,
authParams = > "Paramètres d'authentification" ,
2007-06-24 11:23:14 +02:00
authenticationType = > "Type d'authentification" ,
2008-06-09 16:42:57 +02:00
canNotReadApplyConfFile = > "Configuration non appliquée: impossible de lire le fichier de configuration" ,
changesAppliedLater = > "Les changements seront effectifs d'ici 10 minutes. Utilisez \"apachectl reload\" sur les serveurs concernés pour forcer la prise en compte immédiate" ,
2007-06-24 11:23:14 +02:00
checkLogs = > "Consultez les journaux d'Apache" ,
2008-06-09 16:42:57 +02:00
confSaved = > "Configuration sauvegardée sous le numéro" ,
configLoaded = > "Configuration chargée" ,
2007-06-24 11:23:14 +02:00
configuration = > "Configuration" ,
2008-06-09 16:42:57 +02:00
configurationDeleted = > "Configuration éffacée" ,
configurationNotDeleted = > "Configuration non éffacée" ,
configurationWasChanged = > "configuration modifiée depuis que vous l'avez téléchargée" ,
2007-06-24 11:23:14 +02:00
confirmDeleteConf = > "Vous allez effacer cette configuration. Confirmez-vous ?" ,
cookieName = > "Nom du cookie" ,
containsAnAssignment = > 'contient une affectation ("="). Confusion possible avec "==".' ,
deleteConf = > "Effacer" ,
deleteNode = > "Supprimer" ,
2008-06-09 16:42:57 +02:00
deleteVirtualHost = > "Supprimer l'hôte virtuel" ,
2007-06-24 11:23:14 +02:00
domain = > "Domaine" ,
error = > "Erreur" ,
2008-06-09 16:42:57 +02:00
exportedVars = > "Attributs LDAP à exporter" ,
2008-05-05 19:04:33 +02:00
field = > "Champ" ,
2008-06-09 16:42:57 +02:00
generalParameters = > "Paramètres généraux" ,
globalStorageOptions = > "Paramètres du module Apache::Session" ,
2007-06-24 11:23:14 +02:00
group = > "Groupe" ,
2008-06-09 16:42:57 +02:00
header = > "En-tête" ,
httpHeaders = > "En-têtes HTTP" ,
2007-06-24 11:23:14 +02:00
invalidLine = > "Ligne invalide" ,
2008-06-09 16:42:57 +02:00
invalidVirtualHostName = > "Nom de d'hôte virtuel incorrect" ,
invalidWhatToTrace = > "La donnée à inscrire dans les journaux ne peut contenir qu'un attribut exporté ou une macro" ,
2008-02-08 17:09:22 +01:00
isNotANumber = > "n'est pas un nombre" ,
2007-06-24 11:23:14 +02:00
isNotAValidAttributeName = > "n'est pas un nom d'attribut valide" ,
isNotAValidCookieName = > "n'est pas un nom de cookie valide" ,
isNotAValidDomainName = > "n'est pas un nom de domaine valide" ,
isNotAValidGroupName = > "n'est pas un nom de groupe valide" ,
2008-06-09 16:42:57 +02:00
isNotAValidHTTPHeaderName = > "n'est pas un nom d'en-tête HTTP valide" ,
2008-06-06 05:53:14 +02:00
isNotAValidLDAPAttributeName = > "n'est pas un nom d'attribut LDAP valide" ,
2007-06-24 11:23:14 +02:00
isNotAValidMacroName = > "n'est pas un nom de macro valide" ,
2008-06-09 16:42:57 +02:00
isNotAValidVirtualHostName = > "n'est pas un nom d'hôte virtuel valide" ,
lastConf = > "Dernière" ,
2007-06-24 11:23:14 +02:00
ldapBase = > "Base de recherche LDAP" ,
2008-06-09 16:42:57 +02:00
ldapParameters = > "Paramètres LDAP" ,
2007-06-24 11:23:14 +02:00
ldapPort = > "Port du serveur LDAP" ,
ldapServer = > "Serveur LDAP" ,
2008-06-09 16:42:57 +02:00
locationRules = > "Règles" ,
2007-06-24 11:23:14 +02:00
macro = > "Macro" ,
macros = > "Macros" ,
managerDn = > "Compte de connexion LDAP" ,
managerPassword = > "Mot de passe LDAP" ,
newGSOpt = > "Nouvelle option" ,
newGroup = > "Nouveau groupe" ,
2008-06-09 16:42:57 +02:00
newHeader = > "Nouvel en-tête" ,
2007-06-24 11:23:14 +02:00
newMacro = > "Nouvelle macro" ,
2008-06-09 16:42:57 +02:00
newRule = > "Nouvelle règle" ,
2007-06-24 11:23:14 +02:00
newVar = > "Nouvelle variable" ,
2008-06-09 16:42:57 +02:00
newVirtualHost = > "Nouvel hôte virtuel" ,
2007-06-24 11:23:14 +02:00
nextConf = > "Suivante" ,
2008-05-07 18:21:04 +02:00
portal = > "Portail" ,
2008-06-09 16:42:57 +02:00
prevConf = > "Précédente" ,
result = > "Résultat" ,
rule = > "Règle" ,
rules = > "Règles" ,
2007-06-24 11:23:14 +02:00
saveConf = > "Sauvegarder" ,
2008-06-09 16:42:57 +02:00
saveFailure = > "Échec de la sauvegarde" ,
securedCookie = > "Cookie sécurisé (SSL)" ,
2007-06-24 11:23:14 +02:00
sessionStorage = > "Stockage des sessions" ,
2008-06-09 16:42:57 +02:00
sessionTimeout = > "Durée de vie des sessions" ,
2007-06-24 11:23:14 +02:00
syntaxError = > "Erreur de syntaxe" ,
unableToSave = > "Votre navigateur ne supporte pas les objets XMLHTTPRequest: sauvegarde impossible." ,
unknownError = > "Erreur inconnue" ,
2008-06-09 16:42:57 +02:00
unknownErrorInVars = > "Erreur inconnue dans les attributs exportés" ,
2007-06-24 11:23:14 +02:00
userGroups = > "Groupes d'utilisateurs" ,
2008-05-05 19:04:33 +02:00
value = > "Valeur" ,
2008-06-09 16:42:57 +02:00
virtualHosts = > "Hôtes virtuels" ,
2007-06-24 11:23:14 +02:00
waitingResult = > "En attente..." ,
2008-06-09 16:42:57 +02:00
warningConfNotApplied = > "Vous devez recharger les agents pour que la configuration sauvegardée soit appliquée" ,
whatToTrace = > "Donnée à inscrire dans les journaux d'Apache" ,
2007-01-04 09:42:13 +01:00
} ;
2006-12-31 16:43:59 +01:00
}