diff --git a/scripts/moodle_to_json.php b/scripts/moodle_to_json.php index 923581522..2eccc8c1d 100644 --- a/scripts/moodle_to_json.php +++ b/scripts/moodle_to_json.php @@ -279,6 +279,7 @@ function save_key($key, $value, $path) { $value = html_entity_decode($value); if ($file[$key] != $value) { $file[$key] = $value; + ksort($file); file_put_contents($filePath, str_replace('\/', '/', json_encode($file, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT))); } } diff --git a/src/addon/block/timeline/lang/en.json b/src/addon/block/timeline/lang/en.json index 390595490..1086d152e 100644 --- a/src/addon/block/timeline/lang/en.json +++ b/src/addon/block/timeline/lang/en.json @@ -1,11 +1,11 @@ { "duedate": "Due date", - "nocoursesinprogress": "No in progress courses", - "noevents": "No upcoming activities due", "next30days": "Next 30 days", - "next7days": "Next 7 days", "next3months": "Next 3 months", "next6months": "Next 6 months", + "next7days": "Next 7 days", + "nocoursesinprogress": "No in progress courses", + "noevents": "No upcoming activities due", "overdue": "Overdue", "sortbycourses": "Sort by courses", "sortbydates": "Sort by dates"