From 4dd520a38558f3c6a62815b94c8234df520e1fd4 Mon Sep 17 00:00:00 2001
From: Niklas Fiekas <niklas.fiekas@googlemail.com>
Date: Tue, 29 Mar 2011 02:12:34 +0200
Subject: [PATCH] Added missing msg parameter to t(...)

---
 search_restrict.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/search_restrict.module b/search_restrict.module
index 01b4e22..a661ab9 100644
--- a/search_restrict.module
+++ b/search_restrict.module
@@ -32,7 +32,7 @@ function search_restrict_content_type_form(&$form) {
   $form['search_restrict'] = array(
     '#type' => 'fieldset',
     '#title' => t('Search Restrict'),
-    '#description' => t('Select which user roles can search for this content type. By default all roles can search unless "%msg" is selected, which overrides all other role restrictions.'),
+    '#description' => t('Select which user roles can search for this content type. By default all roles can search unless "%msg" is selected, which overrides all other role restrictions.', array('%msg' => $msg)),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
     '#access' => user_access('administer search_restrict'),
-- 
1.7.4.1

