From 30b2d32eea717ca0699ce5daf7fbe3761516ff0e Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 20 Apr 2005 03:05:58 +0000 Subject: [PATCH] Fixed translation problem (bug 2340) --- message/index.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/message/index.php b/message/index.php index 30ef83dab65..f0397305a8d 100644 --- a/message/index.php +++ b/message/index.php @@ -63,9 +63,12 @@ /// Print out the tabs echo ''; $tabrow = array(); - $tabrow[] = new tabobject('contacts', $CFG->wwwroot.'/message/index.php?tab=contacts', 'contacts'); - $tabrow[] = new tabobject('search', $CFG->wwwroot.'/message/index.php?tab=search', 'search'); - $tabrow[] = new tabobject('settings', $CFG->wwwroot.'/message/index.php?tab=settings', 'settings'); + $tabrow[] = new tabobject('contacts', $CFG->wwwroot.'/message/index.php?tab=contacts', + get_string('contacts', 'message')); + $tabrow[] = new tabobject('search', $CFG->wwwroot.'/message/index.php?tab=search', + get_string('search', 'message')); + $tabrow[] = new tabobject('settings', $CFG->wwwroot.'/message/index.php?tab=settings', + get_string('settings', 'message')); $tabrows = array($tabrow); print_tabs($tabrows, $tab);