--- loncom/interface/loncommon.pm 2009/07/27 20:35:40 1.870 +++ loncom/interface/loncommon.pm 2009/07/27 22:35:12 1.871 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.870 2009/07/27 20:35:40 tempelho Exp $ +# $Id: loncommon.pm,v 1.871 2009/07/27 22:35:12 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -620,12 +620,16 @@ function setSect(sectionlist) { sub selectcourse_link { my ($form,$unameele,$udomele,$desc,$extra_element,$multflag,$selecttype)=@_; + my $linktext = &mt('Select Course'); + if ($selecttype eq 'Community') { + $linktext = &mt('Select Community'); + } return '' ."".&mt('Select Course').'' + ."'>".$linktext.'' .''; }