Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02a6884abd | ||
|
|
c6747d61c6 | ||
|
|
dfbeaf02ea | ||
|
|
5a52c50feb | ||
|
|
97f8ea6a84 | ||
|
|
beb371e3c5 | ||
|
|
f883396e5a | ||
|
|
a356c739f4 | ||
|
|
763baef40d | ||
|
|
60ddbaeb15 | ||
|
|
0ec2d81fb2 | ||
|
|
d31c98af2e | ||
|
|
b2aa3d24bd | ||
|
|
e8ee5e0e60 | ||
|
|
e78ae0dca9 | ||
|
|
8d5e0d981d | ||
|
|
f979ac1cf2 | ||
|
|
aa2cb19dbf | ||
|
|
bdb0c606df | ||
|
|
f2ff48f831 | ||
|
|
f172dc11ee | ||
|
|
28c963cd1f | ||
|
|
08330922eb | ||
|
|
21b4df6d02 | ||
|
|
0d6cdbb6c7 | ||
|
|
d023b6a238 | ||
|
|
38997dfcc1 | ||
|
|
25dd0c0656 | ||
|
|
7ea7db169c | ||
|
|
cb24a96b71 | ||
|
|
fdd5fbc7d1 | ||
|
|
35e09f0aea | ||
|
|
9d530ce872 | ||
|
|
cb9848442d | ||
|
|
a8763b57bf | ||
|
|
d04e9d4c6b | ||
|
|
cf830f16ec | ||
|
|
9b8d8ea1ca | ||
|
|
e4f1335170 | ||
|
|
0b57f6b4eb | ||
|
|
da46cccb87 | ||
|
|
76dec4eff4 | ||
|
|
1f1a7d5d6b | ||
|
|
193bc91fb3 | ||
|
|
18ce7b5706 | ||
|
|
8e6faaadec | ||
|
|
59f5d08fdf | ||
|
|
4487e1a992 | ||
|
|
8ae13f9ff3 | ||
|
|
a4043fad65 | ||
|
|
c3c92478b3 | ||
|
|
89a5b0ccfa | ||
|
|
a5bdb484fb | ||
|
|
9e398a9291 | ||
|
|
6e02cfbdf9 | ||
|
|
592fb04c25 | ||
|
|
7b1576de0b | ||
|
|
8380b4b58e | ||
|
|
14bb6a054a | ||
|
|
b5ea0878b3 | ||
|
|
1e1c502896 | ||
|
|
a43b650a52 | ||
|
|
c71b159de8 | ||
|
|
93d823f248 | ||
|
|
5c2e4970fc | ||
|
|
3ffce0fab0 | ||
|
|
039fd1f4cb | ||
|
|
97e7add8d2 | ||
|
|
cb684ed054 | ||
|
|
f92481561c | ||
|
|
75377e7ac3 | ||
|
|
46e0d0375c | ||
|
|
6476967415 | ||
|
|
20cb3ef9d7 | ||
|
|
0aba9b16c4 | ||
|
|
667d35d0f2 | ||
|
|
153c14344b | ||
|
|
2e4b4eed56 | ||
|
|
b8a835f53a | ||
|
|
b552829f43 | ||
|
|
a9cd259a0c | ||
|
|
29b8c1328c |
No files matched your search
@@ -0,0 +1,29 @@
|
||||
# Changelog
|
||||
|
||||
## [3.0.2] 2016-05-11
|
||||
###
|
||||
|
||||
* *dimensions* in validation
|
||||
|
||||
## [3.0.0] 2016-04-24
|
||||
|
||||
* v3: new directory for languages
|
||||
|
||||
## [2.0.40] 2016-03-12
|
||||
### Added
|
||||
|
||||
* todo list: in todo.md
|
||||
|
||||
## [2.0.36] 2016-03-07
|
||||
### Added
|
||||
|
||||
* *in_array* in validation
|
||||
|
||||
## [2.0.35] 2016-03-01
|
||||
### Added
|
||||
* *distinct* in validation
|
||||
|
||||
## [2.0.34] 2016-02-27
|
||||
### Added
|
||||
|
||||
* *present* in validation
|
||||
@@ -0,0 +1,36 @@
|
||||
# Contributing
|
||||
|
||||
Contributions are **welcome** and will be fully **credited**.
|
||||
|
||||
We accept contributions via Pull Requests on [Github](https://github.com/caouecs/Laravel-lang).
|
||||
|
||||
## How can I add a language in this project ?
|
||||
|
||||
* fork this repository
|
||||
* create a directory in *src* with the short name of the language (ex: fr for French) from ISO-639-1 ( see [Wikipedia](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) )
|
||||
* copy these four files of the English version with your translation : from *script/en* directory
|
||||
* run [PHP-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
|
||||
* if installed to global, run `php-cs-fixer fix`.
|
||||
* if installed to project local, run `vendor/bin/php-cs-fixer fix`.
|
||||
* add a pull request with the name of the language
|
||||
* ex: [fr] New language
|
||||
|
||||
## How can I fix a file ?
|
||||
|
||||
* fork this repository
|
||||
* update the file
|
||||
* run [PHP-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
|
||||
* if installed to global, run `php-cs-fixer fix`.
|
||||
* if installed to project local, run `vendor/bin/php-cs-fixer fix`.
|
||||
* add a pull request with the name of the language
|
||||
* ex: [fr] Update validation for number in validation
|
||||
|
||||
## Status of files
|
||||
|
||||
* todo.md
|
||||
|
||||
### Update todo file
|
||||
|
||||
```php
|
||||
php script/todo.php
|
||||
```
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 caouecs <caouecs@caouecs.net>
|
||||
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
@@ -1,28 +1,18 @@
|
||||
Laravel-lang
|
||||
=============
|
||||
# Laravel-lang
|
||||
|
||||
In this repository, you can find the lang files for the framework PHP, [Laravel 4&5](http://www.laravel.com).
|
||||
|
||||
---
|
||||
## Install
|
||||
|
||||
News of 7 March 2016:
|
||||
#### Via Composer
|
||||
* For Laravel 5.* : add `"caouecs/laravel-lang": "~3.0"` in your `composer.json` in "require"
|
||||
* For Laravel 5 : add `"caouecs/laravel4-lang": "~2.0"` in your `composer.json` in "require"
|
||||
* For Laravel 4 : add `"caouecs/laravel4-lang": "~1.0"` in your `composer.json` in "require"
|
||||
* Do "composer update"
|
||||
* Files of languages are in "vendor/caouecs/laravel-lang" directory
|
||||
* Copy the folders of languages that you want, in *app/lang* (*resources/lang* in laravel 5) folder of your application Laravel
|
||||
|
||||
* validation: add *in_array*
|
||||
|
||||
News of 2 March 2016:
|
||||
|
||||
* validation: add *distinct*
|
||||
|
||||
News of 27 February 2016:
|
||||
|
||||
* validation: add *present*
|
||||
|
||||
---
|
||||
|
||||
How add languages in my app ?
|
||||
---
|
||||
|
||||
### Installation by GitHub
|
||||
#### Via GitHub
|
||||
|
||||
* Clone the [GitHub repository](https://github.com/caouecs/laravel-lang/) : *git clone https://github.com/caouecs/Laravel-lang.git*
|
||||
* Or download the [zip file](https://github.com/caouecs/laravel-lang/archive/master.zip)
|
||||
@@ -31,49 +21,29 @@ How add languages in my app ?
|
||||
* `master` for Laravel5 project
|
||||
* Copy the folders of languages that you want, in *app/lang* folder of your application Laravel
|
||||
|
||||
|
||||
### Installation by Composer
|
||||
|
||||
* For Laravel 4 : add `"caouecs/laravel4-lang": "~1.0"` in your `composer.json` in "require" or run *composer require caouecs/laravel4-lang*
|
||||
* For Laravel 5 : add `"caouecs/laravel4-lang": "~2.0"` in your `composer.json` in "require"
|
||||
* Do "composer update"
|
||||
* Files of languages are in "vendor/caouecs/laravel4-lang" directory
|
||||
* Copy the folders of languages that you want, in *app/lang* (*resources/lang* in laravel 5) folder of your application Laravel
|
||||
|
||||
### Installation by Command
|
||||
|
||||
If you have a Laravel5 project, you can use `laravel-lang` project of overtrue : *composer require "overtrue/laravel-lang:dev-master"*
|
||||
|
||||
### Language by default in your app
|
||||
## Usage [Laravel only]
|
||||
|
||||
In the file *app/config/app.php*, change the value of *locale* by the short name of your language.
|
||||
|
||||
---
|
||||
## Change log
|
||||
|
||||
How can I add a language in this project ?
|
||||
---
|
||||
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
|
||||
|
||||
* fork this repository
|
||||
* create a directory with the short name of the language (ex: fr for French) from ISO-639-1 ( see [Wikipedia](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) )
|
||||
* copy these four files of the English version with your translation
|
||||
* for [Laravel](https://github.com/laravel/laravel/tree/master/resources/lang/en)
|
||||
* run [PHP-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
|
||||
* if installed to global, run `php-cs-fixer fix`.
|
||||
* if installed to project local, run `vendor/bin/php-cs-fixer fix`.
|
||||
* add a pull request with the name of the language
|
||||
## Contributing
|
||||
|
||||
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
|
||||
|
||||
How can I fix a file ?
|
||||
---
|
||||
## Status of files
|
||||
|
||||
* fork this repository
|
||||
* update the file
|
||||
* run [PHP-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
|
||||
* if installed to global, run `php-cs-fixer fix`.
|
||||
* if installed to project local, run `vendor/bin/php-cs-fixer fix`.
|
||||
* add a pull request with the name of the language
|
||||
* Check the [todo.md](todo.md) file to see the missing translations.
|
||||
|
||||
Status of files
|
||||
---
|
||||
## Projects based on this package
|
||||
|
||||
* todo.md
|
||||
* [LaravelLang by ARCANEDEV](https://github.com/ARCANEDEV/LaravelLang)
|
||||
* [Laravel-lang by overtrue](https://github.com/overtrue/laravel-lang)
|
||||
* [laravel-lang-installer by ablunier](https://github.com/ablunier/laravel-lang-installer)
|
||||
|
||||
## Credits
|
||||
|
||||
- [caouecs](https://github.com/caouecs)
|
||||
- [All Contributors](https://github.com/caouecs/Laravel-lang/graphs/contributors)
|
||||
@@ -166,6 +166,7 @@ Korean (ko)
|
||||
|
||||
Lithunian (lt)
|
||||
|
||||
* [fosron](https://github.com/fosron)
|
||||
* sigitas
|
||||
* [trigras](https://github.com/trigras)
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "caouecs/laravel4-lang",
|
||||
"name": "caouecs/laravel-lang",
|
||||
"description": "Languages for Laravel",
|
||||
"keywords": ["laravel", "languages", "lpm", "lang"],
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reminder 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' => 'პაროლი მინიმუმ 6 სიმბოლოსგან უნდა შედგებოდეს და ემთხვეოდეს ერთმანეთს.',
|
||||
'reset' => 'თქვენი პაროლი განახლებულია!',
|
||||
'sent' => 'ელ.ფოსტაზე მიიღებთ პაროლის გასანახლებელ ბმულს!',
|
||||
'token' => 'პაროლის გასანახლებელი კოდი არასწორია.',
|
||||
'user' => 'მომხმარებელი ასეთი ელ.ფოსტით არ არსებობს.',
|
||||
|
||||
];
|
||||
@@ -1,115 +0,0 @@
|
||||
<?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' => ':attribute მონიშნული უნდა იყოს.',
|
||||
'active_url' => ':attribute URL მისამართი უნდა იყოს.',
|
||||
'after' => ':attribute :date-ის შემდეგ უნდა იყოს.',
|
||||
'alpha' => ':attribute მხოლოდ ასოებს უნდა შეიცავდეს.',
|
||||
'alpha_dash' => ':attribute მხოლოდ ასოებს, რიცხვებს და ტირეებს უნდა შეიცავდეს.',
|
||||
'alpha_num' => ':attribute მხოლოდ ასოებს და რიცხვებს უნდა შეიცავდეს.',
|
||||
'array' => ':attribute მასივი უნდა იყოს.',
|
||||
'before' => ':attribute :date-მდე უნდა იყოს.',
|
||||
'between' => [
|
||||
'numeric' => ':attribute :min-სა და :max-ს შორის უნდა იყოს.',
|
||||
'file' => ':attribute :min-სა და :max კილობაიტს შორის უნდა იყოს.',
|
||||
'string' => ':attribute :min-სა და :max სიმბოლოს შორის უნდა იყოს.',
|
||||
'array' => ':attribute-ის რაოდენობა :min-დან :max-მდე უნდა იყოს.',
|
||||
],
|
||||
'boolean' => ':attribute-ის მნიშვნელობა true, false, 0 ან 1 უნდა იყოს.',
|
||||
'confirmed' => ':attribute დადასტურებას არ ემთხვევა.',
|
||||
'date' => ':attribute არასწორი თარიღის ფორმატს შეიცავს.',
|
||||
'date_format' => ':attribute არ ემთხვევა თარიღის ფორმატს: :format.',
|
||||
'different' => ':attribute და :other ერთმანეთს არ უნდა ემთხვეოდეს.',
|
||||
'digits' => ':attribute :digits ციფრისგან უნდა შედგებოდეს.',
|
||||
'digits_between' => ':attribute :min-დან :max ციფრამბდე უნდა შედგებოდეს.',
|
||||
'distinct' => ':attribute ველი შეიცავს გაორებულ მნიშვნელობას.',
|
||||
'email' => ':attribute სწორი ელ.ფოსტა უნდა იყოს.',
|
||||
'exists' => 'ასეთი :attribute არ არსებობს.',
|
||||
'filled' => ':attribute აუცილებელია.',
|
||||
'image' => ':attribute სურათი უნდა იყოს.',
|
||||
'in' => 'მითითებული :attribute არასწორია.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'integer' => ':attribute მთელი რიცხვი უნდა იყოს.',
|
||||
'ip' => ':attribute IP მისამართი უნდა იყოს.',
|
||||
'json' => ':attribute JSON ტიპის უნდა იყოს.',
|
||||
'max' => [
|
||||
'numeric' => ':attribute :max-ს უნდა აღემატებოდეს.',
|
||||
'file' => ':attribute :max კილობაიტს არ უნდა აღემატებოდეს.',
|
||||
'string' => ':attribute :max სიმბოლოს არ უნდა აღემატებოდეს.',
|
||||
'array' => ':attribute-ის რაოდენობა :max-ს არ უნდა აღემატებოდეს.',
|
||||
],
|
||||
'mimes' => ':attribute შემდეგი ტიპის უნდა იყოს: :values.',
|
||||
'min' => [
|
||||
'numeric' => ':attribute მინიმუმ :min უნდა იყოს.',
|
||||
'file' => ':attribute მინიმუმ :min კილობაიტი უნდა იყოს.',
|
||||
'string' => ':attribute მინიმუმ :min სიმბოლოს უნდა შეიცავდეს.',
|
||||
'array' => ':attribute მინიმუმ :min უნდა იყოს.',
|
||||
],
|
||||
'not_in' => 'მითითებული :attribute არასწორია.',
|
||||
'numeric' => ':attribute რიცხვი უნდა იყოს.',
|
||||
'present' => ':attribute აუცილებელია.',
|
||||
'regex' => ':attribute არ ემთხვევა ფორმატს.',
|
||||
'required' => ':attribute აუცილებელია.',
|
||||
'required_if' => ':attribute აუცილებელია, თუ :other-ის მნიშვნელობა ემთხვევა :value-ს.',
|
||||
'required_unless' => ':attribute აუცილებელია, თუ :values არ მოიცავს :other-ს.',
|
||||
'required_with' => ':attribute აუცილებელია, თუ :values მითითებულია.',
|
||||
'required_with_all' => ':attribute აუცილებელია, თუ :values მითითებულია.',
|
||||
'required_without' => ':attribute აუცილებელია, თუ :values არ არის მითითებული.',
|
||||
'required_without_all' => ':attribute აუცილებელია, თუ :values არ არის მითითებული.',
|
||||
'same' => ':attribute და :other უნდა ემთხვეოდეს ერთმანეთს.',
|
||||
'size' => [
|
||||
'numeric' => ':attribute :size-ის ტოლი უნდა იყოს.',
|
||||
'file' => ':attribute :size კილობაიტი უნდა იყოს.',
|
||||
'string' => ':attribute :size სიმბოლოსგან უნდა შედგებოდეს.',
|
||||
'array' => ':attribute :size ელემენტს უნდა შეიცავდეს.',
|
||||
],
|
||||
'string' => ':attribute ტექსტი უნდა იყოს.',
|
||||
'timezone' => ':attribute დროის ზონა უნდა იყოს.',
|
||||
'unique' => 'ასეთი :attribute უკვე არსებობს.',
|
||||
'url' => ':attribute URL მისამართი უნდა იყოს.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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' => [
|
||||
//
|
||||
],
|
||||
|
||||
];
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'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.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
@@ -91,7 +92,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
@@ -108,6 +109,6 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
'attributes' => [],
|
||||
|
||||
];
|
||||
+128
-34
@@ -1,50 +1,144 @@
|
||||
<?php
|
||||
/**
|
||||
* Todo generator for Laravel-lang project.
|
||||
*
|
||||
* @author arcanedev-maroc
|
||||
*/
|
||||
class TodoGenerator
|
||||
{
|
||||
/**
|
||||
* Base path.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $basePath;
|
||||
|
||||
// Get list of languages
|
||||
$glob = scandir(__DIR__.'/..');
|
||||
/**
|
||||
* Excluded directories.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $excluded = [];
|
||||
|
||||
$languages = null;
|
||||
/**
|
||||
* Path of output file.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $output = null;
|
||||
|
||||
foreach ($glob as $file) {
|
||||
if (is_dir(__DIR__.'/../'.$file) && (!in_array($file, ['.', '..', '.git', '.phpintel', 'en', 'script']))) {
|
||||
$languages[] = $file;
|
||||
/**
|
||||
* Construct.
|
||||
*
|
||||
* @param string $basePath Base path.
|
||||
* @param array $excluded Excluded directories.
|
||||
*/
|
||||
public function __construct($basePath, $excluded = [])
|
||||
{
|
||||
$this->basePath = realpath($basePath);
|
||||
$this->excluded = $excluded;
|
||||
$this->load();
|
||||
}
|
||||
}
|
||||
|
||||
// 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'),
|
||||
];
|
||||
/**
|
||||
* Returns object.
|
||||
*
|
||||
* @param string $basePath Base path.
|
||||
* @param array $excluded Excluded directories.
|
||||
*
|
||||
* @return TodoGenerator
|
||||
*/
|
||||
public static function make($basePath, $excluded = [])
|
||||
{
|
||||
return new self($basePath, $excluded);
|
||||
}
|
||||
|
||||
$text = "# Todo list\n\n";
|
||||
/**
|
||||
* Compare translations and generate file.
|
||||
*/
|
||||
private function load()
|
||||
{
|
||||
// Get English version
|
||||
$english = $this->getTranslations(__DIR__.'/en');
|
||||
$languages = $this->getLanguages();
|
||||
|
||||
// Return diff language by language
|
||||
foreach ($languages as $language) {
|
||||
$text .= "\n * ".$language.":\n";
|
||||
$this->output = "# Todo list\n\n";
|
||||
$this->compareTranslations($english, $languages);
|
||||
}
|
||||
|
||||
$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'),
|
||||
];
|
||||
/**
|
||||
* Returns array of translations by language.
|
||||
*
|
||||
* @param string $language Language code.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function getTranslations($language)
|
||||
{
|
||||
return [
|
||||
'auth' => include($language.'/auth.php'),
|
||||
'pagination' => include($language.'/pagination.php'),
|
||||
'passwords' => include($language.'/passwords.php'),
|
||||
'validation' => include($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";
|
||||
/**
|
||||
* Returns list of languages.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function getLanguages()
|
||||
{
|
||||
$directories = glob($this->basePath.'/*', GLOB_ONLYDIR);
|
||||
|
||||
$languages = array_map(function ($dir) {
|
||||
$name = basename($dir);
|
||||
|
||||
return in_array($name, $this->excluded) ? null : $name;
|
||||
}, $directories);
|
||||
|
||||
return array_filter($languages);
|
||||
}
|
||||
|
||||
/**
|
||||
* Compare translations.
|
||||
*
|
||||
* @param array $default Language by default.
|
||||
* @param array $languages Others languages.
|
||||
*/
|
||||
private function compareTranslations(array $default, array $languages)
|
||||
{
|
||||
// Return diff language by language
|
||||
foreach ($languages as $language) {
|
||||
$this->output .= "\n * ".$language.":\n";
|
||||
$current = $this->getTranslations("{$this->basePath}/{$language}");
|
||||
|
||||
foreach ($default as $key => $values) {
|
||||
foreach ($values as $key2 => $value2) {
|
||||
if (in_array($key2, ['custom', 'attributes'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!isset($current[$key][$key2])) {
|
||||
$this->output .= ' * '.$key.' : '.$key2." : not present\n";
|
||||
} elseif ($current[$key][$key2] == $default[$key][$key2]) {
|
||||
$this->output .= ' * '.$key.' : '.$key2."\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Save todo list.
|
||||
*
|
||||
* @param string $path Path.
|
||||
*/
|
||||
public function save($path)
|
||||
{
|
||||
file_put_contents($path, $this->output);
|
||||
}
|
||||
}
|
||||
|
||||
$pathTodoMd = __DIR__.'/../todo.md';
|
||||
|
||||
file_put_contents($pathTodoMd, $text);
|
||||
TodoGenerator::make(__DIR__.'/../src')->save(__DIR__.'/../todo.md');
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,13 +34,14 @@ return [
|
||||
'different' => 'يجب أن يكون الحقلان :attribute و :other مُختلفان',
|
||||
'digits' => 'يجب أن يحتوي الحقل :attribute على :digits رقمًا/أرقام',
|
||||
'digits_between' => 'يجب أن يحتوي الحقل :attribute ما بين :min و :max رقمًا/أرقام ',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'للحقل :attribute قيمة مُكرّرة.',
|
||||
'email' => 'يجب أن يكون :attribute عنوان بريد إلكتروني صحيح البُنية',
|
||||
'exists' => 'الحقل :attribute لاغٍ',
|
||||
'filled' => 'الحقل :attribute إجباري',
|
||||
'image' => 'يجب أن يكون الحقل :attribute صورةً',
|
||||
'in' => 'الحقل :attribute لاغٍ',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'in_array' => 'الحقل :attribute غير موجود في :other.',
|
||||
'integer' => 'يجب أن يكون الحقل :attribute عددًا صحيحًا',
|
||||
'ip' => 'يجب أن يكون الحقل :attribute عنوان IP ذي بُنية صحيحة',
|
||||
'json' => 'يجب أن يكون الحقل :attribute نصآ من نوع JSON.',
|
||||
@@ -54,7 +55,7 @@ return [
|
||||
'min' => [
|
||||
'numeric' => 'يجب أن تكون قيمة الحقل :attribute أكبر من :min.',
|
||||
'file' => 'يجب أن يكون حجم الملف :attribute أكبر من :min كيلوبايت',
|
||||
'string' => 'يجب أن يكون طول النص :attribute أكبر :min حروفٍ/حرفًا',
|
||||
'string' => 'يجب أن يكون طول النص :attribute أكبر من :min حروفٍ/حرفًا',
|
||||
'array' => 'يجب أن يحتوي الحقل :attribute على الأقل على :min عُنصرًا/عناصر',
|
||||
],
|
||||
'not_in' => 'الحقل :attribute لاغٍ',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -35,6 +35,7 @@ return [
|
||||
'different' => 'Палі :attribute і :other павінны адрознівацца.',
|
||||
'digits' => 'Даўжыня лічбавага поля :attribute павінна быць :digits.',
|
||||
'digits_between' => 'Даўжыня лічбавага поля :attribute павінна быць паміж :min і :max.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Поле :attribute павінна быць сапраўдным электронным адрасам.',
|
||||
'filled' => 'Поле :attribute абавязкова для запаўнення.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Полетата :attribute и :other трябва да са различни.',
|
||||
'digits' => 'Полето :attribute трябва да има :digits цифри.',
|
||||
'digits_between' => 'Полето :attribute трябва да има между :min и :max цифри.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Полето :attribute е в невалиден формат.',
|
||||
'exists' => 'Избранато поле :attribute вече съществува.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Polja :attribute i :other moraju biti različita.',
|
||||
'digits' => 'Polje :attribute mora da sadži :digits brojeve.',
|
||||
'digits_between' => 'Polje :attribute mora biti između :min i :max broja.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Format polja :attribute mora biti validan email.',
|
||||
'exists' => 'Odabrano polje :attribute nije validno.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute i :other han de ser diferents.',
|
||||
'digits' => ':attribute ha de tenir :digits digits.',
|
||||
'digits_between' => ':attribute ha de tenir entre :min i :max digits.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => ':attribute no és un e-mail vàlid',
|
||||
'exists' => ':attribute és invàlid.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute a :other se musí lišit.',
|
||||
'digits' => ':attribute musí být :digits pozic dlouhé.',
|
||||
'digits_between' => ':attribute musí být dlouhé nejméně :min a nejvíce :max pozic.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => ':attribute není platný formát.',
|
||||
'exists' => 'Zvolená hodnota pro :attribute není platná.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Rhaid i :attribute a :other fod yn wahanol.',
|
||||
'digits' => 'Rhaid i :attribute fod yn :digits digid.',
|
||||
'digits_between' => 'Rhaid i :attribute fod rhwng :min a :max digid.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Rhaid i :attribute fod yn gyfeiriad ebost dilys.',
|
||||
'filled' => 'Rhaid cynnwys :attribute.',
|
||||
@@ -13,7 +13,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'De angivne oplysninger er ugyldige',
|
||||
'throttle' => 'For mange login forsøg. Prøv igen om :seconds sekunder.',
|
||||
'failed' => 'De angivne oplysninger er ugyldige.',
|
||||
'throttle' => 'For mange loginforsøg. Prøv igen om :seconds sekunder.',
|
||||
|
||||
];
|
||||
File renamed without changes.
@@ -13,10 +13,10 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => 'Adgangskoder skal minimum være 6 tegn og skal være tastet ens i begge felter.',
|
||||
'password' => 'Adgangskode skal minimum være 6 tegn og skal være tastet ens i begge felter.',
|
||||
'reset' => 'Adgangskoden er blevet nulstillet!',
|
||||
'sent' => 'Vi har sendt dig en e-mail til at nulstille din adgangskode!',
|
||||
'token' => 'Koden til nulstilling af adgangskoden er ugyldig.',
|
||||
'user' => 'Vi kan ikke finde en bruger med den e-mail adresse.',
|
||||
'user' => 'Vi kan ikke finde en bruger med den e-mailadresse.',
|
||||
|
||||
];
|
||||
@@ -14,7 +14,7 @@ return [
|
||||
*/
|
||||
|
||||
'accepted' => ':attribute skal accepteres.',
|
||||
'active_url' => ':attribute er ikke en valid URL.',
|
||||
'active_url' => ':attribute er ikke en gyldig URL.',
|
||||
'after' => ':attribute skal være en dato efter :date.',
|
||||
'alpha' => ':attribute må kun bestå af bogstaver.',
|
||||
'alpha_dash' => ':attribute må kun bestå af bogstaver, tal og bindestreger.',
|
||||
@@ -22,9 +22,9 @@ return [
|
||||
'array' => ':attribute skal være et array.',
|
||||
'before' => ':attribute skal være en dato før :date.',
|
||||
'between' => [
|
||||
'numeric' => ':attribute skal være imellem :min - :max.',
|
||||
'file' => ':attribute skal være imellem :min - :max kilobytes.',
|
||||
'string' => ':attribute skal være imellem :min - :max tegn.',
|
||||
'numeric' => ':attribute skal være mellem :min - :max.',
|
||||
'file' => ':attribute skal være mellem :min - :max kilobytes.',
|
||||
'string' => ':attribute skal være mellem :min - :max tegn.',
|
||||
'array' => ':attribute skal indeholde mellem :min - :max elementer.',
|
||||
],
|
||||
'boolean' => ':attribute skal være sandt eller falsk',
|
||||
@@ -34,13 +34,14 @@ return [
|
||||
'different' => ':attribute og :other skal være forskellige.',
|
||||
'digits' => ':attribute skal have :digits cifre.',
|
||||
'digits_between' => ':attribute skal have mellem :min og :max cifre.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => ':attribute har en duplikatværdi.',
|
||||
'email' => ':attribute skal være en gyldig e-mailadresse.',
|
||||
'exists' => 'Det valgte :attribute er ugyldig.',
|
||||
'filled' => ':attribute skal udfyldes.',
|
||||
'image' => ':attribute skal være et billede.',
|
||||
'in' => 'Det valgte :attribute er ugyldig.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'in_array' => ':attribute eksisterer ikke i :other.',
|
||||
'integer' => ':attribute skal være et heltal.',
|
||||
'ip' => ':attribute skal være en gyldig IP adresse.',
|
||||
'json' => ':attribute skal være en gyldig JSON streng.',
|
||||
@@ -59,11 +60,11 @@ return [
|
||||
],
|
||||
'not_in' => 'Den valgte :attribute er ugyldig.',
|
||||
'numeric' => ':attribute skal være et tal.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'present' => ':attribute skal være tilstede.',
|
||||
'regex' => ':attribute formatet er ugyldigt.',
|
||||
'required' => ':attribute skal udfyldes.',
|
||||
'required_if' => ':attribute skal udfyldes når :other er :value.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_unless' => ':attribute er påkrævet med mindre :other findes i :values.',
|
||||
'required_with' => ':attribute skal udfyldes når :values er udfyldt.',
|
||||
'required_with_all' => ':attribute skal udfyldes når :values er udfyldt.',
|
||||
'required_without' => ':attribute skal udfyldes når :values ikke er udfyldt.',
|
||||
@@ -75,8 +76,8 @@ return [
|
||||
'string' => ':attribute skal være :size tegn lang.',
|
||||
'array' => ':attribute skal indeholde :size elementer.',
|
||||
],
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'string' => ':attribute skal være en streng.',
|
||||
'timezone' => ':attribute skal være en gyldig tidszone.',
|
||||
'unique' => ':attribute er allerede taget.',
|
||||
'url' => ':attribute formatet er ugyldigt.',
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute und :other müssen sich unterscheiden.',
|
||||
'digits' => ':attribute muss :digits Stellen haben.',
|
||||
'digits_between' => ':attribute muss zwischen :min und :max Stellen haben.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => ':attribute Format ist ungültig.',
|
||||
'exists' => 'Der gewählte Wert für :attribute ist ungültig.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Το πεδίο :attribute και :other πρέπει να είναι διαφορετικά.',
|
||||
'digits' => 'Το πεδίο :attribute πρέπει να είναι :digits ψηφία.',
|
||||
'digits_between' => 'Το πεδίο :attribute πρέπει να είναι μεταξύ :min και :max ψηφία.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Το πεδίο :attribute πρέπει να είναι μία έγκυρη διεύθυνση email.',
|
||||
'filled' => 'To πεδίο :attribute είναι απαραίτητο.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute y :other deben ser diferentes.',
|
||||
'digits' => ':attribute debe tener :digits dígitos.',
|
||||
'digits_between' => ':attribute debe tener entre :min y :max dígitos.',
|
||||
'dimensions' => 'Las dimensiones de la imagen :attribute no son validas.',
|
||||
'distinct' => 'El campo :attribute contiene un valor duplicado.',
|
||||
'email' => ':attribute no es un correo válido',
|
||||
'exists' => ':attribute es inválido.',
|
||||
@@ -113,14 +114,14 @@ return [
|
||||
'username' => 'usuario',
|
||||
'email' => 'correo electrónico',
|
||||
'first_name' => 'nombre',
|
||||
'last_name' => 'apellido',
|
||||
'last_name' => 'apellidos',
|
||||
'password' => 'contraseña',
|
||||
'password_confirmation' => 'confirmación de la contraseña',
|
||||
'city' => 'ciudad',
|
||||
'country' => 'país',
|
||||
'address' => 'dirección',
|
||||
'phone' => 'teléfono',
|
||||
'mobile' => 'celular',
|
||||
'mobile' => 'móvil',
|
||||
'age' => 'edad',
|
||||
'sex' => 'sexo',
|
||||
'gender' => 'género',
|
||||
@@ -13,7 +13,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'اطلاعات ورود صحیح نمیباشد.',
|
||||
'failed' => 'اطلاعات ورود صحیح نمیباشد.',
|
||||
'throttle' => 'تعداد دفعات تلاش برای ورود از حد مجاز بیشتر است. لطفا پس از :seconds ثانیه مجددا تلاش فرمایید.',
|
||||
|
||||
];
|
||||
File renamed without changes.
@@ -16,7 +16,7 @@ return [
|
||||
'password' => 'رمز عبور باید حداقل شش کاراکتر و مطابقت داشته باشد.',
|
||||
'reset' => 'بازگردانی کلمه عبور انجام شد',
|
||||
'sent' => 'یاد آور رمز عبور ارسال شد.',
|
||||
'token' => 'مشخصه ی بازنشاندن رمز عبور اشتباه است.',
|
||||
'user' => 'کاربری با این ایمیل آدرس یافت نشد.',
|
||||
'token' => 'مشخصهی بازنشاندن رمز عبور اشتباه است.',
|
||||
'user' => 'کاربری با این نشانی ایمیل یافت نشد.',
|
||||
|
||||
];
|
||||
@@ -34,16 +34,17 @@ return [
|
||||
'different' => ':attribute و :other باید متفاوت باشند.',
|
||||
'digits' => ':attribute باید :digits رقم باشد.',
|
||||
'digits_between' => ':attribute باید بین :min و :max رقم باشد.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'فیلد :attribute دارای یک مقدار تکراری میباشد.',
|
||||
'email' => 'فرمت :attribute معتبر نیست.',
|
||||
'exists' => ':attribute انتخاب شده، معتبر نیست.',
|
||||
'filled' => 'فیلد :attribute الزامی است',
|
||||
'image' => ':attribute باید تصویر باشد.',
|
||||
'in' => ':attribute انتخاب شده، معتبر نیست.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'in_array' => 'فیلد :attribute در :other وجود ندارد.',
|
||||
'integer' => ':attribute باید نوع داده ای عددی (integer) باشد.',
|
||||
'ip' => ':attribute باید IP آدرس معتبر باشد.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'json' => 'فیلد :attribute باید یک رشته از نوع JSON باشد.',
|
||||
'max' => [
|
||||
'numeric' => ':attribute نباید بزرگتر از :max باشد.',
|
||||
'file' => ':attribute نباید بزرگتر از :max کیلوبایت باشد.',
|
||||
@@ -59,11 +60,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 ضروری است، مگر آنکه :other در :values وجود داشته باشد.',
|
||||
'required_with' => ':attribute الزامی است زمانی که :values موجود است.',
|
||||
'required_with_all' => ':attribute الزامی است زمانی که :values موجود است.',
|
||||
'required_without' => ':attribute الزامی است زمانی که :values موجود نیست.',
|
||||
@@ -75,7 +76,7 @@ return [
|
||||
'string' => ':attribute باید برابر با :size کاراکتر باشد.',
|
||||
'array' => ':attribute باسد شامل :size آیتم باشد.',
|
||||
],
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'string' => 'فیلد :attribute باید یک String باشد.',
|
||||
'timezone' => 'فیلد :attribute باید یک منطقه صحیح باشد.',
|
||||
'unique' => ':attribute قبلا انتخاب شده است.',
|
||||
'url' => 'فرمت آدرس :attribute اشتباه است.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute ja :other tulee olla eri arvoisia.',
|
||||
'digits' => ':attribute on oltava :digits numeroin.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => ':attribute muoto on virheellinen.',
|
||||
'exists' => 'valittu :attribute on virheellinen.',
|
||||
File renamed without changes.
File renamed without changes.
@@ -13,7 +13,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => 'Les mots de passe doivent avoir au moins six caractères et doivent être identiques.',
|
||||
'password' => 'Les mots de passe doivent contenir au moins six caractères et doivent être identiques.',
|
||||
'reset' => 'Votre mot de passe a été réinitialisé !',
|
||||
'sent' => 'Nous vous avons envoyé par courriel le lien de réinitialisation du mot de passe !',
|
||||
'token' => "Ce jeton de réinitialisation du mot de passe n'est pas valide.",
|
||||
@@ -23,19 +23,20 @@ return [
|
||||
'before' => 'Le champ :attribute doit être une date antérieure au :date.',
|
||||
'between' => [
|
||||
'numeric' => 'La valeur de :attribute doit être comprise entre :min et :max.',
|
||||
'file' => 'Le fichier :attribute doit avoir une taille entre :min et :max kilo-octets.',
|
||||
'string' => 'Le texte :attribute doit avoir entre :min et :max caractères.',
|
||||
'array' => 'Le tableau :attribute doit avoir entre :min et :max éléments.',
|
||||
'file' => 'La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.',
|
||||
'string' => 'Le texte :attribute doit contenir entre :min et :max caractères.',
|
||||
'array' => 'Le tableau :attribute doit contenir entre :min et :max éléments.',
|
||||
],
|
||||
'boolean' => 'Le champ :attribute doit être vrai ou faux.',
|
||||
'confirmed' => 'Le champ de confirmation :attribute ne correspond pas.',
|
||||
'date' => "Le champ :attribute n'est pas une date valide.",
|
||||
'date_format' => 'Le champ :attribute ne correspond pas au format :format.',
|
||||
'different' => 'Les champs :attribute et :other doivent être différents.',
|
||||
'digits' => 'Le champ :attribute doit avoir :digits chiffres.',
|
||||
'digits_between' => 'Le champ :attribute doit avoir entre :min et :max chiffres.',
|
||||
'distinct' => 'Le champ :attribute a une value dupliquée.',
|
||||
'email' => 'Le champ :attribute doit être une adresse email valide.',
|
||||
'digits' => 'Le champ :attribute doit contenir :digits chiffres.',
|
||||
'digits_between' => 'Le champ :attribute doit contenir entre :min et :max chiffres.',
|
||||
'dimensions' => "La taille de l'image :attribute n'est pas conforme.",
|
||||
'distinct' => 'Le champ :attribute a une valeur dupliquée.',
|
||||
'email' => 'Le champ :attribute doit être une adresse e-mail valide.',
|
||||
'exists' => 'Le champ :attribute sélectionné est invalide.',
|
||||
'filled' => 'Le champ :attribute est obligatoire.',
|
||||
'image' => 'Le champ :attribute doit être une image.',
|
||||
@@ -46,16 +47,16 @@ return [
|
||||
'json' => 'Le champ :attribute doit être un document JSON valide.',
|
||||
'max' => [
|
||||
'numeric' => 'La valeur de :attribute ne peut être supérieure à :max.',
|
||||
'file' => 'Le fichier :attribute ne peut être plus gros que :max kilo-octets.',
|
||||
'file' => 'La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.',
|
||||
'string' => 'Le texte de :attribute ne peut contenir plus de :max caractères.',
|
||||
'array' => 'Le tableau :attribute ne peut avoir plus de :max éléments.',
|
||||
'array' => 'Le tableau :attribute ne peut contenir plus de :max éléments.',
|
||||
],
|
||||
'mimes' => 'Le champ :attribute doit être un fichier de type : :values.',
|
||||
'min' => [
|
||||
'numeric' => 'La valeur de :attribute doit être supérieure à :min.',
|
||||
'file' => 'Le fichier :attribute doit être plus gros que :min kilo-octets.',
|
||||
'file' => 'La taille du fichier de :attribute doit être supérieure à :min kilo-octets.',
|
||||
'string' => 'Le texte :attribute doit contenir au moins :min caractères.',
|
||||
'array' => 'Le tableau :attribute doit avoir au moins :min éléments.',
|
||||
'array' => 'Le tableau :attribute doit contenir au moins :min éléments.',
|
||||
],
|
||||
'not_in' => "Le champ :attribute sélectionné n'est pas valide.",
|
||||
'numeric' => 'Le champ :attribute doit contenir un nombre.',
|
||||
@@ -111,7 +112,7 @@ return [
|
||||
'attributes' => [
|
||||
'name' => 'Nom',
|
||||
'username' => 'Pseudo',
|
||||
'email' => 'E-mail',
|
||||
'email' => 'Adresse e-mail',
|
||||
'first_name' => 'Prénom',
|
||||
'last_name' => 'Nom',
|
||||
'password' => 'Mot de passe',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute e :other deben ser diferentes.',
|
||||
'digits' => ':attribute debe ter :digits díxitos.',
|
||||
'digits_between' => ':attribute debe ter entre :min e :max díxitos.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => ':attribute debe ser unha dirección de correo electrónico válida.',
|
||||
'exists' => 'O :attribute seleccionado non é válido.',
|
||||
File renamed without changes.
File renamed without changes.
@@ -15,7 +15,7 @@ return [
|
||||
|
||||
'password' => 'סיסמאות חייבות להיות באורך 6 תווים ולהיות תואמות לערך של שדה אימות הסיסמה.',
|
||||
'reset' => 'הסיסמה אופסה!',
|
||||
'sent' => 'קישור לאיפוס סיסמה נשלח בהצלחה!',
|
||||
'sent' => 'קישור לאיפוס הסיסמה נשלח אליך באימייל',
|
||||
'token' => 'אסימון איפוס הסיסמה הזה לא תקני.',
|
||||
'user' => 'לא הצלחנו למצוא משתמש עם כתובת האימייל הזאת.',
|
||||
|
||||
@@ -34,13 +34,14 @@ return [
|
||||
'different' => 'שדה :attribute ושדה :other חייבים להיות שונים.',
|
||||
'digits' => 'שדה :attribute חייב להיות בעל :digits ספרות.',
|
||||
'digits_between' => 'שדה :attribute חייב להיות בין :min ו-:max ספרות.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'dimensions' => 'שדה :attribute מימדי התמונה לא תקינים',
|
||||
'distinct' => 'שדה :attribute קיים ערך כפול.',
|
||||
'email' => 'שדה :attribute חייב להיות כתובת אימייל תקנית.',
|
||||
'exists' => 'בחירת ה-:attribute אינה תקפה.',
|
||||
'filled' => 'שדה :attribute הוא חובה.',
|
||||
'image' => 'שדה :attribute חייב להיות תמונה.',
|
||||
'in' => 'בחירת ה-:attribute אינה תקפה.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'in_array' => 'שדה :attribute לא קיים ב:other.',
|
||||
'integer' => 'שדה :attribute חייב להיות מספר שלם.',
|
||||
'ip' => 'שדה :attribute חייב להיות כתובת IP תקנית.',
|
||||
'json' => 'שדה :attribute חייב להיות מחרוזת JSON תקנית.',
|
||||
@@ -59,7 +60,7 @@ return [
|
||||
],
|
||||
'not_in' => 'בחירת ה-:attribute אינה תקפה.',
|
||||
'numeric' => 'שדה :attribute חייב להיות מספר.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'present' => 'שדה :attribute חייב להיות קיים.',
|
||||
'regex' => 'שדה :attribute בעל פורמט שאינו תקין.',
|
||||
'required' => 'שדה :attribute הוא חובה.',
|
||||
'required_if' => 'שדה :attribute נחוץ כאשר :other הוא :value.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Polja :attribute i :other moraju biti različita.',
|
||||
'digits' => 'Polje :attribute mora sadržavati :digits znamenki.',
|
||||
'digits_between' => 'Polje :attribute mora imati između :min i :max znamenki.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Polje :attribute mora biti ispravna e-mail adresa.',
|
||||
'exists' => 'Odabrano polje :attribute nije ispravno.',
|
||||
File renamed without changes.
File renamed without changes.
@@ -14,7 +14,7 @@ return [
|
||||
*/
|
||||
|
||||
'password' => 'A jelszónak legalább hat karakterből kell állnia és egyeznie kell a jelszó megerősítéssel.',
|
||||
'reset' => 'Password has been reset!',
|
||||
'reset' => 'Az új jelszó beállítva!',
|
||||
'sent' => 'Jelszó-emlékeztető elküldve!',
|
||||
'token' => 'Ez az új jelszó generálásához tartozó token érvénytelen.',
|
||||
'user' => 'Nem található felhasználó a megadott email címmel.',
|
||||
@@ -34,16 +34,17 @@ return [
|
||||
'different' => 'A(z) :attribute és :other értékei különbözőek kell, hogy legyenek!',
|
||||
'digits' => 'A(z) :attribute :digits számjegyűnek kell lennie!',
|
||||
'digits_between' => 'A(z) :attribute értéke :min és :max közötti számjegy lehet!',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'A(z) :attribute értékének egyedinek kell lennie!',
|
||||
'email' => 'A(z) :attribute nem érvényes email formátum.',
|
||||
'exists' => 'A(z) :attribute már létezik.',
|
||||
'filled' => 'A(z) :attribute megadása kötelező!',
|
||||
'image' => 'A(z) :attribute képfájl kell, hogy legyen!',
|
||||
'in' => 'A kiválasztott :attribute érvénytelen.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'in_array' => 'A(z) :attribute értéke nem található a(z) :other értékek között.',
|
||||
'integer' => 'A(z) :attribute értéke szám kell, hogy legyen!',
|
||||
'ip' => 'A(z) :attribute érvényes IP cím kell, hogy legyen!',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'json' => 'A(z) :attribute érvényes JSON szöveg kell, hogy legyen!',
|
||||
'max' => [
|
||||
'numeric' => 'A(z) :attribute értéke nem lehet nagyobb, mint :max!',
|
||||
'file' => 'A(z) :attribute mérete nem lehet több, mint :max kilobájt.',
|
||||
@@ -59,11 +60,11 @@ return [
|
||||
],
|
||||
'not_in' => 'A(z) :attribute értéke érvénytelen.',
|
||||
'numeric' => 'A(z) :attribute szám kell, hogy legyen!',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'present' => 'A(z) :attribute mező nem található!',
|
||||
'regex' => 'A(z) :attribute formátuma érvénytelen.',
|
||||
'required' => 'A(z) :attribute megadása kötelező!',
|
||||
'required_if' => 'A(z) :attribute megadása kötelező, ha a(z) :other értéke :value!',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_unless' => 'A(z) :attribute megadása kötelező, amíg a(z) :other értéke :values!',
|
||||
'required_with' => 'A(z) :attribute megadása kötelező, ha a(z) :values érték létezik.',
|
||||
'required_with_all' => 'A(z) :attribute megadása kötelező, ha a(z) :values értékek léteznek.',
|
||||
'required_without' => 'A(z) :attribute megadása kötelező, ha a(z) :values érték nem létezik.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Isian :attribute dan :other harus berbeda.',
|
||||
'digits' => 'Isian :attribute harus berupa angka :digits.',
|
||||
'digits_between' => 'Isian :attribute harus antara angka :min dan :max.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'Bidang isian :attribute memiliki nilai yang duplikat.',
|
||||
'email' => 'Isian :attribute harus berupa alamat surel yang valid.',
|
||||
'exists' => 'Isian :attribute yang dipilih tidak valid.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => 'Reiturinn :attribute og :other verða að vera ólíkir.',
|
||||
'digits' => 'Reiturinn :attribute verður að vera :digits tölustafir.',
|
||||
'digits_between' => 'Reiturinn :attribute verður að vera á milli :min og :max tölustafa.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'Reiturinn :attribute snið netfangsins er ekki rétt.',
|
||||
'filled' => 'Reiturinn :attribute verður að innihalda eitthvað.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -34,6 +34,7 @@ return [
|
||||
'different' => ':attribute e :other devono essere differenti.',
|
||||
'digits' => ':attribute deve essere di :digits cifre.',
|
||||
'digits_between' => ':attribute deve essere tra :min e :max cifre.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => ':attribute non è valido.',
|
||||
'exists' => ':attribute selezionato/a non è valido.',
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 222 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user