i18n(validation): publish Laravel lang files + translate to RO and RU
- `php artisan lang:publish` created lang/en/{auth,pagination,passwords,validation}.php
- Copied to lang/ro/ and lang/ru/ and translated 30+ most-used validation
rules (required, email, min, max, unique, exists, etc.), auth messages
(failed, password, throttle), and pagination labels (previous/next).
- Fixes 'validation.required' literal appearing on form errors in RO/RU
locales.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'Данные для входа некорректны.',
|
||||
'password' => 'Введённый пароль неверен.',
|
||||
'throttle' => 'Слишком много попыток. Повторите через :seconds сек.',
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user