[geeklog-cvs] geeklog: Moved documentation to docs/english so that it can be t...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Apr 18 13:51:04 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/0774a19f037c
changeset: 6958:0774a19f037c
user: Dirk Haun <dirk at haun-online.de>
date: Sat Apr 18 19:46:23 2009 +0200
description:
Moved documentation to docs/english so that it can be translated (feature request #0000770)
diffstat:
83 files changed, 6910 insertions(+), 6751 deletions(-)
INSTALL | 2
plugins/calendar/functions.inc | 15
plugins/links/functions.inc | 15
plugins/polls/functions.inc | 15
plugins/spamx/functions.inc | 15
plugins/staticpages/functions.inc | 15
plugins/staticpages/language/czech.php | 4
plugins/staticpages/language/czech_utf-8.php | 4
plugins/staticpages/language/danish.php | 4
plugins/staticpages/language/danish_utf-8.php | 4
plugins/staticpages/language/dutch.php | 4
plugins/staticpages/language/dutch_utf-8.php | 4
plugins/staticpages/language/english.php | 2
plugins/staticpages/language/english_utf-8.php | 2
plugins/staticpages/language/estonian.php | 4
plugins/staticpages/language/estonian_utf-8.php | 4
plugins/staticpages/language/french_canada.php | 4
plugins/staticpages/language/french_canada_utf-8.php | 4
plugins/staticpages/language/german.php | 4
plugins/staticpages/language/german_formal.php | 4
plugins/staticpages/language/german_formal_utf-8.php | 4
plugins/staticpages/language/german_utf-8.php | 4
plugins/staticpages/language/hebrew_utf-8.php | 4
plugins/staticpages/language/italian.php | 4
plugins/staticpages/language/italian_utf-8.php | 4
plugins/staticpages/language/japanese_utf-8.php | 4
plugins/staticpages/language/korean.php | 4
plugins/staticpages/language/korean_utf-8.php | 4
plugins/staticpages/language/polish.php | 4
plugins/staticpages/language/polish_utf-8.php | 4
plugins/staticpages/language/portuguese_brazil.php | 4
plugins/staticpages/language/portuguese_brazil_utf-8.php | 4
plugins/staticpages/language/slovenian.php | 4
plugins/staticpages/language/slovenian_utf-8.php | 4
plugins/staticpages/language/spanish.php | 4
plugins/staticpages/language/spanish_utf-8.php | 4
plugins/staticpages/language/swedish.php | 4
plugins/staticpages/language/swedish_utf-8.php | 4
plugins/staticpages/language/turkish.php | 4
plugins/staticpages/language/turkish_utf-8.php | 4
plugins/staticpages/language/ukrainian.php | 4
plugins/staticpages/language/ukrainian_koi8-u.php | 4
plugins/staticpages/language/ukrainian_utf-8.php | 4
public_html/admin/install/configinfo.php | 4
public_html/admin/install/index.php | 4
public_html/admin/moderation.php | 16
public_html/admin/plugins/spamx/index.php | 2
public_html/admin/sectest.php | 6
public_html/admin/trackback.php | 78
public_html/docs/calendar.html | 131 -
public_html/docs/changes.html | 1306 -----------
public_html/docs/config.html | 1616 --------------
public_html/docs/english/calendar.html | 131 +
public_html/docs/english/changes.html | 1306 +++++++++++
public_html/docs/english/config.html | 1616 ++++++++++++++
public_html/docs/english/index.html | 137 +
public_html/docs/english/install.html | 237 ++
public_html/docs/english/links.html | 167 +
public_html/docs/english/plugin.html | 567 ++++
public_html/docs/english/polls.html | 133 +
public_html/docs/english/spamx.html | 332 ++
public_html/docs/english/staticpages.html | 235 ++
public_html/docs/english/support.html | 104
public_html/docs/english/theme.html | 1105 +++++++++
public_html/docs/english/themevars.html | 418 +++
public_html/docs/english/trackback.html | 110
public_html/docs/history | 2
public_html/docs/index.html | 137 -
public_html/docs/install.html | 237 --
public_html/docs/links.html | 167 -
public_html/docs/plugin.html | 567 ----
public_html/docs/polls.html | 133 -
public_html/docs/spamx.html | 332 --
public_html/docs/staticpages.html | 235 --
public_html/docs/support.html | 104
public_html/docs/theme.html | 1105 ---------
public_html/docs/themevars.html | 418 ---
public_html/docs/trackback.html | 110
public_html/lib-common.php | 44
readme | 19
sql/mssql_tableanddata.php | 4
sql/mysql_tableanddata.php | 4
system/classes/config.class.php | 61
diffs (truncated from 14652 to 300 lines):
diff -r 39ae3400a1ae -r 0774a19f037c INSTALL
--- a/INSTALL Sat Apr 18 14:02:32 2009 +0200
+++ b/INSTALL Sat Apr 18 19:46:23 2009 +0200
@@ -1,7 +1,7 @@
Installation instructions for Geeklog can be found in the docs directory,
specifically in
- public_html/docs/install.html
+ public_html/docs/english/install.html
That document also includes a section on common installation problems.
diff -r 39ae3400a1ae -r 0774a19f037c plugins/calendar/functions.inc
--- a/plugins/calendar/functions.inc Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/calendar/functions.inc Sat Apr 18 19:46:23 2009 +0200
@@ -1912,10 +1912,23 @@
{
global $_CONF;
+ static $docurl;
+
switch ($file) {
case 'index':
case 'config':
- $retval = $_CONF['site_url'] . '/docs/calendar.html';
+ if (isset($docurl)) {
+ $retval = $docurl;
+ } else {
+ $doclang = COM_getLanguageName();
+ $docs = 'docs/' . $doclang . '/calendar.html';
+ if (file_exists($_CONF['path_html'] . $docs)) {
+ $retval = $_CONF['site_url'] . '/' . $docs;
+ } else {
+ $retval = $_CONF['site_url'] . '/docs/english/calendar.html';
+ }
+ $docurl = $retval;
+ }
break;
default:
diff -r 39ae3400a1ae -r 0774a19f037c plugins/links/functions.inc
--- a/plugins/links/functions.inc Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/links/functions.inc Sat Apr 18 19:46:23 2009 +0200
@@ -1639,10 +1639,23 @@
{
global $_CONF;
+ static $docurl;
+
switch ($file) {
case 'index':
case 'config':
- $retval = $_CONF['site_url'] . '/docs/links.html';
+ if (isset($docurl)) {
+ $retval = $docurl;
+ } else {
+ $doclang = COM_getLanguageName();
+ $docs = 'docs/' . $doclang . '/links.html';
+ if (file_exists($_CONF['path_html'] . $docs)) {
+ $retval = $_CONF['site_url'] . '/' . $docs;
+ } else {
+ $retval = $_CONF['site_url'] . '/docs/english/links.html';
+ }
+ $docurl = $retval;
+ }
break;
default:
diff -r 39ae3400a1ae -r 0774a19f037c plugins/polls/functions.inc
--- a/plugins/polls/functions.inc Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/polls/functions.inc Sat Apr 18 19:46:23 2009 +0200
@@ -1332,10 +1332,23 @@
{
global $_CONF;
+ static $docurl;
+
switch ($file) {
case 'index':
case 'config':
- $retval = $_CONF['site_url'] . '/docs/polls.html';
+ if (isset($docurl)) {
+ $retval = $docurl;
+ } else {
+ $doclang = COM_getLanguageName();
+ $docs = 'docs/' . $doclang . '/polls.html';
+ if (file_exists($_CONF['path_html'] . $docs)) {
+ $retval = $_CONF['site_url'] . '/' . $docs;
+ } else {
+ $retval = $_CONF['site_url'] . '/docs/english/polls.html';
+ }
+ $docurl = $retval;
+ }
break;
default:
diff -r 39ae3400a1ae -r 0774a19f037c plugins/spamx/functions.inc
--- a/plugins/spamx/functions.inc Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/spamx/functions.inc Sat Apr 18 19:46:23 2009 +0200
@@ -401,10 +401,23 @@
{
global $_CONF;
+ static $docurl;
+
switch ($file) {
case 'index':
case 'config':
- $retval = $_CONF['site_url'] . '/docs/spamx.html';
+ if (isset($docurl)) {
+ $retval = $docurl;
+ } else {
+ $doclang = COM_getLanguageName();
+ $docs = 'docs/' . $doclang . '/spamx.html';
+ if (file_exists($_CONF['path_html'] . $docs)) {
+ $retval = $_CONF['site_url'] . '/' . $docs;
+ } else {
+ $retval = $_CONF['site_url'] . '/docs/english/spamx.html';
+ }
+ $docurl = $retval;
+ }
break;
default:
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/functions.inc
--- a/plugins/staticpages/functions.inc Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/functions.inc Sat Apr 18 19:46:23 2009 +0200
@@ -1342,10 +1342,23 @@
{
global $_CONF;
+ static $docurl;
+
switch ($file) {
case 'index':
case 'config':
- $retval = $_CONF['site_url'] . '/docs/staticpages.html';
+ if (isset($docurl)) {
+ $retval = $docurl;
+ } else {
+ $doclang = COM_getLanguageName();
+ $docs = 'docs/' . $doclang . '/staticpages.html';
+ if (file_exists($_CONF['path_html'] . $docs)) {
+ $retval = $_CONF['site_url'] . '/' . $docs;
+ } else {
+ $retval = $_CONF['site_url'] . '/docs/english/staticpages.html';
+ }
+ $docurl = $retval;
+ }
break;
default:
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/czech.php
--- a/plugins/staticpages/language/czech.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/czech.php Sat Apr 18 19:46:23 2009 +0200
@@ -102,7 +102,7 @@
'select_php_none' => 'do not execute PHP',
'select_php_return' => 'execute PHP (return)',
'select_php_free' => 'execute PHP',
- 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">documentation</a> for details.",
+ 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">documentation</a> for details.",
'printable_format' => 'Printable Format',
'copy' => 'Copy',
'limit_results' => 'Limit Results',
@@ -157,4 +157,4 @@
12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
);
-?>
\ No newline at end of file
+?>
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/czech_utf-8.php
--- a/plugins/staticpages/language/czech_utf-8.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/czech_utf-8.php Sat Apr 18 19:46:23 2009 +0200
@@ -102,7 +102,7 @@
'select_php_none' => 'do not execute PHP',
'select_php_return' => 'execute PHP (return)',
'select_php_free' => 'execute PHP',
- 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">documentation</a> for details.",
+ 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">documentation</a> for details.",
'printable_format' => 'Printable Format',
'copy' => 'Copy',
'limit_results' => 'Limit Results',
@@ -157,4 +157,4 @@
12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
);
-?>
\ No newline at end of file
+?>
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/danish.php
--- a/plugins/staticpages/language/danish.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/danish.php Sat Apr 18 19:46:23 2009 +0200
@@ -103,7 +103,7 @@
'select_php_none' => 'do not execute PHP',
'select_php_return' => 'execute PHP (return)',
'select_php_free' => 'execute PHP',
- 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">documentation</a> for details.",
+ 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">documentation</a> for details.",
'printable_format' => 'Printable Format',
'copy' => 'Copy',
'limit_results' => 'Limit Results',
@@ -158,4 +158,4 @@
12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
);
-?>
\ No newline at end of file
+?>
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/danish_utf-8.php
--- a/plugins/staticpages/language/danish_utf-8.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/danish_utf-8.php Sat Apr 18 19:46:23 2009 +0200
@@ -103,7 +103,7 @@
'select_php_none' => 'do not execute PHP',
'select_php_return' => 'execute PHP (return)',
'select_php_free' => 'execute PHP',
- 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">documentation</a> for details.",
+ 'php_not_activated' => "The use of PHP in static pages is not activated. Please see the <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">documentation</a> for details.",
'printable_format' => 'Printable Format',
'copy' => 'Copy',
'limit_results' => 'Limit Results',
@@ -158,4 +158,4 @@
12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
);
-?>
\ No newline at end of file
+?>
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/dutch.php
--- a/plugins/staticpages/language/dutch.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/dutch.php Sat Apr 18 19:46:23 2009 +0200
@@ -104,7 +104,7 @@
'select_php_none' => 'maak het uitvoeren van PHP onmogelijk',
'select_php_return' => 'uitvoeren van PHP (return)',
'select_php_free' => 'voer PHP uit',
- 'php_not_activated' => "Het gebruik van PHP in Static Pages is niet geactiveerd. Bekijk de <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">documentatie</a> voor meer bijzonderheden.",
+ 'php_not_activated' => "Het gebruik van PHP in Static Pages is niet geactiveerd. Bekijk de <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">documentatie</a> voor meer bijzonderheden.",
'printable_format' => 'Printbare versie',
'copy' => 'Copy',
'limit_results' => 'Limit Results',
@@ -159,4 +159,4 @@
12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
);
-?>
\ No newline at end of file
+?>
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/dutch_utf-8.php
--- a/plugins/staticpages/language/dutch_utf-8.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/dutch_utf-8.php Sat Apr 18 19:46:23 2009 +0200
@@ -104,7 +104,7 @@
'select_php_none' => 'maak het uitvoeren van PHP onmogelijk',
'select_php_return' => 'uitvoeren van PHP (return)',
'select_php_free' => 'voer PHP uit',
- 'php_not_activated' => "Het gebruik van PHP in Static Pages is niet geactiveerd. Bekijk de <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">documentatie</a> voor meer bijzonderheden.",
+ 'php_not_activated' => "Het gebruik van PHP in Static Pages is niet geactiveerd. Bekijk de <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">documentatie</a> voor meer bijzonderheden.",
'printable_format' => 'Printbare versie',
'copy' => 'Copy',
'limit_results' => 'Limit Results',
@@ -159,4 +159,4 @@
12 => array('No access' => 0, 'Read-Only' => 2, 'Read-Write' => 3)
);
-?>
\ No newline at end of file
+?>
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/english.php
--- a/plugins/staticpages/language/english.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/english.php Sat Apr 18 19:46:23 2009 +0200
@@ -102,7 +102,7 @@
'select_php_none' => 'do not execute PHP',
'select_php_return' => 'execute PHP (return)',
'select_php_free' => 'execute PHP',
- 'php_not_activated' => 'The use of PHP in static pages is not activated. Please see the <a href="' . $_CONF['site_url'] . '/docs/staticpages.html#php">documentation</a> for details.',
+ 'php_not_activated' => 'The use of PHP in static pages is not activated. Please see the <a href="' . $_CONF['site_url'] . '/docs/english/staticpages.html#php">documentation</a> for details.',
'printable_format' => 'Printable Format',
'edit' => 'Edit',
'copy' => 'Copy',
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/english_utf-8.php
--- a/plugins/staticpages/language/english_utf-8.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/english_utf-8.php Sat Apr 18 19:46:23 2009 +0200
@@ -102,7 +102,7 @@
'select_php_none' => 'do not execute PHP',
'select_php_return' => 'execute PHP (return)',
'select_php_free' => 'execute PHP',
- 'php_not_activated' => 'The use of PHP in static pages is not activated. Please see the <a href="' . $_CONF['site_url'] . '/docs/staticpages.html#php">documentation</a> for details.',
+ 'php_not_activated' => 'The use of PHP in static pages is not activated. Please see the <a href="' . $_CONF['site_url'] . '/docs/english/staticpages.html#php">documentation</a> for details.',
'printable_format' => 'Printable Format',
'edit' => 'Edit',
'copy' => 'Copy',
diff -r 39ae3400a1ae -r 0774a19f037c plugins/staticpages/language/estonian.php
--- a/plugins/staticpages/language/estonian.php Sat Apr 18 14:02:32 2009 +0200
+++ b/plugins/staticpages/language/estonian.php Sat Apr 18 19:46:23 2009 +0200
@@ -104,7 +104,7 @@
'select_php_none' => 'ära käivita PHP',
'select_php_return' => 'käivita PHP (return)',
'select_php_free' => 'käivita PHP',
- 'php_not_activated' => "Staatilistel lehtedel pole PHP kasutamine sisse lülitatud. Täpsemat infot palun vaata <a href=\"{$_CONF['site_url']}/docs/staticpages.html#php\">dokumentatsioonist.</a>",
+ 'php_not_activated' => "Staatilistel lehtedel pole PHP kasutamine sisse lülitatud. Täpsemat infot palun vaata <a href=\"{$_CONF['site_url']}/docs/english/staticpages.html#php\">dokumentatsioonist.</a>",
'printable_format' => 'Prinditaval kujul',
More information about the geeklog-cvs
mailing list