From: David Cramer
Date: Sun, 5 Jun 2011 20:11:09 +0000 (+0000)
Subject: Localize string in nwSearchFnt.js file
X-Git-Tag: release/1.79.1~6^2~740
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6a9aecb97f61b02b4db729e510e7f23e6c8e6b8;p=docbook-dsssl
Localize string in nwSearchFnt.js file
---
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"]="
+
+ ";
+
+
+
+