From c6a9aecb97f61b02b4db729e510e7f23e6c8e6b8 Mon Sep 17 00:00:00 2001
From: David Cramer
Date: Sun, 5 Jun 2011 20:11:09 +0000
Subject: [PATCH] Localize string in nwSearchFnt.js file
---
.../template/content/search/nwSearchFnt.js | 2 +-
xsl/webhelp/xsl/webhelp.xsl | 20 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/xsl/webhelp/template/content/search/nwSearchFnt.js b/xsl/webhelp/template/content/search/nwSearchFnt.js
index 0111559cc..9bc3fe90c 100755
--- a/xsl/webhelp/template/content/search/nwSearchFnt.js
+++ b/xsl/webhelp/template/content/search/nwSearchFnt.js
@@ -150,7 +150,7 @@ function Effectuer_recherche(expressionInput) {
}
results += "
";
} else {
- results = "" + "Your search returned no results for " + "" + txt_wordsnotfound + "" + "
";
+ results = "" + localeresource.search_no_results + "
";
}
//alert(results);
document.getElementById('searchResults').innerHTML = results;
diff --git a/xsl/webhelp/xsl/webhelp.xsl b/xsl/webhelp/xsl/webhelp.xsl
index 2ea833608..d0def578e 100755
--- a/xsl/webhelp/xsl/webhelp.xsl
+++ b/xsl/webhelp/xsl/webhelp.xsl
@@ -66,6 +66,7 @@
+
@@ -382,6 +383,7 @@ These problems go away when you add this IE=7 mode meta tag.
+
@@ -828,4 +830,22 @@ These problems go away when you add this IE=7 mode meta tag.
+
+
+
+
+
+
+
+
+
+ //Resource strings for localization
+ var localeresource = new Object;
+ localeresource["search_no_results"]="
+
+ ";
+
+
+
+
--
2.50.1