Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Simplified Chinese! #75

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions application/language/simplified-chinese/calendar_lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php

$lang['cal_su'] = "日";
$lang['cal_mo'] = "一";
$lang['cal_tu'] = "二";
$lang['cal_we'] = "三";
$lang['cal_th'] = "四";
$lang['cal_fr'] = "五";
$lang['cal_sa'] = "六";
$lang['cal_sun'] = "周日";
$lang['cal_mon'] = "周一";
$lang['cal_tue'] = "周二";
$lang['cal_wed'] = "周三";
$lang['cal_thu'] = "周四";
$lang['cal_fri'] = "周五";
$lang['cal_sat'] = "周六";
$lang['cal_sunday'] = "星期日";
$lang['cal_monday'] = "星期一";
$lang['cal_tuesday'] = "星期二";
$lang['cal_wednesday'] = "星期三";
$lang['cal_thursday'] = "星期四";
$lang['cal_friday'] = "星期五";
$lang['cal_saturday'] = "星期六";
$lang['cal_jan'] = "1月";
$lang['cal_feb'] = "2月";
$lang['cal_mar'] = "3月";
$lang['cal_apr'] = "4月";
$lang['cal_may'] = "5月";
$lang['cal_jun'] = "6月";
$lang['cal_jul'] = "7月";
$lang['cal_aug'] = "8月";
$lang['cal_sep'] = "9月";
$lang['cal_oct'] = "10月";
$lang['cal_nov'] = "11月";
$lang['cal_dec'] = "12月";
$lang['cal_january'] = "一月";
$lang['cal_february'] = "二月";
$lang['cal_march'] = "三月";
$lang['cal_april'] = "四月";
$lang['cal_mayl'] = "五月";
$lang['cal_june'] = "六月";
$lang['cal_july'] = "七月";
$lang['cal_august'] = "八月";
$lang['cal_september'] = "九月";
$lang['cal_october'] = "十月";
$lang['cal_november'] = "十一月";
$lang['cal_december'] = "十二月";


/* End of file calendar_lang.php */
/* Location: ./system/language/english/calendar_lang.php */
21 changes: 21 additions & 0 deletions application/language/simplified-chinese/error.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* 模块开发者注意:
* 将模块特定的语言文件保存在这个
* 外部文件夹中对于可移植性来说
* 不是一个好的做法 - 我不建议你
* 为自己的非默认模块这样做。
* 相反,只需将你的语言文件放在
* application/modules/yourModule/language/
* 你不需要更改任何代码,系统
* 也会自动在该文件夹中查找。
*/

$lang['404_title'] = "文件未找到";
$lang['404'] = "404错误 - 文件未找到";
$lang['404_long'] = "您要查找的页面不存在。您是如何到达这里的仍是个谜。但您可以点击下面的按钮返回首页。";
$lang['permission_denied_title'] = "权限被拒绝";
$lang['permission_denied'] = "您没有权限访问此页面!";
$lang['lost'] = "哎呀!您迷路了。";
$lang['button_home'] = "首页";
10 changes: 10 additions & 0 deletions application/language/simplified-chinese/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>
70 changes: 70 additions & 0 deletions application/language/simplified-chinese/main.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?php

/**
* 简体中文语言支持
*/

/**
* 2字母语言缩写,用于国旗图标
*
* @see http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
*/
$lang['abbreviation'] = "cn";

// 用户面板缩写
$lang['ucp'] = "用户中心";

/**
* ====================================
* 时间标识符
* ====================================
*/

// 单数形式
$lang['month'] = "月";
$lang['day'] = "天";
$lang['hour'] = "小时";
$lang['minute'] = "分钟";
$lang['second'] = "秒";

// 复数形式
$lang['months'] = "月";
$lang['days'] = "天";
$lang['hours'] = "小时";
$lang['minutes'] = "分钟";
$lang['seconds'] = "秒";

// 权限错误
$lang['denied'] = "权限被拒绝";
$lang['must_be_signed_in'] = "您必须登录才能查看此页面!";
$lang['already_signed_in'] = "您已经登录了!";
$lang['no_permission'] = "您没有权限查看此页面。";
$lang['click_to_sign_in'] = "请点击此处登录。";

