[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm /localize/localize newphrases.txt

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 04 Feb 2004 15:29:06 -0000


matthew		Wed Feb  4 10:29:06 2004 EDT

  Modified files:              
    /loncom/localize/localize	newphrases.txt 
    /loncom/interface	loncommon.pm 
  Log:
  Now translate the titles of help/bug/faq links.
  
  
Index: loncom/localize/localize/newphrases.txt
diff -u loncom/localize/localize/newphrases.txt:1.31 loncom/localize/localize/newphrases.txt:1.32
--- loncom/localize/localize/newphrases.txt:1.31	Thu Jan 29 13:51:28 2004
+++ loncom/localize/localize/newphrases.txt	Wed Feb  4 10:29:06 2004
@@ -34,3 +34,6 @@
 Response
 Found no analyzable respones in this problem, currently only Numerical, Formula and String response styles are supported.
 
+Online Help
+Report a Bug
+View the FAQ
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.178 loncom/interface/loncommon.pm:1.179
--- loncom/interface/loncommon.pm:1.178	Mon Feb  2 14:32:11 2004
+++ loncom/interface/loncommon.pm	Wed Feb  4 10:29:06 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.178 2004/02/02 19:32:11 matthew Exp $
+# $Id: loncommon.pm,v 1.179 2004/02/04 15:29:06 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -592,8 +592,9 @@
     }
 
     # Add the graphic
+    my $title = &mt('Online Help');
     $template .= <<"ENDTEMPLATE";
- <a href="$link" title="Online Help"><image src="/adm/help/gif/smallHelp.gif" border="0" alt="(Help: $topic)" /></a>
+ <a href="$link" title="$title"><image src="/adm/help/gif/smallHelp.gif" border="0" alt="(Help: $topic)" /></a>
 ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };
     return $template;
@@ -655,8 +656,9 @@
     }
 
     # Add the graphic
+    my $title = &mt('Report a Bug');
     $template .= <<"ENDTEMPLATE";
- <a href="$link" title="Report a Bug"><image src="/adm/lonMisc/smallBug.gif" border="0" alt="(Bug: $topic)" /></a>
+ <a href="$link" title="$title"><image src="/adm/lonMisc/smallBug.gif" border="0" alt="(Bug: $topic)" /></a>
 ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };
     return $template;
@@ -698,8 +700,9 @@
     }
 
     # Add the graphic
+    my $title = &mt('View the FAQ');
     $template .= <<"ENDTEMPLATE";
- <a href="$link" title="View the FAQ"><image src="/adm/lonMisc/smallFAQ.gif" border="0" alt="(FAQ: $topic)" /></a>
+ <a href="$link" title="$title"><image src="/adm/lonMisc/smallFAQ.gif" border="0" alt="(FAQ: $topic)" /></a>
 ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };
     return $template;