Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 |
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# Changelog
|
||||
|
||||
## [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,32 +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 12 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
|
||||
|
||||
* todo list: in todo.md
|
||||
|
||||
News of 7 March 2016:
|
||||
|
||||
* 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)
|
||||
@@ -35,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",
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -91,7 +91,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
@@ -108,6 +108,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." : not present\n";
|
||||
} elseif ($current[$key][$key2] == $english[$key][$key2]) {
|
||||
$text .= ' * '.$key.' : '.$key2."\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,13 @@ 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 إجباري',
|
||||
'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 +54,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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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,13 @@ 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.',
|
||||
'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 +59,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 +75,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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -113,14 +113,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,16 @@ 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 الزامی است',
|
||||
'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 کیلوبایت باشد.',
|
||||
@@ -63,7 +63,7 @@ return [
|
||||
'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 +75,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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -15,7 +15,7 @@ return [
|
||||
|
||||
'password' => 'סיסמאות חייבות להיות באורך 6 תווים ולהיות תואמות לערך של שדה אימות הסיסמה.',
|
||||
'reset' => 'הסיסמה אופסה!',
|
||||
'sent' => 'קישור לאיפוס סיסמה נשלח בהצלחה!',
|
||||
'sent' => 'קישור לאיפוס הסיסמה נשלח אליך באימייל',
|
||||
'token' => 'אסימון איפוס הסיסמה הזה לא תקני.',
|
||||
'user' => 'לא הצלחנו למצוא משתמש עם כתובת האימייל הזאת.',
|
||||
|
||||
@@ -34,13 +34,13 @@ 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 הוא חובה.',
|
||||
'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 +59,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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 220 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user