aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/riverdashboard/languages/en.php3
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/welcome.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/riverdashboard/languages/en.php b/mod/riverdashboard/languages/en.php
index a00624414..5c601d31b 100644
--- a/mod/riverdashboard/languages/en.php
+++ b/mod/riverdashboard/languages/en.php
@@ -6,7 +6,8 @@
'filter' => 'Filter',
'riverdashboard:useasdashboard' => "Replace the default dashboard with this activity river?",
'activity' => 'Activity',
- 'riverdashboard:recentmembers' => 'Recent members',
+ 'riverdashboard:recentmembers' => 'Recent members',
+ 'riverdashboard:welcome:user' => 'Welcome %s',
/**
* Site messages
diff --git a/mod/riverdashboard/views/default/riverdashboard/welcome.php b/mod/riverdashboard/views/default/riverdashboard/welcome.php
index c589cffc2..7fb2bf9e1 100644
--- a/mod/riverdashboard/views/default/riverdashboard/welcome.php
+++ b/mod/riverdashboard/views/default/riverdashboard/welcome.php
@@ -13,5 +13,5 @@
?>
<div id="content_area_user_title">
-<h2>Welcome <?php echo $_SESSION['user']->name; ?></h2>
+<h2><?php echo sprintf(elgg_echo('riverdashboard:welcome:user'), $_SESSION['user']->name); ?></h2>
</div> \ No newline at end of file