Permalink
Browse files

MDL-32164 Add string for file encoding

AMOS BEGIN
  CPY [encoding,tool_uploaduser],[fileencoding,mod_data]
AMOS END
  • Loading branch information...
1 parent a2b30aa commit a7026767bfe68de5946a630c24c38d339cb7d036 @andrewnicols andrewnicols committed Mar 22, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 mod/data/import_form.php
  2. +1 −0 mod/data/lang/en/data.php
View
@@ -22,7 +22,7 @@ function definition() {
$mform->addElement('text', 'fieldenclosure', get_string('fieldenclosure', 'data'));
$choices = textlib::get_encodings();
- $mform->addElement('select', 'encoding', get_string('encoding', 'admin'), $choices);
+ $mform->addElement('select', 'encoding', get_string('fileencoding', 'mod_data'), $choices);
$mform->setDefault('encoding', 'UTF-8');
$submit_string = get_string('submit');
@@ -111,6 +111,7 @@
$string['editorenable'] = 'Enable editor';
$string['emptyadd'] = 'The Add template is empty, generating a default form...';
$string['emptyaddform'] = 'You did not fill out any fields!';
+$string['fileencoding'] = 'Encoding';
$string['entries'] = 'Entries';
$string['entrieslefttoadd'] = 'You must add {$a->entriesleft} more entry/entries in order to complete this activity';
$string['entrieslefttoaddtoview'] = 'You must add {$a->entrieslefttoview} more entry/entries before you can view other participants\' entries.';

0 comments on commit a702676

Please sign in to comment.