5945171a9d
Rather than using grouped elements which can span across multiple lines on a small screen, the elements are now generated within a header element, keeping them separated and making the form more manageable. The base class was also changed to accomodate this by making it easier for elements to utilise common features.
71 lines
3.6 KiB
PHP
71 lines
3.6 KiB
PHP
<?php
|
|
|
|
// This file is part of the customcert module for Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Language strings for the customcert module.
|
|
*
|
|
* @package mod
|
|
* @subpackage customcert
|
|
* @copyright Mark Nelson <markn@moodle.com>
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['addcertpage'] = 'Add another certificate page';
|
|
$string['addelement'] = 'Add element';
|
|
$string['coursetimereq'] = 'Required minutes in course';
|
|
$string['coursetimereq_help'] = 'Enter here the minimum amount of time, in minutes, that a student must be logged into the course before they will be able to receive the certificate.';
|
|
$string['customcert:addinstance'] = 'Add a new custom certificate instance';
|
|
$string['customcert:manage'] = 'Manage a custom certificate';
|
|
$string['customcert:view'] = 'View a custom certificate';
|
|
$string['delete'] = 'Delete';
|
|
$string['deletecertpage'] = 'Delete certificate page';
|
|
$string['deleteconfirm'] = 'Delete confirmation';
|
|
$string['deleteelementconfirm'] = 'Are you sure you want to delete this element?';
|
|
$string['deletepageconfirm'] = 'Are you sure you want to delete this certificate page?';
|
|
$string['editcustomcert'] = 'Edit custom certificate';
|
|
$string['font'] = 'Font';
|
|
$string['font_help'] = 'The font used when generating this element.';
|
|
$string['fontcolour'] = 'Colour';
|
|
$string['fontcolour_help'] = 'The colour of the font.';
|
|
$string['fontsize'] = 'Size';
|
|
$string['fontsize_help'] = 'The size of the font in points.';
|
|
$string['height'] = 'Height';
|
|
$string['heightnotvalid'] = 'The height has to be a valid number.';
|
|
$string['height_help'] = 'This is the height of the certificate PDF in mm. For reference an A4 piece of paper is 297mm high and a letter is 279mm high.';
|
|
$string['intro'] = 'Introduction';
|
|
$string['invalidcolour'] = 'Please select a valid hexadecimal colour.';
|
|
$string['invalidposition'] = 'Please select a positive number for position {$a}.';
|
|
$string['landscape'] = 'Landscape';
|
|
$string['modulename'] = 'Custom Certificate';
|
|
$string['modulenameplural'] = 'Custom Certificates';
|
|
$string['name'] = 'Name';
|
|
$string['noimage'] = 'No image';
|
|
$string['options'] = 'Options';
|
|
$string['orientation'] = 'Orientation';
|
|
$string['orientation_help'] = 'Choose whether you want your certificate orientation to be portrait or landscape.';
|
|
$string['page'] = 'Page {$a}';
|
|
$string['pluginadministration'] = 'Custom Certificate administration';
|
|
$string['pluginname'] = 'Custom Certificate';
|
|
$string['portrait'] = 'Portrait';
|
|
$string['posx'] = 'Position X';
|
|
$string['posx_help'] = 'This is the position in pixels from the top left corner you wish the element to display in the x direction.';
|
|
$string['posy'] = 'Postion Y';
|
|
$string['posy_help'] = 'This is the position in pixels from the top left corner you wish the element to display in the y direction.';
|
|
$string['uploadimage'] = 'Upload image';
|
|
$string['width'] = 'Width';
|
|
$string['widthnotvalid'] = 'The width has to be a valid number.';
|
|
$string['width_help'] = 'This is the width of the certificate PDF in mm. For reference an A4 piece of paper is 210mm wide and a letter is 216mm wide.';
|