From ee4bd7876b4cfed15096398d12afb65930b6192f Mon Sep 17 00:00:00 2001 From: peterbulmer <peterbulmer> Date: Wed, 10 Sep 2008 03:25:28 +0000 Subject: [PATCH] MDL-16378 Changes to lang strings, 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 | 3 ++- user/view.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/en_utf8/moodle.php b/lang/en_utf8/moodle.php index f331970f7f..5488bc078c 100644 --- a/lang/en_utf8/moodle.php +++ b/lang/en_utf8/moodle.php @@ -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'; diff --git a/user/view.php b/user/view.php index 2c8c3c9fcd..c9dc4784c7 100644 --- a/user/view.php +++ b/user/view.php @@ -189,7 +189,7 @@ $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"; -- 2.39.5