Skip to content

Commit

Permalink
fixed message plugin names
Browse files Browse the repository at this point in the history
AMOS BEGIN
 MOV [email,message_email],[pluginname,message_email]
 MOV [jabber,message_jabber],[pluginname,message_jabber]
 MOV [popup,message_popup],[pluginname,message_popup]
AMOS END
  • Loading branch information
skodak committed Jul 4, 2010
1 parent 9a6861c commit 5582587
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions message/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
$number_procs = count($processors);
echo '<table cellpadding="2"><tr><td>&nbsp;</td>'."\n";
foreach ( $processors as $processorid => $processor){
echo '<th align="center">'.get_string($processor->name, 'message_'.$processor->name).'</th>';
echo '<th align="center">'.get_string('pluignname', 'message_'.$processor->name).'</th>';
}
echo '</tr>';

Expand Down Expand Up @@ -252,7 +252,7 @@
if (class_exists($processclass)) {
$pclass = new $processclass();
echo '<fieldset id="messageprocessor_'.$processor->name.'" class="clearfix">';
echo '<legend class="ftoggler">'.get_string($processor->name, 'message_'.$processor->name).'</legend>';
echo '<legend class="ftoggler">'.get_string('pluignname', 'message_'.$processor->name).'</legend>';

echo $pclass->config_form($preferences);

Expand Down
2 changes: 1 addition & 1 deletion message/output/email/lang/en/message_email.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['email'] = 'Email';
$string['pluginname'] = 'Email';
2 changes: 1 addition & 1 deletion message/output/jabber/lang/en/message_jabber.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['jabber'] = 'Jabber message';
$string['pluginname'] = 'Jabber message';
$string['jabberid'] = 'Jabber ID';
2 changes: 1 addition & 1 deletion message/output/jabber/message_output_jabber.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function send_message($message){
* @param object $mform preferences form class
*/
function config_form($preferences){
return get_string('jabberid', 'message_jabber').': <input size="30" name="jabber_jabberid" value="'.$preferences->jabber_jabberid.'" />';
return get_string('pluginname', 'message_jabber').': <input size="30" name="jabber_jabberid" value="'.$preferences->jabber_jabberid.'" />';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion message/output/popup/lang/en/message_popup.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

$string['popup'] = 'Popup window';
$string['pluginname'] = 'Popup window';

0 comments on commit 5582587

Please sign in to comment.