Ignore:
Timestamp:
12/28/15 21:30:11 (8 years ago)
Author:
nanardon
Message:

Translate attribute with their definition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web.pm

    r1548 r1550  
    4949        user_employment => 0, 
    5050    } 
    51 ); 
    52  
    53 __PACKAGE__->config( 
    54     objects => { 
    55         user => { 
    56             quick_search => [ qw(cn sn givenName description comment uidNumber) ], 
    57             list => [ qw(sn givenName mail) ], 
    58         }, 
    59         group => { 
    60             quick_search => [ qw(cn description comment gidNumber) ], 
    61             list => [ qw(description) ], 
    62         }, 
    63         nethost => { 
    64             quick_search => [ qw(cn description ip cname otherName macaddr serialNumber) ], 
    65             list => [ qw(description owner) ], 
    66         }, 
    67         netzone => { 
    68             quick_search => [ qw(cn description ip) ], 
    69             list => [ qw(type description) ], 
    70         }, 
    71         site => { 
    72             quick_search => [ qw(cn l) ], 
    73             list => [ qw(l) ], 
    74         }, 
    75         aliases => { 
    76             quick_search => [ qw(name) ], 
    77             list => [ qw() ], 
    78         }, 
    79  
    80     }, 
    81     'attrs' => { 
    82         'physicalDeliveryOfficeName' => { 
    83             'label' => 'Bureau' 
    84         }, 
    85         'sutype' => { 
    86             'label' => 'Structure admin.' 
    87         }, 
    88         'department' => { 
    89             'label' => "Departement" 
    90         }, 
    91         'macaddr' => { 
    92             'label' => 'Adresse Ethernet' 
    93         }, 
    94         'date' => { 
    95             'label' => "Modifié le" 
    96         }, 
    97         'cn' => { 
    98             'label' => 'Nom' 
    99         }, 
    100         'grade' => { 
    101             'label' => 'Grade' 
    102         }, 
    103         'net' => { 
    104             'label' => "Réseau" 
    105         }, 
    106         'cname' => { 
    107             'label' => 'Alias (CName)' 
    108         }, 
    109         'netExclude' => { 
    110             'label' => "Réseau exclus" 
    111         }, 
    112         'contratType' => { 
    113             'label' => 'Type de contrat' 
    114         }, 
    115         'co' => { 
    116             'label' => 'Pays' 
    117         }, 
    118         'template' => { 
    119             'label' => "ModÚle" 
    120         }, 
    121         'uid' => { 
    122             'label' => 'Login' 
    123         }, 
    124         'otherTelephone' => { 
    125             'label' => "Téléphone (autre)" 
    126         }, 
    127         'name' => { 
    128             'label' => 'Nom' 
    129         }, 
    130         'telephoneNumber' => { 
    131             'label' => "Téléphone" 
    132         }, 
    133         'noDynamic' => { 
    134             'label' => 'Pas d\'adressage dyn.' 
    135         }, 
    136         'st' => { 
    137             'label' => "Etat (US)" 
    138         }, 
    139         'output' => { 
    140             'label' => 'Sortie' 
    141         }, 
    142         'description' => { 
    143             'label' => 'Description' 
    144         }, 
    145         'facsimileTelephoneNumber' => { 
    146             'label' => 'Fax' 
    147         }, 
    148         'isMainAddress' => { 
    149             'label' => 'Adresse principale' 
    150         }, 
    151         'streetAddress' => { 
    152             'label' => 'Rue' 
    153         }, 
    154         'gidNumber' => { 
    155             'label' => 'GID' 
    156         }, 
    157         'sn' => { 
    158             'label' => 'Nom' 
    159         }, 
    160         'type' => { 
    161             'label' => 'Type' 
    162         }, 
    163         'unexported' => { 
    164             'label' => "Caché" 
    165         }, 
    166         'title' => { 
    167             'label' => 'Fonction' 
    168         }, 
    169         'givenName' => { 
    170             'label' => "Prénom" 
    171         }, 
    172         'loginShell' => { 
    173             'label' => 'Shell' 
    174         }, 
    175         'uidNumber' => { 
    176             'label' => 'UID' 
    177         }, 
    178         'gecos' => { 
    179             'label' => 'Gecos Unix' 
    180         }, 
    181         'mail' => { 
    182             'label' => 'Mail' 
    183         }, 
    184         'company' => { 
    185             'label' => "Société" 
    186         }, 
    187         'owner' => { 
    188             'label' => "Propriétaire" 
    189         }, 
    190         'create' => { 
    191             'label' => "Créé le" 
    192         }, 
    193         'initials' => { 
    194             'label' => 'Initiales' 
    195         }, 
    196         'locked' => { 
    197             'label' => "Verrouillé" 
    198         }, 
    199         'nickname' => { 
    200             'label' => 'Nick' 
    201         }, 
    202         'managedBy' => { 
    203             'label' => 'Responsable' 
    204         }, 
    205         'homeDirectory' => { 
    206             'label' => 'Home' 
    207         }, 
    208         'college' => { 
    209             'label' => 'College' 
    210         }, 
    211         'manager' => { 
    212             'label' => 'Responsable' 
    213         }, 
    214         'l' => { 
    215             'label' => 'Ville' 
    216         }, 
    217         'managerContact' => { 
    218             'label' => 'Resp. direct' 
    219         }, 
    220         'site' => { 
    221             'label' => 'Site' 
    222         }, 
    223         'postOfficeBox' => { 
    224             'label' => 'BP' 
    225         }, 
    226         'exported' => { 
    227             'label' => "Propagé" 
    228         }, 
    229         'expire' => { 
    230             'label' => 'Expire le' 
    231         }, 
    232         'endcircuit' => { 
    233             'label' => 'Fin de Circuit d\'entrée' 
    234         }, 
    235         'postalCode' => { 
    236             'label' => 'Code postal' 
    237         }, 
    238         user => { 
    239             'label' => 'Utilisateur', 
    240         }, 
    241         snNative => { 
    242             'label' => 'Nom d\'origine', 
    243         }, 
    244         givenNameNative => { 
    245             'label' => 'Prénom d\'origine', 
    246         }, 
    247         wWWHomePage  => { 
    248             label => 'Page Web', 
    249         }, 
    250         halReference  => { 
    251             label => 'Identifiant Hal', 
    252         }, 
    253         siteNick => { 
    254             label => 'Nom court', 
    255         }, 
    256         otherName => { 
    257             label => 'Autre nom (A)', 
    258         }, 
    259         outputD => { 
    260             label => 'Fichier de sortie', 
    261         }, 
    262         templateD => { 
    263             label => 'ModÚle', 
    264         }, 
    265         allow_dyn => { 
    266             label => 'Avec DHCP dyn.', 
    267         }, 
    268         dynFrom => { 
    269             label => 'HÃŽtes dyn. depuis', 
    270         }, 
    271         domain => { 
    272             label => 'Domaine', 
    273         }, 
    274         ipCount => { 
    275             label => 'Nb d\'IP', 
    276         }, 
    277         freeIPCount => { 
    278             label => 'Nb d\'IP libres', 
    279         }, 
    280         dnsRevision => { 
    281             label => 'Révision DNS', 
    282         }, 
    283         lastUpdate => { 
    284             label => 'DerniÚre MAJ', 
    285         }, 
    286         reverse => { 
    287             label => 'Nom inverse', 
    288         }, 
    289         finalpoint => { 
    290             label => 'Destinataires', 
    291         }, 
    292         parents => { 
    293             label => 'Alias parents', 
    294         }, 
    295         forward => { 
    296             label => 'Renvois', 
    297         }, 
    298         managedAlsoBy => { 
    299             label => 'Resp. Adj.', 
    300         }, 
    301         autoMemberFilter => { 
    302             label => 'Filtre d\'appartenance', 
    303         }, 
    304         comment => { 
    305             label => 'Commentaire', 
    306         }, 
    307         related => { 
    308             label => 'Voir aussi:', 
    309         }, 
    310         SerialNumber => { 
    311             label => 'Numéro de série', 
    312         }, 
    313         firstday => { 
    314             label => 'Début', 
    315         }, 
    316         lastday => { 
    317             label => 'Fin', 
    318         }, 
    319         endEmployment => { 
    320             label => 'Fin d\'activité', 
    321         }, 
    322         endLastEmployment => { 
    323             label => 'Fin dernier statut', 
    324         }, 
    325         endStrictEmployment => { 
    326             label => 'Fin statuts contigus', 
    327         }, 
    328     }, 
    32951); 
    33052 
Note: See TracChangeset for help on using the changeset viewer.