// 其他
$lang['reason'] = "原因:";
$lang['banned'] = "已封禁";
$lang['close_tool'] = "关闭工具";
$lang['offline'] = "离线";

$lang['voting_points'] = "投票点数";
$lang['donation_points'] = "捐赠点数";

$lang['change_avatar'] = "更改头像";

// 用户中心导航
$lang['vote'] = "投票";
$lang['donate'] = "捐赠";
$lang['store'] = "商店";
$lang['account_settings'] = "账户设置";
$lang['account_security'] = "账户安全";
$lang['teleport_hub'] = "传送中心";

$lang['gm_panel'] = "GM面板";
$lang['admin_panel'] = "管理员面板";

$lang['login'] = "登录";
$lang['logout'] = "登出";
$lang['register'] = "注册";
$lang['account'] = "账户";

25 changes: 25 additions & 0 deletions application/language/simplified-chinese/sidebox_info.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

/**
* 模块开发者注意:
* 将模块特定的语言文件保存在这个
* 外部文件夹中对于可移植性来说
* 不是一个好的做法 - 我不建议你
* 为自己的非默认模块这样做。
* 相反,只需将你的语言文件放在
* application/modules/yourModule/language/
* 你不需要更改任何代码,系统
* 也会自动在该文件夹中查找。
*/

$lang['expansion'] = "资料片";
$lang['last_ip'] = "上次IP";
$lang['current_ip'] = "当前IP";
$lang['vp'] = "积分";
$lang['dp'] = "点券";
$lang['user_panel'] = "用户面板";
$lang['log_out'] = "登出";
$lang['username'] = "用户名";
$lang['password'] = "密码";
$lang['log_in'] = "登录";
$lang['register'] = "注册";
19 changes: 19 additions & 0 deletions application/language/simplified-chinese/sidebox_info_login.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

//登录
$lang["login_label_user"] = "用户名";
$lang["login_label_password"] = "密码";
$lang["login_label_captcha"] = "验证码";
$lang["login_label_remember"] = "记住我";
$lang["login_link_password_forgot"] = "忘记密码?";
$lang["login_button"] = "登录";

//错误
$lang["user_doesnt_exist"] = "用户不存在";
$lang["user_exist"] = "用户已存在";

//密码
$lang["password_doesnt_match"] = "密码不匹配";

//验证码
$lang["captcha_invalid"] = "验证码无效";
18 changes: 18 additions & 0 deletions application/language/simplified-chinese/sidebox_poll.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

/**
* 模块开发者注意:
* 将模块特定的语言文件保存在这个
* 外部文件夹中对于可移植性来说
* 不是一个好的做法 - 我不建议你
* 为自己的非默认模块这样做。
* 相反,只需将你的语言文件放在
* application/modules/yourModule/language/
* 你不需要更改任何代码,系统
* 也会自动在该文件夹中查找。
*/

$lang['show_results'] = "显示结果";
$lang['no_poll'] = "当前没有活动的投票";
$lang['show_options'] = "显示选项";
$lang['log_in'] = "请登录后再投票!";
9 changes: 9 additions & 0 deletions application/language/simplified-chinese/sidebox_shoutbox.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

$lang['ago'] = "前";
$lang['view_profile'] = "查看个人资料";
$lang['said'] = "说";
$lang['message_limit'] = "消息长度必须在0-255个字符之间!";
$lang['enter'] = "输入消息...";
$lang['submit'] = "发送消息";
$lang['log_in'] = "请登录后再发送";
18 changes: 18 additions & 0 deletions application/language/simplified-chinese/sidebox_top.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

/**
* 模块开发者注意:
* 将模块特定的语言文件保存在这个
* 外部文件夹中对于可移植性来说
* 不是一个好的做法 - 我不建议你
* 为自己的非默认模块这样做。
* 相反,只需将你的语言文件放在
* application/modules/yourModule/language/
* 你不需要更改任何代码,系统
* 也会自动在该文件夹中查找。
*/

$lang['top_total_kills'] = "总击杀数";
$lang['top_yesterday_kills'] = "昨日击杀数";
$lang['top_today_kills'] = "今日击杀数";
$lang['no_players'] = "未找到角色";
19 changes: 19 additions & 0 deletions application/language/simplified-chinese/sidebox_toppvp.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

