Compare commits

...
40 Commits
Author SHA1 Message Date
caouecs eaa1e26eb6 Merge branch 'json' 2018-07-13 10:44:04 +02:00
caouecs 09d6718c60 feature: json files in json directory 2018-07-10 15:48:52 +02:00
Fred Delrieu 9ecb5c3c40 Merge pull request #860 from pawelmysior/add-pl-json-translations
[pl] Add json translations
2018-07-09 21:58:57 +02:00
Pawel Mysior bc1407c2e1 Update todo 2018-07-09 19:44:23 +02:00
Pawel Mysior 25be11feeb Add pl json translations 2018-07-09 19:42:09 +02:00
Fred Delrieu aed0a82d17 Merge pull request #859 from overtrue-forks/master
Missing zh-* translation
2018-07-09 08:53:41 +02:00
overtrue 6921ba51a3 Fix translation for zh-* 2018-07-08 19:21:20 +08:00
overtrue 03b3822f5c Translate for zh-* 2018-07-08 19:20:35 +08:00
overtrue 91fb4abd17 Translate for zh-* 2018-07-08 19:18:22 +08:00
Fred Delrieu 3d285d3b37 Merge pull request #858 from SimonJ/patch-1
Missing danish translation
2018-07-08 10:29:33 +02:00
Simon 01ff883946 Missing danish translation 2018-07-07 20:40:36 +02:00
caouecs 0950795a09 todo updated 2018-07-05 22:43:01 +02:00
Fred Delrieu 9e79d306f6 Merge pull request #856 from andrey-helldar/translate-json-ru
Translated `ru.json`
2018-07-05 14:08:53 +02:00
Andrey Helldar 8e1dd95e6e Translated ru.json 2018-07-05 14:58:40 +03:00
Fred Delrieu bcaef77ae0 Merge pull request #855 from mohamedsabil83/patch-3
Updating Arabic
2018-07-04 12:18:41 +02:00
Mohamed Sabil d68abf571c Create ar.json 2018-07-04 09:24:36 +03:00
Mohamed Sabil a6f2e893ae Fix translation and misspelling 2018-07-04 09:14:19 +03:00
Fred Delrieu 91e31ed5fb Merge pull request #854 from adelf/patch-1
Update ru/validation.php
2018-07-02 08:39:40 +02:00
Adel d3d74e7e7f Update validation.php 2018-07-02 03:06:15 +03:00
caouecs 360c9d2cc8 feature: updated todo 2018-07-01 13:12:05 +02:00
caouecs 7a82a9c168 feature: fr - updated 2018-07-01 13:11:21 +02:00
caouecs 4ba7c33472 fix: todo script and unknown files 2018-07-01 13:06:17 +02:00
Fred Delrieu 231e49127a Merge pull request #853 from pawelmysior/add-password-reset-notification-translations
Add English translations for the password reset notification
2018-07-01 12:54:34 +02:00
Fred Delrieu 0dd8c8578c Merge pull request #852 from pawelmysior/check-json-translations-in-todo-script
Check json translations in todo script
2018-07-01 12:54:11 +02:00
Pawel Mysior 68e83749ea Add English translations for the password reset notification 2018-06-30 12:01:42 +02:00
Pawel Mysior 4b5d884d7a Run todo script 2018-06-30 11:57:49 +02:00
Pawel Mysior b4fc8c8afb Add the json translations to the list of checked files 2018-06-30 11:50:49 +02:00
Pawel Mysior 5feca7e215 Split single parameter into directory and language parameters 2018-06-30 11:44:19 +02:00
caouecs e569ff65b0 feature: fr - json 2018-06-30 11:36:46 +02:00
Fred Delrieu 5c65c5d768 Merge pull request #802 from tpraxl/feature/german-json-for-auth
[de] Add german json for standard artisan make:auth
2018-06-30 11:32:45 +02:00
Thomas Praxl 320c62902b Move en.json as requested 2018-06-30 10:55:58 +02:00
Fred Delrieu 96901124c4 Merge pull request #851 from caouecs/analysis-q1OdDw
Apply fixes from StyleCI
2018-06-30 10:38:58 +02:00
Fred Delrieu 97e78f7cac Apply fixes from StyleCI 2018-06-30 08:38:15 +00:00
caouecs 78844a0bad todo list 2018-06-30 10:36:39 +02:00
Fred Delrieu 05b64814ea Merge pull request #850 from pawelmysior/pl-gt-gte-lt-lte
[pl] Add validation for gt, gte, lt and lte
2018-06-30 10:33:30 +02:00
Pawel Mysior 69c424c68f [pl] Add validation for gt, gte, lt and lte 2018-06-29 14:35:28 +02:00
Thomas Praxl 145b58b7ce Move json files to respective language folders
As requested.
2018-06-29 13:53:19 +02:00
Thomas Praxl 03fa2fb90f Order tags alphabetically 2018-06-29 13:51:34 +02:00
Thomas Praxl d394bf5558 Add dummy en.json as requested 2018-06-29 13:39:46 +02:00
Thomas Praxl 4eb0a8cd90 Add german json for standard artisan make:auth
After running `artisan make:auth`, there are still translations missing, because the published blade files use translation keys as strings (`__('E-Mail Address')`).

