Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added inline validation strings for en, de and de-CH #1274

Merged
merged 4 commits into from
Jul 9, 2020
Merged

added inline validation strings for en, de and de-CH #1274

merged 4 commits into from
Jul 9, 2020

Conversation

kohlerdominik
Copy link
Contributor

PR for #1268

As discussed the translated strings for en, de (and de-CH).

@caouecs I made separate, non overlapping files for this. I think, maintaining them in a different branch might not be optimal. However, I'm open for other inputs where to put and how to name the files.

@caouecs caouecs self-assigned this Jul 8, 2020
@caouecs
Copy link
Member

caouecs commented Jul 8, 2020

Ok, thank you. Yes, it's the better idea in same branch ;)

I try to review this week, and I have to update the todo.php

Copy link
Member

@caouecs caouecs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kohlerdominik Can you fix these typos ? Thanks ;)

'string' => 'This string must be between :min and :max characters.',
'array' => 'This content must have between :min and :max items.',
],
'boolean' => 'This field field must be true or false.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

field field

'ends_with' => 'This must end with one of the following: :values.',
'exists' => 'The selected value is invalid.',
'file' => 'The content must be a file.',
'filled' => 'This field field must have a value.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

field field

'numeric' => 'The value must be greater than or equal :value.',
'file' => 'The file size must be greater than or equal :value kilobytes.',
'string' => 'The string must be greater than or equal :value characters.',
'array' => 'The Content must have :value items or more.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content to content

'required_with_all' => 'This field is required when :values are present.',
'required_without' => 'This field is required when :values is not present.',
'required_without_all' => 'This field is required when none of :values are present.',
'same' => 'The Value of this field must match the one from :other.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Value to value

'numeric' => 'Der Wert muss kleiner :value sein.',
'file' => 'Die Datei muss kleiner :value Kilobytes gross sein.',
'string' => 'Die Zeichenkette muss kleiner :value Zeichen lang sein.',
'array' => ':Der Inhalt muss kleiner :value Elemente haben.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:Der ?

'numeric' => 'Der Wert muss kleiner als :value sein.',
'file' => 'Die Datei muss kleiner als :value Kilobytes sein.',
'string' => 'Die Zeichenkette muss kürzer als :value Zeichen sein.',
'array' => ':Der Inhalt muss weniger als :value Elemente haben.',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:Der ?

@caouecs caouecs assigned kohlerdominik and unassigned caouecs Jul 8, 2020
Copy link
Member

@caouecs caouecs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed typos

@caouecs caouecs merged commit 33c7853 into Laravel-Lang:master Jul 9, 2020
@caouecs
Copy link
Member

caouecs commented Jul 9, 2020

Thank you

@kohlerdominik
Copy link
Contributor Author

Thank you

Big thanks for the intensive review and the fixes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants