Skip to content

Commit ad2b648

Browse files
committed
feat: add Turkish lang file and test class
1 parent 2e12732 commit ad2b648

File tree

2 files changed

+91
-70
lines changed

2 files changed

+91
-70
lines changed

src/Language/tr/Auth.php

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -6,93 +6,93 @@
66

77
return [
88
// Exceptions
9-
'unknownAuthenticator' => '{0} is not a valid authenticator.',
10-
'unknownUserProvider' => 'Unable to determine the User Provider to use.',
11-
'invalidUser' => 'Unable to locate the specified user.',
12-
'badAttempt' => 'Unable to log you in. Please check your credentials.',
13-
'noPassword' => 'Cannot validate a user without a password.',
14-
'invalidPassword' => 'Unable to log you in. Please check your password.',
15-
'noToken' => 'Every request must have a bearer token in the {0} header.',
16-
'badToken' => 'The access token is invalid.',
17-
'oldToken' => 'The access token has expired.',
18-
'noUserEntity' => 'User Entity must be provided for password validation.',
19-
'invalidEmail' => 'Unable to verify the email address matches the email on record.',
20-
'unableSendEmailToUser' => 'Sorry, there was a problem sending the email. We could not send an email to "{0}".',
21-
'throttled' => 'Too many requests made from this IP address. You may try again in {0} seconds.',
9+
'unknownAuthenticator' => '{0} geçerli bir kimlik doğrulayıcı değil.',
10+
'unknownUserProvider' => 'Kullanılacak Kullanıcı Sağlayıcı belirlenemiyor.',
11+
'invalidUser' => 'Belirtilen kullanıcı bulunamadı.',
12+
'badAttempt' => 'Oturumunuz açılamıyor. Lütfen kimlik bilgilerinizi kontrol edin.',
13+
'noPassword' => 'Parola olmadan bir kullanıcı doğrulanamaz.',
14+
'invalidPassword' => 'Oturumunuz açılamıyor. Lütfen şifrenizi kontrol edin.',
15+
'noToken' => 'Her istediğin başlığında {0} bearer anahtar belirteci olmalıdır.',
16+
'badToken' => 'Erişim anahtarı geçersiz.',
17+
'oldToken' => 'Erişim anahtarının süresi doldu.',
18+
'noUserEntity' => 'Parola doğrulaması için Kullanıcı Varlığı sağlanmalıdır.',
19+
'invalidEmail' => 'E-posta adresinin kayıtlı e-posta ile eşleştiği doğrulanamıyor.',
20+
'unableSendEmailToUser' => 'Üzgünüz, e-posta gönderilirken bir sorun oluştu. "{0}" adresine e-posta gönderemedik.',
21+
'throttled' => 'Bu IP adresinden çok fazla istek yapıldı. {0} saniye sonra tekrar deneyebilirsiniz.',
2222

23-
'email' => 'Email Address',
24-
'username' => 'Username',
25-
'password' => 'Password',
26-
'passwordConfirm' => 'Password (again)',
27-
'haveAccount' => 'Already have an account?',
23+
'email' => 'E-posta Adresi',
24+
'username' => 'Kullanıcı Adı',
25+
'password' => 'Şifre',
26+
'passwordConfirm' => 'Şifre (tekrar)',
27+
'haveAccount' => 'Zaten hesabınız var mı?',
2828

2929
// Buttons
30-
'confirm' => 'Confirm',
31-
'send' => 'Send',
30+
'confirm' => 'Onayla',
31+
'send' => 'Gönder',
3232

3333
// Registration
34-
'register' => 'Register',
35-
'registerDisabled' => 'Registration is not currently allowed.',
36-
'registerSuccess' => 'Welcome aboard!',
34+
'register' => 'Kayıt Ol',
35+
'registerDisabled' => 'Kayıt işlemine şu anda izin verilmiyor.',
36+
'registerSuccess' => 'Gemiye Hoşgeldiniz!',
3737

3838
// Login
39-
'login' => 'Login',
40-
'needAccount' => 'Need an account?',
41-
'rememberMe' => 'Remember me?',
42-
'forgotPassword' => 'Forgot your password?',
43-
'useMagicLink' => 'Use a Login Link',
44-
'magicLinkSubject' => 'Your Login Link',
45-
'magicTokenNotFound' => 'Unable to verify the link.',
46-
'magicLinkExpired' => 'Sorry, link has expired.',
47-
'checkYourEmail' => 'Check your email!',
48-
'magicLinkDetails' => 'We just sent you an email with a Login link inside. It is only valid for {0} minutes.',
49-
'successLogout' => 'You have successfully logged out.',
39+
'login' => 'Giriş',
40+
'needAccount' => 'Bir hesaba mı ihtiyacınız var?',
41+
'rememberMe' => 'Beni hatırla?',
42+
'forgotPassword' => 'Şifrenizi mı unuttunuz?',
43+
'useMagicLink' => 'Giriş Bağlantısı Kullanın',
44+
'magicLinkSubject' => 'Giriş Bağlantınız',
45+
'magicTokenNotFound' => 'Bağlantı doğrulanamıyor.',
46+
'magicLinkExpired' => 'Üzgünüm, bağlantının süresi doldu.',
47+
'checkYourEmail' => 'E-postanı kontrol et!',
48+
'magicLinkDetails' => 'Az önce size içinde bir Giriş bağlantısı olan bir e-posta gönderdik. Bağlantı {0} dakika için geçerlidir.',
49+
'successLogout' => 'Başarıyla çıkış yaptınız.',
5050

5151
// Passwords
52-
'errorPasswordLength' => 'Passwords must be at least {0, number} characters long.',
53-
'suggestPasswordLength' => 'Pass phrases - up to 255 characters long - make more secure passwords that are easy to remember.',
54-
'errorPasswordCommon' => 'Password must not be a common password.',
55-
'suggestPasswordCommon' => 'The password was checked against over 65k commonly used passwords or passwords that have been leaked through hacks.',
56-
'errorPasswordPersonal' => 'Passwords cannot contain re-hashed personal information.',
57-
'suggestPasswordPersonal' => 'Variations on your email address or username should not be used for passwords.',
58-
'errorPasswordTooSimilar' => 'Password is too similar to the username.',
59-
'suggestPasswordTooSimilar' => 'Do not use parts of your username in your password.',
60-
'errorPasswordPwned' => 'The password {0} has been exposed due to a data breach and has been seen {1, number} times in {2} of compromised passwords.',
61-
'suggestPasswordPwned' => '{0} should never be used as a password. If you are using it anywhere change it immediately.',
62-
'errorPasswordEmpty' => 'A Password is required.',
63-
'passwordChangeSuccess' => 'Password changed successfully',
64-
'userDoesNotExist' => 'Password was not changed. User does not exist',
65-
'resetTokenExpired' => 'Sorry. Your reset token has expired.',
52+
'errorPasswordLength' => 'Şifre en az {0, number} karakter uzunluğunda olmalıdır.',
53+
'suggestPasswordLength' => 'En fazla 255 karakter uzunluğundaki geçiş ifadeleri, hatırlaması kolay, daha güvenli şifreler oluşturur.',
54+
'errorPasswordCommon' => 'Şifre genel bir şifre olmamalıdır.',
55+
'suggestPasswordCommon' => 'Şifre, yaygın olarak kullanılan 65 binden fazla şifre veya bilgisayar korsanlığı yoluyla sızdırılmış şifreler açısından kontrol edildi.',
56+
'errorPasswordPersonal' => 'Parolalar, yeniden oluşturulmuş kişisel bilgileri içeremez.',
57+
'suggestPasswordPersonal' => 'E-posta adresiniz veya kullanıcı adınızdaki varyasyonlar, şifreler için kullanılmamalıdır.',
58+
'errorPasswordTooSimilar' => 'Şifre, kullanıcı adınıza çok benziyor.',
59+
'suggestPasswordTooSimilar' => 'Kullanıcı adınızın bazı kısımlarını şifrenizde kullanmayın.',
60+
'errorPasswordPwned' => '{0} şifresi, bir veri ihlali nedeniyle açığa çıktı ve güvenliği ihlal edilmiş şifrelerin {2} tanesinde {1, sayı} kez görüldü.',
61+
'suggestPasswordPwned' => '{0} asla şifre olarak kullanılmamalıdır. Herhangi bir yerde kullanıyorsanız hemen değiştirin.',
62+
'errorPasswordEmpty' => 'Şifre gerekli.',
63+
'passwordChangeSuccess' => 'Şifre başarıyla değiştirildi.',
64+
'userDoesNotExist' => 'Şifre değiştirilmedi. Kullanıcı yok.',
65+
'resetTokenExpired' => 'Üzgünüz. Sıfırlama anahtarınızın süresi doldu.',
6666

6767
// Email Globals
68-
'emailInfo' => 'Some information about the person:',
69-
'emailIpAddress' => 'IP Address:',
70-
'emailDevice' => 'Device:',
71-
'emailDate' => 'Date:',
68+
'emailInfo' => 'Kişi hakkında bazı bilgiler:',
69+
'emailIpAddress' => 'IP Adresi:',
70+
'emailDevice' => 'Cihaz:',
71+
'emailDate' => 'Tarih:',
7272

7373
// 2FA
74-
'email2FATitle' => 'Two Factor Authentication',
75-
'confirmEmailAddress' => 'Confirm your email address.',
76-
'emailEnterCode' => 'Confirm your Email',
77-
'emailConfirmCode' => 'Enter the 6-digit code we just sent to your email address.',
78-
'email2FASubject' => 'Your authentication code',
79-
'email2FAMailBody' => 'Your authentication code is:',
80-
'invalid2FAToken' => 'The code was incorrect.',
81-
'need2FA' => 'You must complete a two-factor verification.',
82-
'needVerification' => 'Check your email to complete account activation.',
74+
'email2FATitle' => 'İki Faktörlü Kimlik Doğrulama',
75+
'confirmEmailAddress' => 'E-Posta adresini onayla.',
76+
'emailEnterCode' => 'E-posta adresinizi onaylayın.',
77+
'emailConfirmCode' => 'Az önce e-posta adresinize gönderdiğimiz 6 haneli kodu girin.',
78+
'email2FASubject' => 'Kimlik doğrulama kodunuz',
79+
'email2FAMailBody' => 'Kimlik doğrulama kodunuz:',
80+
'invalid2FAToken' => 'Kod yanlış.',
81+
'need2FA' => 'İki faktörlü doğrulamayı tamamlamanız gerekir.',
82+
'needVerification' => 'Hesap aktivasyonunu tamamlamak için e-postanızı kontrol edin.',
8383

8484
// Activate
85-
'emailActivateTitle' => 'Email Activation',
86-
'emailActivateBody' => 'We just sent an email to you with a code to confirm your email address. Copy that code and paste it below.',
87-
'emailActivateSubject' => 'Your activation code',
88-
'emailActivateMailBody' => 'Please use the code below to activate your account and start using the site.',
89-
'invalidActivateToken' => 'The code was incorrect.',
90-
'needActivate' => 'You must complete your registration by confirming the code sent to your email address.',
85+
'emailActivateTitle' => 'E-Posta Aktivasyonu',
86+
'emailActivateBody' => 'Az önce size e-posta adresinizi doğrulamak için bir kod içeren bir e-posta gönderdik. Bu kodu kopyalayın ve aşağıya yapıştırın.',
87+
'emailActivateSubject' => 'Aktivasyon kodunuz',
88+
'emailActivateMailBody' => 'Hesabınızı etkinleştirmek ve siteyi kullanmaya başlamak için lütfen aşağıdaki kodu kullanın.',
89+
'invalidActivateToken' => 'Kod yanlıştı.',
90+
'needActivate' => 'E-posta adresinize gönderilen kodu onaylayarak kaydınızı tamamlamanız gerekmektedir.',
9191

9292
// Groups
93-
'unknownGroup' => '{0} is not a valid group.',
94-
'missingTitle' => 'Groups must have a title.',
93+
'unknownGroup' => '{0} geçerli bir grup değil.',
94+
'missingTitle' => 'Grupların bir başlığı olmalıdır.',
9595

9696
// Permissions
97-
'unknownPermission' => '{0} is not a valid permission.',
97+
'unknownPermission' => '{0} geçerli bir izin değil.',
9898
];
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* This file is part of CodeIgniter 4 framework.
7+
*
8+
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9+
*
10+
* For the full copyright and license information, please view
11+
* the LICENSE file that was distributed with this source code.
12+
*/
13+
14+
namespace Tests\Language;
15+
16+
/**
17+
* @internal
18+
*/
19+
final class TurkishTranslationTest extends AbstractTranslationTestCase
20+
{
21+
}

0 commit comments

Comments
 (0)