Skip to content

Commit 06ac327

Browse files
committed
Merge pull request laravel#917 from HiroKws/japanese-language
Japanese language
2 parents 0556ef3 + cbff59b commit 06ac327

File tree

2 files changed

+173
-0
lines changed

2 files changed

+173
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Pagination Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines are used by the paginator library to build
11+
| the pagination links. You're free to change them to anything you want.
12+
| If you come up with something more exciting, let us know.
13+
|
14+
*/
15+
16+
/*
17+
|--------------------------------------------------------------------------
18+
| ペギネーション言語ライン
19+
|--------------------------------------------------------------------------
20+
|
21+
| 以下の言語設定行はpaginatorライブラリーにより、ペギネーションリンクを作成するため
22+
| 使用されます。お好きなように変更してください。
23+
| もっとエキサイトするアイデアが思い浮かんだら、私達に教えて下さい。
24+
|
25+
*/
26+
27+
28+
'previous' => '&laquo; 前',
29+
'next' => '次 &raquo;',
30+
31+
);
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
<?php
2+
3+
return array(
4+
5+
/*
6+
|--------------------------------------------------------------------------
7+
| Validation Language Lines
8+
|--------------------------------------------------------------------------
9+
|
10+
| The following language lines contain the default error messages used
11+
| by the validator class. Some of the rules contain multiple versions,
12+
| such as the size (max, min, between) rules. These versions are used
13+
| for different input types such as strings and files.
14+
|
15+
| These language lines may be easily changed to provide custom error
16+
| messages in your application. Error messages for custom validation
17+
| rules may also be added to this file.
18+
|
19+
*/
20+
21+
/*
22+
|--------------------------------------------------------------------------
23+
| バリデーション言語設定
24+
|--------------------------------------------------------------------------
25+
|
26+
| 以下の言語設定はvalidatorクラスで使用しているデフォルトのエラーメッセージを構成しています。
27+
| 幾つかのルールは複数の設定を持っています。例えばサイズ(max,min,between)ルールです。
28+
| (訳注:(numeric, file, string)の間違いと思われる。
29+
| これらの設定は、文字列やファイルのように入力のタイプの違いにより、使い分けられます。
30+
|
31+
| これらの言語設定はあなたのアプリケーションでカスタムエラーメッセージとして表示するため
32+
| 気軽に変更してください。カスタムバリデーションルールのためのエラーメッセージも、
33+
| 同様にこのファイルに追加していただけます。
34+
|
35+
*/
36+
37+
"accepted" => ":attributeを承認してください。",
38+
"active_url" => ":attributeが有効なURLではありません。",
39+
"after" => ":attributeには、:date以降の日付を指定してください。",
40+
"alpha" => ":attributeはアルファベッドのみがご利用できます。",
41+
"alpha_dash" => ":attributeは英数字とダッシュ(-)及び下線(_)がご利用できます。",
42+
"alpha_num" => ":attributeは英数字がご利用できます。",
43+
"before" => ":attributeには、:date以前の日付をご利用ください。",
44+
"between" => array(
45+
"numeric" => ":attributeは、:minから、:maxまでの数字をご指定ください。",
46+
"file" => ":attributeには、:min kBから:max kBまでのサイズのファイルをご指定ください。",
47+
"string" => ":attributeは、:min文字から:max文字の間でご指定ください。",
48+
),
49+
"confirmed" => ":attributeと、確認フィールドとが、一致していません。",
50+
"different" => ":attributeと:otherには、異なった内容を指定してください。",
51+
"email" => ":attributeには正しいメールアドレスの形式をご指定ください。",
52+
"exists" => "選択された:attributeは正しくありません。",
53+
"image" => ":attributeには画像ファイルを指定してください。",
54+
"in" => "選択された:attributeは正しくありません。",
55+
"integer" => ":attributeは整数でご指定ください。",
56+
"ip" => ":attributeには、有効なIPアドレスをご指定ください。",
57+
"match" => ":attributeの入力フォーマットが間違っています。",
58+
"max" => array(
59+
"numeric" => ":attributeには、:max以下の数字をご指定ください。",
60+
"file" => ":attributeには、:max kB以下のファイルをご指定ください。",
61+
"string" => ":attributeは、:max文字以下でご指定ください。",
62+
),
63+
"mimes" => ":attributeには:valuesタイプのファイルを指定してください。",
64+
"min" => array(
65+
"numeric" => ":attributeには、:min以上の数字をご指定ください。",
66+
"file" => ":attributeには、:min kB以上のファイルをご指定ください。",
67+
"string" => ":attributeは、:min文字以上でご指定ください。",
68+
),
69+
"not_in" => "選択された:attributeは正しくありません。",
70+
"numeric" => ":attributeには、数字を指定してください。",
71+
"required" => ":attributeは必ず指定してください。",
72+
"same" => ":attributeと:otherには同じ値を指定してください。",
73+
"size" => array(
74+
"numeric" => ":attributeには:sizeを指定してください。",
75+
"file" => ":attributeのファイルは、:sizeキロバイトでなくてはなりません。",
76+
"string" => ":attributeは:size文字で指定してください。",
77+
),
78+
"unique" => ":attributeに指定された値は既に存在しています。",
79+
"url" => ":attributeのフォーマットが正しくありません。",
80+
81+
/*
82+
|--------------------------------------------------------------------------
83+
| Custom Validation Language Lines
84+
|--------------------------------------------------------------------------
85+
|
86+
| Here you may specify custom validation messages for attributes using the
87+
| convention "attribute_rule" to name the lines. This helps keep your
88+
| custom validation clean and tidy.
89+
|
90+
| So, say you want to use a custom validation message when validating that
91+
| the "email" attribute is unique. Just add "email_unique" to this array
92+
| with your custom message. The Validator will handle the rest!
93+
|
94+
*/
95+
96+
/*
97+
|--------------------------------------------------------------------------
98+
| カスタムバリデーション言語設定
99+
|--------------------------------------------------------------------------
100+
|
101+
| ここでは、"属性_ルール"の記法を使用し、属性に対するカスタムバリデーションメッセージを
102+
| 指定してください。これにより、カスタムバリデーションをきれいに美しく保てます。
103+
|
104+
| 例えば、"email"属性のuniqueバリデーションで、カスタムバリデーションメッセージを
105+
| 使いたいならば、"email_unique"をカスタムメッセージとともに、配列に追加してください。
106+
| Validatorクラスが残りの面倒を見ます!
107+
|
108+
*/
109+
110+
'custom' => array(),
111+
112+
/*
113+
|--------------------------------------------------------------------------
114+
| Validation Attributes
115+
|--------------------------------------------------------------------------
116+
|
117+
| The following language lines are used to swap attribute place-holders
118+
| with something more reader friendly such as "E-Mail Address" instead
119+
| of "email". Your users will thank you.
120+
|
121+
| The Validator class will automatically search this array of lines it
122+
| is attempting to replace the :attribute place-holder in messages.
123+
| It's pretty slick. We think you'll like it.
124+
|
125+
*/
126+
127+
/*
128+
|--------------------------------------------------------------------------
129+
| バリデーション属性
130+
|--------------------------------------------------------------------------
131+
|
132+
| 以下の言語設定は属性のプレースホルダーを例えば"email"属性を"E-Mailアドレス"という風に
133+
| 読み手に親切になるよう置き換えるために使用されます。
134+
| あなたのユーザーは、あなたに感謝するでしょう。
135+
|
136+
| Validatorクラスは、自動的にメッセージに含まれる:attributeプレースホルダーを
137+
| この配列の値に置き換えようと試みます。絶妙ですね。あなたも気に入ってくれるでしょう。
138+
*/
139+
140+
'attributes' => array(),
141+
142+
);

0 commit comments

Comments
 (0)