Merge branch 'MDL-64905-master' of git://github.com/abias/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2019-03-18 20:00:46 +01:00
commit c846784230
3 changed files with 6 additions and 4 deletions

View File

@ -48,7 +48,7 @@ $string['aria:sortingdropdown'] = 'Sorting drop-down menu';
$string['card'] = 'Card';
$string['cards'] = 'Cards';
$string['courseprogress'] = 'Course progress:';
$string['complete'] = 'complete';
$string['completepercent'] = '{$a}% complete';
$string['favourites'] = 'Starred';
$string['future'] = 'Future';
$string['inprogress'] = 'In progress';
@ -93,4 +93,5 @@ $string['privacy:metadata:overviewlasttab'] = 'This stores the last tab selected
$string['viewcourse'] = 'View course';
// Deprecated since Moodle 3.7.
$string['nocourses'] = 'No courses';
$string['complete'] = 'complete';
$string['nocourses'] = 'No courses';

View File

@ -13,4 +13,5 @@ sortbydates,block_myoverview
timeline,block_myoverview
viewcoursename,block_myoverview
privacy:metadata:overviewlasttab,block_myoverview
nocourses,block_myoverview
nocourses,block_myoverview
complete,block_myoverview

View File

@ -30,5 +30,5 @@
</div>
<div class="small">
<span class="sr-only">{{#str}}aria:courseprogress, block_myoverview{{/str}}</span>
<strong>{{progress}}%</strong> {{#str}}complete, block_myoverview{{/str}}
{{#str}}completepercent, block_myoverview, <strong>{{progress}}</strong>{{/str}}
</div>