Compare commits

..
13 Commits
Author SHA1 Message Date
caouecs 20d060e19b Merge branch 'feature_diff' 2016-03-10 21:35:54 +01:00
Frederic Delrieu 3d0fe8fdeb feature: todo - create file md 2016-03-10 21:35:19 +01:00
Frederic Delrieu 4dc3b9a6eb feature: english files 2016-03-10 21:31:24 +01:00
Fred Delrieu 7e1c14cb65 Merge pull request #520 from ottoshmidt/master
A couple of Georgian translations
2016-03-10 17:03:03 +01:00
Otar Magaldadze a2ef4e2c0c A couple of Georgian translations 2016-03-10 19:40:26 +04:00
Fred Delrieu b753efd3fb Update validation.php 2016-03-10 16:28:13 +01:00
Fred Delrieu 01dc2458fe Update validation.php 2016-03-10 16:27:51 +01:00
Fred Delrieu 6b4c99cd0a Merge pull request #517 from ottoshmidt/master
Add Georgian translation line
2016-03-10 16:24:23 +01:00
Fred Delrieu 99bcb29eb9 Merge pull request #519 from JurgenNL/patch-3
Other Dutch translations
2016-03-10 16:23:24 +01:00
Fred Delrieu b672751d0c Merge pull request #518 from JurgenNL/patch-2
Dutch translation for in_array
2016-03-10 16:22:32 +01:00
Jurgen 4ed0951d92 Other Dutch translations 2016-03-10 16:13:20 +01:00
Jurgen 9d5afc669d Dutch translation for in_array 2016-03-10 16:09:32 +01:00
Otar Magaldadze d71094fef7 Add Georgian translation line 2016-03-08 18:45:24 +04:00
13 changed files with 583 additions and 9 deletions

No files matched your search

