diff --git a/lam/lib/modules/dhcp_settings.inc b/lam/lib/modules/dhcp_settings.inc
index 97086596..877b8c15 100644
--- a/lam/lib/modules/dhcp_settings.inc
+++ b/lam/lib/modules/dhcp_settings.inc
@@ -138,7 +138,7 @@ class dhcp_settings extends baseModule {
),
'dns' => array(
"Headline" => _("DNS (Domain Name System)"),
- "Text" => _("The IP address(es) of the DNS servers. Multiple addresses are separated by \",\". Example: 192.168.0.10, 192.168.0.11")
+ "Text" => _("The IP addresses of the DNS servers. Multiple addresses are separated by \",\". Example: 192.168.0.10, 192.168.0.11")
),
'gateway' => array(
"Headline" => _("Default gateway"),
@@ -376,7 +376,7 @@ By default, the nodes are configured as H-Nodes which fits for small networks. I
if (strlen($_POST['domainname'])<3) {
$errors[] = $this->messages['domainname'][1];
}
- elseif (!preg_match("/^[A-Za-z0-9\._-]*$/", $_POST['domainname'])) {
+ elseif (!preg_match("/^[A-Za-z0-9\\._-]*$/", $_POST['domainname'])) {
$errors[] = $this->messages['domainname'][2];
}
}
diff --git a/lam/lib/modules/ieee802device.inc b/lam/lib/modules/ieee802device.inc
index c0ef04aa..7dc437fb 100644
--- a/lam/lib/modules/ieee802device.inc
+++ b/lam/lib/modules/ieee802device.inc
@@ -76,7 +76,7 @@ class ieee802Device extends baseModule {
);
// available PDF fields
$return['PDF_fields'] = array(
- 'macAddress' => _('MAC address(es)')
+ 'macAddress' => _('MAC addresses')
);
return $return;
}
@@ -203,7 +203,7 @@ class ieee802Device extends baseModule {
function get_pdfEntries() {
$return = array();
if (sizeof($this->attributes['macAddress']) > 0) {
- $return['ieee802Device_macAddress'][0] = '' . _('MAC address(es)') . '' . implode(', ', $this->attributes['macAddress']) . '';
+ $return['ieee802Device_macAddress'][0] = '' . _('MAC addresses') . '' . implode(', ', $this->attributes['macAddress']) . '';
}
return $return;
}
diff --git a/lam/templates/3rdParty/pla/htdocs/add_oclass_form.php b/lam/templates/3rdParty/pla/htdocs/add_oclass_form.php
index 4a6877f1..87d61c5f 100644
--- a/lam/templates/3rdParty/pla/htdocs/add_oclass_form.php
+++ b/lam/templates/3rdParty/pla/htdocs/add_oclass_form.php
@@ -61,8 +61,7 @@ if (count($ldap['attrs']['need']) > 0) {
$request['page']->drawSubTitle();
echo '
';
- printf('
' . _('In order to add these objectClass(es) to this entry, you must specify %s new attributes that this object class requires.') . '',
- count($ldap['attrs']['need']));
+ echo '
' . _('This change requires to add new attributes.') . '';
echo '
';
diff --git a/lam/templates/3rdParty/pla/htdocs/add_value_form.php b/lam/templates/3rdParty/pla/htdocs/add_value_form.php
index 8843c29e..02d5fe83 100644
--- a/lam/templates/3rdParty/pla/htdocs/add_value_form.php
+++ b/lam/templates/3rdParty/pla/htdocs/add_value_form.php
@@ -122,7 +122,7 @@ if (! strcasecmp($request['attr'],'objectclass') || get_request('meth','REQUEST'
if ($_SESSION[APPCONFIG]->getValue('appearance','show_hints'))
printf('
%s |
',
- IMGDIR,_('Note: You may be required to enter new attributes that these objectClass(es) require'));
+ IMGDIR,_('Note: You may be required to enter new attributes that these object classes require'));
echo '';
echo '';
diff --git a/lam/templates/3rdParty/pla/lib/PageRender.php b/lam/templates/3rdParty/pla/lib/PageRender.php
index 3dbe773d..9b31d255 100644
--- a/lam/templates/3rdParty/pla/lib/PageRender.php
+++ b/lam/templates/3rdParty/pla/lib/PageRender.php
@@ -442,7 +442,7 @@ class PageRender extends Visitor {
}
if ($required_by)
- return sprintf('
%s',_('Required attribute for objectClass(es)'),$required_by,_('required'));
+ return sprintf('
%s',_('Required attribute for object classes'),$required_by,_('required'));
else
return '';
}
diff --git a/lam/templates/3rdParty/pla/lib/TemplateRender.php b/lam/templates/3rdParty/pla/lib/TemplateRender.php
index ee710e45..113dfda3 100644
--- a/lam/templates/3rdParty/pla/lib/TemplateRender.php
+++ b/lam/templates/3rdParty/pla/lib/TemplateRender.php
@@ -1455,7 +1455,7 @@ class TemplateRender extends PageRender {
printf('%s: ',sprintf(_('Step %s of %s'),$page,$this->pagelast));
if ($page == 1)
- echo _('Container and object class(es)');
+ echo _('Container and object classes');
else
echo _('Specify attributes and values');
diff --git a/lam/templates/initsuff.php b/lam/templates/initsuff.php
index d590060a..6efe8e52 100644
--- a/lam/templates/initsuff.php
+++ b/lam/templates/initsuff.php
@@ -3,7 +3,7 @@
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
- Copyright (C) 2003 - 2010 Roland Gruber
+ Copyright (C) 2003 - 2012 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -176,7 +176,7 @@ include 'main_header.php';
echo '
';
echo "