From 69899bce078cee45177771e8451c59352cf906b0 Mon Sep 17 00:00:00 2001 From: Thomas CHEMINEAU Date: Fri, 29 Jan 2010 16:42:35 +0000 Subject: [PATCH] i18n for SAML keys into manager --- .../lib/Lemonldap/NG/Manager/_Struct.pm | 4 +- .../lib/Lemonldap/NG/Manager/_i18n.pm | 109 ++++++++++++++++++ 2 files changed, 111 insertions(+), 2 deletions(-) diff --git a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_Struct.pm b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_Struct.pm index 08bc29cc6..abcda4961 100644 --- a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_Struct.pm +++ b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_Struct.pm @@ -44,7 +44,7 @@ sub cstruct { sub struct { my $self = shift; return { - _nodes => [qw(n:generalParameters n:variables n:virtualHosts n:samlServiceMetadata)], + _nodes => [qw(n:generalParameters n:variables n:virtualHosts n:samlServiceMetaData)], _help => 'default', ###################### @@ -244,7 +244,7 @@ sub struct { # SAML METADATA # ################# - samlServiceMetadata => Lemonldap::NG::Common::Conf::SAML::Metadata::createSimpleStruct(), + samlServiceMetaData => Lemonldap::NG::Common::Conf::SAML::Metadata::createSimpleStruct(), }; } diff --git a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_i18n.pm b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_i18n.pm index ae1b16c8c..456f10620 100644 --- a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_i18n.pm +++ b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager/_i18n.pm @@ -124,6 +124,61 @@ sub en { variables => "Variables", virtualHosts => 'Virtual Hosts', whatToTrace => "REMOTE_USER environment variable", + + samlServiceMetaData => 'SAML 2 Service', + samlEntityID => 'Entity Identifier', + samlOrganization => 'Organization', + samlOrganizationDisplayName => 'Display Name', + samlOrganizationName => 'Name', + samlOrganizationURL => 'URL', + samlSPSSODescriptor => 'Service Provider', + samlSPSSODescriptorAuthnRequestsSigned => 'Signed Authentication Request', + samlSPSSODescriptorProtocolSupportEnumeration => 'Protocol', + samlSPSSODescriptorKeyDescriptor => 'Keys', + samlSPSSODescriptorKeyDescriptorSigning => 'Signing Key', + samlSPSSODescriptorKeyDescriptorEncryption => 'Encryption Key', + samlSPSSODescriptorSingleLogoutService => 'Single Logout', + samlSPSSODescriptorSingleLogoutServiceHTTPLocation => 'HTTP URL', + samlSPSSODescriptorSingleLogoutServiceHTTPReponseLocation => 'HTTP Response URL', + samlSPSSODescriptorSingleLogoutServiceSOAPLocation => 'SOAP URL', + samlSPSSODescriptorSingleLogoutServiceSOAPResponseLocation => 'SOAP Response URL', + samlSPSSODescriptorAssertionConsumerService => 'Assertion Consumer', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact => 'Artifact', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifactIndex => 'Index', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifactDefault => 'Default Assertion', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifactLocation => 'URL', + samlSPSSODescriptorAssertionConsumerServiceHTTPPost => 'POST', + samlSPSSODescriptorAssertionConsumerServiceHTTPPostIndex => 'Index', + samlSPSSODescriptorAssertionConsumerServiceHTTPPostDefault => 'Default Assertion', + samlSPSSODescriptorAssertionConsumerServiceHTTPPostLocation => 'URL', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirect => 'HTTP Redirect', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirectIndex => 'Index', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirectDefault => 'Default Assertion', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirectLocation => 'URL', + samlIDPSSODescriptor => 'Identity Provider', + samlIDPSSODescriptorWantAuthnRequestsSigned => 'Signed Authentication Request', + samlIDPSSODescriptorProtocolSupportEnumeration => 'Protocol', + samlIDPSSODescriptorKeyDescriptor => 'Keys', + samlIDPSSODescriptorKeyDescriptorSigning => 'Signing Key', + samlIDPSSODescriptorKeyDescriptorEncryption => 'Encryption Key', + samlIDPSSODescriptorSingleSignOnService => 'Single Sign on', + samlIDPSSODescriptorSingleSignOnServiceHTTPLocation => 'HTTP URL', + samlIDPSSODescriptorSingleSignOnServiceSOAPLocation => 'SOAP URL', + samlIDPSSODescriptorSingleLogoutService => 'Single Logout', + samlIDPSSODescriptorSingleLogoutServiceHTTPLocation => 'HTTP URL', + samlIDPSSODescriptorSingleLogoutServiceHTTPResponseLocation => 'HTTP Response URL', + samlIDPSSODescriptorSingleLogoutServiceSOAPLocation => 'SOAP URL', + samlIDPSSODescriptorSingleLogoutServiceSOAPResponseLocation => 'SOAP Response URL', + samlIDPSSODescriptorArtifactResolutionService => 'Artifact Resolution', + samlIDPSSODescriptorArtifactResolutionServiceArtifact => 'SOAP', + samlIDPSSODescriptorArtifactResolutionServiceArtifactIndex => 'Index', + samlIDPSSODescriptorArtifactResolutionServiceArtifactDefault => 'Default Artifact', + samlIDPSSODescriptorArtifactResolutionServiceArtifactLocation => 'URL', + samlIDPSSODescriptorManageNameIDService => 'Name ID Manager', + samlIDPSSODescriptorManageNameIDServiceHTTPLocation => 'HTTP URL', + samlIDPSSODescriptorManageNameIDServiceHTTPResponseLocation => 'HTTP Response URL', + samlIDPSSODescriptorManageNameIDServiceSOAPLocation => 'SOAP URL', + samlIDPSSODescriptorManageNameIDServiceSOAPResponseLocation => 'SOAP Response URL', }; } @@ -210,6 +265,60 @@ sub fr { variables => "Variables", virtualHosts => 'Hôtes virtuels', whatToTrace => "Variable d'environnement REMOTE_USER", + + samlServiceMetaData => 'Service SAML 2', + samlEntityID => 'Identifiant d\'entité', + samlOrganization => 'Organisation', + samlOrganizationDisplayName => 'Nom affiché', + samlOrganizationName => 'Nom', + samlOrganizationURL => 'URL', + samlSPSSODescriptor => 'Fournisseur de service', + samlSPSSODescriptorAuthnRequestsSigned => 'Requête d\'authentification signé', + samlSPSSODescriptorProtocolSupportEnumeration => 'Protocole', + samlSPSSODescriptorKeyDescriptor => 'Clefs', + samlSPSSODescriptorKeyDescriptorSigning => 'Clef de signature', + samlSPSSODescriptorKeyDescriptorEncryption => 'Clef de chiffrement', + samlSPSSODescriptorSingleLogoutService => 'Single Logout', + samlSPSSODescriptorSingleLogoutServiceHTTPLocation => 'URL HTTP', + samlSPSSODescriptorSingleLogoutServiceHTTPReponseLocation => 'URL HTTP de retour', + samlSPSSODescriptorSingleLogoutServiceSOAPLocation => 'URL SOAP', + samlSPSSODescriptorSingleLogoutServiceSOAPResponseLocation => 'URL SOAP de retour', + samlSPSSODescriptorAssertionConsumerService => 'Assertions', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifact => 'Artifact', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifactIndex => 'Index', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifactDefault => 'Assertion par défaut', + samlSPSSODescriptorAssertionConsumerServiceHTTPArtifactLocation => 'URL', + samlSPSSODescriptorAssertionConsumerServiceHTTPPost => 'POST', + samlSPSSODescriptorAssertionConsumerServiceHTTPPostIndex => 'Index', + samlSPSSODescriptorAssertionConsumerServiceHTTPPostDefault => 'Assertion par défaut', + samlSPSSODescriptorAssertionConsumerServiceHTTPPostLocation => 'URL', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirect => 'Redirection HTTP', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirectIndex => 'Index', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirectDefault => 'Assertion par défaut', + samlSPSSODescriptorAssertionConsumerServiceHTTPRedirectLocation => 'URL', + samlIDPSSODescriptor => 'Fournisseur d\'identité', + samlIDPSSODescriptorWantAuthnRequestsSigned => 'Requête d\'authentification signé', + samlIDPSSODescriptorProtocolSupportEnumeration => 'Protocole', + samlIDPSSODescriptorKeyDescriptor => 'Clefs', + samlIDPSSODescriptorKeyDescriptorSigning => 'Clef de signature', + samlIDPSSODescriptorKeyDescriptorEncryption => 'Clef de chiffrement', + samlIDPSSODescriptorSingleSignOnService => 'Single Sign on', + samlIDPSSODescriptorSingleSignOnServiceHTTPLocation => 'URL HTTP', + samlIDPSSODescriptorSingleSignOnServiceSOAPLocation => 'URL SOAP', + samlIDPSSODescriptorSingleLogoutService => 'Single Logout', + samlIDPSSODescriptorSingleLogoutServiceHTTPLocation => 'URL HTTP', + samlIDPSSODescriptorSingleLogoutServiceHTTPResponseLocation => 'URL HTTP de retour', + samlIDPSSODescriptorSingleLogoutServiceSOAPLocation => 'URL SOAP', + samlIDPSSODescriptorSingleLogoutServiceSOAPResponseLocation => 'URL SOAP de retour', + samlIDPSSODescriptorArtifactResolutionService => 'Artifact', + samlIDPSSODescriptorArtifactResolutionServiceArtifact => 'SOAP', + samlIDPSSODescriptorArtifactResolutionServiceArtifactIndex => 'Index', + samlIDPSSODescriptorArtifactResolutionServiceArtifactDefault => 'Artifact par défaut', + samlIDPSSODescriptorArtifactResolutionServiceArtifactLocation => 'URL', + samlIDPSSODescriptorManageNameIDService => 'NameID manager', + samlIDPSSODescriptorManageNameIDServiceHTTPLocation => 'URL HTTP', + samlIDPSSODescriptorManageNameIDServiceHTTPResponseLocation => 'URL HTTP de retour', + samlIDPSSODescriptorManageNameIDServiceSOAPLocation => 'URL SOAP', }; }