From 3b9da7b42eadd13b5d547ba95217f8e09c636541 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 25 Oct 2019 18:36:47 +0200 Subject: [PATCH] generate_lang_file.php : handle LSprofiles's label --- public_html/lang/fr_FR.UTF8/lang.php | 8 ++++++++ public_html/lang/generate_lang_file.php | 1 + 2 files changed, 9 insertions(+) diff --git a/public_html/lang/fr_FR.UTF8/lang.php b/public_html/lang/fr_FR.UTF8/lang.php index 5793ad3e..aa8e5412 100644 --- a/public_html/lang/fr_FR.UTF8/lang.php +++ b/public_html/lang/fr_FR.UTF8/lang.php @@ -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 ...", diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index 31fe0a06..11585fce 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -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) {