Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [LANG] Simplified Chinese For sNews 1.5.27 RC2  (Read 5253 times)

zhu8

  • Guest
[LANG] Simplified Chinese For sNews 1.5.27 RC2
« on: October 22, 2006, 05:47:48 PM »

You can see the Live Demo build by me ;)
Code: [Select]
//*************************************
// sNews 1.5.27 RC2 LANGUAGE VARIABLES
// AUTHOR: Zhu8
// URL: http://www.zhu8.net/
//*************************************

// LANGUAGE VARIABLES
function l($variable) {
if (s('language') != 'EN' && file_exists('snews_'.s('language').'.php')) {include('snews_'.s('language').'.php');} else {
$l = array();

#SITE LANGUAGE VARIABLES
$l['home'] = "首页";
$l['home_sef'] = 'home'; //default "home_SEF" used if "home_SEF" is not set in the database - allowed characters are [a-z] [A-Z] [-] [_]
$l['archive'] = '归档';
$l['rss_feed'] = 'RSS Feed';
$l['contact'] = '联系';
$l['sitemap'] = '站点地图';
$l['divider'] = '·'; //divider character
#categories
$l['cat_listSEF'] = '首页,归档,联系,站点地图,rss,登陆,管理,管理目录,管理文章,新文章,新附加,新页面,分类,文章,附加内容,页面,设置,文件,登出'; //SEF links of the hardcoded categories
$l['month_names'] = '一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月';
#search
$l['search_keywords'] = '搜索关键词';
$l['search_button'] = '搜索';
$l['search_results'] = '搜索结果';
$l['charerror'] = '请输入至少四个字符。';
$l['noresults'] = '无搜索结果 ';
$l['resultsfound'] = '搜索结果';
#comments
$l['addcomment'] = '添加评论';
$l['comments'] = '评论';
$l['comment'] = '评论';
$l['comment_info'] = '评论发表于';
$l['page'] = '页面';
#paginator
$l['first_page'] = '第一页';
$l['last_page'] = '最后一页';
$l['previous_page'] = '上一页';
$l['next_page'] = '下一页';
$l['name'] = '名称';
#comments
$l['comment_sent'] = '评论提交成功';
$l['comment_sent_approve'] = '评论正等待审核。';
$l['comment_error'] = '评论提交失败';
$l['comment_back'] = '返回评论页';
$l['no_comment'] = '这篇文章还没有评论';
$l['ce_reasons'] = '可能的原因:你没有输入内容或评论是太短。';
$l['url'] = '网址';
#contact
$l['email'] = '邮件';
$l['message'] = '信息';
$l['contact_sent'] = '信息提交成功。';
$l['contact_not_sent'] = '信息提交失败';
$l['message_error'] = '可能的原因: 没有输入内容或E-Mail输入错误。';
#generic links
$l['backhome'] = '返回首页';
$l['backarticle'] = '返回到文章';
$l['read_more'] = '继续阅读';
#contents error
$l['article_not_exist'] = '文章不存在';
$l['category_not_exist'] = '请求的分类不存在';

#ADMINISTRATION LANGUAGE VARIABLES
#administration
$l['administration'] = '管理';
$l['articles'] = '文章';
$l['extra_contents'] = '附加内容';
$l['pages'] = '页面';
#basic buttons
$l['view'] = '查看';
$l['add_new'] = '添加新的';
$l['article_new'] = '新文章';
$l['extra_new'] = '新附加内容';
$l['page_new'] = '新页面';
$l['edit'] = '编辑';
$l['delete'] = '删除';
$l['save'] = '保存';
$l['submit'] = '提交';
#settings
$l['settings'] = '设置';
$l['site_settings'] = '网站';
#login
$l['login_status'] = '登陆状态';
$l['login'] = '登陆';
$l['username'] = '用户名';
$l['password'] = '密码';
$l['logged_in'] = '登陆成功';
$l['log_out'] = '退出登陆';
$l['logout'] = '退出';
#categories
$l['categories'] = '分类';
$l['category'] = '分类';
$l['appear_category'] = '仅显示在分类中';
$l['appear_page'] = '仅显示在页面中';
$l['add_category'] = '新分类';
$l['category_order'] = '分类排序';
$l['order_category'] = '重新排序';
$l['description'] = '描述';
$l['publish_category'] = '公开分类';
$l['status'] = '状态:';
$l['published'] = '已公开';
$l['unpublished'] = '未公开';
#articles
$l['articles'] = '文章';
$l['article'] = '文章';
$l['newarticle'] = '新文章';
$l['article_date'] = '文章日期(输入一个未来的日期可定时发布文章)';
$l['preview'] = '预览';
$l['view'] = '查看';
$l['paginator'] = 'p_';
#customize article
$l['customize'] = '自定义';
$l['display_title'] = '显示标题';
$l['display_info'] = '显示信息栏(继续阅读/评论/日期)';
$l['server_time'] = '服务器时间';
$l['future_posting'] = '定时发布';
$l['publish_date'] = '发布日期';
$l['day'] = '日';
$l['month'] = '月';
$l['year'] = '年';
$l['hour'] = '时';
$l['minute'] = '分';
$l['publish_article'] = '发布文章';
$l['operation_completed'] = '操作成功!';
$l['deleted_success'] = '删除成功';
#files
$l['files'] = '文件';
$l['attach_image'] = '附加图片';
$l['upload_image'] = '上传图片';
$l['upload'] = '上传';
$l['no_image'] = '没有图片';
$l['image_error'] = '图片不能被复制';
$l['deleted'] = '文件已删除!';
#comments
$l['comments'] = '评论';
$l['enable_commenting'] = '允许评论';
$l['edit_comment'] = '编辑评论';
$l['freeze_comments'] = '锁定评论';
$l['unfreeze_comments'] = '解锁评论';
$l['enable'] = '允许';
$l['approved'] = '审核';
$l['enabled'] = '允许';
$l['disabled'] = '禁用';
#article structure
$l['title'] = '标题';
$l['sef_title'] = '搜索引擎友好标题(将被用作该篇文章的链接)';
$l['sef_title_cat'] = '搜索引擎友好标题(将被用作该分类的链接)';
$l['text'] = '文字';
$l['position'] = '位置';
$l['display_page'] = '页面';
$l['center'] = '居中';
$l['contents'] = '内容';
$l['side'] = '附加内容';
#errors
$l['error_not_logged_in'] = '你还没有登陆所以无法进行该操作。';
$l['admin_error'] = '错误';
$l['back'] = '返回';
$l['err_TitleEmpty'] = '标题不能为空。';
$l['err_TitleExists'] = '该标题已存在。';
$l['err_SEFEmpty'] = 'SEF标题不能为空。';
$l['err_SEFExists'] = 'SEF标题已存在。';
$l['err_SEFIllegal'] = 'SEF 标题含有不规范字符.
您仅可以使用以下字符 a-z 0-9_-
新的 SEF url已从标题中选择,请检查。';
$l['errNote'] = '请注意: 由于刚才的原因导致发布错误,请在发布之前再次核对。';
$l['warning_delete'] = '确定删除吗?';
$l['image_url'] = '输入图片地址';
$l['image_alt'] = '输入图片标题';
$l['file_url'] = '输入文件地址';
$l['link_url'] = '输入链接地址';
$l['link_title'] = '输入链接标题';
#settings form
$l['a_true'] = '确定';
$l['a_false'] = '取消';
$l['none'] = "无";
$l['change_up'] = '变更用户名和密码';
$l['newer_top'] = '新的在前面';
$l['newer_bottom'] = '新的在后面';
$l['pass_mismatch'] = '密码不符';
$l['a_username'] = '用户名';
$l['a_password'] = '密码';
$l['a_password2'] = '重复密码';
$l['a_prefix'] = '数据库前缀';
$l['a_home'] = '首页标题';
$l['a_display_page'] = "使用页面作为首页";
$l['a_display_new_on_home'] = '在首页显示新文章';
$l['a_display_pagination'] = '在文章中显示分页';
$l['a_website_title'] = '网站标题';
$l['a_home_sef'] = '首页 SEF (用作 首页的链接)';
$l['a_website_email'] = '邮件地址';
$l['a_description'] = '默认 description META 信息(为搜索引擎准备)';
$l['a_keywords'] = '默认 keywords META 信息(关键词用英文逗号分开)';
$l['a_contact_info'] = '联系信息';
$l['a_contact_subject'] = '联系页面标题';
#file inclusion
$l['a_word_filter_file'] = '文字过滤定义文件';
$l['a_word_filter_change'] = '文字过滤替换';
$l['a_word_filter_enable'] = '启用文字过滤';
$l['file_include_extensions'] = '.php,.txt,.inc,.htm,html';
$l['error_file_name'] = '
包含错误:禁用的文件名
';
$l['error_file_exists'] = '
包含错误:文件不存在
';
$l['a_num_categories'] = '显示分类中的文章数量';
$l['charset'] = '默认编码';
$l['a_time_settings'] = '时间和地区设置';
$l['a_date_format'] = '时间格式';
$l['a_comments_order'] = '评论排序';
$l['a_comment_limit'] = '每页评论条数';
$l['a_rss_limit'] = 'RSS 文章数量限制';
$l['a_approve_comments'] = '评论发布前审核';
$l['a_approve'] = '审核';
$l['a_article_limit'] = '每页文章数量限制';
$l['a_language'] = 'sNews 语言';
$l['description_meta'] = 'Description META 信息(为搜索引擎准备)';
$l['keywords_meta'] = 'Keywords META 信息(关键词用英文逗号分开)';
$l['all'] = '所有';

} return $l[$variable];
}
Logged

afanty

  • Newbie
  • *
  • Karma: 0
  • Posts: 3
[LANG] Simplified Chinese For sNews 1.5.27 RC2
« Reply #1 on: December 06, 2006, 05:01:53 AM »

xiexie ;)
Logged