Re: [分享] CodeIgniter 2.1.0 繁中語系 form_validation_lang.php
2.3 表單欄位驗證語系的更新版
修正decimal
增加is_unique
<?php
$lang['required'] = "%s 欄位必填。";
$lang['isset'] = "%s 欄位必須有值。";
$lang['valid_email'] = "%s 欄位必須為正確的電子郵件。";
$lang['valid_emails'] = "%s 欄位必須全部為正確的電子郵件。";
$lang['valid_url'] = "%s 欄位必須為正確的URL。";
$lang['valid_ip'] = "%s 欄位必須為正確的IP。";
$lang['min_length'] = "%s 欄位必須最少有 %s 個字元。";
$lang['max_length'] = "%s 欄位不能超過 %s 個字元。";
$lang['exact_length'] = "%s 欄位必須剛好有 %s 個字元。";
$lang['alpha'] = "%s 欄位只能為英文字元。";
$lang['alpha_numeric'] = "%s 欄位只能為英數字元。";
$lang['alpha_dash'] = "%s 欄位只能為英數字元、底線和破折號。";
$lang['numeric'] = "%s 欄位只能為數字。";
$lang['is_numeric'] = "%s 欄位只能為數字字元。";
$lang['integer'] = "%s 欄位只能為整數。";
$lang['regex_match'] = "%s 欄位格式不正確。";
$lang['matches'] = "%s 欄位和 %s 欄位不相符。";
$lang['is_unique'] = "%s 欄位必須為資料表中的唯一值。";
$lang['is_natural'] = "%s 欄位只能包含正整數。";
$lang['is_natural_no_zero'] = "%s 欄位只能包含非負整數。";
$lang['decimal'] = "%s 欄位只能為十進制含小數位數值。";
$lang['less_than'] = "%s 欄位數值必須小於 %s。";
$lang['greater_than'] = "%s 欄位數值必須大於 %s。";
/* @Translator: Richard Chen ycchen83@gmail.com */
/* End of file form_validation_lang.php */
/* Location: ./system/language/zh-TW/form_validation_lang.php */
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.168.122.44
※ 編輯: cychi 來自: 118.168.122.44 (12/30 17:39)
推
01/01 00:11, , 1F
01/01 00:11, 1F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章