+4 -1
View File
@@ -73,4 +73,7 @@ How can I fix a file ?
* if installed to project local, run `vendor/bin/php-cs-fixer fix`.
* add a pull request with the name of the language
The files for Laravel 4 are in `laravel4` branch, and for Laravel 5, are in `master` branch.
Status of files
---
* todo.md
-2
View File
@@ -41,9 +41,7 @@ return [
'image' => 'يجب أن يكون الحقل :attribute صورةً',
'in' => 'الحقل :attribute لاغٍ',
'in_array' => 'The :attribute field does not exist in :other.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'يجب أن يكون الحقل :attribute عددًا صحيحًا',
'ip' => 'يجب أن يكون الحقل :attribute عنوان IP ذي بُنية صحيحة',
'json' => 'يجب أن يكون الحقل :attribute نصآ من نوع JSON.',
'max' => [
+19
View File
@@ -0,0 +1,19 @@
<?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' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];
+19
View File
@@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];
+22
View File
@@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'Passwords must be at least six characters and match the confirmation.',
'reset' => 'Your password has been reset!',
'sent' => 'We have e-mailed your password reset link!',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that e-mail address.",
];
+113
View File
@@ -0,0 +1,113 @@
<?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.
|
*/
'accepted' => 'The :attribute must be accepted.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'alpha' => 'The :attribute may only contain letters.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
'alpha_num' => 'The :attribute may only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'exists' => 'The selected :attribute is invalid.',
'filled' => 'The :attribute field is required.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'json' => 'The :attribute must be a valid JSON string.',
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',
'string' => 'The :attribute may not be greater than :max characters.',
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'not_in' => 'The selected :attribute is invalid.',
'numeric' => 'The :attribute must be a number.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values is present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'url' => 'The :attribute format is invalid.',
/*
|--------------------------------------------------------------------------
| 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' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| 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' => [],
];
+1
View File
@@ -37,6 +37,7 @@ return [
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'Polje :attribute mora biti ispravna e-mail adresa.',
'exists' => 'Odabrano polje :attribute nije ispravno.',
'filled' => 'The :attribute field is required.',
'image' => 'Polje :attribute mora biti slika.',
'in' => 'Odabrano polje :attribute nije ispravno.',
'in_array' => 'The :attribute field does not exist in :other.',
+3 -3
View File
@@ -34,7 +34,7 @@ return [
'different' => ':attribute და :other ერთმანეთს არ უნდა ემთხვეოდეს.',
'digits' => ':attribute :digits ციფრისგან უნდა შედგებოდეს.',
'digits_between' => ':attribute :min-დან :max ციფრამბდე უნდა შედგებოდეს.',
'distinct' => 'The :attribute field has a duplicate value.',
'distinct' => ':attribute ველი შეიცავს გაორებულ მნიშვნელობას.',
'email' => ':attribute სწორი ელ.ფოსტა უნდა იყოს.',
'exists' => 'ასეთი :attribute არ არსებობს.',
'filled' => ':attribute აუცილებელია.',
@@ -59,11 +59,11 @@ return [
],
'not_in' => 'მითითებული :attribute არასწორია.',
'numeric' => ':attribute რიცხვი უნდა იყოს.',
'present' => 'The :attribute field must be present.',
'present' => ':attribute აუცილებელია.',
'regex' => ':attribute არ ემთხვევა ფორმატს.',
'required' => ':attribute აუცილებელია.',
'required_if' => ':attribute აუცილებელია, თუ :other-ის მნიშვნელობა ემთხვევა :value-ს.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_unless' => ':attribute აუცილებელია, თუ :values არ მოიცავს :other-ს.',
'required_with' => ':attribute აუცილებელია, თუ :values მითითებულია.',
'required_with_all' => ':attribute აუცილებელია, თუ :values მითითებულია.',
'required_without' => ':attribute აუცილებელია, თუ :values არ არის მითითებული.',
+3 -3
View File
@@ -40,10 +40,10 @@ return [
'filled' => ':attribute is verplicht.',
'image' => ':attribute moet een afbeelding zijn.',
'in' => ':attribute is ongeldig.',
'in_array' => 'The :attribute field does not exist in :other.',
'in_array' => 'Het :attribute veld bestaat niet in :other.',
'integer' => ':attribute moet een getal zijn.',
'ip' => ':attribute moet een geldig IP-adres zijn.',
'json' => 'The :attribute must be a valid JSON string.',
'json' => ':attribute moet een geldige JSON-string zijn.',
'max' => [
'numeric' => ':attribute mag niet hoger dan :max zijn.',
'file' => ':attribute mag niet meer dan :max kilobytes zijn.',
@@ -59,7 +59,7 @@ return [
],
'not_in' => 'Het formaat van :attribute is ongeldig.',
'numeric' => ':attribute moet een nummer zijn.',
'present' => 'The :attribute field must be present.',
'present' => 'Het :attribute veld moet bestaan.',
'regex' => ':attribute formaat is ongeldig.',
'required' => ':attribute is verplicht.',
'required_if' => ':attribute is verplicht indien :other gelijk is aan :value.',
+50
View File
@@ -0,0 +1,50 @@
<?php
// Get list of languages
$glob = scandir(__DIR__.'/..');
$languages = null;
foreach ($glob as $file) {
if (is_dir(__DIR__.'/../'.$file) && (!in_array($file, ['.', '..', '.git', '.phpintel', 'en', 'script']))) {
$languages[] = $file;
}
}
// Get English version
$english = [
'auth' => include(__DIR__.'/../en/auth.php'),
'pagination' => include(__DIR__.'/../en/pagination.php'),
'passwords' => include(__DIR__.'/../en/passwords.php'),
'validation' => include(__DIR__.'/../en/validation.php'),
];
$text = "# Todo list\n\n";
// Return diff language by language
foreach ($languages as $language) {
$text .= "\n * ".$language.":\n";
$current = [
'auth' => include(__DIR__.'/../'.$language.'/auth.php'),
'pagination' => include(__DIR__.'/../'.$language.'/pagination.php'),
'passwords' => include(__DIR__.'/../'.$language.'/passwords.php'),
'validation' => include(__DIR__.'/../'.$language.'/validation.php'),
];
foreach ($english as $key => $values) {
foreach ($values as $key2 => $value2) {
if ($key2 != 'custom' && $key2 != 'attributes') {
if (!isset($current[$key][$key2])) {
$text .= ' * '.$key.' : '.$key2." : needed\n";
} elseif ($current[$key][$key2] == $english[$key][$key2]) {
$text .= ' * '.$key.' : '.$key2." : not translated\n";
}
}
}
}
}
$pathTodoMd = __DIR__.'/../todo.md';
file_put_contents($pathTodoMd, $text);
+1
View File
@@ -37,6 +37,7 @@ return [
'distinct' => 'The :attribute field has a duplicate value.',
'email' => ':attribute mora biti veljaven e-poštni naslov.',
'exists' => 'izbran :attribute je neveljaven.',
'filled' => 'The :attribute field is required.',
'image' => ':attribute mora biti slika.',
'in' => 'izbran :attribute je neveljaven.',
'in_array' => 'The :attribute field does not exist in :other.',
+347
View File
@@ -0,0 +1,347 @@
# Todo list
* ar:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* be:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* bg:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* bs:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* ca:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* cs:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* cy:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* da:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* validation : timezone : not translated
* de:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* el:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* es:
* fa:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* fi:
* auth : failed : not translated
* auth : throttle : not translated
* validation : array : not translated
* validation : digits_between : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : regex : not translated
* validation : required_if : not translated
* validation : required_unless : not translated
* validation : required_with : not translated
* validation : required_with_all : not translated
* validation : required_without : not translated
* validation : required_without_all : not translated
* validation : string : not translated
* validation : timezone : not translated
* fr:
* gl:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* he:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* hr:
* validation : distinct : not translated
* validation : filled : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* hu:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* id:
* is:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : required_with : not translated
* validation : required_with_all : not translated
* validation : required_without : not translated
* validation : required_without_all : not translated
* validation : string : not translated
* it:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* ja:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* ka:
* validation : in_array : not translated
* km:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : required_with_all : not translated
* validation : string : not translated
* validation : timezone : not translated
* ko:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* lt:
* me:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* validation : timezone : not translated
* mk:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : required_with_all : not translated
* validation : required_without_all : not translated
* validation : string : not translated
* validation : timezone : not translated
* ms:
* validation : distinct : not translated
* validation : exists : not translated
* validation : in : not translated
* validation : in_array : not translated
* validation : not_in : not translated
* validation : present : not translated
* validation : required_unless : not translated
* nb:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* ne:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* nl:
* validation : distinct : not translated
* nn:
* pl:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* pt:
* validation : in_array : not translated
* pt-BR:
* validation : in_array : not translated
* ro:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* ru:
* validation : in_array : not translated
* sc:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* sk:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* sl:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : filled : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* validation : timezone : not translated
* sq:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* sr:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* sv:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* th:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* tk:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* tr:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* uk:
* validation : distinct : not translated
* validation : in_array : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : string : not translated
* vi:
* auth : failed : not translated
* auth : throttle : not translated
* validation : distinct : not translated
* validation : in_array : not translated
* validation : json : not translated
* validation : present : not translated
* validation : required_unless : not translated
* validation : required_with_all : not translated
* validation : string : not translated
* zh-CN:
* zh-HK:
* zh-TW:
+1
View File
@@ -75,6 +75,7 @@ return [
'string' => 'Текст в полі :attribute повинен містити :size символів.',
'array' => 'Поле :attribute повинне містити :size елементів.',
],
'string' => 'The :attribute must be a string.',
'timezone' => 'Поле :attribute повинне містити коректну часову зону.',
'unique' => 'Таке значення поля :attribute вже існує.',
'url' => 'Формат поля :attribute неправильний.',