summaryrefslogtreecommitdiff
path: root/users-conf.in
diff options
context:
space:
mode:
authortambeti <tambeti>2001-09-24 19:03:44 +0000
committertambeti <tambeti>2001-09-24 19:03:44 +0000
commit52a89929b9b4de48f61fba6046ec97dab5b39e41 (patch)
tree723eaa2408e02bf6324c1462178c020481b909a3 /users-conf.in
parent50443e9cd5c281d3f1167d2a25fe420efbd335e0 (diff)
2001-09-24 Tambet Ingo <tambet@ximian.com>
* users-conf.in: Added missing report keywords. Moved one here from report.pl.in.
Diffstat (limited to 'users-conf.in')
-rw-r--r--users-conf.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/users-conf.in b/users-conf.in
index 8bf8c1b..4e994e0 100644
--- a/users-conf.in
+++ b/users-conf.in
@@ -166,6 +166,14 @@ for ($i = 0; $login_defs_prop_array[$i] ne ""; $i += 2)
$login_defs_prop_map {$login_defs_prop_array[$i + 1]} = $login_defs_prop_array[$i];
}
+# Add reporting table.
+
+&xst_report_table ({
+ 'users_getting_db' => ['info', _('Getting user database.')],
+ 'Users_read_skel_success' => ['info', _('Successfully read skeleton dir [%s]')],
+ 'users_read_skel_fail' => ['warn', _("Couldn\'t read skeleton dir [%s]")],
+});
+
# --- Utility stuff --- #
@@ -237,7 +245,7 @@ sub read_skel_dir
if ($fname eq "")
{
- &xst_report ("read_skel_dir_failed", "@skel_dir");
+ &xst_report ("users_read_skel_fail", @skel_dir);
return undef;
}
@@ -248,7 +256,7 @@ sub read_skel_dir
}
closedir DIR;
- &xst_report ("read_skel_dir_success", $fname);
+ &xst_report ("users_read_skel_success", $fname);
&xst_report_leave ();
$$hash{"files"} = \@files;