Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

add Chinese translation #7

Merged
merged 1 commit into from

2 participants

@panxianhai

No description provided.

@vlucas vlucas merged commit 285c56b into from
@vlucas
Owner

Thanks for the translation! :+1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 6, 2013
  1. @panxianhai

    add Chinese translation

    panxianhai authored
This page is out of date. Refresh to see the latest.
Showing with 29 additions and 0 deletions.
  1. +29 −0 lang/zh-cn.php
View
29 lang/zh-cn.php
@@ -0,0 +1,29 @@
+<?php
+return array(
+ 'required' => "不能为空",
+ 'equals' => "必须和 '%s' 一致",
+ 'different' => "必须和 '%s' 不一致",
+ 'accepted' => "必须接受",
+ 'numeric' => "只能是数字",
+ 'integer' => "只能是整数(0-9)",
+ 'length' => "长度必须大于 %d",
+ 'min' => "必须大于 %s",
+ 'max' => "必须小于 %s",
+ 'in' => "无效的值",
+ 'notIn' => "无效的值",
+ 'ip' => "无效IP地址",
+ 'email' => "无效邮箱地址",
+ 'url' => "无效的URL",
+ 'urlActive' => "必须是可用的域名",
+ 'alpha' => "只能包括英文字母(a-z)",
+ 'alphaNum' => "只能包括英文字母(a-z)和数字(0-9)",
+ 'slug' => "只能包括英文字母(a-z)、数字(0-9)、破折号和下划线",
+ 'regex' => "无效格式",
+ 'date' => "无效的日期",
+ 'dateFormat' => "日期的格式应该为 '%s'",
+ 'dateBefore' => "日期必须在 '%s' 之前",
+ 'dateAfter' => "日期必须在 '%s' 之后",
+ 'contains' => "必须包含 %s"
+);
+
+
Something went wrong with that request. Please try again.