Frédéric Delanoy : Add French translation of search results page
Jeremy Newman
jnewman at winehq.org
Tue Sep 7 09:19:39 CDT 2010
Module: website
Branch: master
Commit: b92ded986d01cca0a9dd88adc0ec334e756a8273
URL: http://source.winehq.org/git/website.git/?a=commit;h=b92ded986d01cca0a9dd88adc0ec334e756a8273
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Sat Sep 4 00:16:56 2010 +0200
Add French translation of search results page
---
templates/fr/search.template | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/templates/fr/search.template b/templates/fr/search.template
new file mode 100644
index 0000000..a144a70
--- /dev/null
+++ b/templates/fr/search.template
@@ -0,0 +1,26 @@
+<!--TITLE:[Résultats de la recherche]-->
+<!--BLURB:[Recherche dans tous les sites de winehq.org…]-->
+
+<h1 class="title" style="margin-bottom: 10px;">Résultats de la recherche</h1>
+
+<div id="cse-search-results"></div>
+<script type="text/javascript">
+ $.gglclientCoords = function() {
+ var dimensions = {width: 0, height: 0};
+ if (document.documentElement) {
+ dimensions.width = document.documentElement.offsetWidth;
+ dimensions.height = document.documentElement.offsetHeight;
+ } else if (window.innerWidth && window.innerHeight) {
+ dimensions.width = window.innerWidth;
+ dimensions.height = window.innerHeight;
+ }
+ return dimensions;
+ }
+ var googleSearchIframeName = "cse-search-results";
+ var googleSearchFormName = "cse-search-box";
+ var googleSearchFrameWidth = ($.gglclientCoords().width - 250);
+ var googleSearchDomain = "www.google.fr";
+ var googleSearchPath = "/cse";
+</script>
+<script type="text/javascript" src="http://www.google.fr/afsonline/show_afs_search.js"></script>
+
More information about the wine-cvs
mailing list