[Gnucash-changes] r12969 - htdocs/trunk - making gettext available
in all files and moving more files beneath www
Neil Williams
codehelp at cvs.gnucash.org
Mon Jan 23 17:09:49 EST 2006
Author: codehelp
Date: 2006-01-23 17:09:48 -0500 (Mon, 23 Jan 2006)
New Revision: 12969
Trac: http://svn.gnucash.org/trac/changeset/12969
Added:
htdocs/trunk/README
htdocs/trunk/accept-to-gettext.inc
htdocs/trunk/create-potfiles.pl
htdocs/trunk/www/bios/
htdocs/trunk/www/bios/index.html
htdocs/trunk/www/contribute/
htdocs/trunk/www/contribute/index.html
htdocs/trunk/www/favicon.ico
htdocs/trunk/www/htdig.sh
htdocs/trunk/www/links/
htdocs/trunk/www/links/index.html
htdocs/trunk/www/links/links-erp.phtml
htdocs/trunk/www/links/links-general.phtml
htdocs/trunk/www/links/links-money.phtml
htdocs/trunk/www/robots.txt
htdocs/trunk/www/t-shirt/
Removed:
htdocs/trunk/en/bios/
htdocs/trunk/en/contribute/
htdocs/trunk/en/links/
htdocs/trunk/en/t-shirt/
htdocs/trunk/favicon.ico
htdocs/trunk/htdig.sh
htdocs/trunk/index.php
htdocs/trunk/make-potfiles
htdocs/trunk/robots.txt
htdocs/trunk/www/links/links-erp.phtml
htdocs/trunk/www/links/links-general.phtml
htdocs/trunk/www/links/links-money.phtml
Modified:
htdocs/trunk/emulate_globals_on.php
htdocs/trunk/externals/en/menu-other.phtml
htdocs/trunk/news/en/040420-gtt.txt
htdocs/trunk/news/news-script.php
htdocs/trunk/po/POTFILES
htdocs/trunk/po/gnucash-htdocs.pot
htdocs/trunk/www/bugs.phtml
htdocs/trunk/www/externals/en/menu-other.phtml
htdocs/trunk/www/index.phtml
htdocs/trunk/www/links.phtml
Log:
making gettext available in all files and moving more files beneath www
Copied: htdocs/trunk/README (from rev 12933, htdocs/trunk/index.php)
===================================================================
--- htdocs/trunk/index.php 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/README 2006-01-23 22:09:48 UTC (rev 12969)
@@ -0,0 +1,35 @@
+# Notes for those editing these pages.
+#
+# all pages must call emulate_globals_on.php
+# Two variables then become available on all systems:
+# $toppath is for filesystem paths, generally include files.
+# $topdir is for http paths e.g. images and other user-facing resources.
+# To make your pages portable, always precede a local href or src
+# location with $topdir:
+# src="<?php echo $topdir; ?>/path"
+# this allows mirrors to install the site in a sub-directory.
+#
+# Within content, the absolute rules are:
+# 1. If you OPEN a tag, YOU are responsible for closing it
+# 2. Escape all entities: use & < > - watch those
+# Bugzilla or SourceForge URL links: all query strings need to
+# use &
+
+# i18n and l10n:
+# =============
+#
+# The server needs to be configured for the underlying locales
+# before PHP can use gettext to translate them. On Debian,
+# install and configure 'locales' for each supported language
+# and use 'dpkg-reconfigure locales' to add new ones later.
+#
+# The test server at http://gnucash.neil.williamsleesmill.me.uk/
+# supports: C POSIX de_DE de_DE.iso88591 de_DE.utf8 deutsch dutch
+# en_AU en_AU.iso88591 en_AU.utf8 en_BW en_BW.iso88591 en_BW.utf8
+# en_CA en_CA.iso88591 en_CA.utf8 en_GB en_GB.iso88591 en_GB.utf8
+# en_US en_US.iso88591 en_US.utf8 es_ES es_ES.iso88591 es_ES.utf8
+# fr_FR fr_FR.iso88591 fr_FR.utf8 français french german it_IT
+# it_IT.iso88591 it_IT.utf8 italian nl_NL nl_NL.iso88591 nl_NL.utf8
+# portuguese pt_BR pt_BR.iso88591 pt_BR.utf8 pt_PT pt_PT.iso88591
+# pt_PT.utf8 spanish
+
Added: htdocs/trunk/accept-to-gettext.inc
===================================================================
--- htdocs/trunk/accept-to-gettext.inc 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/accept-to-gettext.inc 2006-01-23 22:09:48 UTC (rev 12969)
@@ -0,0 +1,184 @@
+<?php
+/*
+ * accept-to-gettext.inc -- convert information in 'Accept-*' headers to
+ * gettext language identifiers.
+ * Copyright (c) 2003, Wouter Verhelst <wouter at debian.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Usage:
+ *
+ * $locale=al2gt(<array of supported languages/charsets in gettext syntax>,
+ * <MIME type of document>);
+ * setlocale('LC_ALL', $locale); // or 'LC_MESSAGES', or whatever...
+ *
+ * Example:
+ *
+ * $langs=array('nl_BE.ISO-8859-15','nl_BE.UTF-8','en_US.UTF-8','en_GB.UTF-8');
+ * $locale=al2gt($langs, 'text/html');
+ * setlocale('LC_ALL', $locale);
+ *
+ * Note that this will send out header information (to be
+ * RFC2616-compliant), so it must be called before anything is sent to
+ * the user.
+ *
+ * Assumptions made:
+ * * Charset encodings are written the same way as the Accept-Charset
+ * HTTP header specifies them (RFC2616), except that they're parsed
+ * case-insensitive.
+ * * Country codes and language codes are the same in both gettext and
+ * the Accept-Language syntax (except for the case differences, which
+ * are dealt with easily). If not, some input may be ignored.
+ * * The provided gettext-strings are fully qualified; i.e., no "en_US";
+ * always "en_US.ISO-8859-15" or "en_US.UTF-8", or whichever has been
+ * used. "en.ISO-8859-15" is OK, though.
+ * * The language is more important than the charset; i.e., if the
+ * following is given:
+ *
+ * Accept-Language: nl-be, nl;q=0.8, en-us;q=0.5, en;q=0.3
+ * Accept-Charset: ISO-8859-15, utf-8;q=0.5
+ *
+ * And the supplied parameter contains (amongst others) nl_BE.UTF-8
+ * and nl.ISO-8859-15, then nl_BE.UTF-8 will be picked.
+ *
+ * $Log: accept-to-gettext.inc,v $
+ * Revision 1.1.1.1 2003/11/19 19:31:15 wouter
+ * * moved to new CVS repo after death of the old
+ * * Fixed code to apply a default to both Accept-Charset and
+ * Accept-Language if none of those headers are supplied; patch from
+ * Dominic Chambers <dominic at encasa.com>
+ *
+ * Revision 1.2 2003/08/14 10:23:59 wouter
+ * Removed little error in Content-Type header syntaxis.
+ *
+ */
+
+/* not really important, this one; perhaps I could've put it inline with
+ * the rest. */
+function find_match($curlscore,$curcscore,$curgtlang,$langval,$charval,
+ $gtlang)
+{
+ if($curlscore < $langval) {
+ $curlscore=$langval;
+ $curcscore=$charval;
+ $curgtlang=$gtlang;
+ } else if ($curlscore == $langval) {
+ if($curcscore < $charval) {
+ $curcscore=$charval;
+ $curgtlang=$gtlang;
+ }
+ }
+ return array($curlscore, $curcscore, $curgtlang);
+}
+
+function al2gt($gettextlangs, $mime) {
+ /* default to "everything is acceptable", as RFC2616 specifies */
+ $acceptLang=(($_SERVER["HTTP_ACCEPT_LANGUAGE"] == '') ? '*' :
+ $_SERVER["HTTP_ACCEPT_LANGUAGE"]);
+ $acceptChar=(($_SERVER["HTTP_ACCEPT_CHARSET"] == '') ? '*' :
+ $_SERVER["HTTP_ACCEPT_CHARSET"]);
+ $alparts=@preg_split("/,/",$acceptLang);
+ $acparts=@preg_split("/,/",$acceptChar);
+
+ /* Parse the contents of the Accept-Language header.*/
+ foreach($alparts as $part) {
+ $part=trim($part);
+ if(preg_match("/;/", $part)) {
+ $lang=@preg_split("/;/",$part);
+ $score=@preg_split("/=/",$lang[1]);
+ $alscores[$lang[0]]=$score[1];
+ } else {
+ $alscores[$part]=1;
+ }
+ }
+
+ /* Do the same for the Accept-Charset header. */
+
+ /* RFC2616: ``If no "*" is present in an Accept-Charset field, then
+ * all character sets not explicitly mentioned get a quality value of
+ * 0, except for ISO-8859-1, which gets a quality value of 1 if not
+ * explicitly mentioned.''
+ *
+ * Making it 2 for the time being, so that we
+ * can distinguish between "not specified" and "specified as 1" later
+ * on. */
+ $acscores["ISO-8859-1"]=2;
+
+ foreach($acparts as $part) {
+ $part=trim($part);
+ if(preg_match("/;/", $part)) {
+ $cs=@preg_split("/;/",$part);
+ $score=@preg_split("/=/",$cs[1]);
+ $acscores[strtoupper($cs[0])]=$score[1];
+ } else {
+ $acscores[strtoupper($part)]=1;
+ }
+ }
+ if($acscores["ISO-8859-1"]==2) {
+ $acscores["ISO-8859-1"]=(isset($acscores["*"])?$acscores["*"]:1);
+ }
+
+ /*
+ * Loop through the available languages/encodings, and pick the one
+ * with the highest score, excluding the ones with a charset the user
+ * did not include.
+ */
+ $curlscore=0;
+ $curcscore=0;
+ $curgtlang=NULL;
+ foreach($gettextlangs as $gtlang) {
+
+ $tmp1=preg_replace("/\_/","-",$gtlang);
+ $tmp2=@preg_split("/\./",$tmp1);
+ $allang=strtolower($tmp2[0]);
+ $gtcs=strtoupper($tmp2[1]);
+ $noct=@preg_split("/-/",$allang);
+
+ $testvals=array(
+ array($alscores[$allang], $acscores[$gtcs]),
+ array($alscores[$noct[0]], $acscores[$gtcs]),
+ array($alscores[$allang], $acscores["*"]),
+ array($alscores[$noct[0]], $acscores["*"]),
+ array($alscores["*"], $acscores[$gtcs]),
+ array($alscores["*"], $acscores["*"]));
+
+ $found=FALSE;
+ foreach($testvals as $tval) {
+ if(!$found && isset($tval[0]) && isset($tval[1])) {
+ $arr=find_match($curlscore, $curcscore, $curgtlang, $tval[0],
+ $tval[1], $gtlang);
+ $curlscore=$arr[0];
+ $curcscore=$arr[1];
+ $curgtlang=$arr[2];
+ $found=TRUE;
+ }
+ }
+ }
+
+ /* We must re-parse the gettext-string now, since we may have found it
+ * through a "*" qualifier.*/
+
+ $gtparts=@preg_split("/\./",$curgtlang);
+ $tmp=strtolower($gtparts[0]);
+ $lang=preg_replace("/\_/", "-", $tmp);
+ $charset=$gtparts[1];
+
+ header("Content-Language: $lang");
+ header("Content-Type: $mime; charset=$charset");
+
+ return $curgtlang;
+}
+
+?>
Copied: htdocs/trunk/create-potfiles.pl (from rev 12957, htdocs/trunk/make-potfiles)
===================================================================
--- htdocs/trunk/make-potfiles 2006-01-23 18:16:39 UTC (rev 12957)
+++ htdocs/trunk/create-potfiles.pl 2006-01-23 22:09:48 UTC (rev 12969)
@@ -0,0 +1,53 @@
+#!/usr/bin/perl -w
+#
+# This perl script is used to make po/POTFILES, the list
+# of PHP and phtml files to be searched for translatable strings.
+#
+# Author: Dave Peticolas <dave at krondo.com>
+# Adapted for PHP by Neil Williams <linux at codehelp.co.uk>
+
+use strict;
+
+use File::Basename;
+
+my @cvsignores = `find . -name '.cvsignore'`;
+my @phtml_files = `find www -name '*.php' -o -name '*.phtml'`;
+#my @news_files = `find news -regextype posix-egrep -regex '[a-z0-9\/\-]*\.txt'`;
+my @news_files = ();
+my @possible_files = (@phtml_files, @news_files);
+
+chomp(my $cwd = `pwd`);
+
+my %ignores;
+
+foreach my $one_ignore (@cvsignores) {
+ chomp($one_ignore);
+ my ($name, $path) = fileparse($one_ignore);
+ $path =~ s/^\.\///;
+ open (IG, $one_ignore);
+ chdir ("$path");
+ foreach my $fl (<IG>) {
+ chomp $fl;
+ next unless $fl;
+ my @matches = glob ($fl);
+ foreach my $match (@matches) {
+ chomp($match);
+ next unless $match;
+ $ignores{$path . $match} = 1;
+ }
+ }
+ close (IG);
+ chdir $cwd;
+}
+
+
+foreach my $file (@possible_files) {
+ chomp($file);
+ my ($name, $path) = fileparse($file);
+ $path =~ s/^\.\///;
+
+ next if $ignores{$path . $name};
+
+ print $path . $name . "\n";
+}
+
Modified: htdocs/trunk/emulate_globals_on.php
===================================================================
--- htdocs/trunk/emulate_globals_on.php 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/emulate_globals_on.php 2006-01-23 22:09:48 UTC (rev 12969)
@@ -16,4 +16,20 @@
unset($fullname);
$topdir.="../";
$toppath.="../";
+include($toppath."/accept-to-gettext.inc");
+# test gettext support
+# Set the language as 'en_GB' for testing
+# note that gettext in php requires the entire
+# string in one line, one quote.
+$langs=array('nl_BE.ISO-8859-15','nl_BE.UTF-8','en_GB.UTF-8','en_GB','en_US.UTF-8');
+$locale=al2gt($langs, 'text/html');
+# allow user override.
+$language = $_GET["lang"];
+if(isset($language)) { $locale = $language; }
+if($locale == "") { $locale = 'en_GB'; }
+putenv("LANG=$locale");
+setlocale(LC_MESSAGES, $locale);
+$domain = "gnucash-htdocs";
+bindtextdomain("$domain", "$toppath");
+textdomain("$domain");
?>
Modified: htdocs/trunk/externals/en/menu-other.phtml
===================================================================
--- htdocs/trunk/externals/en/menu-other.phtml 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/externals/en/menu-other.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -11,6 +11,6 @@
echo "<li><a href=\"$home/quiz-results.phtml\">Survey Results</a></li>\n";
echo "<li><a href=\"$home/sizing.phtml\">Sizing</a></li>\n";
echo "<li><a href=\"$home/rss-feed.phtml\">\n";
-echo "<img src=\"$topdir/images/rss.gif\" alt=\"rss logo\"></a></li>\n";
+echo "<img src=\"images/rss.gif\" alt=\"rss logo\"></a></li>\n";
echo "</ul>\n";
?>
Deleted: htdocs/trunk/favicon.ico
===================================================================
(Binary files differ)
Deleted: htdocs/trunk/htdig.sh
===================================================================
--- htdocs/trunk/htdig.sh 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/htdig.sh 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,5 +0,0 @@
-HTBINDIR=/usr/lib/cgi-bin
-QUERY_STRING="$@"
-REQUEST_METHOD=GET
-export QUERY_STRING REQUEST_METHOD
-$HTBINDIR/htsearch
Deleted: htdocs/trunk/index.php
===================================================================
--- htdocs/trunk/index.php 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/index.php 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,21 +0,0 @@
-<?php
-header ("Location: en/");
-exit;
-# Notes for those editing these pages.
-#
-# all pages must call emulate_globals_on.php
-# Two variables then become available on all systems:
-# $toppath is for filesystem paths, generally include files.
-# $topdir is for http paths e.g. images and other user-facing resources.
-# To make your pages portable, always precede a local href or src
-# location with $topdir:
-# src="<?php echo $topdir; ?>/path"
-# this allows mirrors to install the site in a sub-directory.
-#
-# Within content, the absolute rules are:
-# 1. If you OPEN a tag, YOU are responsible for closing it
-# 2. Escape all entities: use & < > - watch those
-# Bugzilla or SourceForge URL links: all query strings need to
-# use &
-?>
-
Deleted: htdocs/trunk/make-potfiles
===================================================================
--- htdocs/trunk/make-potfiles 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/make-potfiles 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,50 +0,0 @@
-#!/usr/bin/perl -w
-#
-# This perl script is used to make po/POTFILES, the list
-# of PHP and phtml files to be searched for translatable strings.
-#
-# Author: Dave Peticolas <dave at krondo.com>
-# Adapted for PHP by Neil Williams <linux at codehelp.co.uk>
-
-use strict;
-
-use File::Basename;
-
-my @cvsignores = `find . -name '.svn'`;
-my @possible_files = `find www -name '*.php' -o -name '*.phtml'`;
-
-chomp(my $cwd = `pwd`);
-
-my %ignores;
-
-foreach my $one_ignore (@cvsignores) {
- chomp($one_ignore);
- my ($name, $path) = fileparse($one_ignore);
- $path =~ s/^\.\///;
- open (IG, $one_ignore);
- chdir ("$path");
- foreach my $fl (<IG>) {
- chomp $fl;
- next unless $fl;
- my @matches = glob ($fl);
- foreach my $match (@matches) {
- chomp($match);
- next unless $match;
- $ignores{$path . $match} = 1;
- }
- }
- close (IG);
- chdir $cwd;
-}
-
-
-foreach my $file (@possible_files) {
- chomp($file);
- my ($name, $path) = fileparse($file);
- $path =~ s/^\.\///;
-
- next if $ignores{$path . $name};
-
- print $path . $name . "\n";
-}
-
Modified: htdocs/trunk/news/en/040420-gtt.txt
===================================================================
--- htdocs/trunk/news/en/040420-gtt.txt 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/news/en/040420-gtt.txt 2006-01-23 22:09:48 UTC (rev 12969)
@@ -11,26 +11,26 @@
Version 2.1.9 is now available; it fixes a number of bugs from 2.1.8 and
earlier versions:
<ul>
-<li> Keyboard events were not resetting the timeout
-<li> Fix Help system so that help actually starts up.
-<li> Fix old, multiple scheme bugs affecting billing reports.
-<li> Provides 'infinite undo' for cut projects.
+<li> Keyboard events were not resetting the timeout</li>
+<li> Fix Help system so that help actually starts up.</li>
+<li> Fix old, multiple scheme bugs affecting billing reports.</li>
+<li> Provides 'infinite undo' for cut projects.</li>
<li> Keyboard cut (ctrl-x) fixed so that it cuts only if project
- window has focus.
+ window has focus.</li>
<li> Can now specify day-of-week for the start of a new week.
- Also, end-of-day need not be midnight - its now configurable.
-<li> Remove obsolete menu entries (clear daily counters)
-<li> Fix flyover help on HTML reports
-<li> Fix order of yesterday/today columns.
-<li> Improve checks for Guile during builds
-<li> New whiz-bang SQL for reports.
+ Also, end-of-day need not be midnight - its now configurable.</li>
+<li> Remove obsolete menu entries (clear daily counters)</li>
+<li> Fix flyover help on HTML reports</li>
+<li> Fix order of yesterday/today columns.</li>
+<li> Improve checks for Guile during builds</li>
+<li> New whiz-bang SQL for reports.</li>
</ul>
The
-<a href="http://gttr.sourceforge.net">GnoTime website is here</a>
+<a href="http://gttr.sourceforge.net">GnoTime website is here</a>
and is
-<a href="http://www.linas.org/linux/gtt/gtt.html">mirrored here</a>.
+<a href="http://www.linas.org/linux/gtt/gtt.html">mirrored here</a>.
Sources and CVS access is at the
-<a href="http://sourceforge.net/projects/gttr/">
+<a href="http://sourceforge.net/projects/gttr/">
sourceforge project site</a>. Most major distributions now carry
-GnoTime, so look to your distro first for a binary.
+GnoTime, so look to your distro first for a binary.
Modified: htdocs/trunk/news/news-script.php
===================================================================
--- htdocs/trunk/news/news-script.php 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/news/news-script.php 2006-01-23 22:09:48 UTC (rev 12969)
@@ -92,7 +92,7 @@
$n=count($fa);
echo ("<div class=\"newsborder\"><div class=\"newsheader\">");
- echo("<img alt=\"news panel\" src=\"$topdir/images/icons/document.txt.gif\"> ");
+ echo("<img alt=\"news panel\" src=\"images/icons/document.txt.gif\"> ");
print $fa[0];
print " - <b>" . $newsfile[$key] . "</b>\n</div>";
Modified: htdocs/trunk/po/POTFILES
===================================================================
--- htdocs/trunk/po/POTFILES 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/po/POTFILES 2006-01-23 22:09:48 UTC (rev 12969)
@@ -27,4 +27,138 @@
www/search.phtml
www/sizing.phtml
www/sql.phtml
+www/externals/en/menu-documentation.phtml
+www/externals/en/menu-downloads.phtml
+www/externals/en/menu-main-help.phtml
+www/externals/en/footer.phtml
+www/externals/en/menu-general.phtml
+www/externals/en/menu-other.phtml
+www/externals/en/menu-developer.phtml
+www/externals/en/menu-search.phtml
+www/externals/en/header.phtml
+www/externals/en/menu-help.phtml
+www/links/links-utilities.phtml
+www/links/links-review.phtml
+www/links/links-xml.phtml
+www/links/links-stock.phtml
+www/links/links-erp.phtml
+www/links/links-money.phtml
+www/links/links-palm.phtml
+www/links/links-misc.phtml
+www/links/links-obsolete.phtml
+www/links/links-general.phtml
+www/links/links-quote.phtml
www/state_of_the_gnucash_project.phtml
+www/contribute/contribute-translator.phtml
+www/contribute/contribute-writer.phtml
+www/contribute/contribute-fan.phtml
+www/contribute/contribute-webmaster.phtml
+www/contribute/contribute-programmer.phtml
+www/t-shirt/index.phtml
+news/en/old/010531-trans.txt
+news/en/old/000709-announce-migration.txt
+news/en/old/030309-announce-1-8-2.txt
+news/en/old/000814-announce-gnumatic.txt
+news/en/old/010226-cvs-snaps.txt
+news/en/old/010614-t-shirts.txt
+news/en/old/000526-maillist.txt
+news/en/old/031019-comdex.txt
+news/en/old/040311-stimming-presents.txt
+news/en/old/newserver.txt
+news/en/old/030615-qof.txt
+news/en/old/030428-outage.txt
+news/en/old/040716-help-devel.txt
+news/en/old/010711-tutorial.txt
+news/en/old/010906-survey.txt
+news/en/old/021208-search-fixed.txt
+news/en/old/001212-links-page-update.txt
+news/en/old/001120-irc.txt
+news/en/old/030922-cap-gains.txt
+news/en/old/021117-announce-1-7-3.txt
+news/en/old/030526-announce-1-8-4.txt
+news/en/old/000712-announce-solaris.txt
+news/en/old/001030-diagrams.txt
+news/en/old/031107-euro-mirror.txt
+news/en/old/030819-announce-1-8-5.txt
+news/en/old/030423-outage.txt
+news/en/old/010617-mandrake.txt
+news/en/old/020605-new-bugs.txt
+news/en/old/010327-new-website.txt
+news/en/old/010713-survey.txt
+news/en/old/030718-network.txt
+news/en/old/030819-announce-1-8-2-docs.txt
+news/en/old/010219-cvs-down.txt
+news/en/old/021217-search-fixed.txt
+news/en/old/030127-announce-doc-1-7-8.txt
+news/en/old/000715-versions.txt
+news/en/old/010613-packages.txt
+news/en/old/030911-announce-1-8-6.txt
+news/en/old/031117-announce-1-8-8.txt
+news/en/old/020815-announce-1-6-7.txt
+news/en/old/021014-announce-1-7-1.txt
+news/en/old/030106-announce-1-7-7.txt
+news/en/old/011122-gnomechart.txt
+news/en/old/intuit.txt
+news/en/old/030429-outage.txt
+news/en/old/010914-gtt.txt
+news/en/old/030810-state-gnucash.txt
+news/en/old/001027-cvs-outage.txt
+news/en/old/010626-yellowdog.txt
+news/en/old/website.txt
+news/en/old/030831-announce-1-8-3-docs.txt
+news/en/old/031002-dwi.txt
+news/en/old/010326-fivestar.txt
+news/en/old/v-one.txt
+news/en/old/040404-gtt.txt
+news/en/old/000712-announce-toronto.txt
+news/en/old/030120-announce-1-7-8.txt
+news/en/old/030512-announce-1-8-3.txt
+news/en/old/010119-beta-screenshots.txt
+news/en/old/021126-cvs-clean.txt
+news/en/old/040201-archives-alt.txt
+news/en/old/000515-article-lwn.txt
+news/en/old/031106-debian.txt
+news/en/old/020618-new-features.txt
+news/en/old/000711-downloads.txt
+news/en/old/021227-gtt.txt
+news/en/old/040622-stimming-presents.txt
+news/en/old/screenshots.txt
+news/en/old/030202-announce-1-8-0.txt
+news/en/old/020310-announce-1-6-6.txt
+news/en/old/021203-announce-1-7-5.txt
+news/en/old/031010-outage.txt
+news/en/old/020821-announce-1-6-8.txt
+news/en/old/010509-server-move.txt
+news/en/old/001229-gwrap.txt
+news/en/old/030628-slackware.txt
+news/en/old/010630-quiz.txt
+news/en/old/040722-osx-help.txt
+news/en/old/021202-announce-1-7-4.txt
+news/en/old/030127-de-maillist.txt
+news/en/old/newversion.txt
+news/en/old/021222-announce-1-7-6.txt
+news/en/old/021028-announce-1-7-2.txt
+news/en/old/030209-announce-1-8-1.txt
+news/en/old/010709-redhat.txt
+news/en/old/040412-announce-1-8-9.txt
+news/en/old/newshots.txt
+news/en/old/030914-announce-1-8-7.txt
+news/en/old/010627-suse.txt
+news/en/old/021217-trans.txt
+news/en/old/030812-network.txt
+news/en/old/010424-portuguese.txt
+news/en/040625-to-qif.txt
+news/en/040420-gtt.txt
+news/en/040421-qof.txt
+news/en/040622-stimming-presents.txt
+news/en/040507-source-docs.txt
+news/en/041112-announce-1-8-10.txt
+news/en/040716-help-devel.txt
+news/en/040722-osx-help.txt
+news/en/040725-dwi.txt
+news/en/oldnews.txt
+news/en/050206-announce-1-8-11.txt
+news/en/051019-announce-1-8-12.txt
+news/it/030923-gnucash-it.txt
+news/fr/030924-gnucash-fr.txt
+news/es/031107-gnucash-es.txt
Modified: htdocs/trunk/po/gnucash-htdocs.pot
===================================================================
--- htdocs/trunk/po/gnucash-htdocs.pot 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/po/gnucash-htdocs.pot 2006-01-23 22:09:48 UTC (rev 12969)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-23 17:15+0000\n"
+"POT-Creation-Date: 2006-01-23 21:40+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -447,3 +447,13 @@
"obsolete Motif interface can be fished out of historical CVS; but this "
"interface has been deleted in the current CVS."
msgstr ""
+
+#: news/en/040420-gtt.txt:4
+msgid ""
+"The Gnome Time Tracker is a to-do list/diary/journal tool that can track\n"
+"the amount of time spent on projects, and, among other things, generate\n"
+"reports and invoices based on that time. I've used it to keep shopping\n"
+"lists, organize ideas, track bug reports, keep a diary of activities,\n"
+"provide weekly status reports to management, and even as a consultant\n"
+"billing system."
+msgstr ""
Deleted: htdocs/trunk/robots.txt
===================================================================
--- htdocs/trunk/robots.txt 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/robots.txt 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,19 +0,0 @@
-#
-# This file is used to prevent web robots from flooding
-# the this web server. This file should be named
-# "/robots.txt" and should appear in the root web directory.
-#
-# For more info, see
-# http://web.nexor.co.uk/users/mak/doc/robots/norobots.html
-# http://info.webcrawler.com/mak/projects/robots/norobots.html
-#
-
-# Wild card is *, these directives apply to all robots
-
-User-agent: *
-
-# We don't want robots walking through the executables
-
-Disallow: /cgi-bin/
-Disallow: /lxr/
-
Copied: htdocs/trunk/www/bios (from rev 12933, htdocs/trunk/en/bios)
Copied: htdocs/trunk/www/bios/index.html (from rev 12957, htdocs/trunk/www/images/index.html)
Modified: htdocs/trunk/www/bugs.phtml
===================================================================
--- htdocs/trunk/www/bugs.phtml 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/www/bugs.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -12,7 +12,7 @@
<p><?php
echo _("If you wish to use the GNOME bug system to report a GnuCash bug, please go to");?>
<a href="http://bugzilla.gnome.org">bugzilla.gnome.org</a>
-<?php echo_(" and use the forms there to enter your report.");?><br>
+<?php echo _(" and use the forms there to enter your report.");?><br>
</p>
<div>
Copied: htdocs/trunk/www/contribute (from rev 12933, htdocs/trunk/en/contribute)
Copied: htdocs/trunk/www/contribute/index.html (from rev 12957, htdocs/trunk/www/images/index.html)
Modified: htdocs/trunk/www/externals/en/menu-other.phtml
===================================================================
--- htdocs/trunk/www/externals/en/menu-other.phtml 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/www/externals/en/menu-other.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -11,6 +11,6 @@
echo "<li><a href=\"$home/quiz-results.phtml\">Survey Results</a></li>\n";
echo "<li><a href=\"$home/sizing.phtml\">Sizing</a></li>\n";
echo "<li><a href=\"$home/rss-feed.phtml\">\n";
-echo "<img src=\"$topdir/images/rss.gif\" alt=\"rss logo\"></a></li>\n";
+echo "<img src=\"images/rss.gif\" alt=\"rss logo\"></a></li>\n";
echo "</ul>\n";
?>
Copied: htdocs/trunk/www/favicon.ico (from rev 12933, htdocs/trunk/favicon.ico)
Copied: htdocs/trunk/www/htdig.sh (from rev 12933, htdocs/trunk/htdig.sh)
Modified: htdocs/trunk/www/index.phtml
===================================================================
--- htdocs/trunk/www/index.phtml 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/www/index.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -5,18 +5,6 @@
include($toppath."/externals/en/header.phtml");
include($toppath."/en/menu/menu-main.phtml");
?>
-<?php
-# test gettext support
-# Set the language as 'en_GB' for testing
-# note that gettext in php requires the entire
-# string in one line, one quote.
-$language = 'en_GB';
-putenv("LANG=$language");
-setlocale(LC_MESSAGES, $language);
-$domain = "gnucash-htdocs";
-bindtextdomain("$domain", "$toppath");
-textdomain("$domain");
-?>
<div id="content">
@@ -32,8 +20,8 @@
<h1><?php echo _("News"); ?></h1>
<?php
-# THIS IS OUT OF DATE - once gettext is running properly, all news will
-# be translated with only one news directory.
+# News will continue to be translated separately because
+# of the .txt format.
# for english, the lang and en news path are identical
$en_newspath = $toppath."news/en/";
$lang_newspath = $toppath."news/en/";
Copied: htdocs/trunk/www/links (from rev 12933, htdocs/trunk/en/links)
Copied: htdocs/trunk/www/links/index.html (from rev 12957, htdocs/trunk/www/images/index.html)
Deleted: htdocs/trunk/www/links/links-erp.phtml
===================================================================
--- htdocs/trunk/en/links/links-erp.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/www/links/links-erp.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,108 +0,0 @@
-<div class="tblborder">
- <table class="tbllimit" cellpadding=5 cellspacing=1>
- <colgroup><col width="25%"><col width="50%"></colgroup>
- <tr>
- <td class="tblheader"><b>Name</b></td>
- <td class="tblheader"><b>Description</b></td>
- </tr>
- <tr>
- <td colspan=2><B>Business, ERP Projects</B>
- </td> </tr>
- <tr style="background-color:white">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://sourceforge.net/projects/gnupos/">GnuPOS</a>
- </td><td>
- GPL'ed Point-of-Sale system.
- </td></tr>
-
- <tr class="divider"">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://sourceforge.net/projects/mercator">Mercator</a>
- </td><td>
- Java-based Point-of-Sale system.
- </td></tr>
-
- <tr style="background-color:white">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.bananahead.com/pos/index.html">BananaheadPOS</a>
- </td><td>
- Web-based GPL'ed Point-of-Sale system.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.gnue.org/">Gnu Enterprise</a>
- </td><td>
- The premier Gnu/GPL project aiming to create an
- ERP system for small, medium and large businesses.
- This is an ambitious project, but its the show-stopper of the bunch.
- </td></tr>
-
- <tr style="background-color:white">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <A HREF="http://sql-ledger.com/">SQL Ledger</a>
- </td><td>
- An advanced, GPL'ed, web-based business accounting package.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.zelerate.org/">
- Zelerate AllCommerce</a>
- </td><td>
- A GPL'ed e-commerce package. Provides modules for
- content creation, inventory management, product ordering,
- statistical analysis, shipping and merchandising.
- </td></tr>
-
- <tr style="background-color:white">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.openadaptor.org/">Open Adaptor</a>
- </td><td>
- A Java/XML based set of utilities to access and convert
- between many different (financial & business) data formats.
- Support for Oracle, Sybase, TIBCO, XML, Fix, Swift, and HTML.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.ios-online.de/Linux-Kontor/">Linux-Kontor</a>
- </td><td>
- A business accounting package that uses Java and SQL databases.
- </td></tr>
-
- <tr style="background-color:white">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://obelisk.dhs.org">Obelisk</a>
- </td><td>
- Business Accounting project
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.sisd.com/freeside/">Freeside</a>
- </td><td>
- An open source billing and account administration package for ISP's.
- </td></tr>
-
- <tr style="background-color:white">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.freepm.org/">FreePM Free Practice Management</a>
- </td><td>
- FreePM is an open source physicans office management & electronic
- medical record application.
- </td></tr>
- </table>
-</div>
-
Copied: htdocs/trunk/www/links/links-erp.phtml (from rev 12937, htdocs/trunk/en/links/links-erp.phtml)
Deleted: htdocs/trunk/www/links/links-general.phtml
===================================================================
--- htdocs/trunk/en/links/links-general.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/www/links/links-general.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,60 +0,0 @@
-<div class="tblborder">
- <table class="tbllimit" cellpadding=5 cellspacing=1>
- <colgroup><col width="25%"><col width="50%"></colgroup>
- <tr>
- <td class="tblheader"><b>Name</b></td>
- <td class="tblheader"><b>Description</b></td>
- </tr>
- <tr class="tblbanner">
- <td colspan=2><B>General References</B></td>
- </tr>
- <tr>
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.transaction.net/money/">How Money Works</a>
- </td><td>
- Money doesn't have to be a national currency: it can be frequent flyer
- miles, bartered hours, and other things. This page reviews the very
- idea of money, and lists the characteristics of different types of money.
- </td></tr>
-
- <tr style="background-color:#ececff">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.e-gold.com/e-gold.asp?cid=281678">E-Gold</a>
- </td><td>
- E-gold is an electronic currency. Unlike a national currency, its
- privately issued, and backed by gold reserves. Unlike a credit card,
- its a bit more anonymous, but not quite as anonymous as cash.
- Slowly growing in popularity.
- </td></tr>
-
- <tr style="background-color:#ffffff">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.iasc.org.uk/frame/cen2.htm">International Accounting
- Standards</a>
- </td><td>
- International Accounting Standards Committee. Dry, but a good source
- of the technical and legal documents that define accounting rules.
- </td></tr>
-
- <tr style="background-color:#ececff">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://cbbrowne.com/info/finances.html">CBBrowne's Finances,
- Linux, and Stuff</a>
- </td><td>
- Christopher Browne reviews a number of financial applications for Linux.
- </td></tr>
-
- <tr style="background-color:#ffffff">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.linuxlinks.com/Software/Financial/">LinuxLinks
- Financial Software</a>
- </td><td>
- An extensive list of free and commercial programs.
- </td></tr>
- </table>
-</div>
Copied: htdocs/trunk/www/links/links-general.phtml (from rev 12937, htdocs/trunk/en/links/links-general.phtml)
Deleted: htdocs/trunk/www/links/links-money.phtml
===================================================================
--- htdocs/trunk/en/links/links-money.phtml 2006-01-22 10:43:42 UTC (rev 12933)
+++ htdocs/trunk/www/links/links-money.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -1,134 +0,0 @@
-<div class="tblborder">
- <table class="tbllimit" cellpadding=5 cellspacing=1>
- <colgroup><col width="25%"><col width="50%"></colgroup>
- <tr>
- <td class="tblheader"><b>Name</b></td>
- <td class="tblheader"><b>Description</b></td>
- </tr>
- <tr class="tblbanner">
- <td colspan=2><B>Electronic Money Systems</B>
- </td>
- </tr>
- <tr>
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.thecomicreader.com/html/icst/icst-5/icst-5.html">
- I Can't Stop Thinking #5</a>
- </td><td>
- A little comic strip that explains micropayments.
- See also
- <a href="http://www.thecomicreader.com/html/icst/icst-5/rc-184.jpg">page 184</a> and
- <a href="http://www.thecomicreader.com/html/icst/icst-5/rc-185.jpg">page 185</a>
- for a history of micropayments. The new economy rational is explained in
- <a href="http://www.thecomicreader.com/html/icst/icst-6/icst-6.html">
- issue 6</a>. But there is also a
- <a href="http://www.openp2p.com/pub/a/p2p/2000/12/19/micropayments.html">
- Case Against Micropayments</a>.
- That's not stopping <a href="http://www.javien.com/products/mp.html">Javien</a>,
- a company that promises open source micropayment tools real soon now.
- The <a href="http://www.w3.org/TR/Micropayment-Markup/">W3C is working on
- a micropayment protocol</a>.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://ecommerce.internet.com/news/insights/ectech/article/">
- Review of Payment Systems</a>
- </td><td>
- Latest installment of an annual review of alternative payment systems.
- Reviews the hows and whys, and lists a number of different systems.
- </td></tr>
-
- <tr>
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.webfunds.org/">WebFunds</a>
- </td><td>
- WebFunds is an Open Source project to create an
- <a href="http://webfunds.org/guide/show_time/index.html">
- extensible payments system</a>, i.e. e-Money and e-Wallets.
- The concept of the 'value' of the money is embodied in a 'Ricardian
- Contract', using strong crypto to authenticate. The system has been
- used with real money, although only small amounts of money appear to
- be in circulation (approx $100,000 USD as of this writing).
- The project has been running for over five years, and is now in its
- third revision. Java-based.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.e-gold.com/e-gold.asp?cid=281678">E-Gold</a>
- </td><td>
- <p>E-Gold is a tradeable currency backed by gold and other
- precious metal deposits. One way to think of e-gold is as
- a mutual fund for gold. However, it is no ordinary mutual fund,
- and behaves a lot more like a currency: that is, you can very easily
- give very tiny (or large) amounts of e-gold to other people.
- There is no minimum balance requirement: you can maintain a
- balance of pennies. There is a service fee, but it is minimal.
- E-Gold was designed and is really meant to be used as a (convertible)
- currency backed by hard assets.</p>
- <p>Plusses: dozens of market makers make it easy to convert to and from
- e-gold; you are not dependent on one corporation for conversion.
- Simple open-source programming API.</p>
- </td></tr>
-
- <tr>
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.ezcmoney.com/">EZCmoney</a>
- </td><td>
- EZCmoney is an electronic merchant payment system. Consumers can
- deposit money in an EZCmoney account, and then tell a merchant thier
- account number. Transaction approval happens by email.
- Customer-to-customer transactions are not currently supported.
- EZCmoney claims to provide a level of security that credit-card
- based shopping does not.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="https://www.qchex.com/home.asp">Qchex</a>
- </td><td>
- Consumer sends a 'check' to someone. Web-based, interface resembles
- a paper check. Option to send an 'email' check, or an actual paper check.
- </td></tr>
-
-
- <tr>
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.achex.com:80/index.htm">Achex</a>
- </td><td>
- Allows you to send a check to someone. Web-based.
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.ipin.com/">Ipin</a>
- </td><td>
- Web-based payment system.
- </td></tr>
-
- <tr>
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.webmoney.com/">WebMoney</a>
- </td><td>
- No obvious way to redeem. No programming interfaces
- </td></tr>
-
- <tr class="divider">
- <td><img src="/images/icons/document.txt.gif" width=16 height=16
- alt="document icon">
- <a href="http://www.goldmoney.com/">GoldMoney</a>
- </td><td>
- ?
- </td></tr>
- </table>
-</tr>
-</table>
Copied: htdocs/trunk/www/links/links-money.phtml (from rev 12937, htdocs/trunk/en/links/links-money.phtml)
Modified: htdocs/trunk/www/links.phtml
===================================================================
--- htdocs/trunk/www/links.phtml 2006-01-23 21:26:30 UTC (rev 12968)
+++ htdocs/trunk/www/links.phtml 2006-01-23 22:09:48 UTC (rev 12969)
@@ -56,9 +56,9 @@
<?php
if ($linkpage != "") {
- include($toppath."/en/links/links-".$linkpage.".phtml");
+ include($toppath."/www/links/links-".$linkpage.".phtml");
} else {
- include($toppath."/en/links/links-general.phtml");
+ include($toppath."/www/links/links-general.phtml");
}
?>
Copied: htdocs/trunk/www/robots.txt (from rev 12933, htdocs/trunk/robots.txt)
Copied: htdocs/trunk/www/t-shirt (from rev 12933, htdocs/trunk/en/t-shirt)
More information about the gnucash-changes
mailing list