more default translations

This commit is contained in:
Roland Gruber 2016-11-14 19:37:39 +01:00
parent cf636521f4
commit bb73f687ed
2 changed files with 34 additions and 21 deletions

View File

@ -3,7 +3,7 @@
$Id$
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
it under the terms of the GNU General Public License as published by
@ -103,12 +103,13 @@ class group extends baseType {
function getListAttributeDescriptions() {
$return = array (
"cn" => _("Group name"),
"description" => _("Group description"),
"displayName" => _("Display name"),
"gidnumber" => _("GID number"),
"memberuid" => _("Group members"),
"member" => _("Group member DNs"),
"uniqueMember" => _("Group member DNs"),
"memberuid" => _("Group members"),
"roleOccupant" => _("Role member DNs"),
"description" => _("Group description")
"uniqueMember" => _("Group member DNs"),
);
if (!empty($_SESSION['config'])) {
$modules = $_SESSION['config']->get_AccountModules('group');

View File

@ -88,21 +88,33 @@ class user extends baseType {
*/
function getListAttributeDescriptions() {
return array (
"uid" => _("User name"),
"uidnumber" => _("UID number"),
"gidnumber" => _("GID number"),
"cn" => _("Common name"),
"host" => _("Allowed hosts"),
'company' => _('Company'),
'departmentNumber' => _('Department'),
'displayName' => _('Display name'),
'employeeNumber' => _('Employee number'),
"gecos" => _("Description"),
"gidnumber" => _("GID number"),
"givenname" => _("First name"),
"sn" => _("Last name"),
"homedirectory" => _("Home directory"),
"host" => _("Allowed hosts"),
"jpegphoto" => _('Photo'),
"loginshell" => _("Login shell"),
"mail" => _("Email"),
"gecos" => _("Description"),
"jpegphoto" => _('Photo'),
'manager' => _('Manager'),
'o' => _('Organisation'),
'ou' => _(' Organisational unit'),
'proxyAddresses' => _(' Proxy-Addresses'),
'sambakickofftime' => _('Account expiration date'),
'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'),
);
}
/**