Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]

   1  <?php
   2  
   3  // This file is part of Moodle - http://moodle.org/
   4  //
   5  // Moodle is free software: you can redistribute it and/or modify
   6  // it under the terms of the GNU General Public License as published by
   7  // the Free Software Foundation, either version 3 of the License, or
   8  // (at your option) any later version.
   9  //
  10  // Moodle is distributed in the hope that it will be useful,
  11  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13  // GNU General Public License for more details.
  14  //
  15  // You should have received a copy of the GNU General Public License
  16  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  17  
  18  /**
  19   * Strings for Language customisation admin tool
  20   *
  21   * @package    tool
  22   * @subpackage customlang
  23   * @copyright  2010 David Mudrak <david@moodle.com>
  24   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  25   */
  26  
  27  defined('MOODLE_INTERNAL') || die();
  28  
  29  $string['checkin'] = 'Save strings to language pack';
  30  $string['checkout'] = 'Open language pack for editing';
  31  $string['checkoutdone'] = 'Language pack loaded';
  32  $string['checkoutinprogress'] = 'Loading language pack';
  33  $string['cliexportfileexists'] = 'File for {$a->lang} already exists, skipping. If you want to overwrite add the --override=true option.';
  34  $string['cliexportheading'] = 'Starting to export lang files.';
  35  $string['cliexportnofilefoundforlang'] = 'No file found to export. Skipping export for this language.';
  36  $string['cliexportfilenotfoundforcomponent'] = 'File {$a->filepath} not found for language {$a->lang}. Skipping this file.';
  37  $string['cliexportstartexport'] = 'Exporting language {$a}';
  38  $string['cliexportzipdone'] = 'Zip created: {$a}';
  39  $string['cliexportzipfail'] = 'Cannot create zip {$a}';
  40  $string['clifiles'] = 'Files to import into {$a}';
  41  $string['cliimporting'] = 'Import files string (mode {$a})';
  42  $string['clinolog'] = 'Nothing to import into {$a}';
  43  $string['climissinglang'] = 'Missing language';
  44  $string['climissingfiles'] = 'Missing valid files';
  45  $string['climissingmode'] = 'Missing or invalid mode (valid is all, new or update)';
  46  $string['climissingsource'] = 'Missing file or folder';
  47  $string['confirmcheckin'] = 'You are about to save modifications to your local language pack. This will export the customised strings from the translator into your site data directory and your site will start using the modified strings. Press \'Continue\' to proceed with saving.';
  48  $string['customlang:edit'] = 'Edit local translation';
  49  $string['customlang:export'] = 'Export local translation';
  50  $string['customlang:view'] = 'View local translation';
  51  $string['export'] = 'Export custom strings';
  52  $string['exportfilter'] = 'Select component(s) to export';
  53  $string['editlangpack'] = 'Edit language pack';
  54  $string['filter'] = 'Filter strings';
  55  $string['filtercomponent'] = 'Show strings of these components';
  56  $string['filtercustomized'] = 'Customised only';
  57  $string['filtermodified'] = 'Modified in this session only';
  58  $string['filteronlyhelps'] = 'Help only';
  59  $string['filtershowstrings'] = 'Show strings';
  60  $string['filterstringid'] = 'String identifier';
  61  $string['filtersubstring'] = 'Only strings containing';
  62  $string['headingcomponent'] = 'Component';
  63  $string['headinglocal'] = 'Local customisation';
  64  $string['headingstandard'] = 'Standard text';
  65  $string['headingstringid'] = 'String';
  66  $string['import'] = 'Import custom strings';
  67  $string['import_mode'] = 'Import mode';
  68  $string['import_new'] = 'Create only strings without local customisation';
  69  $string['import_update'] = 'Update only strings with local customisation';
  70  $string['import_all'] = 'Create or update all strings from the component(s)';
  71  $string['importfile'] = 'Import file';
  72  $string['langpack'] = 'Language component(s)';
  73  $string['markinguptodate'] = 'Marking the customisation as up-to-date';
  74  $string['markinguptodate_help'] = 'The customised translation may get outdated if either the English original or the master translation has modified since the string was customised on your site. Review the customised translation. If you find it up-to-date, click the checkbox. Edit it otherwise.';
  75  $string['markuptodate'] = 'mark as up-to-date';
  76  $string['modifiedno'] = 'There are no modified strings to save.';
  77  $string['modifiednum'] = 'There are {$a} modified strings. Do you wish to save these changes to your local language pack?';
  78  $string['nolocallang'] = 'No local strings found.';
  79  $string['notice_ignorenew'] = 'Ignoring string {$a->component}/{$a->stringid} because it is not customised.';
  80  $string['notice_ignoreupdate'] = 'Ignoring string {$a->component}/{$a->stringid} because it is already defined.';
  81  $string['notice_inexitentstring'] = 'String {$a->component}/{$a->stringid} not found.';
  82  $string['notice_missingcomponent'] = 'Missing component {$a->component}.';
  83  $string['notice_success'] = 'String {$a->component}/{$a->stringid} updated successfully.';
  84  $string['nostringsfound'] = 'No strings found, please modify the filter settings';
  85  $string['placeholder'] = 'Placeholders';
  86  $string['placeholder_help'] = 'Placeholders are special statements like `{$a}` or `{$a->something}` within the string. They are replaced with a value when the string is actually printed.
  87  
  88  It is important to copy them exactly as they are in the original string. Do not translate them nor change their left-to-right orientation.';
  89  $string['placeholderwarning'] = 'string contains a placeholder';
  90  $string['pluginname'] = 'Language customisation';
  91  $string['savecheckin'] = 'Save changes to the language pack';
  92  $string['savecontinue'] = 'Apply changes and continue editing';
  93  $string['privacy:metadata'] = 'The Language customisation plugin does not store any personal data.';
  94  
  95  // Deprecated since Moodle 4.2.
  96  $string['exportzipfilename'] = 'customlang-export-{$a->lang}.zip';