]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16378 Changes to lang strings,
authorpeterbulmer <peterbulmer>
Wed, 10 Sep 2008 03:25:28 +0000 (03:25 +0000)
committerpeterbulmer <peterbulmer>
Wed, 10 Sep 2008 03:25:28 +0000 (03:25 +0000)
remoteappuser should be output as somthing like 'Remote Moodle User' or
'Remote Mahara User' or 'Remote <application name goes here> User'

lang/en_utf8/moodle.php
user/view.php

index f331970f7f73cd61ba9138a9d51fdb300eb9dd1f..5488bc078c65a971c2cd6e6013a98414838385ee 100644 (file)
@@ -444,6 +444,7 @@ $string['editorhelptopics'] = 'Editor Help Topics.';
 $string['editorresettodefaults'] = 'Reset to default values';
 $string['editorsettings'] = 'Editor settings';
 $string['editorshortcutkeys'] = 'Editor shortcut keys';
+$string['editremoteprofile'] = 'Edit remote profile';
 $string['editsummary'] = 'Edit summary';
 $string['editthisactivity'] = 'Edit this activity';
 $string['editthiscategory'] = 'Edit this category';
@@ -1243,7 +1244,7 @@ $string['registrationsend'] = 'Send registration information to moodle.org';
 $string['registrationyes'] = 'Yes, please notify me about important issues';
 $string['reject'] = 'Reject';
 $string['reload'] = 'Reload';
-$string['remotemaharauser'] = 'Remote Mahara User';
+$string['remoteappuser'] = 'Remote $a User';
 $string['remove'] = 'Remove';
 $string['removeadmin'] = 'Remove admin';
 $string['removecreator'] = 'Remove course creator';
index 2c8c3c9fcdb4c2564e258a4dcf5bf360f78d3fd2..c9dc4784c78fb8feede04c9d3864dc4da25cec69 100644 (file)
 
         $remotehost = $DB->get_record_sql($sql, array($user->mnethostid));
 
-        echo '<p class="errorboxcontent">'.get_string('remote'.$remotehost->application.'user')." <br />\n";
+        echo '<p class="errorboxcontent">'.get_string('remoteappuser', $remotehost->application)." <br />\n";
         if ($USER->id == $user->id) {
             if ($remotehost->application =='moodle') {
                 echo "Remote {$remotehost->display_name}: <a href=\"{$remotehost->wwwroot}/user/edit.php\">{$remotehost->name}</a> ".get_string('editremoteprofile')." </p>\n";