| 1 | 
           efrain | 
           1 | 
           <?php
  | 
        
        
            | 
            | 
           2 | 
           // This file is part of Moodle - http://moodle.org/
  | 
        
        
            | 
            | 
           3 | 
           //
  | 
        
        
            | 
            | 
           4 | 
           // Moodle is free software: you can redistribute it and/or modify
  | 
        
        
            | 
            | 
           5 | 
           // it under the terms of the GNU General Public License as published by
  | 
        
        
            | 
            | 
           6 | 
           // the Free Software Foundation, either version 3 of the License, or
  | 
        
        
            | 
            | 
           7 | 
           // (at your option) any later version.
  | 
        
        
            | 
            | 
           8 | 
           //
  | 
        
        
            | 
            | 
           9 | 
           // Moodle is distributed in the hope that it will be useful,
  | 
        
        
            | 
            | 
           10 | 
           // but WITHOUT ANY WARRANTY; without even the implied warranty of
  | 
        
        
            | 
            | 
           11 | 
           // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  | 
        
        
            | 
            | 
           12 | 
           // GNU General Public License for more details.
  | 
        
        
            | 
            | 
           13 | 
           //
  | 
        
        
            | 
            | 
           14 | 
           // You should have received a copy of the GNU General Public License
  | 
        
        
            | 
            | 
           15 | 
           // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  | 
        
        
            | 
            | 
           16 | 
              | 
        
        
            | 
            | 
           17 | 
           /**
  | 
        
        
            | 
            | 
           18 | 
            * Customfield text plugin
  | 
        
        
            | 
            | 
           19 | 
            *
  | 
        
        
            | 
            | 
           20 | 
            * @package   customfield_text
  | 
        
        
            | 
            | 
           21 | 
            * @copyright 2018 Toni Barbera <toni@moodle.com>
  | 
        
        
            | 
            | 
           22 | 
            * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  | 
        
        
            | 
            | 
           23 | 
            */
  | 
        
        
            | 
            | 
           24 | 
              | 
        
        
            | 
            | 
           25 | 
           defined('MOODLE_INTERNAL') || die();
  | 
        
        
            | 
            | 
           26 | 
              | 
        
        
            | 
            | 
           27 | 
           $string['displaysize'] = 'Form input size';
  | 
        
        
            | 
            | 
           28 | 
           $string['errorconfigdisplaysize'] = 'The form input size must be between 1 and 200 characters.';
  | 
        
        
            | 
            | 
           29 | 
           $string['errorconfiglinkplaceholder'] = 'The link must contain a placeholder $$.';
  | 
        
        
            | 
            | 
           30 | 
           $string['errorconfiglinksyntax'] = 'The link must be a valid URL starting with either http:// or https://.';
  | 
        
        
            | 
            | 
           31 | 
           $string['errorconfigmaxlen'] = 'The maximum number of characters allowed must be between 1 and 1333.';
  | 
        
        
            | 
            | 
           32 | 
           $string['errormaxlength'] = 'The maximum number of characters allowed in this field is {$a}.';
  | 
        
        
            | 
            | 
           33 | 
           $string['islink'] = 'Link field';
  | 
        
        
            | 
            | 
           34 | 
           $string['islink_help'] = 'To transform the text into a link, enter a URL containing $$ as a placeholder, where $$ will be replaced with the text. For example, to transform a Twitter ID to a link, enter https://twitter.com/$$.';
  | 
        
        
            | 
            | 
           35 | 
           $string['ispassword'] = 'Password field';
  | 
        
        
            | 
            | 
           36 | 
           $string['linktarget'] = 'Link target';
  | 
        
        
            | 
            | 
           37 | 
           $string['maxlength'] = 'Maximum number of characters';
  | 
        
        
            | 
            | 
           38 | 
           $string['newwindow'] = 'New window';
  | 
        
        
            | 
            | 
           39 | 
           $string['none'] = 'None';
  | 
        
        
            | 
            | 
           40 | 
           $string['pluginname'] = 'Short text';
  | 
        
        
            | 
            | 
           41 | 
           $string['privacy:metadata'] = 'The Short text field type plugin doesn\'t store any personal data; it uses tables defined in core.';
  | 
        
        
            | 
            | 
           42 | 
           $string['sameframe'] = 'Same frame';
  | 
        
        
            | 
            | 
           43 | 
           $string['samewindow'] = 'Same window';
  | 
        
        
            | 
            | 
           44 | 
           $string['specificsettings'] = 'Short text field settings';
  |