mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-37211 Backup: Migrate hard-coded strings to language string for the table header labels on the restore page
This commit is contained in:
parent
838d78a9ff
commit
1a46c81c87
2 changed files with 4 additions and 1 deletions
|
@ -140,7 +140,7 @@ class core_backup_renderer extends plugin_renderer_base {
|
||||||
}
|
}
|
||||||
if (empty($table)) {
|
if (empty($table)) {
|
||||||
$table = new html_table();
|
$table = new html_table();
|
||||||
$table->head = array('Module', 'Title', 'Userinfo');
|
$table->head = array(get_string('module','backup'), get_string('title','backup'), get_string('userinfo','backup'));
|
||||||
$table->colclasses = array('modulename', 'moduletitle', 'userinfoincluded');
|
$table->colclasses = array('modulename', 'moduletitle', 'userinfoincluded');
|
||||||
$table->align = array('left','left', 'center');
|
$table->align = array('left','left', 'center');
|
||||||
$table->attributes = array('class'=>'activitytable generaltable');
|
$table->attributes = array('class'=>'activitytable generaltable');
|
||||||
|
|
|
@ -250,6 +250,9 @@ $string['skipmodifdays'] = 'Skip courses not modified since';
|
||||||
$string['skipmodifdayshelp'] = 'Choose to skip courses that have not been modified since a number of days';
|
$string['skipmodifdayshelp'] = 'Choose to skip courses that have not been modified since a number of days';
|
||||||
$string['skipmodifprev'] = 'Skip courses not modified since previous backup';
|
$string['skipmodifprev'] = 'Skip courses not modified since previous backup';
|
||||||
$string['skipmodifprevhelp'] = 'Choose whether or not to skip courses that have not been modified since previous backup';
|
$string['skipmodifprevhelp'] = 'Choose whether or not to skip courses that have not been modified since previous backup';
|
||||||
|
$string['title'] = 'Title';
|
||||||
$string['totalcategorysearchresults'] = 'Total categories: {$a}';
|
$string['totalcategorysearchresults'] = 'Total categories: {$a}';
|
||||||
$string['totalcoursesearchresults'] = 'Total courses: {$a}';
|
$string['totalcoursesearchresults'] = 'Total courses: {$a}';
|
||||||
|
$string['userinfo'] = 'Userinfo';
|
||||||
|
$string['module'] = 'Module';
|
||||||
$string['morecoursesearchresults'] = 'More than {$a} courses found, showing first {$a} results';
|
$string['morecoursesearchresults'] = 'More than {$a} courses found, showing first {$a} results';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue