[Phpfreechat-svn] SF.net SVN: phpfreechat: [870] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-11-13 17:36:40
|
Revision: 870 http://svn.sourceforge.net/phpfreechat/?rev=870&view=rev Author: kerphi Date: 2006-11-13 09:36:30 -0800 (Mon, 13 Nov 2006) Log Message: ----------- New bangla translation (work in progress) Modified Paths: -------------- trunk/demo/index.php Added Paths: ----------- trunk/demo/demo52_in_bangla.php trunk/i18n/bn_BD/ trunk/i18n/bn_BD/main.php Added: trunk/demo/demo52_in_bangla.php =================================================================== --- trunk/demo/demo52_in_bangla.php (rev 0) +++ trunk/demo/demo52_in_bangla.php 2006-11-13 17:36:30 UTC (rev 870) @@ -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"] = "bn_BD"; +$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-11-05 18:28:56 UTC (rev 869) +++ trunk/demo/index.php 2006-11-13 17:36:30 UTC (rev 870) @@ -118,6 +118,7 @@ <li><a href="demo45_in_bulgarian.php">demo45 - the Bulgarian translation of the chat</a></li> <li><a href="demo46_in_hungarian.php">demo46 - the Hungarian translation of the chat</a></li> <li><a href="demo47_in_polish.php">demo47 - the Polish translation of the chat</a></li> + <li><a href="demo52_in_bangla.php">demo52 - the Bangla translation of the chat</a></li> </ul> </div> Added: trunk/i18n/bn_BD/main.php =================================================================== --- trunk/i18n/bn_BD/main.php (rev 0) +++ trunk/i18n/bn_BD/main.php 2006-11-13 17:36:30 UTC (rev 870) @@ -0,0 +1,31 @@ +<?php +/** + * i18n/bn_BD/main.php + * + * Copyright \xA9 2006 Stephane Gully + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +/** + * Bangla translation of the messages (utf8 encoded!) + * + * @author Shuvro Prakash Paul + */ + + + +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |