From 882f4e13198bda265781f14308f5170cf0b7c810 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 11 Apr 2010 11:33:39 +0000 Subject: [PATCH] MDL-22054 converting block name strings to pluginname AMOS START MOV [people,core],[pluginname,block_participants] AMOS END --- blocks/participants/block_participants.php | 2 +- .../lang/en/block_participants.php | 26 +++++++++++++++++++ lang/en/moodle.php | 1 - 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 blocks/participants/lang/en/block_participants.php diff --git a/blocks/participants/block_participants.php b/blocks/participants/block_participants.php index 1931a9b0dfd..277ab7e369a 100644 --- a/blocks/participants/block_participants.php +++ b/blocks/participants/block_participants.php @@ -2,7 +2,7 @@ class block_participants extends block_list { function init() { - $this->title = get_string('people'); + $this->title = get_string('pluginname', 'block_participants'); $this->version = 2007101509; } diff --git a/blocks/participants/lang/en/block_participants.php b/blocks/participants/lang/en/block_participants.php new file mode 100644 index 00000000000..134399646b1 --- /dev/null +++ b/blocks/participants/lang/en/block_participants.php @@ -0,0 +1,26 @@ +. + +/** + * Strings for component 'block_participants', language 'en', branch 'MOODLE_20_STABLE' + * + * @package block_participants + * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +$string['pluginname'] = 'People'; diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 14a7972c307..498e23ebf60 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1295,7 +1295,6 @@ $string['payments'] = 'Payments'; $string['paymentsorry'] = 'Thank you for your payment! Unfortunately your payment has not yet been fully processed, and you are not yet registered to enter the course "{$a->fullname}". Please try continuing to the course in a few seconds, but if you continue to have trouble then please alert the {$a->teacher} or the site administrator'; $string['paymentthanks'] = 'Thank you for your payment! You are now enrolled in your course:
"{$a}"'; $string['pendingrequests'] = 'Pending requests'; -$string['people'] = 'People'; $string['periodending'] = 'Period ending ({$a})'; $string['personal'] = 'Personal'; $string['personalprofile'] = 'Personal profile'; -- 2.43.0