1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/resources/lang/ja/validation.php
David Bomba ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00

107 lines
5.5 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute はmust be accepted.',
'active_url' => ':attribute は正しいURLではありません。',
'after' => ':attribute は:date以降の日付である必要があります。',
'alpha' => ':attribute は半角英字のみ可能です。',
'alpha_dash' => ':attribute は半角英数字およびハイフンのみ可能です。',
'alpha_num' => ':attribute は半角英数字のみ可能です。',
'array' => 'The :attribute must be an array.',
'before' => ':attribute は:date以前の日付である必要があります。',
'between' => [
'numeric' => ':attribute は :min - :max の範囲です。',
'file' => ':attribute は :min - :max KBの範囲です。',
'string' => ':attribute は :min - :max 文字の範囲です。',
'array' => ':attribute は :min - :max 個の範囲です。',
],
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'email' => 'The :attribute format is invalid.',
'exists' => 'The selected :attribute is invalid.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'max' => [
'numeric' => ':attribute は:max 以下の必要があります。',
'file' => ':attribute は:max KB以下の必要があります。',
'string' => ':attribute は:max 文字以下の必要があります。',
'array' => ':attribute は:max 個以下の必要があります。',
],
'mimes' => ':attribute は以下のファイル・タイプの必要があります。 :values.',
'min' => [
'numeric' => ':attribute は:min 以上の必要があります。',
'file' => ':attribute は:min KB以上の必要があります。',
'string' => ':attribute は:min 文字以上の必要があります。',
'array' => ':attribute は:min 個以上の必要があります。',
],
'not_in' => '選択された :attribute は正しくありません。',
'numeric' => ':attribute は数値の必要があります。',
'regex' => ':attribute のフォーマットが正しくありません。',
'required' => ':attribute フィールドが必要です。',
'required_if' => ':other が :valueの場合、:attribute フィールドが必要です。',
'required_with' => 'The :attribute field is required when :values is present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'same' => ':attribute と :other が一致していません。',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'unique' => ':attribute は既に使われています。',
'url' => ':attribute のフォーマットが正しくありません。',
'positive' => 'The :attribute must be greater than zero.',
'has_credit' => 'The client does not have enough credit.',
'notmasked' => 'The values are masked',
'less_than' => 'The :attribute must be less than :value',
'has_counter' => 'The value must contain {$counter}',
'valid_contacts' => 'The contact must have either an email or name',
'valid_invoice_items' => 'The invoice exceeds the maximum amount',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];