--- loncom/interface/loncommon.pm 2013/01/09 03:56:27 1.1110 +++ loncom/interface/loncommon.pm 2013/01/18 12:58:42 1.1112 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1110 2013/01/09 03:56:27 raeburn Exp $ +# $Id: loncommon.pm,v 1.1112 2013/01/18 12:58:42 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -993,7 +993,7 @@ sub select_language { my ($name,$selected,$includeempty) = @_; my %langchoices; if ($includeempty) { - %langchoices = ('' => 'No language preference'); + %langchoices = ('' => &mt('No language preference')); } foreach my $id (&languageids()) { my $code = &supportedlanguagecode($id); @@ -11626,7 +11626,7 @@ sub cleanup_empty_dirs { my $numitems = 0; foreach my $item (@dircontents) { if (-d "$path/$item") { - &recurse_dirs("$path/$item"); + &cleanup_empty_dirs("$path/$item"); if (-e "$path/$item") { $numitems ++; }