[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm /localize/localize de.pm
christianto
christianto at source.lon-capa.org
Thu Jul 21 05:18:44 EDT 2011
christianto Thu Jul 21 09:18:44 2011 EDT
Modified files:
/loncom/homework structuretags.pm
/loncom/localize/localize de.pm
Log:
localization for the word 'pt' (as in point) in PDF exam problem printing
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.490 loncom/homework/structuretags.pm:1.491
--- loncom/homework/structuretags.pm:1.490 Mon Jul 4 13:01:57 2011
+++ loncom/homework/structuretags.pm Thu Jul 21 09:18:40 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.490 2011/07/04 13:01:57 raeburn Exp $
+# $Id: structuretags.pm,v 1.491 2011/07/21 09:18:40 christianto Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1290,7 +1290,7 @@
} else {
$frontmatter.= $begin_doc.$toc_line;
if ($Apache::lonhomework::type eq 'exam' and $allow_print_points==1) {
- $frontmatter .= '\fbox{\textit{'.$weight.' pt}}';
+ $frontmatter .= '\fbox{\textit{'.$weight.&mt(' pt').'}}';
}
}
} else {
@@ -1300,7 +1300,7 @@
if (not $env{'request.symb'} =~ m/\.page_/) {
$frontmatter .= $begin_doc.$toc_line;
if (($Apache::lonhomework::type eq 'exam') and ($allow_print_points==1)) {
- $frontmatter .= '\fbox{\textit{'.$weight.' pt}}';
+ $frontmatter .= '\fbox{\textit{'.$weight.&mt(' pt').'}}';
}
} else {
$frontmatter .= '\vskip 1mm \\\\\\\\'.$startminipage;
@@ -1991,7 +1991,8 @@
$allow_print_points=0;
}
if (($Apache::lonhomework::type eq 'exam') && ($allow_print_points)) {
- $result .= '\vskip 10mm\fbox{\textit{'.$weight.' pt}}';
+ $result .= '\vskip
+10mm\fbox{\textit{'.$weight.&mt(' pt').'}}';
}
} elsif ($target eq 'web') {
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.422 loncom/localize/localize/de.pm:1.423
--- loncom/localize/localize/de.pm:1.422 Mon Jul 18 11:56:28 2011
+++ loncom/localize/localize/de.pm Thu Jul 21 09:18:44 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.422 2011/07/18 11:56:28 christianto Exp $
+# $Id: de.pm,v 1.423 2011/07/21 09:18:44 christianto Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -21677,6 +21677,9 @@
'Question Type was [_1]not[_2] set to [_3].'
=> 'Aufgabentyp wurde [_1]nicht[_2] in [_3] geändert.',
+ ' pt'
+=> ' pkt.',
+
''
=> '',
More information about the LON-CAPA-cvs
mailing list