lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hard-coded version numbers updated (issue 6492072)


From: PhilEHolmes
Subject: Hard-coded version numbers updated (issue 6492072)
Date: Sun, 02 Sep 2012 10:49:27 +0000

Reviewers: Graham Percival,

Description:
I've checked Google and it is now indexing the 2.17 pages and returning
hundreds of results - so we should update the search boxes.  There's no
issue tracker for this because my finger slipped when entering my google
credentials.

Please review this at http://codereview.appspot.com/6492072/

Affected files:
  M Documentation/de/search-box.ihtml
  M Documentation/es/search-box.ihtml
  M Documentation/fr/search-box.ihtml
  M Documentation/hu/search-box.ihtml
  M Documentation/it/search-box.ihtml
  M Documentation/nl/search-box.ihtml
  M Documentation/search-box.ihtml
  M Documentation/zh/search-box.ihtml
  M scripts/build/website_post.py


Index: Documentation/de/search-box.ihtml
diff --git a/Documentation/de/search-box.ihtml b/Documentation/de/search-box.ihtml index 1322170b71d91fe67a717dadead3391a638c9f8f..452f275938a829b2fc40a61dd604410c00f5e628 100644
--- a/Documentation/de/search-box.ihtml
+++ b/Documentation/de/search-box.ihtml
@@ -16,11 +16,11 @@ search for a while and have a redirection from "v2.15" to "v2.17".
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org/doc/v2.15 '
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org/doc/v2.15 '
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org/doc/v2.15 '
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Mit Google suchen">
<input type="text" name="brute_query" onfocus="this.value=''" value="Suche">
Index: Documentation/es/search-box.ihtml
diff --git a/Documentation/es/search-box.ihtml b/Documentation/es/search-box.ihtml index 43ac87b84cebabdcfc3261fd73e5991b2d0eb96f..56fb87f9457b5e96038d06ff1c15df2959fdfda7 100644
--- a/Documentation/es/search-box.ihtml
+++ b/Documentation/es/search-box.ihtml
@@ -14,11 +14,11 @@ search for a while and have a redirection from "v2.15" to "v2.17".
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org/doc/v2.15 '
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org/doc/v2.15 '
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org/doc/v2.15 '
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Búsqueda en Google">
<input type="text" name="brute_query" onfocus="this.value=''" value="Buscar">
Index: Documentation/fr/search-box.ihtml
diff --git a/Documentation/fr/search-box.ihtml b/Documentation/fr/search-box.ihtml index 0017b60ffc90c07846dd352c27feb630e79965fe..8a667800599398ca64b1b9e08d41f046ab83d999 100644
--- a/Documentation/fr/search-box.ihtml
+++ b/Documentation/fr/search-box.ihtml
@@ -16,11 +16,11 @@ search for a while and have a redirection from "v2.15" to "v2.17".
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org/doc/v2.15 '
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org/doc/v2.15 '
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org/doc/v2.15 '
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Recherche sur Google">
<input type="text" name="brute_query" onfocus="this.value=''" value="Rechercher">
Index: Documentation/hu/search-box.ihtml
diff --git a/Documentation/hu/search-box.ihtml b/Documentation/hu/search-box.ihtml index fb526ad72c6dc41455b47cc8272cac69c94beaa2..6dc413f820c2a06d230636c9fbab2f5fea990b31 100644
--- a/Documentation/hu/search-box.ihtml
+++ b/Documentation/hu/search-box.ihtml
@@ -1,11 +1,11 @@
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org +v2.12 '
+      onSubmit="search.q.value='site:lilypond.org +v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org +v2.12 '
+      onMouseMove="search.q.value='site:lilypond.org +v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org +v2.12 '
+      onKeyUp="search.q.value='site:lilypond.org +v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Google keresés">
<input type="text" name="brute_query" onfocus="this.value=''" value="Keresés">
Index: Documentation/it/search-box.ihtml
diff --git a/Documentation/it/search-box.ihtml b/Documentation/it/search-box.ihtml index cc7ddf3824c53d0369c0d835cb596d396ade1909..a393fd89443d962d37da02916ec07702b50c5294 100644
--- a/Documentation/it/search-box.ihtml
+++ b/Documentation/it/search-box.ihtml
@@ -15,11 +15,11 @@ search for a while and have a redirection from "v2.15" to "v2.17".
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org/doc/v2.15 '
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org/doc/v2.15 '
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org/doc/v2.15 '
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Cerca con Google">
<input type="text" name="brute_query" onfocus="this.value=''" value="Cerca">
Index: Documentation/nl/search-box.ihtml
diff --git a/Documentation/nl/search-box.ihtml b/Documentation/nl/search-box.ihtml index 51687b776596d498d0e8b62576483212aa3f2da9..d18b89d0318f7a0f6319eb03d660b0a21fbd2511 100644
--- a/Documentation/nl/search-box.ihtml
+++ b/Documentation/nl/search-box.ihtml
@@ -8,11 +8,11 @@
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org +v2.14 '
+      onSubmit="search.q.value='site:lilypond.org +v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org +v2.14 '
+      onMouseMove="search.q.value='site:lilypond.org +v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org +v2.14 '
+      onKeyUp="search.q.value='site:lilypond.org +v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Zoek met Google">
<input type="text" name="brute_query" onfocus="this.value=''" value="Zoek">
Index: Documentation/search-box.ihtml
diff --git a/Documentation/search-box.ihtml b/Documentation/search-box.ihtml
index eaac109bcc561a7321e489e048cf8ed6aec59fae..9f48bc6f56489ed97948262193d18eed5f44b2f5 100644
--- a/Documentation/search-box.ihtml
+++ b/Documentation/search-box.ihtml
@@ -9,11 +9,11 @@ search for a while and have a redirection from "v2.15" to "v2.17".
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org/doc/v2.15 '
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org/doc/v2.15 '
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org/doc/v2.15 '
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Google Search">
<input type="text" name="brute_query" onfocus="this.value=''" value="Search">
Index: Documentation/zh/search-box.ihtml
diff --git a/Documentation/zh/search-box.ihtml b/Documentation/zh/search-box.ihtml index 670a755a0acb5ca63f05feec7dec4114afcae1cc..639cf4d778d1d3acb7ec24debc9606dc949b4c69 100644
--- a/Documentation/zh/search-box.ihtml
+++ b/Documentation/zh/search-box.ihtml
@@ -14,11 +14,11 @@ search for a while and have a redirection from "v2.15" to "v2.17".
 <form action="http://google.com/search";
       method="get"
       name="search"
