MDL-70316 core: Update the categories in the emoji data generator script

The emoji categories were modified in the newer versions of the
emoji-data library. Therefore, the category list in $categorysortorder
needs to be updated with the correct category names in order to properly
sort the categories in the generated emoji data file.
This commit is contained in:
Mihail Geshoski
2021-01-27 13:35:44 +08:00
parent 609cc46be3
commit e840aa653a
+2 -1
View File
@@ -24,7 +24,8 @@ define('CLI_SCRIPT', true);
require(__DIR__.'/../../config.php');
$categorysortorder = [
'Smileys & People',
'Smileys & Emotion',
'People & Body',
'Animals & Nature',
'Food & Drink',
'Travel & Places',