[LON-CAPA-cvs] cvs: loncom /interface lontrackstudent.pm /localize/localize de.pm zh.pm
bisitz
bisitz@source.lon-capa.org
Thu, 26 Mar 2009 16:31:01 -0000
bisitz Thu Mar 26 16:31:01 2009 EDT
Modified files:
/loncom/interface lontrackstudent.pm
/loncom/localize/localize de.pm zh.pm
Log:
Little optimizations:
- Optimized &mt usage and related translation changes
- Use standard style for info message
- Added horizontal line before "Resubmit" link
as a quick solution for a better separation of content and menu functions
Index: loncom/interface/lontrackstudent.pm
diff -u loncom/interface/lontrackstudent.pm:1.26 loncom/interface/lontrackstudent.pm:1.27
--- loncom/interface/lontrackstudent.pm:1.26 Fri Jan 2 23:07:55 2009
+++ loncom/interface/lontrackstudent.pm Thu Mar 26 16:30:58 2009
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lontrackstudent.pm,v 1.26 2009/01/02 23:07:55 raeburn Exp $
+# $Id: lontrackstudent.pm,v 1.27 2009/03/26 16:30:58 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -123,6 +123,7 @@
));
$r->print('<br />');
}
+ $r->print('<hr />');
$text = 'Resubmit last request to check for newer data';
$r->print(&Apache::loncommon::track_student_link($text,$sname,$sdom,undef,
$env{'form.start'}));
@@ -601,10 +602,11 @@
$r->print('<h2>'.
&mt('Recent activity of [_1]:[_2]',$sname,$sdom).
'</h2>');
- $r->print('<p>'.&mt(<<END).'</p>');
-Compiling student activity data can take a long time.
-Your request continues to be processed while results are displayed.
-END
+ $r->print('<p class="LC_info">'
+ .&mt('Compiling student activity data can take a long time.'
+ .' Your request continues to be processed while results are displayed.')
+ .'</p>'
+ );
&get_data($r,\%prog_state,$navmap,
'student:'.$env{'form.selected_student'});
} else {
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.262 loncom/localize/localize/de.pm:1.263
--- loncom/localize/localize/de.pm:1.262 Thu Mar 26 12:03:49 2009
+++ loncom/localize/localize/de.pm Thu Mar 26 16:31:01 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.262 2009/03/26 12:03:49 bisitz Exp $
+# $Id: de.pm,v 1.263 2009/03/26 16:31:01 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -8126,18 +8126,14 @@
'View recent activity'
=> 'Zuletzt stattgefundene Aktivitäten',
- 'View recent activity of this student'
+ 'View recent activity by this student'
=> 'Zuletzt stattgefundene Aktivitäten dieses Studierenden',
'Recent activity of [_1]:[_2]'
=> 'Zuletzt stattgefundene Aktivtäten von [_1]:[_2]',
- 'Compiling student activity data can take a long time.
-Your request continues to be processed while results are displayed.
-' # 2xCR!
-=> 'Das Zusammenstellen der Aktivitätsdaten kann eine Weile dauern.
-Ihre Anfrage wird weiter verarbeitet, während die schon vorhandenen Ergebnisse bereits angezeigt werden.
-',
+ 'Compiling student activity data can take a long time. Your request continues to be processed while results are displayed.'
+=> 'Das Zusammenstellen der Aktivitätsdaten kann eine Weile dauern. Ihre Anfrage wird weiter verarbeitet, während die schon vorhandenen Ergebnisse bereits angezeigt werden.',
'Composing Query'
=> 'Stelle Anfrage zusammen',
Index: loncom/localize/localize/zh.pm
diff -u loncom/localize/localize/zh.pm:1.32 loncom/localize/localize/zh.pm:1.33
--- loncom/localize/localize/zh.pm:1.32 Thu Mar 26 12:03:49 2009
+++ loncom/localize/localize/zh.pm Thu Mar 26 16:31:01 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Chinese Simplified Localization Lexicon
#
-# $Id: zh.pm,v 1.32 2009/03/26 12:03:49 bisitz Exp $
+# $Id: zh.pm,v 1.33 2009/03/26 16:31:01 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -8229,7 +8229,7 @@
"Select a user name to view the user's personal page."
=> "选择一个用户名,以查看此用户的个人网页。",
- 'View recent activity of this student'
+ 'View recent activity by this student'
=> '最后处于活动状态的人',
'View recent activity'
@@ -8239,12 +8239,8 @@
=> '最后处于活动状态的 [_1]:[_2]',
- 'Compiling student activity data can take a long time.
-Your request continues to be processed while results are displayed.
-' # 2xCR!
-=> 'Das Zusammenstellen der Aktivitätsdaten kann eine Weile dauern.
-Ihre Anfrage wird weiter verarbeitet, während die schon vorhandenen Ergebnisse bereits angezeigt werden.
-',
+ 'Compiling student activity data can take a long time. Your request continues to be processed while results are displayed.'
+=> 'Das Zusammenstellen der Aktivitätsdaten kann eine Weile dauern. Ihre Anfrage wird weiter verarbeitet, während die schon vorhandenen Ergebnisse bereits angezeigt werden.',
'Composing Query'
=> 'Stelle Anfrage zusammen',