mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-63578 assign: Better page titles
Use the context function get_context_name() to set the page title. This will change it from "Assignment" to "C1: Important foods to eat". The get_context_name() for activity modules is updated to include the course short name (not the name of the activity type).
This commit is contained in:
parent
4c5b60a0f9
commit
ff9a0f8289
4 changed files with 55 additions and 3 deletions
|
@ -553,6 +553,7 @@ $string['submittedearly'] = 'Assignment was submitted {$a} early';
|
|||
$string['submittedlate'] = 'Assignment was submitted {$a} late';
|
||||
$string['submittedlateshort'] = '{$a} late';
|
||||
$string['submitted'] = 'Submitted';
|
||||
$string['subpagetitle'] = '{$a->contextname} - {$a->subpage}';
|
||||
$string['subplugintype_assignsubmission'] = 'Submission plugin';
|
||||
$string['subplugintype_assignsubmission_plural'] = 'Submission plugins';
|
||||
$string['subplugintype_assignfeedback'] = 'Feedback plugin';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue