[Phpfreechat-svn] SF.net SVN: phpfreechat: [461] trunk/i18n
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-04-20 19:54:15
|
Revision: 461 Author: kerphi Date: 2006-04-20 12:54:00 -0700 (Thu, 20 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=461&view=rev Log Message: ----------- New traditional Chinese zh_TW translation (many thanks to Alex Wu) Modified Paths: -------------- trunk/demo/index.php Added Paths: ----------- trunk/demo/demo42_in_chinese_from_taiwan.php trunk/i18n/zh_TW/ Copied: trunk/demo/demo42_in_chinese_from_taiwan.php (from rev 460, branches/0.x/demo/demo42_in_chinese_from_taiwan.php) =================================================================== --- trunk/demo/demo42_in_chinese_from_taiwan.php (rev 0) +++ trunk/demo/demo42_in_chinese_from_taiwan.php 2006-04-20 19:54:00 UTC (rev 461) @@ -0,0 +1,36 @@ +<?php + +require_once dirname(__FILE__)."/../src/phpfreechat.class.php"; + +$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat +$params["language"] = "zh_TW"; +$chat = new phpFreeChat( $params ); + +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>phpFreeChat demo</title> + + <?php $chat->printJavascript(); ?> + <?php $chat->printStyle(); ?> + + </head> + + <body> + <?php $chat->printChat(); ?> + +<?php + // print the current file + echo "<h2>The source code</h2>"; + $filename = __FILE__; + echo "<p><code>".$filename."</code></p>"; + echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">"; + $content = file_get_contents($filename); + echo htmlentities($content); + echo "</pre>"; +?> + + </body> +</html> Modified: trunk/demo/index.php =================================================================== --- trunk/demo/index.php 2006-04-20 19:52:59 UTC (rev 460) +++ trunk/demo/index.php 2006-04-20 19:54:00 UTC (rev 461) @@ -66,6 +66,7 @@ <li><a href="demo39_in_bosnian.php">demo39 - the bosnian translation of the chat</a></li> <li><a href="demo40_in_turkish.php">demo40 - the turkish translation of the chat</a></li> <li><a href="demo41_in_greek.php">demo41 - the greek translation of the chat</a></li> + <li><a href="demo42_in_chinese_from_taiwan.php">demo42 - the Chinese from taiwan (traditional Chinese) translation of the chat</a></li> </ul> </body> Copied: trunk/i18n/zh_TW (from rev 460, branches/0.x/i18n/zh_TW) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |