mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
117 lines
4.3 KiB
PHP
Executable File
117 lines
4.3 KiB
PHP
Executable File
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Cachet HQ <support@cachethq.io>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
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
|
|
| as the size rules. Feel free to tweak each of these messages here.
|
|
|
|
|
*/
|
|
|
|
'accepted' => 'crwdns96:0crwdne96:0',
|
|
'active_url' => 'crwdns97:0crwdne97:0',
|
|
'after' => 'crwdns98:0crwdne98:0',
|
|
'alpha' => 'crwdns99:0crwdne99:0',
|
|
'alpha_dash' => 'crwdns100:0crwdne100:0',
|
|
'alpha_num' => 'crwdns101:0crwdne101:0',
|
|
'array' => 'crwdns102:0crwdne102:0',
|
|
'before' => 'crwdns103:0crwdne103:0',
|
|
'between' => [
|
|
'numeric' => 'crwdns104:0crwdne104:0',
|
|
'file' => 'crwdns418:0crwdne418:0',
|
|
'string' => 'crwdns419:0crwdne419:0',
|
|
'array' => 'crwdns420:0crwdne420:0',
|
|
],
|
|
'boolean' => 'crwdns108:0crwdne108:0',
|
|
'confirmed' => 'crwdns109:0crwdne109:0',
|
|
'date' => 'crwdns110:0crwdne110:0',
|
|
'date_format' => 'crwdns111:0crwdne111:0',
|
|
'different' => 'crwdns112:0crwdne112:0',
|
|
'digits' => 'crwdns113:0crwdne113:0',
|
|
'digits_between' => 'crwdns114:0crwdne114:0',
|
|
'email' => 'crwdns115:0crwdne115:0',
|
|
'exists' => 'crwdns116:0crwdne116:0',
|
|
'image' => 'crwdns117:0crwdne117:0',
|
|
'in' => 'crwdns118:0crwdne118:0',
|
|
'integer' => 'crwdns119:0crwdne119:0',
|
|
'ip' => 'crwdns120:0crwdne120:0',
|
|
'max' => [
|
|
'numeric' => 'crwdns121:0crwdne121:0',
|
|
'file' => 'crwdns421:0crwdne421:0',
|
|
'string' => 'crwdns422:0crwdne422:0',
|
|
'array' => 'crwdns423:0crwdne423:0',
|
|
],
|
|
'mimes' => 'crwdns125:0crwdne125:0',
|
|
'min' => [
|
|
'numeric' => 'crwdns126:0crwdne126:0',
|
|
'file' => 'crwdns424:0crwdne424:0',
|
|
'string' => 'crwdns425:0crwdne425:0',
|
|
'array' => 'crwdns426:0crwdne426:0',
|
|
],
|
|
'not_in' => 'crwdns130:0crwdne130:0',
|
|
'numeric' => 'crwdns131:0crwdne131:0',
|
|
'regex' => 'crwdns132:0crwdne132:0',
|
|
'required' => 'crwdns133:0crwdne133:0',
|
|
'required_if' => 'crwdns134:0crwdne134:0',
|
|
'required_with' => 'crwdns135:0crwdne135:0',
|
|
'required_with_all' => 'crwdns136:0crwdne136:0',
|
|
'required_without' => 'crwdns137:0crwdne137:0',
|
|
'required_without_all' => 'crwdns138:0crwdne138:0',
|
|
'same' => 'crwdns139:0crwdne139:0',
|
|
'size' => [
|
|
'numeric' => 'crwdns140:0crwdne140:0',
|
|
'file' => 'crwdns427:0crwdne427:0',
|
|
'string' => 'crwdns428:0crwdne428:0',
|
|
'array' => 'crwdns429:0crwdne429:0',
|
|
],
|
|
'string' => 'crwdns515:0crwdne515:0',
|
|
'unique' => 'crwdns144:0crwdne144:0',
|
|
'url' => 'crwdns145:0crwdne145:0',
|
|
'timezone' => 'crwdns146:0crwdne146:0',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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' => [
|
|
'attribute-name' => [
|
|
'rule-name' => 'crwdns147:0crwdne147:0',
|
|
],
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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' => [],
|
|
|
|
];
|