Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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['editlangpack'] = 'Edit language pack';
$string['modifiedno'] = 'There are no modified strings to save.';
> $string['import'] = 'Import custom strings'; $string['modifiednum'] = 'There are {$a} modified strings. Do you wish to save these changes to your local language pack?'; > $string['import_mode'] = 'Import mode'; $string['nostringsfound'] = 'No strings found, please modify the filter settings'; > $string['import_new'] = 'Create only strings without local customisation'; $string['placeholder'] = 'Placeholders'; > $string['import_update'] = 'Update only strings with local customisation'; $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['import_all'] = 'Create or update all strings from the component(s)'; > $string['importfile'] = 'Import file'; 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['langpack'] = 'Language component(s)';
$string['placeholderwarning'] = 'string contains a placeholder';
> $string['nolocallang'] = 'No local strings found.'; $string['pluginname'] = 'Language customisation'; > $string['notice_ignorenew'] = 'Ignoring string {$a->component}/{$a->stringid} because it is not customised.'; $string['savecheckin'] = 'Save changes to the language pack'; > $string['notice_ignoreupdate'] = 'Ignoring string {$a->component}/{$a->stringid} because it is already defined.'; $string['savecontinue'] = 'Apply changes and continue editing'; > $string['notice_inexitentstring'] = 'String {$a->component}/{$a->stringid} not found.'; $string['privacy:metadata'] = 'The Language customisation plugin does not store any personal data.'; > $string['notice_missingcomponent'] = 'Missing component {$a->component}.'; > $string['notice_success'] = 'String {$a->component}/{$a->stringid} updated successfully.';