Compare commits

...
34 Commits
Author SHA1 Message Date
caouecs b508ae398f fix: todo 2019-12-19 10:38:31 +01:00
Fred Delrieu 7fc50c65aa Merge pull request #1179 from serkansahinn/patch-tr
Tr typo fix
2019-12-19 10:24:50 +01:00
Serkan Şahin f8ad2896ee tr typo 2019-12-16 17:51:44 +03:00
Fred Delrieu 4a095724af Merge pull request #1177 from serkansahinn/patch-tr
Adding to tr.json
2019-12-15 10:15:18 +01:00
Serkan Şahin 755bcb3feb tr updates 2019-12-14 18:02:49 +03:00
Fred Delrieu 36d4227f00 Merge pull request #1175 from edwinvdpol/patch-1
Update NL translation
2019-12-12 12:55:12 +01:00
Edwin van de Pol 6732f16f0f Update validation.php 2019-12-11 20:39:25 +01:00
Edwin van de Pol c049f6f86e Update validation.php 2019-12-11 20:37:14 +01:00
Edwin van de Pol 90a4157f72 Update NL translation
Restored original Laravel format. Also begin all sentences with a capital (:attribute => :Attribute). Added few custom validation attributes.
2019-12-11 20:26:02 +01:00
Fred Delrieu 840dba5289 Merge pull request #1173 from GabMic/master
Add missing Hebrew strings
2019-12-09 21:00:37 +01:00
GabMic 287b181b31 Update validation.php
Add Hebrew to `ends_with`.
2019-12-09 10:47:29 +02:00
GabMic ad65093609 Update passwords.php
Add Hebrew string for `throttled`.
2019-12-09 10:45:02 +02:00
Fred Delrieu e6a040929c Merge pull request #1172 from ercadev/patch-1
Update password.php
2019-12-05 22:21:40 +01:00
Erik Carlsson ef0931ba43 Update password.php
Translated the 'throttled'
2019-12-05 15:54:05 +01:00
Fred Delrieu 0536799ea7 Merge pull request #1171 from TahsinGokalp/master
[tr] Updated latest translation strings
2019-12-02 21:08:55 +01:00
Tahsin Gökalp Şaan 9fa9d48b56 [tr] Updated validation.php 2019-12-02 23:04:59 +03:00
Tahsin Gökalp Şaan 43867b8887 [tr] Updated passwords.php 2019-12-02 23:02:49 +03:00
Fred Delrieu 6ef94f59f2 Merge pull request #1169 from teczoomdev/update-pt-br-2019-11-29
[pt-BR] Updated json strings and added translation for ends_with and password in validation.
2019-11-29 20:02:07 +01:00
Fred Delrieu a33b2fb6c0 Merge pull request #1170 from madman-81/patch-1
Add missing keys to nl.json
2019-11-29 20:00:50 +01:00
madman-81 308efcbe56 Add missing keys to nl.json
Added missing keys, based on todo.md
2019-11-29 12:57:39 +01:00
TopFuel 08e7baf287 Updated todo.md file. 2019-11-29 08:25:08 -03:00
TopFuel cc222b30a5 [pt-BR] Added translation for ends_with and password in validation. 2019-11-29 08:22:55 -03:00
TopFuel cc1c377bf7 [pt-BR] Updated json strings. 2019-11-29 08:15:58 -03:00
Fred Delrieu 8c37a21fac Merge pull request #1168 from Higorhicaro/master
[pt-BR] translating 'throttled' line
2019-11-27 20:29:29 +01:00
Higor Melo 56a3e7f343 [pt-BR] translating throttled line 2019-11-26 17:54:51 -03:00
Fred Delrieu 9a46261750 Merge pull request #1166 from dbakan/patch-1
[de] some minor corrections
2019-11-26 21:36:40 +01:00
Daniel 0fd610d202 Update de.json 2019-11-25 09:26:45 +01:00
Daniel 157c2c4e7e Some minor corrections 2019-11-25 09:24:40 +01:00
Fred Delrieu efc33a59a9 Merge pull request #1165 from andrey-helldar/patch-2019-11-22-13-03
Improved todo.md page + refactored todo.php
2019-11-23 16:56:04 +01:00
Andrey Helldar d49aec5b87 Apply codestyle fixes [2] 2019-11-22 17:10:04 +03:00
Andrey Helldar fa1a98af7b Apply codestyle fixes 2019-11-22 17:09:22 +03:00
Andrey Helldar 651c363ef9 Changed header size 2019-11-22 17:02:03 +03:00
Andrey Helldar 280136c5b8 Fixed todo.md formatting 2019-11-22 17:01:12 +03:00
Andrey Helldar 9a9ddddce5 Refactored todo.php 2019-11-22 16:56:54 +03:00
15 changed files with 2831 additions and 2478 deletions

No files matched your search

+3
View File
@@ -15,6 +15,9 @@
"ablunier/laravel-lang-installer": "Command for easily add languages to a Laravel project",
"andrey-helldar/laravel-lang-publisher": "Easy installation and update of translation files for your project"
},
"require": {
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.10"
}
+3 -3
View File
@@ -11,9 +11,9 @@
"Go Home": "Nach Hause",
"Hello!": "Hallo!",
"hi": "hallo",
"If you did not create an account, no further action is required.": "Wenn Sie keinen Account beantragt haben ist keine weitere Handlung nötig.",
"If you did not create an account, no further action is required.": "Wenn Sie keinen Account beantragt haben, ist keine weitere Handlung nötig.",
"If you did not receive the email": "Wenn Sie keine E-Mail erhalten haben",
"If you did not request a password reset, no further action is required.": "Wenn Sie keine Zurücksetzung des Passworts beantragt haben ist keine weitere Handlung nötig.",
"If you did not request a password reset, no further action is required.": "Wenn Sie keine Zurücksetzung des Passworts beantragt haben, ist keine weitere Handlung nötig.",
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser: [:actionURL](:actionURL)": "Wenn Sie Schwierigkeiten haben, den \":actionText\" Button zu drücken, fügen Sie bitte folgende Adresse in Ihren Browser ein: [:actionURL](:actionURL)",
"Invalid signature.": "Ungültige Signatur.",
"Login": "Anmelden",
@@ -25,7 +25,7 @@
"Page Not Found": "Seite konnte nicht gefunden werden",
"Password": "Passwort",
"Please click the button below to verify your email address.": "Bitte klicken Sie den Button, um Ihre E-Mail-Adresse zu bestätigen.",
"Please confirm your password before continuing.": "Bitte bestätigen Sie ihr Passwort bevor Sie fortfahren.",
"Please confirm your password before continuing.": "Bitte bestätigen Sie Ihr Passwort, bevor Sie fortfahren.",
"Regards": "Mit freundlichen Grüßen",
"Register": "Registrieren",
"Remember Me": "Angemeldet bleiben",
+7
View File
@@ -15,20 +15,24 @@
"If you did not receive the email": "Als je de e-mail niet hebt ontvangen:",
"If you did not request a password reset, no further action is required.": "Als je geen wachtwoordherstel hebt aangevraagd, hoef je verder niets te doen.",
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser: [:actionURL](:actionURL)": "Als je problemen hebt met de \":actionText\" knop, kopieer en plak de URL hieronder\nin je webbrowser: [:actionURL](:actionURL)",
"Invalid signature.": "Ongeldige handtekening.",
"Login": "Inloggen",
"Logout": "Uitloggen",
"Name": "Naam",
"Not Found": "Niet gevonden",
"Oh no": "Oh nee",
"Page Expired": "Pagina niet meer geldig",
"Page Not Found": "Pagina niet gevonden",
"Password": "Wachtwoord",
"Please click the button below to verify your email address.": "Klik op de knop hieronder om je e-mailadres te verifiëren.",
"Please confirm your password before continuing.": "Bevestig je wachtwoord om verder te gaan.",
"Regards": "Met vriendelijke groet",
"Register": "Registreren",
"Remember Me": "Onthoud mij",
"Reset Password": "Wachtwoord herstellen",
"Reset Password Notification": "Wachtwoordherstel notificatie",
"Send Password Reset Link": "Verstuur link voor wachtwoordherstel",
"Server Error": "Server fout",
"Service Unavailable": "Website onbeschikbaar",
"Sorry, the page you are looking for could not be found.": "Sorry, deze pagina kon niet gevonden worden.",
"Sorry, you are forbidden from accessing this page.": "Sorry, je mag deze pagina niet opvragen.",
@@ -38,11 +42,14 @@
"Sorry, we are doing some maintenance. Please check back soon.": "Sorry, we zijn op dit moment bezig met onderhoud. Probeer het straks nog eens.",
"This password reset link will expire in :count minutes.": "Deze link om je wachtwoord te herstellen verloopt over :count minuten.",
"Toggle navigation": "Schakel navigatie",
"Too Many Attempts.": "Te veel pogingen.",
"Too Many Requests": "Te veel serververzoeken",
"Unauthorized": "Onbevoegd",
"Verify Email Address": "Verifieer e-mailadres",
"Verify Your Email Address": "Verifieer je e-mailadres",
"We won't ask for your password again for a few hours.": "We zullen je de komende uren niet nogmaals om je wachtwoord vragen.",
"You are receiving this email because we received a password reset request for your account.": "Je ontvangt deze e-mail omdat we een wachtwoordherstel verzoek hebben ontvangen voor je account.",
"Your email address is not verified.": "Je e-mailadres is niet geverifieerd.",
"Whoops!": "Oeps!",
"Whoops, something went wrong on our servers.": "Oeps, er ging iets fout op onze servers.",
"This action is unauthorized.": "Deze actie is niet toegestaan."
+2
View File
@@ -22,6 +22,7 @@
"Page Expired": "Página expirou",
"Password": "Senha",
"Please click the button below to verify your email address.": "Por favor, clique no botão abaixo para verificar seu endereço de e-mail.",
"Please confirm your password before continuing.": "Por favor, confirme sua senha antes de continuar.",
"Regards": "Atenciosamente",
"Register": "Registrar",
"Remember Me": "Lembre-se de mim",
@@ -38,6 +39,7 @@
"Unauthorized": "Não autorizado",
"Verify Email Address": "Verifique o endereço de e-mail",
"Verify Your Email Address": "Verifique seu endereço de e-mail",
"We won't ask for your password again for a few hours.": "Não solicitaremos sua senha novamente por algumas horas.",
"You are receiving this email because we received a password reset request for your account.": "Você recebeu esse e-mail porque foi solicitado uma redefinição de senha na sua conta.",
"Your email address is not verified.": "Seu endereço de e-mail não está verificado.",
"Whoops!": "Ops!"
+41 -1
View File
@@ -1,16 +1,56 @@
{
"A fresh verification link has been sent to your email address.": "Doğrulama linki email adresinize gönderilmiştir.",
"All rights reserved.": "Tüm hakları saklıdır.",
"Before proceeding, please check your email for a verification link.": "İşlemden önce doğrulama linki için email adresinizi kontrol ediniz.",
"click here to request another": "başka bir istek için buraya tıklayınız.",
"Confirm Password": "Parola Onayı",
"E-Mail Address": "E-posta Adresi",
"Error": "Hata",
"Forbidden": "Yasaklı",
"Forgot Your Password?": "Parolanızı mı Unuttunuz?",
"Go Home": "Eve Git",
"Hello!": "Merhaba!",
"hi": "selam",
"If you did not create an account, no further action is required.": "Kullanıcı oluşturmadıysanız, bu mesajı güvenle silebilirsiniz.",
"If you did not receive the email": "Eğer email size ulaşmadıysa",
"If you did not request a password reset, no further action is required.": "Parola talebinde bulunmadıysanız, bu mesajı güvenle silebilirsiniz.",
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser: [:actionURL](:actionURL)": "Eğer \":actionText\" butonuna basarken bir sorun yaşadıysanız, [:actionURL](:actionURL) linki koplayayıp tarayıcınızın url çubuğuna yapıştırınız.",
"Invalid signature.": "Geçersiz imza.",
"Login": "Giriş",
"Logout": "Çıkış",
"Name": "İsim",
"Not Found": "Bulunamadı",
"Oh no": "Oh hayır",
"Page Expired": "Sayfa süresi doldu",
"Page Not Found": "Sayfa bulunamadı",
"Password": "Parola",
"Please click the button below to verify your email address.": "Lütfen email adresinizi doğrulamak için butona basınız.",
"Please confirm your password before continuing.": "Lütfen devam etmeden önce şifreyi doğrulayınız.",
"Regards": "Saygılarımızla",
"Register": "Kayıt Ol",
"Remember Me": "Beni Hatırla",
"Reset Password": "Parola Sıfırlama",
"Reset Password Notification": "Parola Unuttum Bildirimi",
"Send Password Reset Link": "Parola Unuttum Bildirimi Gönder",
"You are receiving this email because we received a password reset request for your account.": "Parola unuttuğunuzu belirttiğiniz için bu sıfırlama mesajı gönderilmiştir."
"Server Error": "Sunucu hatası",
"Service Unavailable": "Hizmet kullanılamıyor",
"This action is unauthorized.": "Bu işlem geçersiz.",
"Sorry, the page you are looking for could not be found.": "Üzgünüz, aradığınız sayfa bulunamadı.",
"Sorry, you are forbidden from accessing this page.": "Üzgünüz, bu sayfaya erişiminiz yasak.",
"Sorry, you are making too many requests to our servers.": "Üzgünüz, sunucularımız için çok fazla istek yapıyorsunuz.",
"Sorry, you are not authorized to access this page.": "Üzgünüz, bu sayfaya erişim yetkiniz yok.",
"Sorry, your session has expired. Please refresh and try again.": "Üzgünüz, oturumunuzun süresi doldu. Lütfen yenileyin ve tekrar deneyin.",
"Sorry, we are doing some maintenance. Please check back soon.": "Üzgünüz, bakımdayız. Lütfen kısa süre sonra tekrar kontrol edin.",
"This password reset link will expire in :count minutes.": "Şifre yenileme linki :count süre sonra geçersiz olacak.",
"Toggle navigation": "Menüyü gizle",
"Too Many Attempts.": "Çok Fazla Denendi.",
"Too Many Requests": "Çok Fazla İstek",
"Unauthorized": "Yetkisiz",
"Verify Email Address": "E-Mail Adresi Doğrulama",
"Verify Your Email Address": "E-Mail Adresini Doğrulayınız",
"We won't ask for your password again for a few hours.": "Birkaç saatliğine tekrardan şifre sormayacağız.",
"You are receiving this email because we received a password reset request for your account.": "Parola unuttuğunuzu belirttiğiniz için bu sıfırlama mesajı gönderilmiştir.",
"Your email address is not verified.": "Email adresiniz doğrulanmadı.",
"Whoops!": "Ops!",
"Whoops, something went wrong on our servers.": "Ops, sunucumuzda bir şeyler ters gitti."
}
+219 -130
View File
@@ -1,42 +1,163 @@
<?php
/**
* Todo generator for Laravel-lang project.
*
* @author arcanedev-maroc
*/
class Storage
{
public function directories(string $path): DirectoryIterator
{
return new DirectoryIterator(
$this->realpath($path)
);
}
public function getDecodedJson(string $filename)
{
return file_exists($filename)
? json_decode(file_get_contents($filename), true)
: null;
}
public function load(string $path)
{
return include $this->realpath($path);
}
public function store(string $path, string $content): void
{
$path = $this->realpath($path);
file_put_contents($path, $content);
}
public function realpath(string $path): string
{
return realpath($path);
}
}
class Output
{
protected $items = [];
protected $eol = PHP_EOL;
protected $line = PHP_EOL.PHP_EOL;
protected $columns = 10;
public function add(string $language, string $value = null): void
{
if (!array_key_exists($language, $this->items)) {
$this->items[$language] = [];
}
if ($value) {
array_push($this->items[$language], $value);
}
}
public function get(): string
{
$result = $this->header();
$result .= $this->table();
foreach ($this->items as $language => $values) {
$result .= $this->summary($language);
$result .= $this->content($values);
}
return $result;
}
protected function header(): string
{
return '# Todo list'.$this->eol;
}
protected function summary(string $language): string
{
return "{$this->line}## {$language}{$this->line}";
}
protected function content(array $values): string
{
if ($this->isEmpty($values)) {
return $this->eol.'All lines are translated 😊'.$this->eol;
}
$content = implode($this->eol, $values);
return <<<HTML
<details>
<summary>show</summary>
{$content}
[ [to top](#todo-list) ]
</details>
HTML;
}
protected function table(): string
{
$result = '';
$captions = implode('|', array_fill(0, $this->columns, ' '));
$divider = implode('|', array_fill(0, $this->columns, ':---:'));
$result .= "|{$captions}|{$this->eol}";
$result .= "|{$divider}|{$this->eol}";
$keys = array_keys($this->items);
$rows = array_chunk($keys, $this->columns);
array_map(function ($row) use (&$result) {
$row = $this->tableHeaderValue($row);
$result .= $row.$this->eol;
}, $rows);
return $result.$this->eol.$this->eol;
}
protected function tableHeaderValue(array $languages): string
{
$languages = array_map(function ($language) {
$icon = $this->icon($this->items[$language]);
return "[{$language} {$icon}](#$language)";
}, $languages);
return implode('|', $languages);
}
protected function icon($values): string
{
$is_empty = is_array($values) ? $this->isEmpty($values) : (bool) $values;
return $is_empty ? '✔' : '❗';
}
protected function isEmpty(array $values): bool
{
return empty($values);
}
}
class TodoGenerator
{
/**
* Base path.
*
* @var string
*/
/** @var Storage */
protected $storage;
/** @var Output */
protected $output;
protected $basePath;
/**
* Excluded directories.
*
* @var array
*/
protected $excluded = [];
/**
* Path of output file.
*
* @var array
*/
protected $output = [];
/**
* Construct.
*
* @param string $basePath base path
* @param array $excluded excluded directories
*/
public function __construct($basePath, $excluded = [])
public function __construct(string $basePath, Storage $storage, Output $output)
{
$this->basePath = realpath($basePath);
$this->excluded = $excluded;
$this->storage = $storage;
$this->output = $output;
$this->basePath = $basePath;
$this->load();
}
@@ -44,64 +165,77 @@ class TodoGenerator
* Returns object.
*
* @param string $basePath base path
* @param array $excluded excluded directories
*
* @return TodoGenerator
*/
public static function make($basePath, $excluded = [])
public static function make(string $basePath): self
{
return new self($basePath, $excluded);
$storage = new Storage();
$output = new Output();
return new self($basePath, $storage, $output);
}
/**
* Save todo list.
*
* @param string $path path
* @param string $path
*/
public function save($path)
public function save(string $path): void
{
file_put_contents($path, $this->getOutput());
$this->storage->store($path, $this->output->get());
}
/**
* Compare translations and generate file.
*/
private function load()
private function load(): void
{
// Get English version
$english = $this->getTranslations(__DIR__, 'en');
$english = $this->getTranslations('en');
$languages = $this->getLanguages();
$this->compareTranslations($english, $languages);
$this->compareTranslations($languages, $english);
}
/**
* Returns array of translations by language.
*
* @param string $directory directory
* @param string $language language code
* @param string $directory directory
*
* @return array
*/
private function getTranslations($directory, $language)
private function getTranslations(string $language, string $directory = __DIR__): array
{
$contentJson = '';
return [
'json' => $this->getJsonContent($language, $directory),
'auth' => $this->getContent($language, $directory, 'auth.php'),
'pagination' => $this->getContent($language, $directory, 'pagination.php'),
'passwords' => $this->getContent($language, $directory, 'passwords.php'),
'validation' => $this->getContent($language, $directory, 'validation.php'),
];
}
private function getJsonPath(string $language, string $directory): string
{
$directoryJson = ('en' === $language) ? '/en/' : '/../json/';
$fileJson = $directory.$directoryJson.$language.'.json';
return $directory.$directoryJson.$language.'.json';
}
if (file_exists($fileJson)) {
$contentJson = json_decode(file_get_contents($fileJson), true);
}
private function getJsonContent(string $language, string $directory): ?array
{
$path = $this->getJsonPath($language, $directory);
return [
'json' => $contentJson,
'auth' => include($directory.'/'.$language.'/auth.php'),
'pagination' => include($directory.'/'.$language.'/pagination.php'),
'passwords' => include($directory.'/'.$language.'/passwords.php'),
'validation' => include($directory.'/'.$language.'/validation.php'),
];
return $this->storage->getDecodedJson($path);
}
private function getContent(string $language, string $directory, string $filename)
{
return $this->storage->load(
implode(DIRECTORY_SEPARATOR, [$directory, $language, $filename])
);
}
/**
@@ -109,17 +243,20 @@ class TodoGenerator
*
* @return array
*/
private function getLanguages()
private function getLanguages(): array
{
$directories = glob($this->basePath.'/*', GLOB_ONLYDIR);
$directories = $this->storage->directories($this->basePath);
$result = [];
$languages = array_map(function ($dir) {
$name = basename($dir);
foreach ($directories as $directory) {
if (!$directory->isDot()) {
array_push($result, $directory->getFilename());
}
}
return in_array($name, $this->excluded, true) ? null : $name;
}, $directories);
sort($result);
return array_filter($languages);
return array_filter($result);
}
/**
@@ -128,83 +265,35 @@ class TodoGenerator
* @param array $default language by default
* @param array $languages others languages
*/
private function compareTranslations(array $default, array $languages)
private function compareTranslations(array $languages, array $default)
{
// Return diff language by language
foreach ($languages as $language) {
$this->addOutput($language);
$current = $this->getTranslations($this->basePath, $language);
array_map(function ($language) use ($default) {
$this->output->add($language);
$current = $this->getTranslations($language, $this->basePath);
foreach ($default as $key => $values) {
$valuesKeys = array_keys($values);
foreach ($valuesKeys as $key2) {
array_map(function ($key2) use ($key, $current, $language, $default) {
if (in_array($key2, ['custom', 'attributes'], true)) {
continue;
return;
}
if (!isset($current[$key][$key2])) {
$this->addOutput($language, " * {$key} : {$key2} : not present");
$this->output->add(
$language,
" * {$key} : {$key2} : not present"
);
} elseif ($current[$key][$key2] === $default[$key][$key2]) {
$this->addOutput($language, " * {$key} : {$key2}");
$this->output->add(
$language,
" * {$key} : {$key2}"
);
}
}
}, array_keys($values));
}
}
}
/**
* Adding elements to the resulting array.
*/
private function addOutput(string $key, string $value = null)
{
if (!array_key_exists($key, $this->output)) {
$this->output[$key] = [];
}
$this->output[$key][] = $value;
}
/**
* Forming the page content for output.
*
* @return string
*/
private function getOutput()
{
$output = "# Todo list\n\n";
// Make menu
$columns = 12;
$captions = implode('|', array_fill(0, $columns, ' '));
$subcaptions = implode('|', array_fill(0, $columns, ':---:'));
$output .= "|${captions}|\n";
$output .= "|${subcaptions}|\n";
$menu = [];
foreach (array_keys($this->output) as $language) {
$menu[] = "[${language}](#${language})";
}
$rows = array_chunk($menu, $columns);
array_map(function ($row) use (&$output) {
$row = implode(' | ', $row);
$output .= $row."\n";
}, $rows);
$output .= "\n\n";
// Make items
foreach ($this->output as $language => $values) {
$output .= "#### {$language}:\n";
$output .= implode(PHP_EOL, $values);
$output .= "\n\n[ [to top](#todo-list) ]\n\n";
}
return $output;
}, $languages);
}
}
TodoGenerator::make(__DIR__.'/../src')->save(__DIR__.'/../todo.md');
TodoGenerator::make(__DIR__.'/../src')
->save(__DIR__.'/../todo.md');
+1 -1
View File
@@ -15,7 +15,7 @@ return [
'password' => 'סיסמאות חייבות להיות באורך 8 תווים ולהיות תואמות לערך של שדה אימות הסיסמה.',
'reset' => 'הסיסמה אופסה!',
'sent' => 'קישור לאיפוס הסיסמה נשלח אליך באימייל',
'throttled' => 'Please wait before retrying.',
'throttled' => 'אנא חכו לפני שתנסו שוב.',
'token' => 'אסימון איפוס הסיסמה הזה לא תקני.',
'user' => 'לא הצלחנו למצוא משתמש עם כתובת האימייל הזאת.',
];
+2 -2
View File
@@ -39,7 +39,7 @@ return [
'dimensions' => 'שדה :attribute מימדי התמונה לא תקינים',
'distinct' => 'שדה :attribute קיים ערך כפול.',
'email' => 'שדה :attribute חייב להיות כתובת אימייל תקנית.',
'ends_with' => 'The :attribute must end with one of the following: :values',
'ends_with' => 'שדה :attribute חייב להסתיים באחד מהבאים: :values',
'exists' => 'בחירת ה-:attribute אינה תקפה.',
'file' => 'שדה :attribute חייב להיות קובץ.',
'filled' => 'שדה :attribute הוא חובה.',
@@ -129,7 +129,7 @@ return [
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
'rule-name' => 'הודעה מותאמת',
],
],
+77 -74
View File
@@ -11,38 +11,37 @@ return [
| as the size rules. Feel free to tweak each of these messages.
|
*/
'accepted' => ':attribute moet geaccepteerd zijn.',
'active_url' => ':attribute is geen geldige URL.',
'after' => ':attribute moet een datum na :date zijn.',
'after_or_equal' => ':attribute moet een datum na of gelijk aan :date zijn.',
'alpha' => ':attribute mag alleen letters bevatten.',
'alpha_dash' => ':attribute mag alleen letters, nummers, underscores (_) en streepjes (-) bevatten.',
'alpha_num' => ':attribute mag alleen letters en nummers bevatten.',
'array' => ':attribute moet geselecteerde elementen bevatten.',
'before' => ':attribute moet een datum voor :date zijn.',
'before_or_equal' => ':attribute moet een datum voor of gelijk aan :date zijn.',
'accepted' => ':Attribute moet geaccepteerd zijn.',
'active_url' => ':Attribute is geen geldige URL.',
'after' => ':Attribute moet een datum na :date zijn.',
'after_or_equal' => ':Attribute moet een datum na of gelijk aan :date zijn.',
'alpha' => ':Attribute mag alleen letters bevatten.',
'alpha_dash' => ':Attribute mag alleen letters, nummers, underscores (_) en streepjes (-) bevatten.',
'alpha_num' => ':Attribute mag alleen letters en nummers bevatten.',
'array' => ':Attribute moet geselecteerde elementen bevatten.',
'before' => ':Attribute moet een datum voor :date zijn.',
'before_or_equal' => ':Attribute moet een datum voor of gelijk aan :date zijn.',
'between' => [
'numeric' => ':attribute moet tussen :min en :max zijn.',
'file' => ':attribute moet tussen :min en :max kilobytes zijn.',
'string' => ':attribute moet tussen :min en :max karakters zijn.',
'array' => ':attribute moet tussen :min en :max items bevatten.',
'numeric' => ':Attribute moet tussen :min en :max zijn.',
'file' => ':Attribute moet tussen :min en :max kilobytes zijn.',
'string' => ':Attribute moet tussen :min en :max karakters zijn.',
'array' => ':Attribute moet tussen :min en :max items bevatten.',
],
'boolean' => ':attribute moet ja of nee zijn.',
'confirmed' => ':attribute bevestiging komt niet overeen.',
'date' => ':attribute moet een datum bevatten.',
'date_equals' => ':attribute moet een datum gelijk aan :date zijn.',
'date_format' => ':attribute moet een geldig datum formaat bevatten.',
'different' => ':attribute en :other moeten verschillend zijn.',
'digits' => ':attribute moet bestaan uit :digits cijfers.',
'digits_between' => ':attribute moet bestaan uit minimaal :min en maximaal :max cijfers.',
'dimensions' => ':attribute heeft geen geldige afmetingen voor afbeeldingen.',
'distinct' => ':attribute heeft een dubbele waarde.',
'email' => ':attribute is geen geldig e-mailadres.',
'ends_with' => ':attribute moet met één van de volgende waarden eindigen: :values',
'exists' => ':attribute bestaat niet.',
'file' => ':attribute moet een bestand zijn.',
'filled' => ':attribute is verplicht.',
'boolean' => ':Attribute moet ja of nee zijn.',
'confirmed' => ':Attribute bevestiging komt niet overeen.',
'date' => ':Attribute moet een datum bevatten.',
'date_equals' => ':Attribute moet een datum gelijk aan :date zijn.',
'date_format' => ':Attribute moet een geldig datum formaat bevatten.',
'different' => ':Attribute en :other moeten verschillend zijn.',
'digits' => ':Attribute moet bestaan uit :digits cijfers.',
'digits_between' => ':Attribute moet bestaan uit minimaal :min en maximaal :max cijfers.',
'dimensions' => ':Attribute heeft geen geldige afmetingen voor afbeeldingen.',
'distinct' => ':Attribute heeft een dubbele waarde.',
'email' => ':Attribute is geen geldig e-mailadres.',
'ends_with' => ':Attribute moet met één van de volgende waarden eindigen: :values',
'exists' => ':Attribute bestaat niet.',
'file' => ':Attribute moet een bestand zijn.',
'filled' => ':Attribute is verplicht.',
'gt' => [
'numeric' => 'De :attribute moet groter zijn dan :value.',
'file' => 'De :attribute moet groter zijn dan :value kilobytes.',
@@ -55,14 +54,14 @@ return [
'string' => 'De :attribute moet minimaal :value tekens bevatten.',
'array' => 'De :attribute moet :value waardes of meer bevatten.',
],
'image' => ':attribute moet een afbeelding zijn.',
'in' => ':attribute is ongeldig.',
'in_array' => ':attribute bestaat niet in :other.',
'integer' => ':attribute moet een getal zijn.',
'ip' => ':attribute moet een geldig IP-adres zijn.',
'ipv4' => ':attribute moet een geldig IPv4-adres zijn.',
'ipv6' => ':attribute moet een geldig IPv6-adres zijn.',
'json' => ':attribute moet een geldige JSON-string zijn.',
'image' => ':Attribute moet een afbeelding zijn.',
'in' => ':Attribute is ongeldig.',
'in_array' => ':Attribute bestaat niet in :other.',
'integer' => ':Attribute moet een getal zijn.',
'ip' => ':Attribute moet een geldig IP-adres zijn.',
'ipv4' => ':Attribute moet een geldig IPv4-adres zijn.',
'ipv6' => ':Attribute moet een geldig IPv6-adres zijn.',
'json' => ':Attribute moet een geldige JSON-string zijn.',
'lt' => [
'numeric' => 'De :attribute moet kleiner zijn dan :value.',
'file' => 'De :attribute moet kleiner zijn dan :value kilobytes.',
@@ -76,47 +75,46 @@ return [
'array' => 'De :attribute moet :value waardes of minder bevatten.',
],
'max' => [
'numeric' => ':attribute mag niet hoger dan :max zijn.',
'file' => ':attribute mag niet meer dan :max kilobytes zijn.',
'string' => ':attribute mag niet uit meer dan :max tekens bestaan.',
'array' => ':attribute mag niet meer dan :max items bevatten.',
'numeric' => ':Attribute mag niet hoger dan :max zijn.',
'file' => ':Attribute mag niet meer dan :max kilobytes zijn.',
'string' => ':Attribute mag niet uit meer dan :max tekens bestaan.',
'array' => ':Attribute mag niet meer dan :max items bevatten.',
],
'mimes' => ':attribute moet een bestand zijn van het bestandstype :values.',
'mimetypes' => ':attribute moet een bestand zijn van het bestandstype :values.',
'mimes' => ':Attribute moet een bestand zijn van het bestandstype :values.',
'mimetypes' => ':Attribute moet een bestand zijn van het bestandstype :values.',
'min' => [
'numeric' => ':attribute moet minimaal :min zijn.',
'file' => ':attribute moet minimaal :min kilobytes zijn.',
'string' => ':attribute moet minimaal :min tekens zijn.',
'array' => ':attribute moet minimaal :min items bevatten.',
'numeric' => ':Attribute moet minimaal :min zijn.',
'file' => ':Attribute moet minimaal :min kilobytes zijn.',
'string' => ':Attribute moet minimaal :min tekens zijn.',
'array' => ':Attribute moet minimaal :min items bevatten.',
],
'not_in' => 'Het formaat van :attribute is ongeldig.',
'not_regex' => 'De :attribute formaat is ongeldig.',
'numeric' => ':attribute moet een nummer zijn.',
'numeric' => ':Attribute moet een nummer zijn.',
'password' => 'Wachtwoord is onjuist.',
'present' => ':attribute moet bestaan.',
'regex' => ':attribute formaat is ongeldig.',
'required' => ':attribute is verplicht.',
'required_if' => ':attribute is verplicht indien :other gelijk is aan :value.',
'required_unless' => ':attribute is verplicht tenzij :other gelijk is aan :values.',
'required_with' => ':attribute is verplicht i.c.m. :values',
'required_with_all' => ':attribute is verplicht i.c.m. :values',
'required_without' => ':attribute is verplicht als :values niet ingevuld is.',
'required_without_all' => ':attribute is verplicht als :values niet ingevuld zijn.',
'same' => ':attribute en :other moeten overeenkomen.',
'present' => ':Attribute moet bestaan.',
'regex' => ':Attribute formaat is ongeldig.',
'required' => ':Attribute is verplicht.',
'required_if' => ':Attribute is verplicht indien :other gelijk is aan :value.',
'required_unless' => ':Attribute is verplicht tenzij :other gelijk is aan :values.',
'required_with' => ':Attribute is verplicht i.c.m. :values',
'required_with_all' => ':Attribute is verplicht i.c.m. :values',
'required_without' => ':Attribute is verplicht als :values niet ingevuld is.',
'required_without_all' => ':Attribute is verplicht als :values niet ingevuld zijn.',
'same' => ':Attribute en :other moeten overeenkomen.',
'size' => [
'numeric' => ':attribute moet :size zijn.',
'file' => ':attribute moet :size kilobyte zijn.',
'string' => ':attribute moet :size tekens zijn.',
'array' => ':attribute moet :size items bevatten.',
'numeric' => ':Attribute moet :size zijn.',
'file' => ':Attribute moet :size kilobyte zijn.',
'string' => ':Attribute moet :size tekens zijn.',
'array' => ':Attribute moet :size items bevatten.',
],
'starts_with' => ':attribute moet starten met een van de volgende: :values',
'string' => ':attribute moet een tekst zijn.',
'timezone' => ':attribute moet een geldige tijdzone zijn.',
'unique' => ':attribute is al in gebruik.',
'starts_with' => ':Attribute moet starten met een van de volgende: :values',
'string' => ':Attribute moet een tekst zijn.',
'timezone' => ':Attribute moet een geldige tijdzone zijn.',
'unique' => ':Attribute is al in gebruik.',
'uploaded' => 'Het uploaden van :attribute is mislukt.',
'url' => ':attribute moet een geldig URL zijn.',
'uuid' => ':attribute moet een geldig UUID zijn.',
'url' => ':Attribute moet een geldig URL zijn.',
'uuid' => ':Attribute moet een geldig UUID zijn.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
@@ -127,13 +125,11 @@ return [
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
@@ -144,7 +140,6 @@ return [
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [
'address' => 'adres',
'age' => 'leeftijd',
@@ -155,15 +150,19 @@ return [
'country' => 'land',
'currency' => 'valuta',
'date' => 'datum',
'date_of_birth' => 'geboortedatum',
'day' => 'dag',
'description' => 'omschrijving',
'duration' => 'tijdsduur',
'email' => 'e-mailadres',
'excerpt' => 'uittreksel',
'first_name' => 'voornaam',
'gender' => 'geslacht',
'group' => 'groep',
'hour' => 'uur',
'last_name' => 'achternaam',
'message' => 'boodschap',
'lesson' => 'les',
'message' => 'bericht',
'minute' => 'minuut',
'mobile' => 'mobiel',
'month' => 'maand',
@@ -171,10 +170,14 @@ return [
'password' => 'wachtwoord',
'password_confirmation' => 'wachtwoordbevestiging',
'phone' => 'telefoonnummer',
'price' => 'prijs',
'second' => 'seconde',
'sex' => 'geslacht',
'size' => 'grootte',
'street' => 'straatnaam',
'student' => 'student',
'subject' => 'onderwerp',
'teacher' => 'Docent',
'time' => 'tijd',
'title' => 'titel',
'username' => 'gebruikersnaam',
+1 -1
View File
@@ -15,7 +15,7 @@ return [
'password' => 'A senha deve conter pelo menos oito caracteres e ser igual à confirmação.',
'reset' => 'Sua senha foi redefinida!',
'sent' => 'Enviamos um link para redefinir a sua senha por e-mail.',
'throttled' => 'Please wait before retrying.',
'throttled' => 'Por favor espere antes de tentar novamente.',
'token' => 'Esse código de redefinição de senha é inválido.',
'user' => 'Não conseguimos encontrar nenhum usuário com o endereço de e-mail informado.',
];
+2 -1
View File
@@ -39,7 +39,7 @@ return [
'dimensions' => 'O valor informado para o campo :attribute não é uma dimensão de imagem válida.',
'distinct' => 'O campo :attribute contém um valor duplicado.',
'email' => 'O campo :attribute não contém um endereço de email válido.',
'ends_with' => 'The :attribute must end with one of the following: :values',
'ends_with' => 'O campo :attribute deve terminar com um dos seguintes valores: :values',
'exists' => 'O valor selecionado para o campo :attribute é inválido.',
'file' => 'O campo :attribute deve conter um arquivo.',
'filled' => 'O campo :attribute é obrigatório.',
@@ -92,6 +92,7 @@ return [
'not_in' => 'O campo :attribute contém um valor inválido.',
'not_regex' => 'O formato do valor :attribute é inválido.',
'numeric' => 'O campo :attribute deve conter um valor numérico.',
'password' => 'A senha está incorreta.',
'present' => 'O campo :attribute deve estar presente.',
'regex' => 'O formato do valor informado no campo :attribute é inválido.',
'required' => 'O campo :attribute é obrigatório.',
+1 -1
View File
@@ -15,7 +15,7 @@ return [
'password' => 'Lösenord måste innehålla minst sex tecken och matcha varandra.',
'reset' => 'Lösenordet har blivit återställt!',
'sent' => 'Lösenordspåminnelse skickad!',
'throttled' => 'Please wait before retrying.',
'throttled' => 'Vänligen vänta innan du försöker igen.',
'token' => 'Koden för lösenordsåterställning är ogiltig.',
'user' => 'Det finns ingen användare med den e-postadressen.',
];
+1 -1
View File
@@ -15,7 +15,7 @@ return [
'password' => 'Parolanız en az altı karakter olmalı ve doğrulama ile eşleşmelidir.',
'reset' => 'Parolanız sıfırlandı!',
'sent' => 'Parola sıfırlama bağlantınız e-posta ile gönderildi!',
'throttled' => 'Please wait before retrying.',
'throttled' => 'Lütfen tekrar denemeden önce bekleyiniz.',
'token' => 'Parola sıfırlama adresi/kodu geçersiz.',
'user' => 'Bu e-posta adresi ile kayıtlı bir üye bulunmuyor.',
];
+1 -1
View File
@@ -39,7 +39,7 @@ return [
'dimensions' => ':attribute görsel ölçüleri geçersiz.',
'distinct' => ':attribute alanı yinelenen bir değere sahip.',
'email' => ':attribute biçimi geçersiz.',
'ends_with' => 'The :attribute must end with one of the following: :values',
'ends_with' => ':attribute şunlardan biriyle bitmelidir: :values',
'exists' => 'Seçili :attribute geçersiz.',
'file' => ':attribute dosya olmalıdır.',
'filled' => ':attribute alanının doldurulması zorunludur.',
+2470 -2262
View File
File diff suppressed because it is too large. Load diff