From 9e561443463033a11f5e049945982cf1b2f312df Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sat, 11 Oct 2008 14:36:53 +0200
Subject: [PATCH] text change for FS#607 - display the namespace in warning

darcs-hash:20081011123653-7ad00-8a659f942e0e24bb3239bab615d4498bb1efcad4.gz
---
 inc/html.php         | 2 +-
 inc/lang/en/lang.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/html.php b/inc/html.php
index 9802f9ad9..f97cd6f1e 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -542,7 +542,7 @@ function html_recent($first=0){
   print p_locale_xhtml('recent');
 
   if (getNS($ID) != '')
-    print '<div class="level1"><p>' . sprintf($lang['recent_global'], wl('', 'do=recent')) . '</p></div>';
+    print '<div class="level1"><p>' . sprintf($lang['recent_global'], getNS($ID), wl('', 'do=recent')) . '</p></div>';
 
   print '<ul>';
 
diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php
index 543b51025..ffb9dcdde 100644
--- a/inc/lang/en/lang.php
+++ b/inc/lang/en/lang.php
@@ -244,6 +244,6 @@ $lang['mu_authfail']  = 'session expired';
 $lang['mu_progress']  = '@PCT@% uploaded';
 $lang['mu_filetypes'] = 'Allowed Filetypes';
 
-$lang['recent_global'] = 'To view the recent changes of the whole wiki, please <a href="%s">click here</a>.';
+$lang['recent_global'] = 'You\'re currently watching the changes inside the <b>%s</b> namespace. To view the recent changes of the whole wiki, please <a href="%s">click here</a>.';
 
 //Setup VIM: ex: et ts=2 enc=utf-8 :
-- 
GitLab