gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r591 - i18nHTML/src


From: grothoff
Subject: [GNUnet-SVN] r591 - i18nHTML/src
Date: Mon, 4 Apr 2005 00:10:46 -0700 (PDT)

Author: grothoff
Date: 2005-04-04 00:10:44 -0700 (Mon, 04 Apr 2005)
New Revision: 591

Removed:
   i18nHTML/src/index.php
Log:
update

Deleted: i18nHTML/src/index.php
===================================================================
--- i18nHTML/src/index.php      2005-04-04 07:10:39 UTC (rev 590)
+++ i18nHTML/src/index.php      2005-04-04 07:10:44 UTC (rev 591)
@@ -1,85 +0,0 @@
-<?php
-include("i18nhtml.inc");
-DOCTYPE("HTML", "Transitional");
-echo "<html><head>\n";
-TITLE("i18nHTML - enabling collaborative webpage translation");
-echo "<meta name=\"description\" content=\"";
-TRANSLATE("i18nHTML is a collection of PHP scripts that allow visitors of a 
webpage to help translating it.");
-echo "\">";
-?>
-<meta name="author" content="Christian Grothoff">
-<meta name="keywords" 
content="i18n,HTML,PHP,translation,languages,mysql,database,internationalization,www,free,GNU,GPL">
-<meta name="robots" content="index,follow">
-<meta name="revisit-after" content="28 days">
-<meta name="publisher" content="Christian Grothoff">
-<meta name="date" content="2005-01-03">
-<meta name="rights" content="(C) 2004,2005 by Christian Grothoff>";
-<meta http-equiv="expires" content="43200">
-<meta http-equiv="content-type" content="text/html">
-</head>
-<body>
-<?php
-generateLanguageBar();
-H1("i18nHTML");
-H2("About");
-W("i18nHTML is a collection of PHP files that can be used to write webpages 
that visitors can translate into their respective native languages.");
-W("i18nHTML uses a database to match sentences from the webpage against 
translations.");
-W("i18nHTML defines a set of PHP functions that generate either the translated 
HTML sentences or the original (typically English) text with decorations that 
allow users to provide translations.");
-W("i18nHTML requires the internationalized webpages to be written using the 
provided PHP functions but does not constrain the page design in any way.");
-W("Webpages internationalized with i18nHTML can be updated without loosing 
existing translations for sentences that were not changed.");
-W("Note that it is important that you use the i18nHTML <tt>TITLE</tt> command 
in your documents in order to ensure that the character set and other meta-data 
is set properly.");
-P();
-H2("News");
-H3("i18nHTML 0.1.0 released");
-W("i18nHTML 0.1.0 is expected to solve various character set encoding 
issues.");
-W("It also ensures that all entered translations match the original sentence 
in the number of escape sequences.");
-W("The new version also resolves various minor bugs (such as editor mode only 
working with php-register-globals enabled).");
-P();
-W("Upgrading from i18nHTML 0.0.2 to 0.1.0 requires changes to the encoding of 
strings in the database (which is now hopefully properly based on unicode).");
-W("This can be done by running the update.php script and feeding the SQL 
statements that update.php generates into MySQL.");
-W("Running <tt>update.php</tt> by itself will not do the data conversion (for 
security reasons).");
-W("You should backup your old translation database first.");
-W("mysqldump should be useful here.");
-W("Note that <tt>update.php</tt> may discard translations that it believes 
have serious character set (or other) problems.");
-W("The total number of discarded translations can be found at the end of the 
output (in a generated comment).");
-P();
-W("Another important step in upgrading from 0.0.2 to 0.1.0 is to use the new 
<tt>TITLE</tt> function to generate the title of all webpages.");
-W("The reason is that the <tt>TITLE</tt> function will generate other HTML 
tags that should be placed in the HTML header to help ensure that the browser 
picks up the character encodings correctly.");
-P();
-H2("Download");
-W("You can find the latest version %s.",
-  extlink_("https://gnunet.org/i18nHTML/download/";, "here"));
-W("The latest SVN version can be obtained using");
-PRE("$ svn checkout https://gnunet.org/svn/i18nHTML/";);
-P();    
-W("If you want to be notified about updates, subscribe to %s",
-  extlink_("http://freshmeat.net/projects/i18nHTML/";, "i18nHTML on 
freshmeat"));
-P();
-
-
-
-P();
-if ( ($xlang) && ($xlang != "English")) {
-  H2("Mass translation");
-  W("The mass-translation page for translating many sentences at once is %s.",
-    intlink_("editor.php", "here"));
-  W("Note that the sentence database is shared with the %s, %s and %s 
projects.",
-    ARRAY(extlink_("http://gnunet.org/";, "GNUnet"),
-         extlink_("http://gnunet.org/doodle/";, "doodle"),
-         extlink_("http://gnunet.org/libextractor/";, "libExtractor")));  
- }
-
-H2("Bugtrack");
-W("i18nHTML uses Mantis for bugtracking.");
-W("Visit %s to report bugs.",
-  extlink_("https://gnunet.org/mantis/","https://gnunet.org/mantis/";));
-W("You need to sign up for a reporter account.");
-W("Please make sure you report bugs under <strong>I18nHTML</strong> and not 
under any of the other projects.");
-P();
-W("If you dislike Mantis and need to report a bug contact %s via e-mail (good 
luck getting by the spam-filter).",
-  extlink_("mailto:address@hidden","address@hidden";));
-
-HR();
-generateFooter();
-echo "</body></html>\n";
-?>





reply via email to

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