Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ecb5c3c40 | ||
|
|
bc1407c2e1 | ||
|
|
25be11feeb | ||
|
|
aed0a82d17 | ||
|
|
6921ba51a3 | ||
|
|
03b3822f5c | ||
|
|
91fb4abd17 | ||
|
|
3d285d3b37 | ||
|
|
01ff883946 | ||
|
|
0950795a09 | ||
|
|
9e79d306f6 | ||
|
|
8e1dd95e6e | ||
|
|
bcaef77ae0 | ||
|
|
d68abf571c | ||
|
|
a6f2e893ae | ||
|
|
91e31ed5fb | ||
|
|
d3d74e7e7f | ||
|
|
360c9d2cc8 | ||
|
|
7a82a9c168 | ||
|
|
4ba7c33472 | ||
|
|
231e49127a | ||
|
|
0dd8c8578c | ||
|
|
68e83749ea | ||
|
|
4b5d884d7a | ||
|
|
b4fc8c8afb | ||
|
|
5feca7e215 | ||
|
|
e569ff65b0 | ||
|
|
5c65c5d768 | ||
|
|
320c62902b | ||
|
|
96901124c4 | ||
|
|
97e78f7cac | ||
|
|
78844a0bad | ||
|
|
05b64814ea | ||
|
|
69c424c68f | ||
|
|
145b58b7ce | ||
|
|
03fa2fb90f | ||
|
|
d394bf5558 | ||
|
|
4eb0a8cd90 |
No files matched your search
+1
-1
@@ -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',
|
||||
|
||||
@@ -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
@@ -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.'/'.$language.'/'.$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;
|
||||
}
|
||||
|
||||
@@ -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.": "لقد استلمت هذا الإيميل لأننا استقبلنا طلباً لاستعادة كلمة مرور حسابك."
|
||||
}
|
||||
@@ -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
@@ -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.',
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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."
|
||||
}
|
||||
@@ -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
-16
@@ -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.',
|
||||
|
||||
@@ -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.": "Вы получили это письмо, потому что мы получили запрос на сброс пароля для Вашей учетной записи."
|
||||
}
|
||||
@@ -168,7 +168,7 @@ return [
|
||||
'address' => 'Адрес',
|
||||
'phone' => 'Телефон',
|
||||
'mobile' => 'Моб. номер',
|
||||
'age' => 'Возвраст',
|
||||
'age' => 'Возраст',
|
||||
'sex' => 'Пол',
|
||||
'gender' => 'Пол',
|
||||
'day' => 'Tag',
|
||||
|
||||
@@ -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.": "您收到此电子邮件是因为我们收到了您帐户的密码重置请求。"
|
||||
}
|
||||
@@ -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.": "您收到此電子郵件是因為我們收到了您帳户的密碼重置請求。"
|
||||
}
|
||||
@@ -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.": "您收到此電子郵件是因為我們收到了您帳戶的密碼重置請求。"
|
||||
}
|
||||
Reference in new issue
Block a user