more default translations
This commit is contained in:
parent
cf636521f4
commit
bb73f687ed
|
@ -3,7 +3,7 @@
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2005 - 2014 Roland Gruber
|
Copyright (C) 2005 - 2016 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -35,7 +35,7 @@ $Id$
|
||||||
* @package types
|
* @package types
|
||||||
*/
|
*/
|
||||||
class group extends baseType {
|
class group extends baseType {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new group type object.
|
* Constructs a new group type object.
|
||||||
*/
|
*/
|
||||||
|
@ -51,7 +51,7 @@ class group extends baseType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the alias name of this account type.
|
* Returns the alias name of this account type.
|
||||||
*
|
*
|
||||||
|
@ -66,7 +66,7 @@ class group extends baseType {
|
||||||
}
|
}
|
||||||
return _("Groups");
|
return _("Groups");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the description of this account type.
|
* Returns the description of this account type.
|
||||||
*
|
*
|
||||||
|
@ -75,7 +75,7 @@ class group extends baseType {
|
||||||
function getDescription() {
|
function getDescription() {
|
||||||
return _("Group accounts (e.g. Unix and Samba)");
|
return _("Group accounts (e.g. Unix and Samba)");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the class name for the list object.
|
* Returns the class name for the list object.
|
||||||
*
|
*
|
||||||
|
@ -84,7 +84,7 @@ class group extends baseType {
|
||||||
function getListClassName() {
|
function getListClassName() {
|
||||||
return "lamGroupList";
|
return "lamGroupList";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the default attribute list for this account type.
|
* Returns the default attribute list for this account type.
|
||||||
*
|
*
|
||||||
|
@ -103,12 +103,13 @@ class group extends baseType {
|
||||||
function getListAttributeDescriptions() {
|
function getListAttributeDescriptions() {
|
||||||
$return = array (
|
$return = array (
|
||||||
"cn" => _("Group name"),
|
"cn" => _("Group name"),
|
||||||
|
"description" => _("Group description"),
|
||||||
|
"displayName" => _("Display name"),
|
||||||
"gidnumber" => _("GID number"),
|
"gidnumber" => _("GID number"),
|
||||||
"memberuid" => _("Group members"),
|
|
||||||
"member" => _("Group member DNs"),
|
"member" => _("Group member DNs"),
|
||||||
"uniqueMember" => _("Group member DNs"),
|
"memberuid" => _("Group members"),
|
||||||
"roleOccupant" => _("Role member DNs"),
|
"roleOccupant" => _("Role member DNs"),
|
||||||
"description" => _("Group description")
|
"uniqueMember" => _("Group member DNs"),
|
||||||
);
|
);
|
||||||
if (!empty($_SESSION['config'])) {
|
if (!empty($_SESSION['config'])) {
|
||||||
$modules = $_SESSION['config']->get_AccountModules('group');
|
$modules = $_SESSION['config']->get_AccountModules('group');
|
||||||
|
@ -211,7 +212,7 @@ class group extends baseType {
|
||||||
*
|
*
|
||||||
* @package lists
|
* @package lists
|
||||||
* @author Roland Gruber
|
* @author Roland Gruber
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class lamGroupList extends lamList {
|
class lamGroupList extends lamList {
|
||||||
|
|
||||||
|
@ -227,7 +228,7 @@ class lamGroupList extends lamList {
|
||||||
private $include_primary = false;
|
private $include_primary = false;
|
||||||
/** LDAP suffix of membership types */
|
/** LDAP suffix of membership types */
|
||||||
private $suffixList = array();
|
private $suffixList = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
|
@ -267,7 +268,7 @@ class lamGroupList extends lamList {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets some internal parameters.
|
* Sets some internal parameters.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -88,21 +88,33 @@ class user extends baseType {
|
||||||
*/
|
*/
|
||||||
function getListAttributeDescriptions() {
|
function getListAttributeDescriptions() {
|
||||||
return array (
|
return array (
|
||||||
"uid" => _("User name"),
|
|
||||||
"uidnumber" => _("UID number"),
|
|
||||||
"gidnumber" => _("GID number"),
|
|
||||||
"cn" => _("Common name"),
|
"cn" => _("Common name"),
|
||||||
"host" => _("Allowed hosts"),
|
'company' => _('Company'),
|
||||||
|
'departmentNumber' => _('Department'),
|
||||||
|
'displayName' => _('Display name'),
|
||||||
|
'employeeNumber' => _('Employee number'),
|
||||||
|
"gecos" => _("Description"),
|
||||||
|
"gidnumber" => _("GID number"),
|
||||||
"givenname" => _("First name"),
|
"givenname" => _("First name"),
|
||||||
"sn" => _("Last name"),
|
|
||||||
"homedirectory" => _("Home directory"),
|
"homedirectory" => _("Home directory"),
|
||||||
|
"host" => _("Allowed hosts"),
|
||||||
|
"jpegphoto" => _('Photo'),
|
||||||
"loginshell" => _("Login shell"),
|
"loginshell" => _("Login shell"),
|
||||||
"mail" => _("Email"),
|
"mail" => _("Email"),
|
||||||
"gecos" => _("Description"),
|
'manager' => _('Manager'),
|
||||||
"jpegphoto" => _('Photo'),
|
'o' => _('Organisation'),
|
||||||
|
'ou' => _(' Organisational unit'),
|
||||||
|
'proxyAddresses' => _(' Proxy-Addresses'),
|
||||||
|
'sambakickofftime' => _('Account expiration date'),
|
||||||
'shadowexpire' => _('Password expiration'),
|
'shadowexpire' => _('Password expiration'),
|
||||||
'sambakickofftime' => _('Account expiration date')
|
"sn" => _("Last name"),
|
||||||
);
|
'streetAddress' => _('Street'),
|
||||||
|
'telephoneNumber' => _('Telephone number'),
|
||||||
|
'title' => _('Job title'),
|
||||||
|
"uid" => _("User name"),
|
||||||
|
"uidnumber" => _("UID number"),
|
||||||
|
'userPrincipalName' => _('User name'),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue