]> BookStack Code Mirror - bookstack/commit
Update Dutch password_hint translation to correspond with validation rule 1314/head
authorJamie Schouten <redacted>
Wed, 6 Mar 2019 16:10:15 +0000 (17:10 +0100)
committerGitHub <redacted>
Wed, 6 Mar 2019 16:10:15 +0000 (17:10 +0100)
commit6f710225b51f10ea474aa2b2f62573c5d9251209
tree4d04a9706a8c2d3374db5e64d49a3ba192537d33
parentb273b9d6d04e3c0de999cda0ce52560137dc47f1
Update Dutch password_hint translation to correspond with validation rule

At the moment the translation says ```Minimaal 5 tekens``` which means your password should be at least 5 characters long. But a 5 character long password is not allowed by the validator.

I think this was a translation error from the English one where it says ```Must be over 5 characters```. To make the Dutch translation correct the Dutch translation should be changed to ```Minimaal 6 tekens```.

```
    /**
     * Get a validator for an incoming registration request.
     *
     * @param  array $data
     * @return \Illuminate\Contracts\Validation\Validator
     */
    protected function validator(array $data)
    {
        return Validator::make($data, [
            'name' => 'required|max:255',
            'email' => 'required|email|max:255|unique:users',
            'password' => 'required|min:6',
        ]);
    }
```
resources/lang/nl/auth.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.