Skip to content

Commit 5a76b2b

Browse files
authored
Merge pull request #245 from jmcgettrick/support_simplified_chinese
Support simplified chinese
2 parents b5e4c81 + 56c3e3c commit 5a76b2b

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### Date: 2016-December-21
2+
### Release: v2016122101
3+
4+
- Fixes:
5+
- Changed the language codes to correctly recognise Simplified Chinese in Moodle.
6+
- Pass the correct Simplified Chinese language code to Turnitin.
7+
18
### Date: 2016-September-14
29
### Release: v2016091401
310

File renamed without changes.

turnitintooltwo_comms.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private function get_lang() {
168168
'es' => 'es',
169169
'de' => 'de',
170170
'de_du' => 'de',
171-
'zh_cn' => 'cn',
171+
'zh_cn' => 'zh_hans',
172172
'zh_tw' => 'zh_tw',
173173
'pt_br' => 'pt_br',
174174
'th' => 'th',

version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
$plugin = new StdClass();
2424
}
2525

26-
$plugin->version = 2016091401;
26+
$plugin->version = 2016122101;
2727
$plugin->release = "2.6+";
2828
$plugin->requires = 2013111800;
2929
$plugin->component = 'mod_turnitintooltwo';

0 commit comments

Comments
 (0)