generate_lang_file.php : handle LSprofiles's label

This commit is contained in:
Benjamin Renard 2019-10-25 18:36:47 +02:00
parent e37c06f102
commit 3b9da7b42e
2 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,10 @@ $GLOBALS['LSlang'] = array (
"Accountable(s)" =>
"Responsable(s)",
# ldap_servers.0.LSprofiles.admin.label
"Administrator" =>
"Administrateur",
# LSobjects.LSpeople.attrs.loginShell.help_info
"Allow user to connect a POSIX system." =>
"Autorisie l'utilisateur à se connecter aux systèmes POSIX.",
@ -79,6 +83,10 @@ $GLOBALS['LSlang'] = array (
"Given email address is invalid." =>
"L'adresse mail saisie est invalide.",
# ldap_servers.0.LSprofiles.godfather.label
"Godfather" =>
"Parrain",
# LSobjects.LSpeople.LSrelation.godfather.label
"Godfather of ..." =>
"Parrain de ...",

View file

@ -247,6 +247,7 @@ if (!in_array('config', $withouts) && (!$only || $only == 'config')) {
addFromLSconfig("ldap_servers.$ldap_server_id.recoverPassword.newPasswordMail.subject");
addFromLSconfig("ldap_servers.$ldap_server_id.recoverPassword.newPasswordMail.msg");
addFromLSconfig("ldap_servers.$ldap_server_id.subDn.*", 'key', array("LSobject"));
addFromLSconfig("ldap_servers.$ldap_server_id.LSprofiles.*.label");
// LSaccess
foreach (LSconfig :: get("ldap_servers.$ldap_server_id.LSaccess", array()) as $LSobject) {