[LON-CAPA-cvs] cvs: loncom /publisher lonpubdir.pm

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Tue, 29 Jul 2008 10:06:29 -0000


bisitz		Tue Jul 29 06:06:29 2008 EDT

  Modified files:              
    /loncom/publisher	lonpubdir.pm 
  Log:
  Localization:
  Added two missing &mt() calls
  
  
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.108 loncom/publisher/lonpubdir.pm:1.109
--- loncom/publisher/lonpubdir.pm:1.108	Wed Jan 16 23:50:57 2008
+++ loncom/publisher/lonpubdir.pm	Tue Jul 29 06:06:27 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construction Space Directory Lister
 #
-# $Id: lonpubdir.pm,v 1.108 2008/01/17 04:50:57 raeburn Exp $
+# $Id: lonpubdir.pm,v 1.109 2008/07/29 10:06:27 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -218,6 +218,7 @@
 
     my $esc_thisdisfn = &Apache::loncommon::escape_single($thisdisfn);
     my $doctitle = 'LON-CAPA '.&mt('Construction Space');
+    my $newname = &mt('New Name');
     my $pubdirscript=(<<ENDPUBDIRSCRIPT);
 <script type="text/javascript">
 top.document.title = '$esc_thisdisfn/ - $doctitle';
@@ -314,7 +315,7 @@
     }
     function changename(theform,activity) {
         var oldname=theform.dispfilename.value;
-        var newname=prompt('New Name',oldname);
+        var newname=prompt('$newname',oldname);
         if (newname == "" || !newname || newname == oldname)  {
             return
         }
@@ -540,7 +541,7 @@
 								 ));
         my $actionitem = '';
         if ($dirname eq '..') {
-            $actionitem = 'Go to ...';
+            $actionitem = &mt('Go to ...');
         } else {
             $actionitem = 
                     '<form name="dirselect_'.$$numdir.