From 6c74c1da700cfd7feef27c3d7e3235e08cfe6314 Mon Sep 17 00:00:00 2001
From: moodler
Date: Wed, 22 Mar 2006 14:31:06 +0000
Subject: [PATCH] Some language modifications
---
lang/en_utf8/data.php | 68 +++++++++++++--------------
lang/en_utf8/help/data/importcvs.html | 26 ++++++++++
2 files changed, 59 insertions(+), 35 deletions(-)
create mode 100644 lang/en_utf8/help/data/importcvs.html
diff --git a/lang/en_utf8/data.php b/lang/en_utf8/data.php
index 9fa14f36770..1e29833359f 100644
--- a/lang/en_utf8/data.php
+++ b/lang/en_utf8/data.php
@@ -1,10 +1,10 @@
-name - $a->date';
$string['cancel'] = 'Cancel';
-$string['checkbox'] = 'Checkbox(es)';
+$string['checkbox'] = 'Checkbox';
$string['comments'] = 'Comments';
-$string['commentsaved'] = 'Comment Saved';
+$string['commentsaved'] = 'Comment saved';
$string['configenablerssfeeds'] = 'This switch will enable the possibility of RSS feeds for all databases. You will still need to turn feeds on manually in the settings for each database.';
$string['confirmdeletefield'] = 'You are about to delete this field, are you sure?';
$string['confirmdeleterecord'] = 'Are you sure you want to delete this record?';
-$string['csvfile'] = 'CSV file:';
-$string['csvimporthelptitle'] = 'Help: CSV File Import for Data Module';
-$string['csvimporthelptext'] = 'The expected file format is a plain text file with a list of field names as the first record. The data then follows. The field delimiter defaults to a comma character and the field enclosure is not set by default. Field enclosures are placed at the beginning and at the end of a field. Records should be delimited by new lines (usually generated by pressing RETURN or ENTER in your text editor). The defaults can be overridden by defining your own character(s) to be used. Tabs can be specified by using \\\\t and newlines by \\\\n. Currently the import facility does not fully work with the following field types: File, Picture, URL.';
-$string['csvimporthelptitle'] = 'Help: CSV File Import for Data Module';
+$string['csvfile'] = 'CSV file';
+$string['csvimport'] = 'CSV file import';
$string['dateentered'] = 'Date entered';
$string['defaultfielddelimiter'] = '(default is the comma character)';
$string['defaultfieldenclosure'] = '(default is none)';
$string['descending'] = 'Descending';
$string['delete'] = 'Delete';
$string['deleted'] = 'deleted';
-$string['deletefield'] = 'Delete an existing Field';
+$string['deletefield'] = 'Delete an existing field';
$string['menu'] = 'Menu (Single-selection)';
$string['menuchoose'] = 'Choose...';
$string['edit'] = 'Edit';
@@ -45,11 +43,11 @@ $string['example'] = 'Database module example';
$string['fieldadded'] = 'Field added';
$string['fieldallowautolink'] = 'Allow autolink';
$string['fielddeleted'] = 'Field deleted';
-$string['fielddelimiter'] = 'Field delimiter:';
-$string['fieldenclosure'] = 'Field enclosure:';
+$string['fielddelimiter'] = 'Field delimiter';
+$string['fieldenclosure'] = 'Field enclosure';
$string['fielddescription'] = 'Field description';
$string['fieldname'] = 'Field name';
-$string['fieldoptions'] = 'Options (Line Separated)';
+$string['fieldoptions'] = 'Options (one per line)';
$string['fields'] = 'Fields';
$string['fieldupdated'] = 'Field updated';
$string['fieldwidth'] = 'Width';
@@ -70,29 +68,29 @@ $string['insufficiententries'] = 'more entries needed to view this database';
$string['intro'] = 'Introduction';
$string['invalidfieldname'] = 'Please choose another name for this field';
$string['invalidurl'] = 'The URL you just entered is not valid';
-$string['listtemplate'] = 'List Template';
+$string['listtemplate'] = 'List template';
$string['maxentries'] = 'Maximum entries';
$string['maxsize'] = 'Maximum size';
$string['modulename'] = 'Database';
$string['modulenameplural'] = 'Databases';
$string['more'] = 'More';
$string['multientry'] = 'Repeated entry';
-$string['multimenu'] = 'Menu (Multiple-selection)';
+$string['multimenu'] = 'Menu (multiple-selection)';
$string['multipletags'] = 'Multiple tags found! Template not saved';
-$string['namecheckbox'] = 'Checkbox Field';
-$string['namemenu'] = 'Menu Field';
-$string['namemultimenu'] = 'Multiple-selection Menu Field';
-$string['namefile'] = 'File Field';
-$string['nameradiobutton'] = 'Radio Button Field';
-$string['nameurl'] = 'URL Field';
-$string['nametext'] = 'Text Field';
-$string['nametextarea'] = 'Textarea Field';
-$string['namepicture'] = 'Picture Field';
+$string['namecheckbox'] = 'Checkbox field';
+$string['namemenu'] = 'Menu field';
+$string['namemultimenu'] = 'Multiple-selection menu field';
+$string['namefile'] = 'File field';
+$string['nameradiobutton'] = 'Radio button field';
+$string['nameurl'] = 'URL field';
+$string['nametext'] = 'Text field';
+$string['nametextarea'] = 'Textarea field';
+$string['namepicture'] = 'Picture field';
$string['newentry'] = 'New entry';
$string['newfield'] = 'Create a new field';
$string['nofieldindatabase'] = 'There are no fields defined for this database, please add some';
$string['nolisttemplate'] = 'List template is not yet defined';
-$string['nosingletemplate'] = 'Single Template is not yet defined';
+$string['nosingletemplate'] = 'Single template is not yet defined';
$string['nomaximum'] = 'No maximum';
$string['numberrssarticles'] = 'RSS articles';
$string['numrecords'] = 'Records';
@@ -104,7 +102,7 @@ $string['optionalfilename'] = 'Filename (optional)';
$string['pagesize'] = 'Entries per page';
$string['participants'] = 'Participants';
$string['picture'] = 'Picture';
-$string['radiobutton'] = 'Radio Buttons';
+$string['radiobutton'] = 'Radio buttons';
$string['rate'] = 'Rate';
$string['rating'] = 'Rating';
$string['ratingeveryone'] = 'Everyone can rate posts';
@@ -115,30 +113,30 @@ $string['ratingpublicnot'] = '$a can only see their own ratings';
$string['ratings'] = 'Ratings';
$string['ratingssaved'] = 'Ratings saved';
$string['ratingsuse'] = 'Use ratings';
-$string['recorddeleted'] = 'Record Deleted';
+$string['recorddeleted'] = 'Record deleted';
$string['recordssaved'] = 'record(s) saved';
$string['recordsnotsaved'] = 'No record was saved. Please check the format of the uploaded file.';
-$string['requireapproval'] = 'Require Approval?';
+$string['requireapproval'] = 'Require approval?';
$string['requiredentries'] = 'Required entries';
$string['requiredentriestoview'] = 'Entries required before viewing';
$string['rssglobaldisabled'] = 'Disabled. See site configuration variables.';
$string['rsshowmany'] = '(number of latest entries to show, 0 to disable RSS)';
-$string['rsstemplate'] = 'RSS Template';
+$string['rsstemplate'] = 'RSS template';
$string['save'] = 'Save';
-$string['savesettings'] = 'Save Settings';
+$string['savesettings'] = 'Save settings';
$string['savetemplate'] = 'Save template';
$string['sendinratings'] = 'Send in my latest ratings';
-$string['singletemplate'] = 'Single Template';
+$string['singletemplate'] = 'Single template';
$string['teachersandstudents'] = '$a->teachers and $a->students';
$string['templates'] = 'Templates';
$string['text'] = 'Text';
$string['textarea'] = 'Textarea';
$string['type'] = 'Field type';
$string['updatefield'] = 'Update an existing field';
-$string['uploadrecords'] = 'Upload Records';
-$string['uploadfile'] = 'Upload File';
+$string['uploadrecords'] = 'Upload records from a file';
+$string['uploadfile'] = 'Upload file';
$string['url'] = 'Url';
$string['viewfromdate'] = 'Viewable from';
$string['viewtodate'] = 'Viewable to';
-?>
\ No newline at end of file
+?>
diff --git a/lang/en_utf8/help/data/importcvs.html b/lang/en_utf8/help/data/importcvs.html
new file mode 100644
index 00000000000..165cc80ba89
--- /dev/null
+++ b/lang/en_utf8/help/data/importcvs.html
@@ -0,0 +1,26 @@
+Import from a CVS file
+
+CVS means Comma-Separated-Values and is a common format for text interchange.
+
+The expected file format is a plain text file with a list of field names
+ as the first record. The data then follows, one record per line.
+
+
The field delimiter defaults to a comma character and the field enclosure
+ is not set by default (field enclosures are characters that surround each
+ field in each record.
+
+
Records should be delimited by new lines (usually generated by pressing RETURN
+ or ENTER in your text editor). Tabs can be specified using \t and newlines by \n.
+
+Sample file:
+
+
+ name,height,weight
+ Kai,180cm,80kg
+ Kim,170cm,60kg
+ Koo,190cm,20kg
+
+
+
+In the initial version of this script, only simple field types are supported, but
+ support for all field types will be added.