-      onSubmit="search.q.value='site:lilypond.org/doc/v2.15 '
+      onSubmit="search.q.value='site:lilypond.org/doc/v2.17 '
                + search.brute_query.value"
-      onMouseMove="search.q.value='site:lilypond.org/doc/v2.15 '
+      onMouseMove="search.q.value='site:lilypond.org/doc/v2.17 '
                   + search.brute_query.value"
-      onKeyUp="search.q.value='site:lilypond.org/doc/v2.15 '
+      onKeyUp="search.q.value='site:lilypond.org/doc/v2.17 '
               + search.brute_query.value">
   <input type="hidden" name="btnG" value="Google 搜索">
<input type="text" name="brute_query" onfocus="this.value=''" value="搜 索">
Index: scripts/build/website_post.py
diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py
index ccc2cf4db68a3e3e28053cb053278c40253b8a5c..312795e3a1c9cd3251c532c864972ae7e2e0f0d8 100644
--- a/scripts/build/website_post.py
+++ b/scripts/build/website_post.py
@@ -204,9 +204,9 @@ urchinTracker();
         if (line.find("href=\"http://download.linuxaudio.org";) >= 0):
             # TODO: more ugly hardcoding to make releases hard. :(
             if (line.find('2.16') >= 0):
- line = line.replace('a href=', 'a onClick=\"javascript:urchinTracker(\'/download/v2.14\');\" href=') + line = line.replace('a href=', 'a onClick=\"javascript:urchinTracker(\'/download/v2.16\');\" href=')
             elif (line.find('2.17') >= 0):
- line = line.replace('a href=', 'a onClick=\"javascript:urchinTracker(\'/download/v2.15\');\" href=') + line = line.replace('a href=', 'a onClick=\"javascript:urchinTracker(\'/download/v2.17\');\" href=')
         ### add language selection footer
         if (line.find("<div id=\"verifier_texinfo\">") >= 0):
             outfile.write("<div id=\"footer\">\n")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]