Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
<?php

// This file is part of 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/>.

/**
 * Strings for Language customisation admin tool
 *
 * @package    tool
 * @subpackage customlang
 * @copyright  2010 David Mudrak <david@moodle.com>
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

defined('MOODLE_INTERNAL') || die();

$string['checkin'] = 'Save strings to language pack';
$string['checkout'] = 'Open language pack for editing';
$string['checkoutdone'] = 'Language pack loaded';
$string['checkoutinprogress'] = 'Loading language pack';
> $string['cliexportfileexists'] = 'File for {$a->lang} already exists, skipping. If you want to overwrite add the --override=true option.'; $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.'; > $string['cliexportheading'] = 'Starting to export lang files.'; $string['customlang:edit'] = 'Edit local translation'; > $string['cliexportnofilefoundforlang'] = 'No file found to export. Skipping export for this language.'; $string['customlang:view'] = 'View local translation'; > $string['cliexportfilenotfoundforcomponent'] = 'File {$a->filepath} not found for language {$a->lang}. Skipping this file.'; $string['filter'] = 'Filter strings'; > $string['cliexportstartexport'] = 'Exporting language {$a}'; $string['filtercomponent'] = 'Show strings of these components'; > $string['cliexportzipdone'] = 'Zip created: {$a}'; $string['filtercustomized'] = 'Customised only'; > $string['cliexportzipfail'] = 'Cannot create zip {$a}'; $string['filtermodified'] = 'Modified in this session only'; > $string['clifiles'] = 'Files to import into {$a}'; $string['filteronlyhelps'] = 'Help only'; > $string['cliimporting'] = 'Import files string (mode {$a})'; $string['filtershowstrings'] = 'Show strings'; > $string['clinolog'] = 'Nothing to import into {$a}'; $string['filterstringid'] = 'String identifier'; > $string['climissinglang'] = 'Missing language'; $string['filtersubstring'] = 'Only strings containing'; > $string['climissingfiles'] = 'Missing valid files'; $string['headingcomponent'] = 'Component'; > $string['climissingmode'] = 'Missing or invalid mode (valid is all, new or update)'; $string['headinglocal'] = 'Local customisation'; > $string['climissingsource'] = 'Missing file or folder';
$string['headingstandard'] = 'Standard text';
> $string['customlang:export'] = 'Export local translation';
$string['headingstringid'] = 'String';
> $string['export'] = 'Export custom strings'; $string['markinguptodate'] = 'Marking the customisation as up-to-date'; > $string['exportfilter'] = 'Select component(s) to export'; $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.'; > $string['exportzipfilename'] = 'customlang-export-{$a->lang}.zip';
$string['markuptodate'] = 'mark as up-to-date';
> $string['import'] = 'Import custom strings'; $string['modifiedno'] = 'There are no modified strings to save.'; > $string['import_mode'] = 'Import mode'; $string['modifiednum'] = 'There are {$a} modified strings. Do you wish to save these changes to your local language pack?'; > $string['import_new'] = 'Create only strings without local customisation'; $string['nostringsfound'] = 'No strings found, please modify the filter settings'; > $string['import_update'] = 'Update only strings with local customisation'; $string['placeholder'] = 'Placeholders'; > $string['import_all'] = 'Create or update all strings from the component(s)'; $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. > $string['importfile'] = 'Import file'; > $string['langpack'] = 'Language component(s)';
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.';
> $string['nolocallang'] = 'No local strings found.'; $string['placeholderwarning'] = 'string contains a placeholder'; > $string['notice_ignorenew'] = 'Ignoring string {$a->component}/{$a->stringid} because it is not customised.'; $string['pluginname'] = 'Language customisation'; > $string['notice_ignoreupdate'] = 'Ignoring string {$a->component}/{$a->stringid} because it is already defined.'; $string['savecheckin'] = 'Save changes to the language pack'; > $string['notice_inexitentstring'] = 'String {$a->component}/{$a->stringid} not found.'; $string['savecontinue'] = 'Apply changes and continue editing'; > $string['notice_missingcomponent'] = 'Missing component {$a->component}.'; $string['privacy:metadata'] = 'The Language customisation plugin does not store any personal data.'; > $string['notice_success'] = 'String {$a->component}/{$a->stringid} updated successfully.';