From 5e0b3d131b6c9127c93d2da98bc057b09f014395 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 25 May 2012 18:22:43 +0000 Subject: [PATCH] translate initial captions --- lam/lib/selfService.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lam/lib/selfService.inc b/lam/lib/selfService.inc index ea0d236f..e1b24692 100644 --- a/lam/lib/selfService.inc +++ b/lam/lib/selfService.inc @@ -337,15 +337,15 @@ class selfServiceProfile { $this->httpAuthentication = false; $this->pageHeader = '
 LDAP Account Manager  LDAP Account Manager

'; $this->additionalCSS = ''; - $this->loginCaption = "Welcome to LAM self service. Please enter your user name and password."; - $this->loginAttributeText = "User name"; - $this->mainPageText = "

LAM self service

\nHere you can change your personal settings."; + $this->loginCaption = _("Welcome to LAM self service. Please enter your user name and password."); + $this->loginAttributeText = _('User name'); + $this->mainPageText = "

LAM self service

\n" . _("Here you can change your personal settings."); $this->inputFields = array( - array('name' => 'Personal data', + array('name' => _('Personal data'), 'fields' => array('inetOrgPerson_firstName', 'inetOrgPerson_lastName', 'inetOrgPerson_mail', 'inetOrgPerson_telephoneNumber', 'inetOrgPerson_mobile', 'inetOrgPerson_faxNumber', 'inetOrgPerson_street', 'inetOrgPerson_postalAddress')), - array('name' => 'Password', + array('name' => _('Password'), 'fields' => array('posixAccount_password')) ); }