diff --git a/db/mobile.php b/db/mobile.php index 9e1d368..5e76dfa 100644 --- a/db/mobile.php +++ b/db/mobile.php @@ -39,7 +39,7 @@ $addons = array( 'lang' => [ // Language strings that are used in all the handlers. ['deleteissueconfirm', 'customcert'], ['getcustomcert', 'customcert'], - ['modulenameplural', 'customcert'], + ['listofissues', 'customcert'], ['nothingtodisplay', 'moodle'], ['pluginname', 'customcert'], ['receiveddate', 'customcert'], diff --git a/lang/en/customcert.php b/lang/en/customcert.php index 9ba4470..a442c06 100644 --- a/lang/en/customcert.php +++ b/lang/en/customcert.php @@ -97,6 +97,7 @@ $string['invalidwidth'] = 'The width has to be a valid number greater than 0.'; $string['landscape'] = 'Landscape'; $string['leftmargin'] = 'Left margin'; $string['leftmargin_help'] = 'This is the left margin of the certificate PDF in mm.'; +$string['listofissues'] = 'List of awarded certificates'; $string['load'] = 'Load'; $string['loadtemplate'] = 'Load template'; $string['loadtemplatemsg'] = 'Are you sure you wish to load this template? This will remove any existing pages and elements for this certificate.'; diff --git a/report.php b/report.php index 4f2e94a..a00e74a 100644 --- a/report.php +++ b/report.php @@ -110,7 +110,7 @@ if ($table->is_downloading()) { $PAGE->navbar->add(get_string('customcertreport', 'customcert')); echo $OUTPUT->header(); -echo $OUTPUT->heading(get_string('modulenameplural', 'customcert')); +echo $OUTPUT->heading(get_string('listofissues', 'customcert')); groups_print_activity_menu($cm, $url); diff --git a/templates/mobile_report_page.mustache b/templates/mobile_report_page.mustache index b00a1a2..4ddda76 100644 --- a/templates/mobile_report_page.mustache +++ b/templates/mobile_report_page.mustache @@ -81,7 +81,7 @@ <%/showgroups%> -

{{ 'plugin.mod_customcert.modulenameplural' | translate }}

+

{{ 'plugin.mod_customcert.listofissues' | translate }}

<%#hasissues%>