From ce72c045e6b2b900c5876dfb938807dbe1ce8696 Mon Sep 17 00:00:00 2001 From: shashirepo Date: Sat, 9 Aug 2014 00:03:32 +0530 Subject: [PATCH] MDL-46477 chat:hard coded string in mod/chat --- mod/chat/gui_header_js/users.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mod/chat/gui_header_js/users.php b/mod/chat/gui_header_js/users.php index cddab2d9c76..331220754c1 100644 --- a/mod/chat/gui_header_js/users.php +++ b/mod/chat/gui_header_js/users.php @@ -115,9 +115,8 @@ foreach ($chatusers as $chatuser) { ob_start(); echo $OUTPUT->header(); -// TODO MDL-46477 localize the following string. -echo html_writer::tag('div', html_writer::tag('a', 'Refresh link', array('href' => $refreshurl, 'id' => 'refreshLink')), - array('style' => 'display:none')); +echo html_writer::tag('div', html_writer::tag('a', get_string('refresh'), + array('href' => $refreshurl, 'id' => 'refreshLink')), array('style' => 'display:none')); echo html_writer::table($table); echo $OUTPUT->footer();