[LON-CAPA-cvs] cvs: loncom /interface lonindexer.pm lonmeta.pm /localize/localize de.pm newphrases.txt
www
lon-capa-cvs@mail.lon-capa.org
Sat, 27 Sep 2003 13:20:46 -0000
This is a MIME encoded message
--www1064668846
Content-Type: text/plain
www Sat Sep 27 09:20:46 2003 EDT
Modified files:
/loncom/interface lonindexer.pm lonmeta.pm
/loncom/localize/localize de.pm newphrases.txt
Log:
Internationalization, some German translations.
--www1064668846
Content-Type: text/plain
Content-Disposition: attachment; filename="www-20030927092046.txt"
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.77 loncom/interface/lonindexer.pm:1.78
--- loncom/interface/lonindexer.pm:1.77 Thu Sep 25 20:23:09 2003
+++ loncom/interface/lonindexer.pm Sat Sep 27 09:20:46 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.77 2003/09/26 00:23:09 www Exp $
+# $Id: lonindexer.pm,v 1.78 2003/09/27 13:20:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -411,7 +411,7 @@
'st' => 'Statistics',
'au' => 'Author',
'kw' => 'Keywords',
- 'la' => 'Language',
+ 'ln' => 'Language',
'sr' => 'Show resource',
'av' => 'All versions',
'ud' => 'Update Display'
@@ -429,7 +429,7 @@
</tr><tr>
<td><input type="checkbox" name="attr4" value="1" $attrchk[4] /> $lt{'au'}</td>
<td><input type="checkbox" name="attr5" value="1" $attrchk[5] /> $lt{'kw'}</td>
-<td><input type="checkbox" name="attr6" value="1" $attrchk[6] /> $lt{'la'}</td>
+<td><input type="checkbox" name="attr6" value="1" $attrchk[6] /> $lt{'ln'}</td>
<td><input type="checkbox" name="attr7" value="1" $attrchk[7] /> $lt{'sr'}</td>
<td><input type="checkbox" name="attr9" value="1" $attrchk[9] /> $lt{'av'}</td>
<td> </td>
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.36 loncom/interface/lonmeta.pm:1.37
--- loncom/interface/lonmeta.pm:1.36 Thu Sep 25 18:30:06 2003
+++ loncom/interface/lonmeta.pm Sat Sep 27 09:20:46 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.36 2003/09/25 22:30:06 www Exp $
+# $Id: lonmeta.pm,v 1.37 2003/09/27 13:20:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -401,7 +401,8 @@
'<h4>'.&mt('Evaluation Comments').' ('.&mt('visible to author and co-authors only').')</h4>'.
'<blockquote>'.$dynmeta{'comments'}.'</blockquote>');
$r->print(
- '<h4>Error Messages (visible to author and co-authors only)</h4>');
+ '<h4>'.&mt('Error Messages').' ('.
+ &mt('visible to author and co-authors only').')</h4>');
my %errormsgs=&Apache::lonnet::dump('nohist_res_msgs',$1,$2);
foreach (keys %errormsgs) {
if ($_=~/^\Q$disuri\E\_\d+$/) {
@@ -454,7 +455,8 @@
if ($disuri=~/\/default$/) {
my $dir=$disuri;
$dir=~s/default$//;
- $displayfile='Default Cataloging Information for Directory '.$dir;
+ $displayfile=&mt('Default Cataloging Information for Directory').' '.
+ $dir;
}
%Apache::lonpublisher::metadatafields=();
%Apache::lonpublisher::metadatakeys=();
@@ -466,7 +468,8 @@
<form method="post">
ENDEDIT
foreach ('author','title','subject','keywords','abstract','notes',
- 'copyright','customdistributionfile','language') {
+ 'copyright','customdistributionfile','language',
+ 'obsolete','obsoletereplacement') {
if ($ENV{'form.new_'.$_}) {
$Apache::lonpublisher::metadatafields{$_}=$ENV{'form.new_'.$_};
}
@@ -489,7 +492,8 @@
my $mfh;
unless ($mfh=Apache::File->new('>'.$fn)) {
$r->print(
- '<p><font color=red>Could not write metadata, FAIL</font>');
+ '<p><font color=red>'.&mt('Could not write metadata').', '.
+ &mt('FAIL').'</font>');
} else {
foreach (sort keys %Apache::lonpublisher::metadatafields) {
unless ($_=~/\./) {
@@ -510,11 +514,12 @@
.'</'.$tag.'>';
}
}
- $r->print('<p>Wrote Metadata');
+ $r->print('<p>'.&mt('Wrote Metadata'));
}
}
$r->print(
- '<br /><input type="submit" name="store" value="Store Catalog Information"></form></body></html>');
+ '<br /><input type="submit" name="store" value="'.
+&mt('Store Catalog Information').'"></form></body></html>');
return OK;
}
}
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.28 loncom/localize/localize/de.pm:1.29
--- loncom/localize/localize/de.pm:1.28 Fri Sep 26 17:24:20 2003
+++ loncom/localize/localize/de.pm Sat Sep 27 09:20:46 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.28 2003/09/26 21:24:20 www Exp $
+# $Id: de.pm,v 1.29 2003/09/27 13:20:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -53,13 +53,13 @@
=> 'Hilfe',
'Log in'
-=> 'Einloggen',
+=> 'Anmelden',
'Username'
=> 'Benutzername',
'Password'
-=> 'Passwort',
+=> 'Kennwort',
'choose'
=> 'waehle',
@@ -134,7 +134,7 @@
=> 'reinitialisiert',
', or the next time you log in.'
-=> 'haben, oder wenn Sie das nächste Mal einloggen.',
+=> 'haben, oder wenn Sie das nächste Mal anmelden.',
'Uploaded Document'
=> 'Hochgeladenes Dokument',
@@ -266,7 +266,7 @@
=> 'Exam Proktor',
'Exit LON-CAPA'
-=> 'Ausloggen von LON-CAPA',
+=> 'Abmelden aus LON-CAPA',
'Grades Spreadsheet'
=> 'Benotungs Spreadsheet',
@@ -885,23 +885,21 @@
'untitled'
=> 'kein Titel',
-
-#SYNC Fri Sep 26 16:57:10 2003
', is reserved internally by LON-CAPA.'
-=> ', is reserved internally by LON-CAPA.',
+=> ', ist intern reserviert für LON-CAPA.',
'Became this version on ...'
-=> 'Became this version on ...',
+=> 'Wurde diese Version am ...',
'Browse published resources'
=> 'Browse published resources',
'Choose the course to work on'
-=> 'Choose the course to work on',
-# waehle the kurs to work on
+=> 'Wählen Sie den Kurs, in dem Sie arbeiten wollen',
+
'Create a new course'
-=> 'Create a new course',
-# erstelle a new kurs
+=> 'Erzeuge einen neuen Kurs',
+
'Customized right of use ... '
=> 'Customized right of use ... ',
@@ -951,7 +949,7 @@
=> 'No previous versions published.',
'No write permission to'
-=> 'No write permission to',
+=> 'Keine Schreibberechtigung für',
'Please pick a version to retrieve'
=> 'Please pick a version to retrieve',
@@ -987,8 +985,8 @@
=> 'Show Problem Completeness',
'Switch to another course'
-=> 'Switch to another course',
-# Switch to another kurs
+=> 'Wechseln Sie über zu einem anderen Kurs',
+
'System wide - can be used for any courses system wide'
=> 'System wide - can be used for any courses system wide',
# Systemweit - can be used for any kurss Systemweit
@@ -997,19 +995,13 @@
# Systemweit - open source to all Autors
'The extension on this file'
=> 'The extension on this file',
-# The extension on this Datumi
+
'Unsupported character combination'
-=> 'Unsupported character combination',
+=> 'Ungültige Buchstabenkombination',
'View documents included in this course'
-=> 'View documents included in this course',
-# sehe documents included in this kurs
-
+=> 'Betrachte in diesem Kurs enthaltene Dokumente',
-#SYNC Fri Sep 26 17:00:04 2003
-
-
-#SYNC Fri Sep 26 17:20:56 2003
'Additional Keywords'
=> 'Additional Keywords',
@@ -1018,10 +1010,10 @@
'Author and Co-Author roles may not be available on servers other than your home server.'
=> 'Author and Co-Author roles may not be available on servers other than your home server.',
-# Autor and Co-Autor rolles Mai not be available on Servers other than your home Server.
+
'Author(s)'
-=> 'Author(s)',
-# Autor(s)
+=> 'Autor(en)',
+
'Average number of tries till solved'
=> 'Average number of tries till solved',
# Average number of Versuche till solved
@@ -1029,25 +1021,25 @@
=> 'Browse Resources',
'Catalog Information'
-=> 'Catalog Information',
-# CataEinloggenformation
+=> 'Katalogisierungsinformation',
+
'Collapse Remote Control'
=> 'Collapse Remote Control',
'Construction Space'
-=> 'Construction Space',
+=> 'Konstructionsbereich',
'Copied metadata'
-=> 'Copied metadata',
+=> 'Metadaten kopiert',
'Copied source file'
-=> 'Copied source file',
-# Copied source Datumi
+=> 'Quelldatei kopiert',
+
'Copyright/Distribution'
=> 'Copyright/Distribution',
'Course Documents'
-=> 'Course Documents',
+=> 'Kursdokumente',
# kurs Documents
'Creation Date'
=> 'Creation Date',
@@ -1056,7 +1048,7 @@
=> 'Custom Distribution File',
# Custom Distribution Datumi
'Degree of difficulty'
-=> 'Degree of difficulty',
+=> 'Schwierigkeitsgrad',
'Dump Course DOCS to Construction Space'
=> 'Dump Course DOCS to Construction Space',
@@ -1071,7 +1063,7 @@
=> 'External Resource',
'Generate new role ...'
-=> 'Generate new role ...',
+=> 'Erzeuge die neue Rolle ...',
# Generate new rolle ...
'Go to the next resource in the course sequence'
=> 'Go to the next resource in the course sequence',
@@ -1086,10 +1078,10 @@
=> 'Keyword(s)',
'Load Map'
-=> 'Load Map',
-# Last Seite/Sequenz
+=> 'Lade Seite/Sequenz',
+
'Logged Out'
-=> 'Logged Out',
+=> 'Abgemeldet',
'MIME Type'
=> 'MIME Type',
@@ -1098,10 +1090,10 @@
=> 'Make notes and annotations about this resource',
# Make Notizen and annotations about this resource
'Material appears to be correct'
-=> 'Material appears to be correct',
+=> 'Das Material scheint korrekt zu sein',
'Material covered with sufficient depth'
-=> 'Material covered with sufficient depth',
+=> 'Das Material ist in ausreichender Tiefe behandelt',
'Material is helpful'
=> 'Material is helpful',
@@ -1110,7 +1102,7 @@
=> 'Material presented in clear way',
'Metadata Information'
-=> 'Metadata Information',
+=> 'Metadateninformation',
'My Personal Info'
=> 'My Personal Info',
@@ -1134,13 +1126,13 @@
=> 'Obsolete',
'Parent Directory'
-=> 'Parent Directory',
+=> 'Parent Verzeichnis',
'Please either'
-=> 'Please either',
+=> 'Bitte entweder',
'Project Information'
-=> 'Project Information',
+=> 'Projektinformation',
'Publisher/Owner'
=> 'Publisher/Owner',
@@ -1152,28 +1144,28 @@
=> 'Resource Publication',
'Resource is technically correct'
-=> 'Resource is technically correct',
+=> 'Das Dokument ist technisch in Ordnung',
'Score Upload Form'
=> 'Score Upload Form',
# Score UpLast Form
'Select Map'
-=> 'Select Map',
-# Auswählen Seite/Sequenz
+=> 'Wähle Seite/Sequenz',
+
'Set a bookmark for this resource'
-=> 'Set a bookmark for this resource',
+=> 'Setze ein Lesezeichen auf dieses Dokument',
'Show all roles'
-=> 'Show all roles',
-# Show all rolles
+=> 'Zeige alle Rollen',
+
'Special documents'
-=> 'Special documents',
-# Spezielle Dokumente
+=> 'Spezielle Dokumente',
+
'Subject'
-=> 'Subject',
+=> 'Thema',
'Successful Login'
-=> 'Successful Login',
+=> 'Erfolgreich angemeldet',
'Suggested Replacement for Obsolete File'
=> 'Suggested Replacement for Obsolete File',
@@ -1182,7 +1174,7 @@
=> 'Switching Role',
# Switching rolle
'Target'
-=> 'Target',
+=> 'Ziel',
'This syllabus can be publicly viewed at'
=> 'This syllabus can be publicly viewed at',
@@ -1203,13 +1195,13 @@
=> 'User',
'Wrote Metadata'
-=> 'Wrote Metadata',
+=> 'Metadaten geschrieben',
'Your home server is '
=> 'Your home server is ',
'anno-'
-=> 'anno-',
+=> 'bemerk-',
'announce'
=> 'announce',
@@ -1233,13 +1225,13 @@
=> 'con-',
'docs'
-=> 'docs',
+=> 'dokus',
'edit crs'
=> 'edit crs',
# Editor crs
'exit'
-=> 'exit',
+=> 'abmelden',
'fas'
=> 'fas',
@@ -1251,13 +1243,13 @@
=> 'library',
'log in again'
-=> 'log in again',
-# Einloggen again
+=> 'erneut anmelden',
+
'my'
-=> 'my',
+=> 'mein',
'or'
-=> 'or',
+=> 'oder',
'parms'
=> 'parms',
@@ -1272,16 +1264,16 @@
=> 'resource',
'roles'
-=> 'roles',
-# rolles
+=> 'rollen',
+
'search'
-=> 'search',
-# Suchen
+=> 'suche',
+
'set'
-=> 'set',
+=> 'setze',
'space'
-=> 'space',
+=> 'bereich',
'stats'
=> 'stats',
@@ -1290,20 +1282,19 @@
=> 'struct',
'switch'
-=> 'switch',
+=> 'wechsle',
'tations'
-=> 'tations',
+=> 'ungen',
'updated periodically'
-=> 'updated periodically',
-# upDatumd periodically
+=> 'periodisch ermittelt',
+
'user'
-=> 'user',
+=> 'benutzer',
'visible to author and co-authors only'
-=> 'visible to author and co-authors only',
-# visible to Autor and Co-Autors only
+=> 'nur für Autoren und Co-Autoren sichtbar',
#SYNCMARKER
);
Index: loncom/localize/localize/newphrases.txt
diff -u loncom/localize/localize/newphrases.txt:1.2 loncom/localize/localize/newphrases.txt:1.3
--- loncom/localize/localize/newphrases.txt:1.2 Fri Sep 26 17:08:40 2003
+++ loncom/localize/localize/newphrases.txt Sat Sep 27 09:20:46 2003
@@ -3,4 +3,10 @@
Send broadcast and receipt-required email
Edit/Modify DOCS
Delete messages from bulletin boards
-
+Default Cataloging Information for Directory
+Could not write metadata
+Wrote Metadata
+Store Catalog Information
+Error Messages
+Update Display
+All versions
--www1064668846--