[Phpfreechat-svn] SF.net SVN: phpfreechat: [460] branches/0.x/i18n
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-04-20 19:53:21
|
Revision: 460 Author: kerphi Date: 2006-04-20 12:52:59 -0700 (Thu, 20 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=460&view=rev Log Message: ----------- New traditional Chinese zh_TW translation (many thanks to Alex Wu) Modified Paths: -------------- branches/0.x/demo/index.php Added Paths: ----------- branches/0.x/demo/demo42_in_chinese_from_taiwan.php branches/0.x/i18n/zh_TW/ branches/0.x/i18n/zh_TW/main.php Added: branches/0.x/demo/demo42_in_chinese_from_taiwan.php =================================================================== --- branches/0.x/demo/demo42_in_chinese_from_taiwan.php (rev 0) +++ branches/0.x/demo/demo42_in_chinese_from_taiwan.php 2006-04-20 19:52:59 UTC (rev 460) @@ -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: branches/0.x/demo/index.php =================================================================== --- branches/0.x/demo/index.php 2006-04-20 19:37:19 UTC (rev 459) +++ branches/0.x/demo/index.php 2006-04-20 19:52:59 UTC (rev 460) @@ -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> Added: branches/0.x/i18n/zh_TW/main.php =================================================================== --- branches/0.x/i18n/zh_TW/main.php (rev 0) +++ branches/0.x/i18n/zh_TW/main.php 2006-04-20 19:52:59 UTC (rev 460) @@ -0,0 +1,176 @@ +<?php +/** + * i18n/zh_TW/main.php + * + * Copyright © 2006 Stephane Gully <ste...@gm...> + * + * 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 + */ + +/** + * Traditional Chinese translation of the messages (utf8 encoded!) + * + * @author Stephane Gully <ste...@gm...> + * @translated by Alex Wu<ale...@gm...> + */ + +// line 45 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["My Chat"] = "我的聊天室"; + +// line 201 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s not found, %s library can't be found."] = "沒有找到 %s, 沒有找到 %s 程式庫。"; + +// line 355 in phpfreechat.class.php +$GLOBALS["i18n"]["Please enter your nickname"] = "請輸入您的暱稱"; + +// line 565 in phpfreechat.class.php +$GLOBALS["i18n"]["Text cannot be empty"] = "聊天內容不能為空白"; + +// line 392 in phpfreechat.class.php +$GLOBALS["i18n"]["%s changes his nickname to %s"] = "%s 把暱稱改為 %s"; + +// line 398 in phpfreechat.class.php +$GLOBALS["i18n"]["%s is connected"] = "%s 上線了"; + +// line 452 in phpfreechat.class.php +$GLOBALS["i18n"]["%s quit"] = "%s 退出了"; + +// line 468 in phpfreechat.class.php +$GLOBALS["i18n"]["%s disconnected (timeout)"] = "%s 離線了(逾時)"; + +// line 262 in phpfreechat.class.php +$GLOBALS["i18n"]["Unknown command [%s]"] = "不明指令 [%s]"; + +// line 149 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist: %s"] = "%s 不存在: %s"; + +// line 180 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["You need %s"] = "您需要 %s"; + +// line 241 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist, %s library can't be found"] = "%s 不存在, 找不到 %s 程式庫"; + +// line 280 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s doesn't exist"] = "%s 不存在"; + +// line 433 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s directory must be specified"] = "必須指定 %s 目錄"; + +// line 439 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s must be a directory"] = "%s 必須為一目錄"; + +// line 446 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s can't be created"] = "無法新增 %s"; + +// line 451 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not writeable"] = "無法寫入 %s"; + +// line 496 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not readable"] = "無法讀取 %s"; + +// line 469 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a file"] = "%s 不是文件檔案格式"; + +// line 491 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["%s is not a directory"] = "%s 不是目錄"; + +// line 23 in chat.html.tpl.php +$GLOBALS["i18n"]["PHP FREE CHAT [powered by phpFreeChat-%s]"] = "PHP FREE CHAT [powered by phpFreeChat-%s]"; + +// line 296 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide nickname marker"] = "隱藏暱稱顏色"; + +// line 304 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show nickname marker"] = "顯示暱稱顏色"; + +// line 389 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Disconnect"] = "離線"; + +// line 395 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Connect"] = "上線"; + +// line 427 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Magnify"] = "放大聊天室視窗"; + +// line 434 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Cut down"] = "縮小聊天室視窗"; + +// line 345 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Hide dates and hours"] = "隱藏日期和時間"; + +// line 353 in javascript1.js.tpl.php +$GLOBALS["i18n"]["Show dates and hours"] = "顯示日期和時間"; + +// line 21 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your message here"] = "輸入聊天內容"; + +// line 24 in chat.html.tpl.php +$GLOBALS["i18n"]["Enter your nickname here"] = "輸入您的暱稱"; + +// line 93 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["Error: undefined or obsolete parameter '%s', please correct or remove this parameter"] = "錯誤:'%s'是未定義或過時的參數,請修改或刪除之。"; + +// line 86 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide smiley box"] = "隱藏表情符號區"; + +// line 87 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show smiley box"] = "顯示表情符號區"; + +// line 88 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Hide online users box"] = "隱藏線上用戶區"; + +// line 89 in pfcclient.js.tpl.php +$GLOBALS["i18n"]["Show online users box"] = "顯示線上用戶區"; + +// line 33 in chat.html.tpl.php +$GLOBALS["i18n"]["Bold"] = "粗體"; + +// line 34 in chat.html.tpl.php +$GLOBALS["i18n"]["Italics"] = "斜體"; + +// line 35 in chat.html.tpl.php +$GLOBALS["i18n"]["Underline"] = "底線"; + +// line 36 in chat.html.tpl.php +$GLOBALS["i18n"]["Delete"] = "刪除線"; + +// line 37 in chat.html.tpl.php +$GLOBALS["i18n"]["Pre"] = "Pre"; + +// line 38 in chat.html.tpl.php +$GLOBALS["i18n"]["Mail"] = "email"; + +// line 39 in chat.html.tpl.php +$GLOBALS["i18n"]["Color"] = "顏色"; + +// line 48 in phpfreechattemplate.class.php +$GLOBALS["i18n"]["%s template could not be found"] = "找不到模版 %s"; + +// line 512 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["Error: '%s' could not be found, please check your themepath '%s' and your theme '%s' are correct"] = "錯誤:找不到 '%s',請檢查您的 themepath '%s' 和您的 theme '%s' 是否正確。"; + +// line 75 in pfccommand.class.php +$GLOBALS["i18n"]["%s must be implemented"] = "必須實現 %s"; + +// line 343 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is mandatory by default use '%s' value"] = "參數 '%s' 是必須的,預設值為 '%s'"; + +// line 378 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter must be a positive number"] = "參數 '%s' 必須為一正值"; + +// line 386 in phpfreechatconfig.class.php +$GLOBALS["i18n"]["'%s' parameter is not valid. Available values are : '%s'"] = "參數 '%s' 不合法,適用的值有:'%s'"; +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |