MOBILE-2616 lang: Sort lang files on components
parent
f66c8375ea
commit
4b62407f87
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue