r18422 - htdocs/trunk - Website language fixes by Geert Janssens

Christian Stimming cstim at code.gnucash.org
Wed Nov 18 13:25:56 EST 2009


Author: cstim
Date: 2009-11-18 13:25:55 -0500 (Wed, 18 Nov 2009)
New Revision: 18422
Trac: http://svn.gnucash.org/trac/changeset/18422

Added:
   htdocs/trunk/de/download.phtml
   htdocs/trunk/de/osx_readme.phtml
   htdocs/trunk/es/download.phtml
   htdocs/trunk/es/osx_readme.phtml
   htdocs/trunk/fr/download.phtml
   htdocs/trunk/fr/osx_readme.phtml
   htdocs/trunk/it/download.phtml
   htdocs/trunk/it/osx_readme.phtml
   htdocs/trunk/nb/download.phtml
   htdocs/trunk/nb/osx_readme.phtml
   htdocs/trunk/news/nb/index.html
   htdocs/trunk/news/nl/index.html
   htdocs/trunk/news/pl/index.html
   htdocs/trunk/news/pt_PT/index.html
   htdocs/trunk/nl/download.phtml
   htdocs/trunk/nl/osx_readme.phtml
   htdocs/trunk/pl/download.phtml
   htdocs/trunk/pl/osx_readme.phtml
   htdocs/trunk/pt_PT/download.phtml
   htdocs/trunk/pt_PT/osx_readme.phtml
Modified:
   htdocs/trunk/externals/header.phtml
   htdocs/trunk/index.phtml
   htdocs/trunk/lang.php
   htdocs/trunk/news/news-script.php
Log:
Website language fixes by Geert Janssens

Added: htdocs/trunk/de/download.phtml
===================================================================
--- htdocs/trunk/de/download.phtml	                        (rev 0)
+++ htdocs/trunk/de/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/de/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/de/osx_readme.phtml
===================================================================
--- htdocs/trunk/de/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/de/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/de/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/es/download.phtml
===================================================================
--- htdocs/trunk/es/download.phtml	                        (rev 0)
+++ htdocs/trunk/es/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/es/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/es/osx_readme.phtml
===================================================================
--- htdocs/trunk/es/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/es/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/es/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml	2009-11-17 21:18:34 UTC (rev 18421)
+++ htdocs/trunk/externals/header.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -5,7 +5,7 @@
 <link rel="icon" href="<?=$top_dir?>/favicon.ico" type="image/x-icon" />
 <link rel="shortcut icon" href="<?=$top_dir?>/favicon.ico" type="image/x-icon" />
 <?php echo $mimeline;  ?>
-<?php include("externals/global_params.php"); ?>
+<?php include("$top_dir/externals/global_params.php"); ?>
 <?php
 
 if (isset($homepage)) { ?>

Added: htdocs/trunk/fr/download.phtml
===================================================================
--- htdocs/trunk/fr/download.phtml	                        (rev 0)
+++ htdocs/trunk/fr/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/fr/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/fr/osx_readme.phtml
===================================================================
--- htdocs/trunk/fr/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/fr/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/fr/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Modified: htdocs/trunk/index.phtml
===================================================================
--- htdocs/trunk/index.phtml	2009-11-17 21:18:34 UTC (rev 18421)
+++ htdocs/trunk/index.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -16,9 +16,9 @@
 <h2><?php echo _("Download GnuCash $latest_stable")?></h2>
 
 <ul>
-<li><img src="images/icons/linux.png" /> Linux <a href="<?php echo $download_path.$latest_stable_source;?>"><?php echo _("Source");?></a> | <a href="<?=$home?>/download.phtml#distribution"><?php echo _("Via distribution");?></a></li>
-<li><img src="images/icons/windows.png" /> Microsoft Windows <a href="<?php echo $download_path.$latest_stable_win;?>">XP/Vista</a></li>
-<li><img src="images/icons/macosx.png" /> Mac OS X <a href="<?php echo $download_path.$latest_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $download_path.$latest_stable_mac_ppc;?>">Power PC</a> | <a href="osx_readme.phtml?branch=stable&version=<?php echo $latest_stable;?>">Readme</a></li>
+<li><img src="<?=$top_dir?>/images/icons/linux.png" /> Linux <a href="<?php echo $download_path.$latest_stable_source;?>"><?php echo _("Source");?></a> | <a href="<?=$home?>/download.phtml#distribution"><?php echo _("Via distribution");?></a></li>
+<li><img src="<?=$top_dir?>/images/icons/windows.png" /> Microsoft Windows <a href="<?php echo $download_path.$latest_stable_win;?>">XP/Vista</a></li>
+<li><img src="<?=$top_dir?>/images/icons/macosx.png" /> Mac OS X <a href="<?php echo $download_path.$latest_stable_mac_intel;?>">Intel</a> | <a href="<?php echo $download_path.$latest_stable_mac_ppc;?>">Power PC</a> | <a href="osx_readme.phtml?branch=stable&version=<?php echo $latest_stable;?>">Readme</a></li>
 <li><a href="<?=$home?>/download.phtml" style="font-size: 80%;"><?=_("More downloads (Source, Development,...)")?></a></li>
 </ul>
 </div>

Added: htdocs/trunk/it/download.phtml
===================================================================
--- htdocs/trunk/it/download.phtml	                        (rev 0)
+++ htdocs/trunk/it/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/it/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/it/osx_readme.phtml
===================================================================
--- htdocs/trunk/it/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/it/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/it/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Modified: htdocs/trunk/lang.php
===================================================================
--- htdocs/trunk/lang.php	2009-11-17 21:18:34 UTC (rev 18421)
+++ htdocs/trunk/lang.php	2009-11-18 18:25:55 UTC (rev 18422)
@@ -1,7 +1,6 @@
 <?php
 # allow user override.
-$language = $_GET["lang"];
-if (isset($language)) { $locale = $language; }
+if (array_key_exists('lang', $_GET)) { $locale = $_GET["lang"]; }
 if ($locale == "") { $locale = "en_US"; }
 putenv("LANG=$locale");
 putenv("LANGUAGE=$locale");
@@ -14,5 +13,5 @@
 bind_textdomain_codeset($domain, 'UTF-8');
 
 textdomain($domain);
-echo ("<!-- $lang , locale_res [$locale_res] , dir_res $dir_res -->\n");
+echo ("<!-- $locale , locale_res [$locale_res] , dir_res $dir_res -->\n");
 ?>

Added: htdocs/trunk/nb/download.phtml
===================================================================
--- htdocs/trunk/nb/download.phtml	                        (rev 0)
+++ htdocs/trunk/nb/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/nb/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/nb/osx_readme.phtml
===================================================================
--- htdocs/trunk/nb/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/nb/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/nb/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/news/nb/index.html
===================================================================
--- htdocs/trunk/news/nb/index.html	                        (rev 0)
+++ htdocs/trunk/news/nb/index.html	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+<head>
+<link rel="icon" href="/favicon.ico" type="image/x-icon">
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>GnuCash - empty directory</title>
+</head>
+<body>
+<div><a href="../../">Home</a></div>
+</body>
+</html>

Modified: htdocs/trunk/news/news-script.php
===================================================================
--- htdocs/trunk/news/news-script.php	2009-11-17 21:18:34 UTC (rev 18421)
+++ htdocs/trunk/news/news-script.php	2009-11-18 18:25:55 UTC (rev 18422)
@@ -32,10 +32,6 @@
     // array of translated news files.  Holds filenames of translated news.
     $lang_files = array();
 
-    // a little debugging
-    echo("<!-- in news/news-script.php: top_dir = $top_dir -->\n");
-    echo("<!-- lang-path: $lang_newspath ; en-path: $en_newspath -->\n");
-
     // ------------------------------------------
     // check for the translated articles
     $hd = dir($lang_newspath);
@@ -104,6 +100,10 @@
 {
     global $top_dir;
 
+    // a little debugging
+    echo("<!-- in news/news-script.php: top_dir = $top_dir -->\n");
+    echo("<!-- lang-path: $lang_newspath ; en-path: $en_newspath -->\n");
+
     # Be sure to define the following path to newsdirs
     if (!$en_newspath) { exit; }
     if (!$lang_newspath) { exit; }
@@ -130,7 +130,7 @@
 ?>
 <div class="newsborder">
   <div class="newsheader">
-    <img alt="news panel" src="<?=${top_dir}?>/images/icons/document.txt.gif" width="16" height="16" alt="[news]"/>&nbsp;
+    <img alt="news panel" src="<?=$top_dir?>/images/icons/document.txt.gif" width="16" height="16" alt="[news]"/>&nbsp;
     <a name="<?=generate_anchor($key)?>"><?= $fa[0]; ?> - <b><?= $newsfile[$key] ?></b></a>
   </div>
   <div class="newsinner">

Added: htdocs/trunk/news/nl/index.html
===================================================================
--- htdocs/trunk/news/nl/index.html	                        (rev 0)
+++ htdocs/trunk/news/nl/index.html	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+<head>
+<link rel="icon" href="/favicon.ico" type="image/x-icon">
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>GnuCash - empty directory</title>
+</head>
+<body>
+<div><a href="../../">Home</a></div>
+</body>
+</html>

Added: htdocs/trunk/news/pl/index.html
===================================================================
--- htdocs/trunk/news/pl/index.html	                        (rev 0)
+++ htdocs/trunk/news/pl/index.html	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+<head>
+<link rel="icon" href="/favicon.ico" type="image/x-icon">
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>GnuCash - empty directory</title>
+</head>
+<body>
+<div><a href="../../">Home</a></div>
+</body>
+</html>

Added: htdocs/trunk/news/pt_PT/index.html
===================================================================
--- htdocs/trunk/news/pt_PT/index.html	                        (rev 0)
+++ htdocs/trunk/news/pt_PT/index.html	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html>
+<head>
+<link rel="icon" href="/favicon.ico" type="image/x-icon">
+<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title>GnuCash - empty directory</title>
+</head>
+<body>
+<div><a href="../../">Home</a></div>
+</body>
+</html>

Added: htdocs/trunk/nl/download.phtml
===================================================================
--- htdocs/trunk/nl/download.phtml	                        (rev 0)
+++ htdocs/trunk/nl/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/nl/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/nl/osx_readme.phtml
===================================================================
--- htdocs/trunk/nl/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/nl/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/nl/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/pl/download.phtml
===================================================================
--- htdocs/trunk/pl/download.phtml	                        (rev 0)
+++ htdocs/trunk/pl/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/pl/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/pl/osx_readme.phtml
===================================================================
--- htdocs/trunk/pl/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/pl/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/pl/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/pt_PT/download.phtml
===================================================================
--- htdocs/trunk/pt_PT/download.phtml	                        (rev 0)
+++ htdocs/trunk/pt_PT/download.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../download.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/pt_PT/download.phtml
___________________________________________________________________
Added: svn:special
   + *

Added: htdocs/trunk/pt_PT/osx_readme.phtml
===================================================================
--- htdocs/trunk/pt_PT/osx_readme.phtml	                        (rev 0)
+++ htdocs/trunk/pt_PT/osx_readme.phtml	2009-11-18 18:25:55 UTC (rev 18422)
@@ -0,0 +1 @@
+link ../osx_readme.phtml
\ No newline at end of file


Property changes on: htdocs/trunk/pt_PT/osx_readme.phtml
___________________________________________________________________
Added: svn:special
   + *



More information about the gnucash-changes mailing list