The required german translations are added with this commit.
2018-03-20 12:18:49 +01:00
16 changed files with 1048 additions and 58 deletions

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
return [
'2018-01-29' => [
'uz-cyrillic' => 'add new language : Uzbek cyrillic',
'yz-latin' => 'add new language : Uzbek latin',
'yz-latin' => 'add new language : Uzbek latin',
],
'2018-01-23' => [
'lv' => 'fix rename validation file',
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "تأكيد كلمة المرور",
"E-Mail Address": "البريد الالكتروني",
"Forgot Your Password?": "نسيت كلمة المرور؟",
"If you did not request a password reset, no further action is required.": "إذا لم تقم بطلب استعادة كلمة المرور، لا تحتاج القيام بأي إجراء.",
"Login": "تسجيل الدخول",
"Logout": "تسجيل الخروج",
"Name": "الاسم",
"Password": "كلمة المرور",
"Register": "تسجيل",
"Remember Me": "تذكرني",
"Reset Password": "استعادة كلمة المرور",
"Reset Password Notification": "تنبيه استعادة كلمة المرور",
"Send Password Reset Link": "أرسل رابط استعادة كلمة المرور",
"You are receiving this email because we received a password reset request for your account.": "لقد استلمت هذا الإيميل لأننا استقبلنا طلباً لاستعادة كلمة مرور حسابك."
}
+13
View File
@@ -0,0 +1,13 @@
{
"Confirm Password": "Passwort bestätigen",
"E-Mail Address": "E-Mail Adresse",
"Forgot Your Password?": "Passwort vergessen?",
"Login": "Einloggen",
"Logout": "Ausloggen",
"Name": "Name",
"Password": "Passwort",
"Register": "Registrieren",
"Remember Me": "Angemeldet bleiben",
"Reset Password": "Passwort zurücksetzen",
"Send Password Reset Link": "Link zum Zurücksetzen des Passworts senden"
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "Confirmez le mot de passe",
"E-Mail Address": "Adresse courriel",
"Forgot Your Password?": "Vous avez oublié votre mot de passe ?",
"If you did not request a password reset, no further action is required.": "Si vous n'avez pas demandé de réinitialisation de mot de passe, aucune autre action n'est requise.",
"Login": "Connexion",
"Logout": "Déconnexion",
"Name": "Nom",
"Password": "Mot de passe",
"Register": "S'inscrire",
"Remember Me": "Se souvenir de moi",
"Reset Password": "Réinitialisation du mot de passe",
"Reset Password Notification": "Notification de réinitialisation du mot de passe",
"Send Password Reset Link": "Envoyer le lien de réinitialisation du mot de passe",
"You are receiving this email because we received a password reset request for your account.": "Vous avez reçu ce courriel parce que nous avons reçu une demande de réinitialisation de mot de passe pour votre compte."
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "Potwierdź hasło",
"E-Mail Address": "Adres e-mail",
"Forgot Your Password?": "Nie pamiętasz hasła?",
"If you did not request a password reset, no further action is required.": "Jeśli nie chcesz resetować hasła, zignoruj tę wiadomość.",
"Login": "Zaloguj się",
"Logout": "Wyloguj się",
"Name": "Imię i nazwisko",
"Password": "Hasło",
"Register": "Zarejestruj się",
"Remember Me": "Zapamiętaj mnie",
"Reset Password": "Zresetuj hasło",
"Reset Password Notification": "Zresetuj hasło",
"Send Password Reset Link": "Wyślij link resetujący hasło",
"You are receiving this email because we received a password reset request for your account.": "Otrzymujesz ten e-mail, ponieważ otrzymaliśmy prośbę o zresetowanie hasła dla Twojego konta."
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "Подтверждение пароля",
"E-Mail Address": "E-Mail адрес",
"Forgot Your Password?": "Забыли пароль?",
"If you did not request a password reset, no further action is required.": "Если Вы не запрашивали сброс пароля, то дополнительных действий не требуется.",
"Login": "Войти",
"Logout": "Выйти",
"Name": "Имя",
"Password": "Пароль",
"Register": "Регистрация",
"Remember Me": "Запомнить меня",
"Reset Password": "Сбросить пароль",
"Reset Password Notification": "Уведомление сброса пароля",
"Send Password Reset Link": "Отправить ссылку сброса пароля",
"You are receiving this email because we received a password reset request for your account.": "Вы получили это письмо, потому что мы получили запрос на сброс пароля для Вашей учетной записи."
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "确认密码",
"E-Mail Address": "E-Mail 地址",
"Forgot Your Password?": "忘记密码?",
"If you did not request a password reset, no further action is required.": "如果您未申请重置密码,请忽略此邮件。",
"Login": "登录",
"Logout": "注销",
"Name": "用户名",
"Password": "密码",
"Register": "注册",
"Remember Me": "记住我",
"Reset Password": "重置密码",
"Reset Password Notification": "重置密码通知",
"Send Password Reset Link": "发送重置密码链接",
"You are receiving this email because we received a password reset request for your account.": "您收到此电子邮件是因为我们收到了您帐户的密码重置请求。"
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "確認密碼",
"E-Mail Address": "E-Mail 地址",
"Forgot Your Password?": "忘記密碼?",
"If you did not request a password reset, no further action is required.": "如果您未申請重置密碼,請忽略此郵件。",
"Login": "登錄",
"Logout": "註銷",
"Name": "用户名",
"Password": "密碼",
"Register": "註冊",
"Remember Me": "記住我",
"Reset Password": "重置密碼",
"Reset Password Notification": "重置密碼通知",
"Send Password Reset Link": "發送重置密碼鏈接",
"You are receiving this email because we received a password reset request for your account.": "您收到此電子郵件是因為我們收到了您帳户的密碼重置請求。"
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "確認密碼",
"E-Mail Address": "E-Mail 地址",
"Forgot Your Password?": "忘記密碼?",
"If you did not request a password reset, no further action is required.": "如果您未申請重置密碼,請忽略此郵件。",
"Login": "登錄",
"Logout": "註銷",
"Name": "用戶名",
"Password": "密碼",
"Register": "註冊",
"Remember Me": "記住我",
"Reset Password": "重置密碼",
"Reset Password Notification": "重置密碼通知",
"Send Password Reset Link": "發送重置密碼鏈接",
"You are receiving this email because we received a password reset request for your account.": "您收到此電子郵件是因為我們收到了您帳戶的密碼重置請求。"
}
+16
View File
@@ -0,0 +1,16 @@
{
"Confirm Password": "Confirm Password",
"E-Mail Address": "E-Mail Address",
"Forgot Your Password?": "Forgot Your Password?",
"If you did not request a password reset, no further action is required.": "If you did not request a password reset, no further action is required.",
"Login": "Login",
"Logout": "Logout",
"Name": "Name",
"Password": "Password",
"Register": "Register",
"Remember Me": "Remember Me",
"Reset Password": "Reset Password",
"Reset Password Notification": "Reset Password Notification",
"Send Password Reset Link": "Send Password Reset Link",
"You are receiving this email because we received a password reset request for your account.": "You are receiving this email because we received a password reset request for your account."
}
+20 -9
View File
@@ -69,7 +69,7 @@ class TodoGenerator
private function load()
{
// Get English version
$english = $this->getTranslations(__DIR__.'/en');
$english = $this->getTranslations(__DIR__, 'en');
$languages = $this->getLanguages();
$this->output = "# Todo list\n\n";
@@ -79,17 +79,26 @@ class TodoGenerator
/**
* Returns array of translations by language.
*
* @param string $language language code
* @param string $directory directory
* @param string $language language code
*
* @return array
*/
private function getTranslations($language)
private function getTranslations($directory, $language)
{
$contentJson = '';
$fileJson = $directory.'/../json/'.$language.'.json';
if (file_exists($fileJson)) {
$contentJson = json_decode(file_get_contents($fileJson), true);
}
return [
'auth' => include($language.'/auth.php'),
'pagination' => include($language.'/pagination.php'),
'passwords' => include($language.'/passwords.php'),
'validation' => include($language.'/validation.php'),
'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'),
];
}
@@ -122,10 +131,12 @@ class TodoGenerator
// Return diff language by language
foreach ($languages as $language) {
$this->output .= "\n * ".$language.":\n";
$current = $this->getTranslations("{$this->basePath}/{$language}");
$current = $this->getTranslations($this->basePath, $language);
foreach ($default as $key => $values) {
foreach ($values as $key2 => $value2) {
$valuesKeys = array_keys($values);
foreach ($valuesKeys as $key2) {
if (in_array($key2, ['custom', 'attributes'], true)) {
continue;
}
+7 -7
View File
@@ -17,7 +17,7 @@ return [
'after' => 'يجب على :attribute أن يكون تاريخًا لاحقًا للتاريخ :date.',
'after_or_equal' => ':attribute يجب أن يكون تاريخاً لاحقاً أو مطابقاً للتاريخ :date.',
'alpha' => 'يجب أن لا يحتوي :attribute سوى على حروف',
'alpha_dash' => 'يجب أن لا يحتوي :attribute على حروف، أرقام ومطّات.',
'alpha_dash' => 'يجب أن لا يحتوي :attribute سوى على حروف، أرقام ومطّات.',
'alpha_num' => 'يجب أن يحتوي :attribute على حروفٍ وأرقامٍ فقط',
'array' => 'يجب أن يكون :attribute ًمصفوفة',
'before' => 'يجب على :attribute أن يكون تاريخًا سابقًا للتاريخ :date.',
@@ -54,7 +54,7 @@ return [
'array' => 'يجب أن يحتوي :attribute على الأقل على :value عُنصرًا/عناصر',
],
'image' => 'يجب أن يكون :attribute صورةً',
'in' => ':attribute لاغٍ',
'in' => ':attribute غير موجود',
'in_array' => ':attribute غير موجود في :other.',
'integer' => 'يجب أن يكون :attribute عددًا صحيحًا',
'ip' => 'يجب أن يكون :attribute عنوان IP صحيحًا',
@@ -74,7 +74,7 @@ return [
'array' => 'يجب أن لا يحتوي :attribute على أكثر من :max عناصر/عنصر.',
],
'max' => [
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أصغر لـ :max.',
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أصغر من :max.',
'file' => 'يجب أن لا يتجاوز حجم الملف :attribute :max كيلوبايت',
'string' => 'يجب أن لا يتجاوز طول النّص :attribute :max حروفٍ/حرفًا',
'array' => 'يجب أن لا يحتوي :attribute على أكثر من :max عناصر/عنصر.',
@@ -82,12 +82,12 @@ return [
'mimes' => 'يجب أن يكون ملفًا من نوع : :values.',
'mimetypes' => 'يجب أن يكون ملفًا من نوع : :values.',
'min' => [
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أكبر لـ :min.',
'numeric' => 'يجب أن تكون قيمة :attribute مساوية أو أكبر من :min.',
'file' => 'يجب أن يكون حجم الملف :attribute على الأقل :min كيلوبايت',
'string' => 'يجب أن يكون طول النص :attribute على الأقل :min حروفٍ/حرفًا',
'array' => 'يجب أن يحتوي :attribute على الأقل على :min عُنصرًا/عناصر',
],
'not_in' => ':attribute لاغٍ',
'not_in' => ':attribute موجود',
'not_regex' => 'صيغة :attribute غير صحيحة.',
'numeric' => 'يجب على :attribute أن يكون رقمًا',
'present' => 'يجب تقديم :attribute',
@@ -103,8 +103,8 @@ return [
'size' => [
'numeric' => 'يجب أن تكون قيمة :attribute مساوية لـ :size',
'file' => 'يجب أن يكون حجم الملف :attribute :size كيلوبايت',
'string' => 'يجب أن يحتوي النص :attribute على :size حروفٍ/حرفًا بالظبط',
'array' => 'يجب أن يحتوي :attribute على :size عنصرٍ/عناصر بالظبط',
'string' => 'يجب أن يحتوي النص :attribute على :size حروفٍ/حرفًا بالضبط',
'array' => 'يجب أن يحتوي :attribute على :size عنصرٍ/عناصر بالضبط',
],
'string' => 'يجب أن يكون :attribute نصآ.',
'timezone' => 'يجب أن يكون :attribute نطاقًا زمنيًا صحيحًا',
+16 -16
View File
@@ -42,16 +42,16 @@ return [
'file' => ':attribute skal være en fil.',
'filled' => ':attribute skal udfyldes.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
'numeric' => 'The :attribute skal være større end :value.',
'file' => 'The :attribute skal være større end :value kilobytes.',
'string' => 'The :attribute skal være større end :value characters.',
'array' => 'The :attribute skal være mere end :value items.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.',
'array' => 'The :attribute must have :value items or more.',
'numeric' => 'The :attribute skal være større end eller lig med :value.',
'file' => 'The :attribute skal være større end eller lig med :value kilobytes.',
'string' => 'The :attribute skal være større end eller lig med :value characters.',
'array' => 'The :attribute skal have :value items eller mere.',
],
'image' => ':attribute skal være et billede.',
'in' => 'Det valgte :attribute er ugyldig.',
@@ -62,16 +62,16 @@ return [
'ipv6' => ':attribute skal være en gyldig IPv6 adresse.',
'json' => ':attribute skal være en gyldig JSON streng.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
'numeric' => 'The :attribute skal være mindre end :value.',
'file' => 'The :attribute skal være mindre end :value kilobytes.',
'string' => 'The :attribute skal være mindre end :value characters.',
'array' => 'The :attribute skal have mindre end :value items.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.',
'array' => 'The :attribute must not have more than :value items.',
'numeric' => 'The :attribute skal være mindre eller lig med :value.',
'file' => 'The :attribute skal være mindre eller lig med :value kilobytes.',
'string' => 'The :attribute skal være mindre eller lig med :value characters.',
'array' => 'The :attribute må ikke have mere end :value items.',
],
'max' => [
'numeric' => ':attribute skal være højest :max.',
+16 -16
View File
@@ -42,16 +42,16 @@ return [
'file' => ':attribute musi być plikiem.',
'filled' => 'Pole :attribute jest wymagane.',
'gt' => [
'numeric' => 'The :attribute must be greater than :value.',
'file' => 'The :attribute must be greater than :value kilobytes.',
'string' => 'The :attribute must be greater than :value characters.',
'array' => 'The :attribute must have more than :value items.',
'numeric' => ':attribute musi być większy niż :value.',
'file' => ':attribute musi być większy niż :value kilobajtów.',
'string' => ':attribute musi być dłuższy niż :value znaków.',
'array' => ':attribute musi mieć więcej niż :value elementów.',
],
'gte' => [
'numeric' => 'The :attribute must be greater than or equal :value.',
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
'string' => 'The :attribute must be greater than or equal :value characters.',
'array' => 'The :attribute must have :value items or more.',
'numeric' => ':attribute musi być większy lub równy :value.',
'file' => ':attribute musi być większy lub równy :value kijobajtów.',
'string' => ':attribute musi być dłuższy lub równy :value znaków.',
'array' => ':attribute musi mieć :value lub więcej elementów.',
],
'image' => ':attribute musi być obrazkiem.',
'in' => 'Zaznaczony :attribute jest nieprawidłowy.',
@@ -62,16 +62,16 @@ return [
'ipv6' => ':attribute musi być prawidłowym adresem IPv6.',
'json' => ':attribute musi być poprawnym ciągiem znaków JSON.',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',
'string' => 'The :attribute must be less than :value characters.',
'array' => 'The :attribute must have less than :value items.',
'numeric' => ':attribute musi być mniejszy niż :value.',
'file' => ':attribute musi być mniejszy niż :value kijobajtów.',
'string' => ':attribute musi być krótszy niż :value znaków.',
'array' => ':attribute musi mieć mniej niż :value elementów.',
],
'lte' => [
'numeric' => 'The :attribute must be less than or equal :value.',
'file' => 'The :attribute must be less than or equal :value kilobytes.',
'string' => 'The :attribute must be less than or equal :value characters.',
'array' => 'The :attribute must not have more than :value items.',
'numeric' => ':attribute musi być mniejszy lub równy :value.',
'file' => ':attribute musi być mniejszy lub równy :value kijobajtów.',
'string' => ':attribute musi być krótszy lub równy :value znaków.',
'array' => ':attribute musi mieć :value lub mniej elementów.',
],
'max' => [
'numeric' => ':attribute nie może być większy niż :max.',
+1 -1
View File
@@ -168,7 +168,7 @@ return [
'address' => 'Адрес',
'phone' => 'Телефон',
'mobile' => 'Моб. номер',
'age' => 'Возвраст',
'age' => 'Возраст',
'sex' => 'Пол',
'gender' => 'Пол',
'day' => 'Tag',
+846 -8
View File
File diff suppressed because it is too large. Load diff