Laravel-Lang / lang

List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI.

Home Page:https://laravel-lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nova validation missing

Muetze42 opened this issue · comments

Environment

laravel/framework: 10.28.0
laravel-lang/common: 4.0
laravel/nova: 4.27.14
PHP: 8.2.4

  Localization .......................................................................................................
  Installed ................................................................................................... de, en
  LaravelLang\Attributes\Plugin ............................................................................... v2.4.1
  LaravelLang\HttpStatuses\Plugin ............................................................................. v3.4.5
  LaravelLang\Lang\Plugin ..................................................................................... 13.2.5
  Protected Locales ............................................................................................... en
  Publisher Version .......................................................................................... v14.7.0

Issue description

Nova comes with its own lang/vendor/nova/en/validation.php which is not translated.

<?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
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'attached' => 'This :attribute is already attached.',
    'relatable' => 'This :attribute may not be associated with this resource.',

];

Steps to reproduce

Add a language

Fixed in version 13.2.6.

Thank you for issue!