Index: /branches/version-2_12-multilang/data/locales/en-US.po
===================================================================
--- /branches/version-2_12-multilang/data/locales/en-US.po (revision 22398)
+++ /branches/version-2_12-multilang/data/locales/en-US.po (revision 22399)
@@ -95,85 +95,91 @@
msgstr "* Enter alphanumeric symbols for T_FIELD.
"
-msgid "c_* Enter at least 1 for T_FIELD.
_01"
+msgid "SC_CheckError_031"
msgstr "* Enter at least 1 for T_FIELD.
"
-msgid "c_* T_FIELD must be between T_COUNT - T_DIGIT_MAX digits.
_01"
-msgid_plural "c_* For T_FIELD, input between T_COUNT to T_DIGIT_MAX digits.
_01"
+msgid "SC_CheckError_032_SINGLE"
+msgid_plural "SC_CheckError_032_PLURAL"
msgstr[0] "* T_FIELD must be between T_COUNT - T_DIGIT_MAX digits.
"
msgstr[1] "* For T_FIELD, input between T_COUNT to T_DIGIT_MAX digits.
"
-msgid "c_* For T_FIELD, enter T_COUNT digit(s).
_01"
-msgid_plural "c_* For T_FIELD, input T_COUNT digit(s).
_01"
+msgid "SC_CheckError_033_SINGLE"
+msgid_plural "SC_CheckError_033_PLURAL"
msgstr[0] "* For T_FIELD, enter T_COUNT digit(s).
"
msgstr[1] "* For T_FIELD, input T_COUNT digit(s).
"
-msgid "c_* The T_FIELD format is incorrect.
_01"
+msgid "SC_CheckError_034"
msgstr "* The T_FIELD format is incorrect.
"
-msgid "c_* Enter the characters to be used in T_FIELD correctly.
_01"
+msgid "SC_CheckError_035"
msgstr "* Enter the characters to be used in T_FIELD correctly.
"
-msgid "c_* Enter T_FIELD correctly.
_01"
+msgid "SC_CheckError_036"
msgstr "* Enter T_FIELD correctly.
"
-msgid "c_* Enter an IP address in the proper format in T_FIELD.
_01"
+msgid "SC_CheckError_037"
msgstr "* Enter an IP address in the proper format in T_FIELD.
"
-msgid "c_* The format permitted for T_FIELD is T_EXT.
_01"
+msgid "SC_CheckError_038"
msgstr "* The format permitted for T_FIELD is T_EXT.
"
-msgid "c_* T_PATH cannot be found.
_01"
+msgid "SC_CheckError_039"
msgstr "* T_PATH cannot be found.
"
-msgid "c_* Upload T_FIELD.
_01"
+msgid "SC_CheckError_040"
msgstr "* Upload T_FIELD.
"
-msgid "c_* For the T_FIELD file size, use a size that is T_SIZET_UNIT or less.
_01"
+msgid "SC_CheckError_041"
msgstr ""
"* For the T_FIELD file size, use a size that is T_SIZET_UNIT or less.
"
-msgid "c_* Do not use Japanese or spaces in the file name for T_FIELD.
_01"
+msgid "SC_CheckError_042"
msgstr "* Do not use Japanese or spaces in the file name for T_FIELD.
"
-msgid "c_* T_FIELD is not correct.
_01"
+msgid "SC_CheckError_044"
msgstr "* T_FIELD is not correct.
"
-msgid "c_* Specify T_FIELD correctly.
_01"
+msgid "SC_CheckError_045"
msgstr "* Specify T_FIELD correctly.
"
-msgid "c_* The period specification for T_START and T_END is not correct.
_01"
+msgid "SC_CheckError_046"
msgstr ""
"* The period specification for T_START and T_END is not correct.
"
-msgid "c_* The designated T_FIELD does not exist.
_01"
+msgid "SC_CheckError_047"
msgstr "* The designated T_FIELD does not exist.
"
-msgid "c_* T_FIELD is not for mobile phones.
_01"
+msgid "SC_CheckError_048"
+msgstr "* The T_FIELD format is incorrect.
"
+
+msgid "SC_CheckError_049"
msgstr "* T_FIELD is not for mobile phones.
"
-msgid "c_* T_FIELD already used in member registration.
_01"
+msgid "SC_CheckError_050"
msgstr "* T_FIELD already used in member registration.
"
-msgid "c_* For a certain period of time after membership withdrawal, it is not possible to use the same T_FIELD.
_01"
+msgid "SC_CheckError_051"
msgstr ""
"* For a certain period of time after membership withdrawal, it is not "
"possible to use the same T_FIELD.
"
-msgid "c_* T_FIELD cannot be entered.
_01"
+msgid "SC_CheckError_052"
msgstr "* T_FIELD cannot be entered.
"
-msgid "c_* The file T_NAME does not exist.
_01"
+msgid "SC_CheckError_053"
+msgstr "* The T_FIELD format is incorrect.
"
+
+msgid "SC_FormParam_001"
msgstr "* The file T_NAME does not exist.
"
-msgid "c_* Does not support the error check format (T_FUNCTION) **
_01"
+msgid "SC_FormParam_002"
msgstr "* Does not support the error check format (T_FUNCTION) **
"
-msgid "c_T_NAME(* Required)_01"
+msgid "SC_FormParam_003"
msgstr "T_NAME(* Required)"
-msgid "c_[Default value: T_DEFAULT]_01"
+msgid "SC_FormParam_004"
msgstr " [Default value: T_DEFAULT]"
-msgid "c_ [Registration/update not possible] _01"
+msgid "SC_FormParam_005"
msgstr " [Registration/update not possible] "
Index: /branches/version-2_12-multilang/data/locales/ja.po
===================================================================
--- /branches/version-2_12-multilang/data/locales/ja.po (revision 22398)
+++ /branches/version-2_12-multilang/data/locales/ja.po (revision 22399)
@@ -91,83 +91,89 @@
msgstr "※ T_FIELDは英数記号で入力してください。
"
-msgid "c_* Enter at least 1 for T_FIELD.
_01"
+msgid "SC_CheckError_031"
msgstr "※ T_FIELDは1以上を入力してください。
"
-msgid "c_* T_FIELD must be between T_COUNT - T_DIGIT_MAX digits.
_01"
-msgid_plural "c_* For T_FIELD, input between T_COUNT to T_DIGIT_MAX digits.
_01"
+msgid "SC_CheckError_032_SINGLE"
+msgid_plural "SC_CheckError_032_PLURAL"
msgstr[0] "※ T_FIELDはT_COUNT桁~T_DIGIT_MAX桁で入力して下さい。
"
msgstr[1] "※ T_FIELDはT_COUNT桁~T_DIGIT_MAX桁で入力して下さい。
"
-msgid "c_* For T_FIELD, enter T_COUNT digit(s).
_01"
-msgid_plural "c_* For T_FIELD, input T_COUNT digit(s).
_01"
+msgid "SC_CheckError_033_SINGLE"
+msgid_plural "SC_CheckError_033_PLURAL"
msgstr[0] "※ T_FIELDはT_COUNT桁で入力して下さい。
"
msgstr[1] "※ T_FIELDはT_COUNT桁で入力して下さい。
"
-msgid "c_* The T_FIELD format is incorrect.
_01"
+msgid "SC_CheckError_034"
msgstr "※ T_FIELDの形式が不正です。
"
-msgid "c_* Enter the characters to be used in T_FIELD correctly.
_01"
+msgid "SC_CheckError_035"
msgstr "※ T_FIELDに使用する文字を正しく入力してください。
"
-msgid "c_* Enter T_FIELD correctly.
_01"
+msgid "SC_CheckError_036"
msgstr "※ T_FIELDを正しく入力してください。
"
-msgid "c_* Enter an IP address in the proper format in T_FIELD.
_01"
+msgid "SC_CheckError_037"
msgstr "※ T_FIELDに正しい形式のIPアドレスを入力してください。
"
-msgid "c_* The format permitted for T_FIELD is T_EXT.
_01"
+msgid "SC_CheckError_038"
msgstr "※ T_FIELDで許可されている形式は、T_EXTです。
"
-msgid "c_* T_PATH cannot be found.
_01"
+msgid "SC_CheckError_039"
msgstr "※ T_PATHが見つかりません。
"
-msgid "c_* Upload T_FIELD.
_01"
+msgid "SC_CheckError_040"
msgstr "※ T_FIELDをアップロードして下さい。
"
-msgid "c_* For the T_FIELD file size, use a size that is T_SIZET_UNIT or less.
_01"
+msgid "SC_CheckError_041"
msgstr ""
"※ T_FIELDのファイルサイズはT_SIZET_UNIT以下のものを使用してください。
"
-msgid "c_* Do not use Japanese or spaces in the file name for T_FIELD.
_01"
+msgid "SC_CheckError_042"
msgstr "※ T_FIELDのファイル名に日本語やスペースは使用しないで下さい。
"
-msgid "c_* T_FIELD is not correct.
_01"
+msgid "SC_CheckError_044"
msgstr "※ T_FIELDが正しくありません。
"
-msgid "c_* Specify T_FIELD correctly.
_01"
+msgid "SC_CheckError_045"
msgstr "※ T_FIELDを正しく指定してください。
"
-msgid "c_* The period specification for T_START and T_END is not correct.
_01"
+msgid "SC_CheckError_046"
msgstr "※ T_STARTとT_ENDの期間指定が不正です。
"
-msgid "c_* The designated T_FIELD does not exist.
_01"
+msgid "SC_CheckError_047"
msgstr "※ 指定したT_FIELDは存在しません。
"
-msgid "c_* T_FIELD is not for mobile phones.
_01"
+msgid "SC_CheckError_048"
+msgstr "※ T_FIELDの形式が不正です。
"
+
+msgid "SC_CheckError_049"
msgstr "※ T_FIELDは携帯電話のものではありません。
"
-msgid "c_* T_FIELD already used in member registration.
_01"
+msgid "SC_CheckError_050"
msgstr "※ すでに会員登録で使用されているT_FIELDです。
"
-msgid "c_* For a certain period of time after membership withdrawal, it is not possible to use the same T_FIELD.
_01"
+msgid "SC_CheckError_051"
msgstr ""
"※ 退会から一定期間の間は、同じT_FIELDを使用することはできません。
"
-msgid "c_* T_FIELD cannot be entered.
_01"
+msgid "SC_CheckError_052"
msgstr "※ T_FIELDは入力できません。
"
-msgid "c_* The file T_NAME does not exist.
_01"
+msgid "SC_CheckError_053"
+msgstr "※ T_FIELDの形式が不正です。
"
+
+msgid "SC_FormParam_001"
msgstr "※ T_NAMEのファイルが存在しません。
"
-msgid "c_* Does not support the error check format (T_FUNCTION) **
_01"
+msgid "SC_FormParam_002"
msgstr "※※ エラーチェック形式(T_FUNCTION)には対応していません ※※
"
-msgid "c_T_NAME(* Required)_01"
+msgid "SC_FormParam_003"
msgstr "T_NAME(※ 必須)"
-msgid "c_[Default value: T_DEFAULT]_01"
+msgid "SC_FormParam_004"
msgstr " [省略時初期値: T_DEFAULT]"
-msgid "c_ [Registration/update not possible] _01"
+msgid "SC_FormParam_005"
msgstr " [登録・更新不可] "
Index: /branches/version-2_12-multilang/data/class/SC_CheckError.php
===================================================================
--- /branches/version-2_12-multilang/data/class/SC_CheckError.php (revision 22397)
+++ /branches/version-2_12-multilang/data/class/SC_CheckError.php (revision 22399)
@@ -570,5 +570,5 @@
$this->createParam($value);
if ($this->arrParam[$value[1]] == '0') {
- $this->arrErr[$value[1]] = t('c_* Enter at least 1 for T_FIELD.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_031', array('T_FIELD' => $value[0]));
}
}
@@ -585,5 +585,5 @@
$count = strlen($this->arrParam[$value[1]]);
if (($count > 0) && $value[2] > $count || $value[3] < $count) {
- $this->arrErr[$value[1]] = t_plural($value[2], 'c_* T_FIELD must be between T_COUNT - T_DIGIT_MAX digits.
_01', 'c_* For T_FIELD, input between T_COUNT to T_DIGIT_MAX digits.
_01', array('T_FIELD' => $value[0], 'T_DIGIT_MAX' => $value[3]));
+ $this->arrErr[$value[1]] = t_plural($value[2], 'SC_CheckError_032_SINGLE', 'SC_CheckError_032_PLURAL', array('T_FIELD' => $value[0], 'T_DIGIT_MAX' => $value[3]));
}
}
@@ -599,5 +599,5 @@
$count = strlen($this->arrParam[$value[1]]);
if (($count > 0) && $count != $value[2]) {
- $this->arrErr[$value[1]] = t_plural($value[2], 'c_* For T_FIELD, enter T_COUNT digit(s).
_01', 'c_* For T_FIELD, input T_COUNT digit(s).
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t_plural($value[2], 'SC_CheckError_033_SINGLE', 'SC_CheckError_033_PLURAL', array('T_FIELD' => $value[0]));
}
}
@@ -647,5 +647,5 @@
if (!preg_match($regexp, $this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* The T_FIELD format is incorrect.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_034', array('T_FIELD' => $value[0]));
return;
}
@@ -666,5 +666,5 @@
$this->createParam($value);
if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[a-zA-Z0-9_\.@\+\?-]+$/i",$this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* Enter the characters to be used in T_FIELD correctly.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_035', array('T_FIELD' => $value[0]));
}
}
@@ -678,5 +678,5 @@
}
if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("@^https?://+($|[a-zA-Z0-9_~=:&\?\.\/-])+$@i", $this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* Enter T_FIELD correctly.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_036', array('T_FIELD' => $value[0]));
}
}
@@ -698,5 +698,5 @@
$param = trim($param);
if (long2ip(ip2long($param)) != trim($param) && !empty($param)) {
- $this->arrErr[$value[1]] = t('c_* Enter an IP address in the proper format in T_FIELD.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_037', array('T_FIELD' => $value[0]));
}
}
@@ -726,5 +726,5 @@
if ($match === false) {
$str_ext = implode('・', $value[2]);
- $this->arrErr[$value[1]] = t('c_* The format permitted for T_FIELD is T_EXT.
_01', array('T_FIELD' => $value[0], 'T_EXT' => $str_ext));
+ $this->arrErr[$value[1]] = t('SC_CheckError_038', array('T_FIELD' => $value[0], 'T_EXT' => $str_ext));
}
}
@@ -749,5 +749,5 @@
if ($this->arrParam[$value[1]] != '' && !file_exists($path)) {
- $this->arrErr[$value[1]] = t('c_* T_PATH cannot be found.
_01', array('T_PATH' => $path));
+ $this->arrErr[$value[1]] = t('SC_CheckError_039', array('T_PATH' => $path));
}
}
@@ -762,5 +762,5 @@
$this->createParam($value);
if (!($_FILES[$value[1]]['size'] != '' && $_FILES[$value[1]]['size'] > 0)) {
- $this->arrErr[$value[1]] = t('c_* Upload T_FIELD.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_040', array('T_FIELD' => $value[0]));
}
}
@@ -780,5 +780,5 @@
$byte = 'MB';
}
- $this->arrErr[$value[1]] = t('c_* For the T_FIELD file size, use a size that is T_SIZET_UNIT or less.
_01', array('T_FIELD' => $value[0], 'T_SIZE' => $value[2], 'T_UNIT' => $byte));
+ $this->arrErr[$value[1]] = t('SC_CheckError_041', array('T_FIELD' => $value[0], 'T_SIZE' => $value[2], 'T_UNIT' => $byte));
}
}
@@ -793,5 +793,5 @@
$this->createParam($value);
if (strlen($_FILES[$value[1]]['name']) > 0 && !preg_match("/^[[:alnum:]_\.-]+$/i", $_FILES[$value[1]]['name'])) {
- $this->arrErr[$value[1]] = t('c_* Do not use Japanese or spaces in the file name for T_FIELD.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_042', array('T_FIELD' => $value[0]));
}
}
@@ -806,5 +806,5 @@
$this->createParam($value);
if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[[:alnum:]_\.-]+$/i", $this->arrParam[$value[1]]) || preg_match('/[\\]/' ,$this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* Do not use Japanese or spaces in the file name for T_FIELD.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_042', array('T_FIELD' => $value[0]));
}
}
@@ -826,5 +826,5 @@
$this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD.
_01', array('T_FIELD' => $value[0]));
} else if (! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* T_FIELD is not correct.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_044', array('T_FIELD' => $value[0]));
}
}
@@ -849,5 +849,5 @@
$this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD.
_01', array('T_FIELD' => $value[0]));
} else if (! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* T_FIELD is not correct.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_044', array('T_FIELD' => $value[0]));
}
}
@@ -869,5 +869,5 @@
$this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD.
_01', array('T_FIELD' => $value[0]));
} else if (! checkdate($this->arrParam[$value[2]], 1, $this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* T_FIELD is not correct.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_044', array('T_FIELD' => $value[0]));
}
}
@@ -932,8 +932,8 @@
$this->createParam($value);
if ((strlen($this->arrParam[$value[2]]) > 0 || strlen($this->arrParam[$value[3]]) > 0 || strlen($this->arrParam[$value[4]]) > 0) && ! checkdate($this->arrParam[$value[3]], $this->arrParam[$value[4]], $this->arrParam[$value[2]])) {
- $this->arrErr[$value[2]] = t('c_* Specify T_FIELD correctly.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_045', array('T_FIELD' => $value[0]));
}
if ((strlen($this->arrParam[$value[5]]) > 0 || strlen($this->arrParam[$value[6]]) > 0 || strlen($this->arrParam[$value[7]]) > 0) && ! checkdate($this->arrParam[$value[6]], $this->arrParam[$value[7]], $this->arrParam[$value[5]])) {
- $this->arrErr[$value[5]] = t('c_* Specify T_FIELD correctly.
_01', array('T_FIELD' => $value[1]));
+ $this->arrErr[$value[5]] = t('SC_CheckError_045', array('T_FIELD' => $value[1]));
}
if ((strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0) && (strlen($this->arrParam[$value[5]]) > 0 || strlen($this->arrParam[$value[6]]) > 0 || strlen($this->arrParam[$value[7]]) > 0)) {
@@ -943,5 +943,5 @@
if (($this->arrErr[$value[2]] == '' && $this->arrErr[$value[5]] == '') && $date1 > $date2) {
- $this->arrErr[$value[2]] = t('c_* The period specification for T_START and T_END is not correct.
_01', array('T_START' => $value[0], 'T_END' => $value[1]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_046', array('T_START' => $value[0], 'T_END' => $value[1]));
}
}
@@ -982,8 +982,8 @@
$this->createParam($value);
if ((strlen($this->arrParam[$value[2]]) > 0 || strlen($this->arrParam[$value[3]]) > 0 || strlen($this->arrParam[$value[4]]) > 0 || strlen($this->arrParam[$value[5]]) > 0) && ! checkdate($this->arrParam[$value[3]], $this->arrParam[$value[4]], $this->arrParam[$value[2]])) {
- $this->arrErr[$value[2]] = t('c_* Specify T_FIELD correctly.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_045', array('T_FIELD' => $value[0]));
}
if ((strlen($this->arrParam[$value[8]]) > 0 || strlen($this->arrParam[$value[9]]) > 0 || strlen($this->arrParam[$value[10]]) > 0 || strlen($this->arrParam[$value[11]]) > 0) && ! checkdate($this->arrParam[$value[9]], $this->arrParam[$value[10]], $this->arrParam[$value[8]])) {
- $this->arrErr[$value[8]] = t('c_* Specify T_FIELD correctly.
_01', array('T_FIELD' => $value[1]));
+ $this->arrErr[$value[8]] = t('SC_CheckError_045', array('T_FIELD' => $value[1]));
}
if ((strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0 && strlen($this->arrParam[$value[5]]) > 0) && (strlen($this->arrParam[$value[8]]) > 0 || strlen($this->arrParam[$value[9]]) > 0 || strlen($this->arrParam[$value[10]]) > 0 || strlen($this->arrParam[$value[11]]) > 0)) {
@@ -993,8 +993,8 @@
if (($this->arrErr[$value[2]] == '' && $this->arrErr[$value[8]] == '') && $date1 > $date2) {
- $this->arrErr[$value[2]] = t('c_* The period specification for T_START and T_END is not correct.
_01', array('T_START' => $value[0], 'T_END' => $value[1]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_046', array('T_START' => $value[0], 'T_END' => $value[1]));
}
if ($date1 == $date2) {
- $this->arrErr[$value[2]] = t('c_* The period specification for T_START and T_END is not correct.
_01', array('T_START' => $value[0], 'T_END' => $value[1]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_046', array('T_START' => $value[0], 'T_END' => $value[1]));
}
@@ -1025,8 +1025,8 @@
$this->createParam($value);
if ((strlen($this->arrParam[$value[2]]) > 0 || strlen($this->arrParam[$value[3]]) > 0) && ! checkdate($this->arrParam[$value[3]], 1, $this->arrParam[$value[2]])) {
- $this->arrErr[$value[2]] = t('c_* Specify T_FIELD correctly.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_045', array('T_FIELD' => $value[0]));
}
if ((strlen($this->arrParam[$value[4]]) > 0 || strlen($this->arrParam[$value[5]]) > 0) && ! checkdate($this->arrParam[$value[5]], 1, $this->arrParam[$value[4]])) {
- $this->arrErr[$value[4]] = t('c_* Specify T_FIELD correctly.
_01', array('T_FIELD' => $value[1]));
+ $this->arrErr[$value[4]] = t('SC_CheckError_045', array('T_FIELD' => $value[1]));
}
if ((strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && (strlen($this->arrParam[$value[4]]) > 0 || strlen($this->arrParam[$value[5]]) > 0))) {
@@ -1036,5 +1036,5 @@
if (($this->arrErr[$value[2]] == '' && $this->arrErr[$value[5]] == '') && $date1 > $date2) {
- $this->arrErr[$value[2]] = t('c_* The period specification for T_START and T_END is not correct.
_01', array('T_START' => $value[0], 'T_END' => $value[1]));
+ $this->arrErr[$value[2]] = t('SC_CheckError_046', array('T_START' => $value[0], 'T_END' => $value[1]));
}
}
@@ -1048,5 +1048,5 @@
$this->createParam($value);
if (!is_dir($this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* The designated T_FIELD does not exist.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_047', array('T_FIELD' => $value[0]));
}
}
@@ -1058,5 +1058,5 @@
}
if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^\.[^.]+\..+/i", $this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* The T_FIELD format is incorrect.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_048', array('T_FIELD' => $value[0]));
}
}
@@ -1072,5 +1072,5 @@
$objMobile = new SC_Helper_Mobile_Ex();
if (strlen($this->arrParam[$value[1]]) > 0 && !$objMobile->gfIsMobileMailAddress($this->arrParam[$value[1]])) {
- $this->arrErr[$value[1]] = t('c_* T_FIELD is not for mobile phones.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_049', array('T_FIELD' => $value[0]));
}
}
@@ -1093,8 +1093,8 @@
switch ($register_user_flg) {
case 1:
- $this->arrErr[$value[1]] .= t('c_* T_FIELD already used in member registration.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] .= t('SC_CheckError_050', array('T_FIELD' => $value[0]));
break;
case 2:
- $this->arrErr[$value[1]] .= t('c_* For a certain period of time after membership withdrawal, it is not possible to use the same T_FIELD.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] .= t('SC_CheckError_051', array('T_FIELD' => $value[0]));
break;
default:
@@ -1120,5 +1120,5 @@
$pattern = '/' . join('|', $prohibitedStr) . '/i';
if (preg_match_all($pattern, $targetStr, $matches = array())) {
- $this->arrErr[$value[1]] = t('c_* T_FIELD cannot be entered.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[1]] = t('SC_CheckError_052', array('T_FIELD' => $value[0]));
}
}
@@ -1137,5 +1137,5 @@
$this->createParam($value);
if ($this->evalCheck($value[1]) === false) {
- $this->arrErr[$value[0]] = t('c_* The T_FIELD format is incorrect.
_01', array('T_FIELD' => $value[0]));
+ $this->arrErr[$value[0]] = t('SC_CheckError_053', array('T_FIELD' => $value[0]));
}
}
Index: /branches/version-2_12-multilang/data/class/SC_FormParam.php
===================================================================
--- /branches/version-2_12-multilang/data/class/SC_FormParam.php (revision 22398)
+++ /branches/version-2_12-multilang/data/class/SC_FormParam.php (revision 22399)
@@ -131,13 +131,13 @@
if ($find) {
- $this->html_disp_name[$index] = t('c_T_NAME(* Required)_01', array('T_NAME' => $this->disp_name[$index]));
+ $this->html_disp_name[$index] = t('SC_FormParam_003', array('T_NAME' => $this->disp_name[$index]));
} else {
$this->html_disp_name[$index] = $this->disp_name[$index];
}
if ($this->arrDefault[$key] != '') {
- $this->html_disp_name[$index] .= t('c_[Default value: T_DEFAULT]_01', array('T_DEFAULT' => $this->arrDefault[$key]));
+ $this->html_disp_name[$index] .= t('SC_FormParam_004', array('T_DEFAULT' => $this->arrDefault[$key]));
}
if ($this->input_db[$index] == false) {
- $this->html_disp_name[$index] .= t('c_ [Registration/update not possible] _01');
+ $this->html_disp_name[$index] .= t('SC_FormParam_005');
}
}
@@ -228,5 +228,5 @@
case 'FILE_EXISTS':
if ($value != '' && !file_exists($this->check_dir . $value)) {
- $arrErr[$key] = t('c_* The file T_NAME does not exist.
_01', array('T_NAME' => $this->disp_name[$index]));
+ $arrErr[$key] = t('SC_FormParam_001', array('T_NAME' => $this->disp_name[$index]));
}
break;
@@ -234,9 +234,9 @@
case 'DOWN_FILE_EXISTS':
if ($value != '' && !file_exists(DOWN_SAVE_REALDIR . $value)) {
- $arrErr[$key] = t('c_* The file T_NAME does not exist.
_01', array('T_NAME' => $this->disp_name[$index]));
+ $arrErr[$key] = t('SC_FormParam_001', array('T_NAME' => $this->disp_name[$index]));
}
break;
default:
- $arrErr[$key] = t('c_* Does not support the error check format (T_FUNCTION) **
_01', array('T_FUNCTION' => $func));
+ $arrErr[$key] = t('SC_FormParam_002', array('T_FUNCTION' => $func));
break;
}