Module: wine
Branch: master
Commit: 5f34a493685e6a163c28678229e820d6e1b03e96
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5f34a493685e6a163c2867822…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu May 29 18:22:56 2008 +0200
shell32: s/library/Wine/ for consistency in the license message.
---
dlls/shell32/shell32_En.rc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shell32_En.rc b/dlls/shell32/shell32_En.rc
index 68263ce..e2f476a 100644
--- a/dlls/shell32/shell32_En.rc
+++ b/dlls/shell32/shell32_En.rc
@@ -264,6 +264,6 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of \
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU \
Lesser General Public License for more details.\n\n\
You should have received a copy of the GNU Lesser General Public \
-License along with this library; if not, write to the Free Software \
+License along with Wine; if not, write to the Free Software \
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."
}
Module: website
Branch: master
Commit: c14654e092dc4a49e45f682b69f461867b54d7b4
URL: http://source.winehq.org/git/website.git/?a=commit;h=c14654e092dc4a49e45f68…
Author: Jeremy Newman <jnewman(a)codeweavers.com>
Date: Thu May 29 16:57:27 2008 -0500
fix issue of detection overwriting incorrect var
---
include/html.php | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/include/html.php b/include/html.php
index adf793f..f5833ee 100644
--- a/include/html.php
+++ b/include/html.php
@@ -57,16 +57,17 @@ class html
else if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"]))
{
// load from web browser environment
- $lang = split(',', array_shift(split(";", $_SERVER["HTTP_ACCEPT_LANGUAGE"])));
- if (isset($lang[0]))
+ $avail = split(',', array_shift(split(";", $_SERVER["HTTP_ACCEPT_LANGUAGE"])));
+ if (isset($avail[0]))
{
// if first language is a variation, use the parent language
- if (strlen($lang[0]) > 2)
- $lang[0] = substr($lang[0], 0, 2);
+ if (strlen($avail[0]) > 2)
+ $avail[0] = substr($avail[0], 0, 2);
// check to make sure lang is defined in our config
- if (in_array($lang[0], $GLOBALS['config']->languages))
- $lang = $lang[0];
+ if (in_array($avail[0], $GLOBALS['config']->languages))
+ $lang = $avail[0];
}
+ unset($avail);
}
// return language
return $lang;
Module: website
Branch: master
Commit: 044886f0994aaff064bedbb418d5cd3a1ef3fbaf
URL: http://source.winehq.org/git/website.git/?a=commit;h=044886f0994aaff064bedb…
Author: Jeremy Newman <jnewman(a)jnewman.codeweavers.com>
Date: Thu May 29 16:14:39 2008 -0500
use available languages from site config file, not hard coded into config lib
---
include/config.php | 3 ---
include/html.php | 7 +++----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/include/config.php b/include/config.php
index 7ec30fc..a5f1fe2 100644
--- a/include/config.php
+++ b/include/config.php
@@ -30,9 +30,6 @@ class config
$this->readConfig($path);
}
- // define avialable languages
- $this->langs_avail = array('en', 'es');
-
// navigation
$this->nav = array(
'WineHQ Menu' => array(
diff --git a/include/html.php b/include/html.php
index 8f78427..af93eba 100644
--- a/include/html.php
+++ b/include/html.php
@@ -40,12 +40,12 @@ class html
if (isset($_GET['lang']) or isset($_COOKIE['lang']))
{
// load language from URL or cookie
- if (isset($_GET['lang']) and in_array($_GET['lang'], $GLOBALS['config']->langs_avail))
+ if (isset($_GET['lang']) and in_array($_GET['lang'], $GLOBALS['config']->languages))
{
// load from URL
$lang = $_GET['lang'];
}
- else if (isset($_COOKIE['lang']) and in_array($_COOKIE['lang'], $GLOBALS['config']->langs_avail))
+ else if (isset($_COOKIE['lang']) and in_array($_COOKIE['lang'], $GLOBALS['config']->languages))
{
// load from COOKIE
$lang = $_COOKIE['lang'];
@@ -56,7 +56,6 @@ class html
else if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"]))
{
// load from web browser environment
- $avail = get_files($this->_file_root."/templates", "DIR");
$lang = split(',', array_shift(split(";", $_SERVER["HTTP_ACCEPT_LANGUAGE"])));
if (isset($lang[0]))
{
@@ -64,7 +63,7 @@ class html
if (strlen($lang[0]) > 2)
$lang[0] = substr($lang[0], 0, 2);
// check to make sure lang is defined in our config
- if (in_array($lang[0], $GLOBALS['config']->langs_avail))
+ if (in_array($lang[0], $GLOBALS['config']->languages))
$lang = $lang[0];
}
}
Module: website
Branch: master
Commit: 7e1b161e48df299875f663ec28d2850aba07f4a8
URL: http://source.winehq.org/git/website.git/?a=commit;h=7e1b161e48df299875f663…
Author: Jeremy Newman <jnewman(a)jnewman.codeweavers.com>
Date: Thu May 29 16:05:40 2008 -0500
adding 404 not found template for "es" spanish
---
templates/es/404.template | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/templates/es/404.template b/templates/es/404.template
new file mode 100644
index 0000000..278271b
--- /dev/null
+++ b/templates/es/404.template
@@ -0,0 +1,21 @@
+<!--TITLE:[404 no encontrados]-->
+
+<p>
+ <span style="font-size: 48pt; color: red;">404</span> no encontrados
+</p>
+
+<p>
+ Apesadumbrado, ese documento no fue encontrado. Compruebe por favor su URL e intente otra vez.
+</p>
+
+<p><img src="{$root}/images/grey_pixel.gif" width="100%" height="1" alt=""></p>
+
+<p>
+ Si usted siguió un acoplamiento de una página de WineHQ.org y alcanzó esta página en error, divulgúelo por favor a WineHQ.org <a href="http://bugs.winehq.org/enter_bug.cgi?product=WineHQ.com">Bugzilla</a>.
+</p>
+
+<p> </p>
+<p> </p>
+<p> </p>
+<p> </p>
+