/**
* 模块开发者注意:
* 将模块特定的语言文件保存在这个
* 外部文件夹中对于可移植性来说
* 不是一个好的做法 - 我不建议你
* 为自己的非默认模块这样做。
* 相反,只需将你的语言文件放在
* application/modules/yourModule/language/
* 你不需要更改任何代码,系统
* 也会自动在该文件夹中查找。
*/

$lang['next'] = "下一个服务器";
$lang['previous'] = "上一个服务器";
$lang['no_stats'] = "没有可显示的PvP统计数据";
$lang['kills'] = "击杀";
$lang['view_profile'] = "查看角色资料";
22 changes: 22 additions & 0 deletions application/language/simplified-chinese/sidebox_visitors.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

/**
* 模块开发者注意:
* 将模块特定的语言文件保存在这个
* 外部文件夹中对于可移植性来说
* 不是一个好的做法 - 我不建议你
* 为自己的非默认模块这样做。
* 相反,只需将你的语言文件放在
* application/modules/yourModule/language/
* 你不需要更改任何代码,系统
* 也会自动在该文件夹中查找。
*/

$lang['there_are'] = "当前有";
$lang['there_is'] = "当前有";
$lang['guest'] = "位访客";
$lang['guests'] = "位访客";
$lang['visitor'] = "位访问者";
$lang['visitors'] = "位访问者";
$lang['online'] = "在线";
$lang['who'] = "是谁?";
60 changes: 60 additions & 0 deletions application/language/simplified-chinese/tooltip.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php

/**
* Note to module developers:
* Keeping a module specific language file like this
* in this external folder is not a good practise for
* portability - I do not advice you to do this for
* your own modules since they are non-default.
* Instead, simply put your language files in
* application/modules/yourModule/language/
* You do not need to change any code, the system
* will automatically look in that folder too.
*/

$lang['loading'] = "加载中...";
$lang['no_item'] = "未指定物品或领域!";
$lang['view_item'] = "查看物品";
$lang['armory'] = "军械库";
$lang['unknown_item'] = "未知物品";
$lang['meta'] = "多彩插槽";
$lang['red'] = "红色插槽";
$lang['yellow'] = "黄色插槽";
$lang['blue'] = "蓝色插槽";
$lang['prismatic'] = "棱彩插槽";
$lang['cogwheel'] = "齿轮插槽";
$lang['domination'] = "统御插槽";
$lang['hydraulic'] = "液压插槽";
$lang['primordial'] = "原始插槽";
$lang['tinker'] = "工匠插槽";
$lang['relic-iron'] = "铁神器圣物插槽";
$lang['relic-blood'] = "血神器圣物插槽";
$lang['relic-shadow'] = "暗影神器圣物插槽";
$lang['relic-fel'] = "邪能神器圣物插槽";
$lang['relic-arcane'] = "奥术神器圣物插槽";
$lang['relic-frost'] = "冰霜神器圣物插槽";
$lang['relic-fire'] = "火焰神器圣物插槽";
$lang['relic-water'] = "水神器圣物插槽";
$lang['relic-life'] = "生命神器圣物插槽";
$lang['relic-storm'] = "风暴神器圣物插槽";
$lang['relic-holy'] = "神圣神器圣物插槽";
$lang['red-punchcard'] = "红色打孔卡插槽";
$lang['yellow-punchcard'] = "黄色打孔卡插槽";
$lang['blue-punchcard'] = "蓝色打孔卡插槽";
$lang['restores'] = "装备:恢复";
$lang['increases'] = "装备:提高你的";
$lang['by'] = "提高";
$lang['armor'] = "护甲";
$lang['damage'] = "伤害";
$lang['speed'] = "速度";
$lang['holy'] = "神圣抗性";
$lang['nature'] = "自然抗性";
$lang['fire'] = "火焰抗性";
$lang['frost'] = "冰霜抗性";
$lang['shadow'] = "暗影抗性";
$lang['arcane'] = "奥术抗性";
$lang['durability'] = "耐久度";
$lang['requires_level'] = "需要等级";
$lang['item_level'] = "物品等级";
$lang['unknown_effect'] = "未知效果";
$lang['dps'] = "每秒伤害";
Loading
Loading