translation update
This commit is contained in:
parent
da75714eea
commit
e37ff12f93
|
@ -12,7 +12,7 @@
|
||||||
</h1>
|
</h1>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
This is a simple tool for creating and deleting organizational units
|
This is a simple tool for creating and deleting organisational units
|
||||||
(OU) inside the LDAP tree.<br>
|
(OU) inside the LDAP tree.<br>
|
||||||
OUs can be managed for the LDAP suffixes of all account types.<br>
|
OUs can be managed for the LDAP suffixes of all account types.<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -196,10 +196,10 @@ $helpArray = array (
|
||||||
"Text" => _('Specifies if the mail should be sent as text or HTML.')),
|
"Text" => _('Specifies if the mail should be sent as text or HTML.')),
|
||||||
// 600 - 699
|
// 600 - 699
|
||||||
// OU-editor, domain page
|
// OU-editor, domain page
|
||||||
"601" => array ("Headline" => _("OU-Editor") . " - " . _("New organizational unit"),
|
"601" => array ("Headline" => _("OU-Editor") . " - " . _("New organisational unit"),
|
||||||
"Text" => _("This will create a new organizational unit under the selected one.")),
|
"Text" => _("This will create a new organisational unit under the selected one.")),
|
||||||
"602" => array ("Headline" => _("OU-Editor") . " - " . _("Delete organizational unit"),
|
"602" => array ("Headline" => _("OU-Editor") . " - " . _("Delete organisational unit"),
|
||||||
"Text" => _("This will delete the selected organizational unit. The OU has to be empty."))
|
"Text" => _("This will delete the selected organisational unit. The OU has to be empty."))
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -110,20 +110,20 @@ class eduPerson extends baseModule {
|
||||||
"Text" => _("URI (either URN or URL) that indicates a set of rights to specific resources.") . " " . _('Multiple values are separated by comma.')
|
"Text" => _("URI (either URN or URL) that indicates a set of rights to specific resources.") . " " . _('Multiple values are separated by comma.')
|
||||||
),
|
),
|
||||||
'orgDN' => array(
|
'orgDN' => array(
|
||||||
"Headline" => _("Organization"),
|
"Headline" => _("Organisation"),
|
||||||
"Text" => _("The DN of the directory entry representing the institution with which the person is associated.")
|
"Text" => _("The DN of the directory entry representing the institution with which the person is associated.")
|
||||||
),
|
),
|
||||||
'primaryOrgUnitDN' => array(
|
'primaryOrgUnitDN' => array(
|
||||||
"Headline" => _("Primary organizational unit"),
|
"Headline" => _("Primary organisational unit"),
|
||||||
"Text" => _("The DN of the directory entry representing the person's primary organizational unit.")
|
"Text" => _("The DN of the directory entry representing the person's primary organisational unit.")
|
||||||
),
|
),
|
||||||
'orgUnitDN' => array(
|
'orgUnitDN' => array(
|
||||||
"Headline" => _("Organizational units"),
|
"Headline" => _("Organisational units"),
|
||||||
"Text" => _("The DNs of the directory entries representing the person's organizational units.")
|
"Text" => _("The DNs of the directory entries representing the person's organisational units.")
|
||||||
),
|
),
|
||||||
'orgUnitDNUpload' => array(
|
'orgUnitDNUpload' => array(
|
||||||
"Headline" => _("Organizational units"),
|
"Headline" => _("Organisational units"),
|
||||||
"Text" => _("The DNs of the directory entries representing the person's organizational units.") . ' ' . _('Multiple values are separated by comma.')
|
"Text" => _("The DNs of the directory entries representing the person's organisational units.") . ' ' . _('Multiple values are separated by comma.')
|
||||||
),
|
),
|
||||||
'autoAdd' => array(
|
'autoAdd' => array(
|
||||||
"Headline" => _("Automatically add this extension"),
|
"Headline" => _("Automatically add this extension"),
|
||||||
|
@ -176,19 +176,19 @@ class eduPerson extends baseModule {
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'eduPerson_orgDN',
|
'name' => 'eduPerson_orgDN',
|
||||||
'description' => _('Organization'),
|
'description' => _('Organisation'),
|
||||||
'help' => 'orgDN',
|
'help' => 'orgDN',
|
||||||
'example' => _('ou=accounts,dc=yourdomain,dc=org')
|
'example' => _('ou=accounts,dc=yourdomain,dc=org')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'eduPerson_primaryOrgUnitDN',
|
'name' => 'eduPerson_primaryOrgUnitDN',
|
||||||
'description' => _('Primary organizational unit'),
|
'description' => _('Primary organisational unit'),
|
||||||
'help' => 'primaryOrgUnitDN',
|
'help' => 'primaryOrgUnitDN',
|
||||||
'example' => _('ou=accounts,dc=yourdomain,dc=org')
|
'example' => _('ou=accounts,dc=yourdomain,dc=org')
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'eduPerson_orgUnitDN',
|
'name' => 'eduPerson_orgUnitDN',
|
||||||
'description' => _('Organizational units'),
|
'description' => _('Organisational units'),
|
||||||
'help' => 'orgUnitDNUpload',
|
'help' => 'orgUnitDNUpload',
|
||||||
'example' => _('ou=accounts,dc=yourdomain,dc=org')
|
'example' => _('ou=accounts,dc=yourdomain,dc=org')
|
||||||
)
|
)
|
||||||
|
@ -197,12 +197,12 @@ class eduPerson extends baseModule {
|
||||||
$return['PDF_fields'] = array(
|
$return['PDF_fields'] = array(
|
||||||
'affiliation' => _('Affiliations'),
|
'affiliation' => _('Affiliations'),
|
||||||
'nickname' => _('Nick names'),
|
'nickname' => _('Nick names'),
|
||||||
'orgDN' => _('Organization'),
|
'orgDN' => _('Organisation'),
|
||||||
'orgUnitDN' => _('Organizational units'),
|
'orgUnitDN' => _('Organisational units'),
|
||||||
'primaryAffiliation' => _('Primary affiliation'),
|
'primaryAffiliation' => _('Primary affiliation'),
|
||||||
'principalName' => _('Principal name'),
|
'principalName' => _('Principal name'),
|
||||||
'entitlement' => _('Entitlements'),
|
'entitlement' => _('Entitlements'),
|
||||||
'primaryOrgUnitDN' => _('Primary organizational unit'),
|
'primaryOrgUnitDN' => _('Primary organisational unit'),
|
||||||
'scopedAffiliation' => _('Scoped affiliation')
|
'scopedAffiliation' => _('Scoped affiliation')
|
||||||
);
|
);
|
||||||
return $return;
|
return $return;
|
||||||
|
@ -214,11 +214,11 @@ class eduPerson extends baseModule {
|
||||||
function load_Messages() {
|
function load_Messages() {
|
||||||
$this->messages['principalName'][0] = array('ERROR', _('Principal name is invalid!'));
|
$this->messages['principalName'][0] = array('ERROR', _('Principal name is invalid!'));
|
||||||
$this->messages['principalName'][1] = array('ERROR', _('Account %s:') . ' eduPerson_principalName', _('Principal name is invalid!'));
|
$this->messages['principalName'][1] = array('ERROR', _('Account %s:') . ' eduPerson_principalName', _('Principal name is invalid!'));
|
||||||
$this->messages['orgDN'][0] = array('ERROR', _('Please enter a valid DN in the field:') . ' ' . _("Organization"));
|
$this->messages['orgDN'][0] = array('ERROR', _('Please enter a valid DN in the field:') . ' ' . _("Organisation"));
|
||||||
$this->messages['orgDN'][1] = array('ERROR', _('Account %s:') . ' eduPerson_orgDN', _('This is not a valid DN!'));
|
$this->messages['orgDN'][1] = array('ERROR', _('Account %s:') . ' eduPerson_orgDN', _('This is not a valid DN!'));
|
||||||
$this->messages['primaryOrgUnitDN'][0] = array('ERROR', _('Please enter a valid DN in the field:') . ' ' . _("Primary organizational unit"));
|
$this->messages['primaryOrgUnitDN'][0] = array('ERROR', _('Please enter a valid DN in the field:') . ' ' . _("Primary organisational unit"));
|
||||||
$this->messages['primaryOrgUnitDN'][1] = array('ERROR', _('Account %s:') . ' eduPerson_primaryOrgUnitDN', _('This is not a valid DN!'));
|
$this->messages['primaryOrgUnitDN'][1] = array('ERROR', _('Account %s:') . ' eduPerson_primaryOrgUnitDN', _('This is not a valid DN!'));
|
||||||
$this->messages['orgUnitDN'][0] = array('ERROR', _('Organizational units contains an invalid entry.'));
|
$this->messages['orgUnitDN'][0] = array('ERROR', _('Organisational units contains an invalid entry.'));
|
||||||
$this->messages['orgUnitDN'][1] = array('ERROR', _('Account %s:') . ' eduPerson_orgUnitDN', _('This is not a valid list of DNs!'));
|
$this->messages['orgUnitDN'][1] = array('ERROR', _('Account %s:') . ' eduPerson_orgUnitDN', _('This is not a valid list of DNs!'));
|
||||||
$this->messages['primaryAffiliation'][0] = array('ERROR', _('Account %s:') . ' eduPerson_primaryAffiliation', _('Please enter a valid primary affiliation.'));
|
$this->messages['primaryAffiliation'][0] = array('ERROR', _('Account %s:') . ' eduPerson_primaryAffiliation', _('Please enter a valid primary affiliation.'));
|
||||||
$this->messages['scopedAffiliation'][0] = array('ERROR', _('Account %s:') . ' eduPerson_scopedAffiliation', _('Please enter a valid scoped affiliation.'));
|
$this->messages['scopedAffiliation'][0] = array('ERROR', _('Account %s:') . ' eduPerson_scopedAffiliation', _('Please enter a valid scoped affiliation.'));
|
||||||
|
@ -350,7 +350,7 @@ class eduPerson extends baseModule {
|
||||||
if (isset($this->attributes['eduPersonOrgDN'][0])) {
|
if (isset($this->attributes['eduPersonOrgDN'][0])) {
|
||||||
$orgDN = $this->attributes['eduPersonOrgDN'][0];
|
$orgDN = $this->attributes['eduPersonOrgDN'][0];
|
||||||
}
|
}
|
||||||
$orgDNInput = new htmlTableExtendedInputField(_('Organization'), 'orgDN', $orgDN, 'orgDN');
|
$orgDNInput = new htmlTableExtendedInputField(_('Organisation'), 'orgDN', $orgDN, 'orgDN');
|
||||||
$orgDNInput->setFieldSize(40);
|
$orgDNInput->setFieldSize(40);
|
||||||
$return->addElement($orgDNInput, true);
|
$return->addElement($orgDNInput, true);
|
||||||
// primare OU DN
|
// primare OU DN
|
||||||
|
@ -358,7 +358,7 @@ class eduPerson extends baseModule {
|
||||||
if (isset($this->attributes['eduPersonPrimaryOrgUnitDN'][0])) {
|
if (isset($this->attributes['eduPersonPrimaryOrgUnitDN'][0])) {
|
||||||
$primaryOrgUnitDN = $this->attributes['eduPersonPrimaryOrgUnitDN'][0];
|
$primaryOrgUnitDN = $this->attributes['eduPersonPrimaryOrgUnitDN'][0];
|
||||||
}
|
}
|
||||||
$primaryOUInput = new htmlTableExtendedInputField(_('Primary organizational unit'), 'primaryOrgUnitDN', $primaryOrgUnitDN, 'primaryOrgUnitDN');
|
$primaryOUInput = new htmlTableExtendedInputField(_('Primary organisational unit'), 'primaryOrgUnitDN', $primaryOrgUnitDN, 'primaryOrgUnitDN');
|
||||||
$primaryOUInput->setFieldSize(40);
|
$primaryOUInput->setFieldSize(40);
|
||||||
$return->addElement($primaryOUInput, true);
|
$return->addElement($primaryOUInput, true);
|
||||||
// OUs
|
// OUs
|
||||||
|
@ -374,7 +374,7 @@ class eduPerson extends baseModule {
|
||||||
else {
|
else {
|
||||||
$orgUnitDN->addElement(new htmlOutputText('-'));
|
$orgUnitDN->addElement(new htmlOutputText('-'));
|
||||||
}
|
}
|
||||||
$orgUnitDNLabel = new htmlOutputText(_('Organizational units'));
|
$orgUnitDNLabel = new htmlOutputText(_('Organisational units'));
|
||||||
$orgUnitDNLabel->alignment = htmlElement::ALIGN_TOP;
|
$orgUnitDNLabel->alignment = htmlElement::ALIGN_TOP;
|
||||||
$return->addElement($orgUnitDNLabel);
|
$return->addElement($orgUnitDNLabel);
|
||||||
$return->addElement($orgUnitDN);
|
$return->addElement($orgUnitDN);
|
||||||
|
@ -609,7 +609,7 @@ class eduPerson extends baseModule {
|
||||||
$parts = explode(', ', $rawAccounts[$i][$ids['eduPerson_entitlement']]);
|
$parts = explode(', ', $rawAccounts[$i][$ids['eduPerson_entitlement']]);
|
||||||
$partialAccounts[$i]['eduPersonEntitlement'] = $parts;
|
$partialAccounts[$i]['eduPersonEntitlement'] = $parts;
|
||||||
}
|
}
|
||||||
// organization
|
// organisation
|
||||||
if ($rawAccounts[$i][$ids['eduPerson_orgDN']] != "") {
|
if ($rawAccounts[$i][$ids['eduPerson_orgDN']] != "") {
|
||||||
if (!get_preg($rawAccounts[$i][$ids['eduPerson_orgDN']], 'dn')) {
|
if (!get_preg($rawAccounts[$i][$ids['eduPerson_orgDN']], 'dn')) {
|
||||||
$error = $this->messages['orgDN'][1];
|
$error = $this->messages['orgDN'][1];
|
||||||
|
@ -681,13 +681,13 @@ class eduPerson extends baseModule {
|
||||||
$return['eduPerson_entitlement'][0] = '<block><key>' . _('Entitlements') . '</key><value>' . implode(', ', $this->attributes['eduPersonEntitlement']) . '</value></block>';
|
$return['eduPerson_entitlement'][0] = '<block><key>' . _('Entitlements') . '</key><value>' . implode(', ', $this->attributes['eduPersonEntitlement']) . '</value></block>';
|
||||||
}
|
}
|
||||||
if (isset($this->attributes['eduPersonOrgDN'][0])) {
|
if (isset($this->attributes['eduPersonOrgDN'][0])) {
|
||||||
$return['eduPerson_orgDN'][0] = '<block><key>' . _('Organization') . '</key><value>' . $this->attributes['eduPersonOrgDN'][0] . '</value></block>';
|
$return['eduPerson_orgDN'][0] = '<block><key>' . _('Organisation') . '</key><value>' . $this->attributes['eduPersonOrgDN'][0] . '</value></block>';
|
||||||
}
|
}
|
||||||
if (isset($this->attributes['eduPersonPrimaryOrgUnitDN'][0])) {
|
if (isset($this->attributes['eduPersonPrimaryOrgUnitDN'][0])) {
|
||||||
$return['eduPerson_primaryOrgUnitDN'][0] = '<block><key>' . _('Primary organizational unit') . '</key><value>' . $this->attributes['eduPersonPrimaryOrgUnitDN'][0] . '</value></block>';
|
$return['eduPerson_primaryOrgUnitDN'][0] = '<block><key>' . _('Primary organisational unit') . '</key><value>' . $this->attributes['eduPersonPrimaryOrgUnitDN'][0] . '</value></block>';
|
||||||
}
|
}
|
||||||
if (isset($this->attributes['eduPersonOrgUnitDN'][0])) {
|
if (isset($this->attributes['eduPersonOrgUnitDN'][0])) {
|
||||||
$return['eduPerson_orgUnitDN'][0] = '<block><key>' . _('Organizational units') . '</key><value>' . implode(', ', $this->attributes['eduPersonOrgUnitDN']) . '</value></block>';
|
$return['eduPerson_orgUnitDN'][0] = '<block><key>' . _('Organisational units') . '</key><value>' . implode(', ', $this->attributes['eduPersonOrgUnitDN']) . '</value></block>';
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -665,7 +665,7 @@ class inetOrgPerson extends baseModule implements passwordService {
|
||||||
),
|
),
|
||||||
'departmentNumber' => array(
|
'departmentNumber' => array(
|
||||||
"Headline" => _("Department(s)"),
|
"Headline" => _("Department(s)"),
|
||||||
"Text" => _("Here you can enter the user's department(s). Multiple entries are separated by semicolons.")
|
"Text" => _("Here you can enter the user's department(s).") . ' ' . _("Multiple values are separated by semicolon.")
|
||||||
),
|
),
|
||||||
'hiddenOptions' => array(
|
'hiddenOptions' => array(
|
||||||
"Headline" => _("Hidden options"),
|
"Headline" => _("Hidden options"),
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -175,7 +175,7 @@ function display_main($message, $error) {
|
||||||
$options[$title] = $elements;
|
$options[$title] = $elements;
|
||||||
}
|
}
|
||||||
// new OU
|
// new OU
|
||||||
$container->addElement(new htmlOutputText(_("New organizational unit")));
|
$container->addElement(new htmlOutputText(_("New organisational unit")));
|
||||||
$parentOUSelect = new htmlSelect('parentOU', $options, array());
|
$parentOUSelect = new htmlSelect('parentOU', $options, array());
|
||||||
$parentOUSelect->setContainsOptgroups(true);
|
$parentOUSelect->setContainsOptgroups(true);
|
||||||
$parentOUSelect->setHasDescriptiveElements(true);
|
$parentOUSelect->setHasDescriptiveElements(true);
|
||||||
|
@ -189,7 +189,7 @@ function display_main($message, $error) {
|
||||||
$container->addElement(new htmlSpacer(null, '10px'), true);
|
$container->addElement(new htmlSpacer(null, '10px'), true);
|
||||||
|
|
||||||
// delete OU
|
// delete OU
|
||||||
$container->addElement(new htmlOutputText(_("Delete organizational unit")));
|
$container->addElement(new htmlOutputText(_("Delete organisational unit")));
|
||||||
$deleteableOUSelect = new htmlSelect('deleteableOU', $options, array());
|
$deleteableOUSelect = new htmlSelect('deleteableOU', $options, array());
|
||||||
$deleteableOUSelect->setContainsOptgroups(true);
|
$deleteableOUSelect->setContainsOptgroups(true);
|
||||||
$deleteableOUSelect->setHasDescriptiveElements(true);
|
$deleteableOUSelect->setHasDescriptiveElements(true);
|
||||||
|
|
|
@ -44,7 +44,7 @@ $step = isset( $_POST['step'] ) ? $_POST['step'] : 1;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<center><h2><?PHP echo _('New organizational unit');?></h2></center>
|
<center><h2><?PHP echo _('New organisational unit');?></h2></center>
|
||||||
|
|
||||||
<?php if( $step == 1 ) { ?>
|
<?php if( $step == 1 ) { ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue