Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-32164 Add string for file encoding

AMOS BEGIN
  CPY [encoding,tool_uploaduser],[fileencoding,mod_data]
AMOS END
  • Loading branch information...
commit 44f2c957171e4d51c0ec0901021c0a9c4afd8608 1 parent 832626d
@andrewnicols andrewnicols authored
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
2  mod/data/import_form.php
@@ -23,7 +23,7 @@ function definition() {
$textlib = textlib_get_instance();
$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');
View
1  mod/data/lang/en/data.php
@@ -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.';
Please sign in to comment.
Something went wrong with that request. Please try again.