From ff2fe21e4ef1eb69309b776bb4bf31d1af7d70e5 Mon Sep 17 00:00:00 2001 From: Rany Date: Fri, 10 Mar 2023 15:06:19 +0800 Subject: [PATCH 1/2] refactor(phrases): update multiple phrases Update pt-br.ts Update pt-pt.ts Update ru.ts Update tr-tr.ts Update zh-cn.ts Update pt-br.ts Update pt-pt.ts Update pt-br.ts Update ru.ts Update tr-tr.ts Update zh-cn.ts --- packages/phrases-ui/src/locales/pt-br.ts | 60 +++++++------- packages/phrases-ui/src/locales/pt-pt.ts | 100 +++++++++++------------ packages/phrases-ui/src/locales/ru.ts | 26 +++--- packages/phrases-ui/src/locales/tr-tr.ts | 100 +++++++++++------------ packages/phrases-ui/src/locales/zh-cn.ts | 26 +++--- 5 files changed, 156 insertions(+), 156 deletions(-) diff --git a/packages/phrases-ui/src/locales/pt-br.ts b/packages/phrases-ui/src/locales/pt-br.ts index e80e55743..7e63af1a9 100644 --- a/packages/phrases-ui/src/locales/pt-br.ts +++ b/packages/phrases-ui/src/locales/pt-br.ts @@ -16,14 +16,14 @@ const translation = { sign_in: 'Entrar', continue: 'Continuar', create_account: 'Criar conta', - create_account_without_linking: 'Create account without linking', // UNTRANSLATED + create_account_without_linking: 'Criar conta sem vincular', create: 'Criar', - enter_passcode: 'Digite o código de verificação', + enter_passcode: 'Inserir código de verificação', confirm: 'Confirmar', cancel: 'Cancelar', - save_password: 'Salvar', + save_password: 'Salvar senha', bind: 'Link com {{address}}', - bind_and_continue: 'Link and continue', // UNTRANSLATED + bind_and_continue: 'Linkar e continuar', back: 'Voltar', nav_back: 'Voltar', agree: 'Aceito', @@ -31,13 +31,13 @@ const translation = { sign_in_with: 'Continuar com {{name}}', forgot_password: 'Esqueceu sua senha?', switch_to: 'Trocar para {{method}}', - sign_in_via_passcode: 'Entrar com código de verificação', - sign_in_via_password: 'Entrar com senha', - change: 'Change {{change}}', // UNTRANSLATED - link_another_email: 'Link another email', // UNTRANSLATED - link_another_phone: 'Link another phone', // UNTRANSLATED - link_another_email_or_phone: 'Link another email or phone', // UNTRANSLATED - show_password: 'Show password', // UNTRANSLATED + sign_in_via_passcode: 'Fazer login com código de verificação', + sign_in_via_password: 'Fazer login com senha', + change: 'Alterar {{change}}', + link_another_email: 'Vincular outro e-mail', + link_another_phone: 'Vincular outro telefone', + link_another_email_or_phone: 'Vincular outro e-mail ou telefone', + show_password: 'Mostrar senha', }, description: { email: 'e-mail', @@ -59,21 +59,21 @@ const translation = { resend_passcode: 'Reenviar código de verificação', create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de entrar?', link_account_id_exists: - 'The account with {{type}} {{value}} already exists, would you like to link?', // UNTRANSLATED + 'A conta com {{type}} {{value}} já existe, gostaria de vincular?', sign_in_id_does_not_exist: 'A conta com {{type}} {{value}} não existe, gostaria de criar uma nova conta?', sign_in_id_does_not_exist_alert: 'A conta com {{type}} {{value}} não existe.', - create_account_id_exists_alert: 'A conta com {{type}} {{value}} já existe', + create_account_id_exists_alert: 'A conta com {{type}} {{value}} está vinculada a outra conta. Por favor, tente outro {{type}}.', social_identity_exist: - 'The {{type}} {{value}} is linked to another account. Please try another {{type}}', // UNTRANSLATED - bind_account_title: 'Link or create account', // UNTRANSLATED - social_create_account: 'Sem conta? Você pode criar uma nova conta e link.', - social_link_email: 'You can link another email', // UNTRANSLATED - social_link_phone: 'You can link another phone', // UNTRANSLATED - social_link_email_or_phone: 'You can link another email or phone', // UNTRANSLATED + 'O {{type}} {{value}} está vinculado a outra conta. Por favor, tente outro {{type}}.', + bind_account_title: 'Vincular ou criar conta', + social_create_account: 'Você pode criar uma nova conta.', + social_link_email: 'É possível vincular outro e-mail', + social_link_phone: 'É possível vincular outro telefone', + social_link_email_or_phone: 'É possível vincular outro e-mail ou telefone', social_bind_with_existing: - 'Encontramos uma conta relacionada, você pode vinculá-la diretamente.', - reset_password: 'Redefinir senha', + 'Encontramos uma conta relacionada registrada e você pode vinculá-la diretamente.', + reset_password: 'Esqueceu a senha', reset_password_description: 'Digite o {{types, list(type: disjunction;)}} à sua conta e enviaremos a você o código de verificação para redefinir sua senha.', new_password: 'Nova senha', @@ -83,19 +83,19 @@ const translation = { have_account: 'Já tinha uma conta?', enter_password: 'Digite a senha', enter_password_for: 'Entre com a senha para {{method}} {{value}}', - enter_username: 'Insira nome de usuário', + enter_username: 'Definir nome de usuário', enter_username_description: - 'O nome de usuário é uma alternativa para entrar. O nome de usuário deve conter apenas letras, números e sublinhados.', - link_email: 'Link e-mail', - link_phone: 'Link telefone', - link_email_or_phone: 'Link e-mail ou telefone', + 'O nome de usuário é uma alternativa para fazer login. O nome de usuário deve conter apenas letras, números e sublinhados.', + link_email: 'Linkar e-mail', + link_phone: 'Linkar telefone', + link_email_or_phone: 'Linkar e-mail ou telefone', link_email_description: 'Para maior segurança, vincule seu e-mail à conta.', link_phone_description: 'Para maior segurança, vincule seu telefone à conta.', link_email_or_phone_description: 'Para maior segurança, vincule seu e-mail ou telefone à conta.', continue_with_more_information: 'Para maior segurança, preencha os detalhes da conta abaixo.', - create_your_account: 'Create your account', // UNTRANSLATED - welcome_to_sign_in: 'Welcome to sign in', // UNTRANSLATED + create_your_account: 'Crie sua conta', + welcome_to_sign_in: 'Bem-vindo(a) para entrar', }, error: { general_required: `{{types, list(type: disjunction;)}} é obrigatório`, @@ -111,7 +111,7 @@ const translation = { password_min_length: 'A senha requer um mínimo de {{min}} caracteres', passwords_do_not_match: 'Suas senhas não correspondem. Por favor, tente novamente.', invalid_password: - 'Password requires a minimum of {{min}} characters and contains a mix of letters, numbers, and symbols.', // UNTRANSLATED + 'A senha requer um mínimo de {{min}} caracteres e contém uma mistura de letras, números e símbolos.', invalid_passcode: 'O código de verificação é inválido', invalid_connector_auth: 'A autorização é inválida', invalid_connector_request: 'Os dados do conector são inválidos', @@ -119,7 +119,7 @@ const translation = { invalid_session: 'Sessão não encontrada. Volte e faça login novamente.', }, demo_app: { - notification: 'Tip: Create an account first to test the sign-in experience.', // UNTRANSLATED + notification: 'Dica: Crie uma conta primeiro para testar a experiência de login.', }, }; diff --git a/packages/phrases-ui/src/locales/pt-pt.ts b/packages/phrases-ui/src/locales/pt-pt.ts index e48b1b4f9..b40cf09fb 100644 --- a/packages/phrases-ui/src/locales/pt-pt.ts +++ b/packages/phrases-ui/src/locales/pt-pt.ts @@ -3,10 +3,10 @@ import type { LocalePhrase } from '../types.js'; const translation = { input: { username: 'Utilizador', - password: 'Password', + password: 'Palavra-passe', email: 'Email', phone_number: 'Telefone', - confirm_password: 'Confirmar password', + confirm_password: 'Confirmar palavra-passe', }, secondary: { social_bind_with: @@ -16,28 +16,28 @@ const translation = { sign_in: 'Entrar', continue: 'Continuar', create_account: 'Criar uma conta', - create_account_without_linking: 'Create account without linking', // UNTRANSLATED + create_account_without_linking: 'Criar conta sem vinculação', create: 'Criar', - enter_passcode: 'Digite a senha', + enter_passcode: 'Introduzir código de verificação', confirm: 'Confirmar', cancel: 'Cancelar', - save_password: 'Save', // UNTRANSLATED + save_password: 'Guardar palavra-passe', bind: 'Agregar a {{address}}', - bind_and_continue: 'Link and continue', // UNTRANSLATED + bind_and_continue: 'Ligar e continuar', back: 'Voltar', nav_back: 'Anterior', agree: 'Aceito', got_it: 'Entendi', sign_in_with: 'Continuar com {{name}}', - forgot_password: 'Esqueceu a password?', + forgot_password: 'Esqueceu-se da palavra-passe?', switch_to: 'Mudar para {{method}}', - sign_in_via_passcode: 'Sign in with verification code', // UNTRANSLATED - sign_in_via_password: 'Sign in with password', // UNTRANSLATED - change: 'Change {{method}}', // UNTRANSLATED - link_another_email: 'Link another email', // UNTRANSLATED - link_another_phone: 'Link another phone', // UNTRANSLATED - link_another_email_or_phone: 'Link another email or phone', // UNTRANSLATED - show_password: 'Show password', // UNTRANSLATED + sign_in_via_passcode: 'Iniciar sessão com código de verificação', + sign_in_via_password: 'Iniciar sessão com palavra-passe', + change: 'Alterar {{method}}', + link_another_email: 'Vincular outro email', + link_another_phone: 'Vincular outro telefone', + link_another_email_or_phone: 'Vincular outro email ou telefone', + show_password: 'Mostrar palavra-passe', }, description: { email: 'email', @@ -53,48 +53,48 @@ const translation = { create_account: 'Criar uma conta', or: 'ou', and: 'e', - enter_passcode: 'A senha foi enviada para o seu {{address}} {{target}}', - passcode_sent: 'A senha foi reenviada', + enter_passcode: 'O código de verificação foi enviado para o seu {{address}} {{target}}', + passcode_sent: 'O código de verificação foi reenviado', resend_after_seconds: 'Reenviar após {{seconds}} segundos', - resend_passcode: 'Reenviar senha', - create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de fazer login?', + resend_passcode: 'Reenviar código de verificação', + create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de fazer login?', link_account_id_exists: - 'The account with {{type}} {{value}} already exists, would you like to link?', // UNTRANSLATED + 'A conta com {{type}} {{value}} já existe, gostaria de vinculá-la?', sign_in_id_does_not_exist: 'A conta com {{type}} {{value}} não existe, gostaria de criar uma?', - sign_in_id_does_not_exist_alert: 'The account with {{type}} {{value}} does not exist.', // UNTRANSLATED + sign_in_id_does_not_exist_alert: 'A conta com {{type}} {{value}} não existe.', create_account_id_exists_alert: - 'The account with {{type}} {{value}} is linked to another account. Please try another {{type}}.', // UNTRANSLATED + 'A conta com {{type}} {{value}} está vinculada a outra conta. Por favor, tente outro {{type}}.', social_identity_exist: - 'The {{type}} {{value}} is linked to another account. Please try another {{type}}', // UNTRANSLATED - bind_account_title: 'Link or create account', // UNTRANSLATED - social_create_account: 'Sem conta? Pode criar uma nova e agregar.', - social_link_email: 'You can link another email', // UNTRANSLATED - social_link_phone: 'You can link another phone', // UNTRANSLATED - social_link_email_or_phone: 'You can link another email or phone', // UNTRANSLATED - social_bind_with_existing: 'Encontramos uma conta relacionada, pode agrega-la diretamente.', - reset_password: 'Redefinir Password', + 'O {{type}} {{value}} está vinculado a outra conta. Por favor, tente outro {{type}}.', + bind_account_title: 'Vincular ou criar conta', + social_create_account: 'Pode criar uma nova conta.', + social_link_email: 'Pode vincular outro email', + social_link_phone: 'Pode vincular outro telefone', + social_link_email_or_phone: 'Pode vincular outro email ou telefone', + social_bind_with_existing: 'Encontramos uma conta relacionada registrada e você pode vinculá-la diretamente.', + reset_password: 'Esqueceu a senha', reset_password_description: - 'Enter the {{types, list(type: disjunction;)}} associated with your account, and we’ll send you the verification code to reset your password.', // UNTRANSLATED + 'Insira os {{types, list(type: disjunction;)}} associados à sua conta e enviaremos o código de verificação para redefinir sua senha.', new_password: 'Nova Senha', - set_password: 'Set password', // UNTRANSLATED - password_changed: 'Password Changed', // UNTRANSLATED - no_account: 'No account yet? ', // UNTRANSLATED - have_account: 'Already had an account?', // UNTRANSLATED - enter_password: 'Enter Password', // UNTRANSLATED - enter_password_for: 'Sign in with the password to {{method}} {{value}}', // UNTRANSLATED - enter_username: 'Set username', // UNTRANSLATED + set_password: 'Definir senha', + password_changed: 'Senha alterada', + no_account: 'Ainda não tem conta?', + have_account: 'Já tem conta?', + enter_password: 'Digite a senha', + enter_password_for: 'Faça login com a senha do {{method}} {{value}}', + enter_username: 'Definir nome de usuário', enter_username_description: - 'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.', // UNTRANSLATED - link_email: 'Link email', // UNTRANSLATED - link_phone: 'Link phone', // UNTRANSLATED - link_email_or_phone: 'Link email or phone', // UNTRANSLATED - link_email_description: 'For added security, please link your email with the account.', // UNTRANSLATED - link_phone_description: 'For added security, please link your phone with the account.', // UNTRANSLATED + 'O nome de usuário é uma alternativa para o login. O nome de usuário deve conter apenas letras, números e sublinhados.', + link_email: 'Vincular email', + link_phone: 'Vincular telefone', + link_email_or_phone: 'Vincular email ou telefone', + link_email_description: 'Para maior segurança, vincule o seu email à conta.', + link_phone_description: 'Para maior segurança, vincule o seu telefone à conta.', link_email_or_phone_description: - 'For added security, please link your email or phone with the account.', // UNTRANSLATED - continue_with_more_information: 'For added security, please complete below account details.', // UNTRANSLATED - create_your_account: 'Create your account', // UNTRANSLATED - welcome_to_sign_in: 'Welcome to sign in', // UNTRANSLATED + 'Para maior segurança, vincule o seu email ou telefone à conta.', + continue_with_more_information: 'Para maior segurança, por favor complete os detalhes da conta abaixo.', + create_your_account: 'Criar conta', + welcome_to_sign_in: 'Bem-vindo(a) para iniciar sessão', }, error: { general_required: `{{types, list(type: disjunction;)}} is necessário`, @@ -109,16 +109,16 @@ const translation = { invalid_phone: 'O número de telefone é inválido', password_min_length: 'A password requer um mínimo de {{min}} caracteres', invalid_password: - 'Password requires a minimum of {{min}} characters and contains a mix of letters, numbers, and symbols.', // UNTRANSLATED + 'A senha requer um mínimo de {{min}} caracteres e contém uma mistura de letras, números e símbolos.', passwords_do_not_match: 'As passwords não coincidem', - invalid_passcode: 'A senha é inválida', + invalid_passcode: 'O código de verificação é inválido.', invalid_connector_auth: 'A autorização é inválida', invalid_connector_request: 'Os dados do conector são inválidos', unknown: 'Erro desconhecido. Por favor, tente novamente mais tarde.', invalid_session: 'Sessão não encontrada. Volte e faça login novamente.', }, demo_app: { - notification: 'Tip: Create an account first to test the sign-in experience.', // UNTRANSLATED + notification: 'Dica: Crie uma conta primeiro para testar a experiência de login.', }, }; diff --git a/packages/phrases-ui/src/locales/ru.ts b/packages/phrases-ui/src/locales/ru.ts index 6818d00a5..4d653dc5a 100644 --- a/packages/phrases-ui/src/locales/ru.ts +++ b/packages/phrases-ui/src/locales/ru.ts @@ -16,12 +16,12 @@ const translation = { sign_in: 'Войти', continue: 'Продолжить', create_account: 'Создать аккаунт', - create_account_without_linking: 'Create account without linking', // UNTRANSLATED + create_account_without_linking: 'Создать аккаунт без связывания', create: 'Создать', - enter_passcode: 'Введите код подтверждения', + enter_passcode: 'Введите код подтверждения', confirm: 'Подтвердить', cancel: 'Отменить', - save_password: 'Сохранить', + save_password: 'Сохраните пароль', bind: 'Привязать к {{address}}', bind_and_continue: 'Привязать и продолжить', back: 'Назад', @@ -62,16 +62,16 @@ const translation = { sign_in_id_does_not_exist: 'Учетная запись для {{value}} не существует, хотите зарегистрироваться?', sign_in_id_does_not_exist_alert: 'Учетная запись для {{value}} не существует.', - create_account_id_exists_alert: 'Учетная запись для уже существует', + create_account_id_exists_alert: 'Аккаунт с {{type}} {{value}} связан с другим аккаунтом. Пожалуйста, попробуйте другой {{type}}.', social_identity_exist: - '{{value}} уже связан с другой учетной записью. Пожалуйста, попробуйте другой {{type}}', + '{{type}} {{value}} связан с другим аккаунтом. Пожалуйста, попробуйте другой {{type}}.', bind_account_title: 'Привязать или создать аккаунт', - social_create_account: 'Вы можете создать новый аккаунт и привязать.', + social_create_account: 'Вы можете создать новую учетную запись.', social_link_email: 'Вы можете привязать другой адрес электронной почты', social_link_phone: 'Вы можете привязать другой номер телефона', social_link_email_or_phone: 'Вы можете привязать другой адрес электронной почты или телефон', - social_bind_with_existing: 'Мы нашли связанную учетную запись, вы можете связать ее напрямую.', - reset_password: 'Сброс пароля', + social_bind_with_existing: 'Мы находим зарегистрированную связанную учетную запись, и вы можете связать ее напрямую.', + reset_password: 'Забыли пароль', reset_password_description: 'Введите {{types, list(type: disjunction;)}} от вашей учетной записи, и мы вышлем вам код для восстановления пароля.', new_password: 'Новый пароль', @@ -81,7 +81,7 @@ const translation = { have_account: 'Уже есть аккаунт?', enter_password: 'Введите пароль', enter_password_for: 'Введите пароль для {{value}}', - enter_username: 'Задать имя пользователя', + enter_username: 'Установить имя пользователя', enter_username_description: 'Имя пользователя является альтернативой для входа в систему. Имя пользователя должно содержать только буквы, цифры и символы подчеркивания.', link_email: 'Привязать почту', @@ -95,8 +95,8 @@ const translation = { 'Для дополнительной безопасности, пожалуйста, привяжите свою электронную почту или номер телефона к учетной записи.', continue_with_more_information: 'Для дополнительной безопасности, пожалуйста, заполните приведенные ниже данные учетной записи.', - create_your_account: 'Create your account', // UNTRANSLATED - welcome_to_sign_in: 'Welcome to sign in', // UNTRANSLATED + create_your_account: 'Создайте свой аккаунт', + welcome_to_sign_in: 'Добро пожаловать для входа в систему', }, error: { general_required: `Введите {{types, list(type: disjunction;)}}`, @@ -112,7 +112,7 @@ const translation = { password_min_length: 'Пароль должен быть минимум {{min}} символов', passwords_do_not_match: 'Пароли не совпадают. Пожалуйста, попробуйте еще раз.', invalid_password: - 'Password requires a minimum of {{min}} characters and contains a mix of letters, numbers, and symbols.', // UNTRANSLATED + 'Пароль должен содержать минимум {{min}} символов, включая буквы, цифры и символы.', invalid_passcode: 'Неправильный код подтверждения', invalid_connector_auth: 'Авторизация недействительна', invalid_connector_request: 'Данные коннектора недействительны.', @@ -120,7 +120,7 @@ const translation = { invalid_session: 'Сессия не найдена. Пожалуйста, войдите снова.', }, demo_app: { - notification: 'Tip: Create an account first to test the sign-in experience.', // UNTRANSLATED + notification: 'Совет: Создайте аккаунт сначала, чтобы протестировать процесс входа.', }, }; diff --git a/packages/phrases-ui/src/locales/tr-tr.ts b/packages/phrases-ui/src/locales/tr-tr.ts index 1d7cadfff..4d16c9778 100644 --- a/packages/phrases-ui/src/locales/tr-tr.ts +++ b/packages/phrases-ui/src/locales/tr-tr.ts @@ -16,28 +16,28 @@ const translation = { sign_in: 'Giriş Yap', continue: 'İlerle', create_account: 'Hesap Oluştur', - create_account_without_linking: 'Create account without linking', // UNTRANSLATED + create_account_without_linking: 'Bağlamadan hesap oluştur', create: 'Oluştur', - enter_passcode: 'Kodu Gir', + enter_passcode: 'Doğrulama kodunu girin', confirm: 'Onayla', cancel: 'İptal Et', - save_password: 'Save', // UNTRANSLATED + save_password: 'Şifreyi kaydet', bind: '{{address}} ile birleştir', - bind_and_continue: 'Link and continue', // UNTRANSLATED + bind_and_continue: 'Bağla ve devam et', back: 'Geri Dön', nav_back: 'Geri', agree: 'Kabul Et', got_it: 'Anladım', sign_in_with: '{{name}} ile ilerle', forgot_password: 'Şifremi Unuttum?', - switch_to: 'Switch to {{method}}', // UNTRANSLATED - sign_in_via_passcode: 'Sign in with verification code', // UNTRANSLATED - sign_in_via_password: 'Sign in with password', // UNTRANSLATED - change: 'Change {{method}}', // UNTRANSLATED - link_another_email: 'Link another email', // UNTRANSLATED - link_another_phone: 'Link another phone', // UNTRANSLATED - link_another_email_or_phone: 'Link another email or phone', // UNTRANSLATED - show_password: 'Show password', // UNTRANSLATED + switch_to: '{{method}} yöntemine geç', + sign_in_via_passcode: 'Doğrulama koduyla oturum açın', + sign_in_via_password: 'şifre ile giriş yap', + change: '{{method}} değiştir', + link_another_email: 'Başka bir e-postayı bağla', + link_another_phone: 'Başka bir telefon bağla', + link_another_email_or_phone: 'Başka bir e-posta veya telefon bağlayın', + show_password: 'Şifreyi göster', }, description: { email: 'e-posta adresi', @@ -46,60 +46,60 @@ const translation = { reminder: 'Hatırlatıcı', not_found: '404 Bulunamadı', agree_with_terms: 'Okudum ve anladım', - agree_with_terms_modal: 'Devam etmek için lütfen i kabul edin.', + agree_with_terms_modal: 'Devam etmek için lütfen \'i kabul edin.', terms_of_use: 'Kullanım Koşulları', sign_in: 'Giriş Yap', privacy_policy: 'Gizlilik Politikası', create_account: 'Hesap Oluştur', or: 'veya', and: 've', - enter_passcode: 'Kod {{address}} {{target}} inize gönderildi.', - passcode_sent: 'Kodunuz yeniden gönderildi.', + enter_passcode: 'Doğrulama kodu {{address}} {{target}} adresinize gönderildi', + passcode_sent: 'Doğrulama kodu yeniden gönderildi', resend_after_seconds: '{{seconds}} saniye sonra tekrar gönder', - resend_passcode: 'Kodu Yeniden Gönder', + resend_passcode: 'Doğrulama kodunu tekrar gönder', create_account_id_exists: '{{type}} {{value}} ile hesap mevcut, giriş yapmak ister misiniz?', link_account_id_exists: - 'The account with {{type}} {{value}} already exists, would you like to link?', // UNTRANSLATED + '{{type}} {{value}} olan hesap zaten var, bağlamak ister misiniz?', sign_in_id_does_not_exist: '{{type}} {{value}} ile hesap mevcut değil, yeni bir hesap oluşturmak ister misiniz?', - sign_in_id_does_not_exist_alert: 'The account with {{type}} {{value}} does not exist.', // UNTRANSLATED + sign_in_id_does_not_exist_alert: '{{type}} {{value}} olan hesap mevcut değil.', create_account_id_exists_alert: - 'The account with {{type}} {{value}} is linked to another account. Please try another {{type}}.', // UNTRANSLATED + '{{type}} {{value}} olan hesap başka bir hesaba bağlı. Lütfen başka bir {{type}} deneyin.', social_identity_exist: - 'The {{type}} {{value}} is linked to another account. Please try another {{type}}', // UNTRANSLATED - bind_account_title: 'Link or create account', // UNTRANSLATED - social_create_account: 'Hesabınız yok mu? Yeni bir hesap ve bağlantı oluşturabilirsiniz.', - social_link_email: 'You can link another email', // UNTRANSLATED - social_link_phone: 'You can link another phone', // UNTRANSLATED - social_link_email_or_phone: 'You can link another email or phone', // UNTRANSLATED - social_bind_with_existing: 'İlgili bir hesap bulduk, hemen bağlayabilirsiniz.', - reset_password: 'Şifre yenile', + '{{type}} {{value}} başka bir hesaba bağlı. Lütfen başka bir {{type}} deneyin.', + bind_account_title: 'Bağla veya hesap oluştur', + social_create_account: 'Yeni bir hesap oluşturabilirsiniz.', + social_link_email: 'Başka bir e-posta bağlayabilirsiniz', + social_link_phone: 'Başka bir telefon bağlayabilirsiniz', + social_link_email_or_phone: 'Başka bir e-posta veya telefon bağlayabilirsiniz', + social_bind_with_existing: 'Kayıtlı ilgili bir hesap bulduk ve onu doğrudan bağlayabilirsiniz.', + reset_password: 'Parolanızı mı unuttunuz', reset_password_description: - 'Enter the {{types, list(type: disjunction;)}} associated with your account, and we’ll send you the verification code to reset your password.', // UNTRANSLATED + 'Hesabınızla ilişkili {{types, list(type: disjunction;)}} girin, şifrenizi sıfırlamanız için size doğrulama kodunu göndereceğiz.', new_password: 'Yeni Şifre', - set_password: 'Set password', // UNTRANSLATED - password_changed: 'Password Changed', // UNTRANSLATED - no_account: 'No account yet? ', // UNTRANSLATED - have_account: 'Already had an account?', // UNTRANSLATED - enter_password: 'Enter Password', // UNTRANSLATED - enter_password_for: 'Sign in with the password to {{method}} {{value}}', // UNTRANSLATED - enter_username: 'Set username', // UNTRANSLATED + set_password: 'Şifreyi belirle', + password_changed: 'Şifre değişti', + no_account: 'Henüz hesap yok mu?', + have_account: 'Zaten bir hesabınız var mıydı?', + enter_password: 'Parolanı Gir', + enter_password_for: '{{method}} {{value}} şifresiyle oturum açın', + enter_username: 'Kullanıcı adını ayarla', enter_username_description: - 'Username is an alternative for sign-in. Username must contain only letters, numbers, and underscores.', // UNTRANSLATED - link_email: 'Link email', // UNTRANSLATED - link_phone: 'Link phone', // UNTRANSLATED - link_email_or_phone: 'Link email or phone', // UNTRANSLATED - link_email_description: 'For added security, please link your email with the account.', // UNTRANSLATED - link_phone_description: 'For added security, please link your phone with the account.', // UNTRANSLATED + 'Kullanıcı adı, oturum açmak için bir alternatiftir. Kullanıcı adı yalnızca harf, sayı ve alt çizgi içermelidir.', + link_email: 'E-postayı bağla', + link_phone: 'Telefonu bağla', + link_email_or_phone: 'E-posta veya telefon bağlantısı', + link_email_description: 'Daha fazla güvenlik için lütfen e-postanızı hesapla ilişkilendirin.', + link_phone_description: 'Daha fazla güvenlik için lütfen telefonunuzu hesaba bağlayın.', link_email_or_phone_description: - 'For added security, please link your email or phone with the account.', // UNTRANSLATED - continue_with_more_information: 'For added security, please complete below account details.', // UNTRANSLATED - create_your_account: 'Create your account', // UNTRANSLATED - welcome_to_sign_in: 'Welcome to sign in', // UNTRANSLATED + 'Daha fazla güvenlik için lütfen e-postanızı veya telefonunuzu hesaba bağlayın.', + continue_with_more_information: 'Daha fazla güvenlik için lütfen aşağıdaki hesap ayrıntılarını tamamlayın.', + create_your_account: 'hesabını oluştur', + welcome_to_sign_in: 'oturum açmaya hoş geldiniz', }, error: { - general_required: `{{types, list(type: disjunction;)}} is required`, // UNTRANSLATED - general_invalid: `The {{types, list(type: disjunction;)}} is invalid`, // UNTRANSLATED + general_required: `{{types, list(type: disjunction;)}} gerekli`, + general_invalid: `{{types, list(type: disjunction;)}} geçersiz`, username_required: 'Kullanıcı adı gerekli.', password_required: 'Şifre gerekli.', username_exists: 'Kullanıcı adı mevcut.', @@ -110,15 +110,15 @@ const translation = { password_min_length: 'Şifre en az {{min}} karakterden oluşmalıdır', passwords_do_not_match: 'Şifreler eşleşmiyor', invalid_password: - 'Password requires a minimum of {{min}} characters and contains a mix of letters, numbers, and symbols.', // UNTRANSLATED - invalid_passcode: 'Kod geçersiz', + 'Şifre en az {{min}} karakter gerektirir ve harf, sayı ve sembol karışımı içerir.', + invalid_passcode: 'Doğrulama kodu geçersiz', invalid_connector_auth: 'Yetki geçersiz', invalid_connector_request: 'Bağlayıcı veri geçersiz', unknown: 'Bilinmeyen hata. Lütfen daha sonra tekrar deneyiniz.', invalid_session: 'Oturum bulunamadı. Lütfen geri dönüp tekrar giriş yapınız.', }, demo_app: { - notification: 'Tip: Create an account first to test the sign-in experience.', // UNTRANSLATED + notification: 'İpucu: Oturum açma deneyimini test etmek için önce bir hesap oluşturun.', }, }; diff --git a/packages/phrases-ui/src/locales/zh-cn.ts b/packages/phrases-ui/src/locales/zh-cn.ts index dcf6b775e..f120d1510 100644 --- a/packages/phrases-ui/src/locales/zh-cn.ts +++ b/packages/phrases-ui/src/locales/zh-cn.ts @@ -23,7 +23,7 @@ const translation = { confirm: '确认', save_password: '保存密码', bind: '绑定到 {{address}}', - bind_and_continue: 'Link and continue', // UNTRANSLATED + bind_and_continue: '绑定并继续', back: '返回', nav_back: '返回', agree: '同意', @@ -57,22 +57,22 @@ const translation = { passcode_sent: '验证码已经发送', resend_after_seconds: '在 {{ seconds }} 秒后重发', resend_passcode: '重发验证码', - create_account_id_exists: '{{ type }}为 {{ value }} 的帐号已存在,你要登录吗?', + create_account_id_exists: '{{type}}为 {{value}} 的帐号已存在,你要登录吗?', link_account_id_exists: - 'The account with {{type}} {{value}} already exists, would you like to link?', // UNTRANSLATED - sign_in_id_does_not_exist: '{{ type }}为 {{ value }} 的帐号不存在,你要创建一个新帐号吗?', - sign_in_id_does_not_exist_alert: '{{ type }}为 {{ value }} 的帐号不存在。', + ' {{type}}为 {{value}} 的账号已注册,你要绑定至这个账号吗?', + sign_in_id_does_not_exist: '{{type}}为 {{value}} 的帐号不存在,你要创建一个新帐号吗?', + sign_in_id_does_not_exist_alert: '{{type}}为 {{value}} 的帐号不存在。', create_account_id_exists_alert: - '{{ type }}为 {{ value }} 的帐号已绑定其他账号。请尝试其他{{ type }}。', + '{{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}。', social_identity_exist: - 'The {{type}} {{value}} is linked to another account. Please try another {{type}}', // UNTRANSLATED - bind_account_title: '绑定或创建帐号', + ' {{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}', + bind_account_title: '绑定或注册帐号', social_create_account: '你可以注册一个新的账号。', social_link_email: '你可以绑定其他邮箱', social_link_phone: '你可以绑定其他手机号', social_link_email_or_phone: '你可以绑定其他邮箱或手机号', - social_bind_with_existing: '找到了一个匹配的帐号,你可以直接绑定。', - reset_password: '重设密码', + social_bind_with_existing: '找到了一个已注册的账号,你可以直接绑定。', + reset_password: '忘记密码', reset_password_description: '输入{{types, list(type: disjunction;)}},获取验证码以重设密码。', new_password: '新密码', set_password: '设置密码', @@ -103,10 +103,10 @@ const translation = { username_invalid_charset: '用户名只能包含英文字母、数字或下划线。', invalid_email: '无效的邮箱', invalid_phone: '无效的手机号', - password_min_length: '密码最少需要{{min}}个字符', + password_min_length: '密码最少需要 {{min}} 个字符', passwords_do_not_match: '两次输入的密码不一致,请重试。', invalid_password: - 'Password requires a minimum of {{min}} characters and contains a mix of letters, numbers, and symbols.', // UNTRANSLATED + '密码至少需要 {{min}} 个字符,并包含字母、数字和符号的组合。', invalid_passcode: '无效的验证码', invalid_connector_auth: '登录失败', invalid_connector_request: '无效的登录请求', @@ -114,7 +114,7 @@ const translation = { invalid_session: '未找到会话,请返回并重新登录。', }, demo_app: { - notification: 'Tip: Create an account first to test the sign-in experience.', // UNTRANSLATED + notification: '提示:先注册一个账号,再测试登录体验。', }, }; From fc1a3bc0b3e6f31578d4cc8b3a2ae93389ef431b Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Fri, 10 Mar 2023 22:30:40 +0800 Subject: [PATCH 2/2] refactor(phrases): fix lint errors --- packages/phrases-ui/src/locales/pt-br.ts | 6 +++--- packages/phrases-ui/src/locales/pt-pt.ts | 13 +++++++------ packages/phrases-ui/src/locales/ru.ts | 16 +++++++++------- packages/phrases-ui/src/locales/tr-tr.ts | 8 ++++---- packages/phrases-ui/src/locales/zh-cn.ts | 12 ++++-------- 5 files changed, 27 insertions(+), 28 deletions(-) diff --git a/packages/phrases-ui/src/locales/pt-br.ts b/packages/phrases-ui/src/locales/pt-br.ts index 7e63af1a9..fee3ecbd8 100644 --- a/packages/phrases-ui/src/locales/pt-br.ts +++ b/packages/phrases-ui/src/locales/pt-br.ts @@ -58,12 +58,12 @@ const translation = { resend_after_seconds: 'Reenviar depois {{seconds}} segundos', resend_passcode: 'Reenviar código de verificação', create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de entrar?', - link_account_id_exists: - 'A conta com {{type}} {{value}} já existe, gostaria de vincular?', + link_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de vincular?', sign_in_id_does_not_exist: 'A conta com {{type}} {{value}} não existe, gostaria de criar uma nova conta?', sign_in_id_does_not_exist_alert: 'A conta com {{type}} {{value}} não existe.', - create_account_id_exists_alert: 'A conta com {{type}} {{value}} está vinculada a outra conta. Por favor, tente outro {{type}}.', + create_account_id_exists_alert: + 'A conta com {{type}} {{value}} está vinculada a outra conta. Por favor, tente outro {{type}}.', social_identity_exist: 'O {{type}} {{value}} está vinculado a outra conta. Por favor, tente outro {{type}}.', bind_account_title: 'Vincular ou criar conta', diff --git a/packages/phrases-ui/src/locales/pt-pt.ts b/packages/phrases-ui/src/locales/pt-pt.ts index b40cf09fb..72e895278 100644 --- a/packages/phrases-ui/src/locales/pt-pt.ts +++ b/packages/phrases-ui/src/locales/pt-pt.ts @@ -3,7 +3,7 @@ import type { LocalePhrase } from '../types.js'; const translation = { input: { username: 'Utilizador', - password: 'Palavra-passe', + password: 'Palavra-passe', email: 'Email', phone_number: 'Telefone', confirm_password: 'Confirmar palavra-passe', @@ -57,9 +57,8 @@ const translation = { passcode_sent: 'O código de verificação foi reenviado', resend_after_seconds: 'Reenviar após {{seconds}} segundos', resend_passcode: 'Reenviar código de verificação', - create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de fazer login?', - link_account_id_exists: - 'A conta com {{type}} {{value}} já existe, gostaria de vinculá-la?', + create_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de fazer login?', + link_account_id_exists: 'A conta com {{type}} {{value}} já existe, gostaria de vinculá-la?', sign_in_id_does_not_exist: 'A conta com {{type}} {{value}} não existe, gostaria de criar uma?', sign_in_id_does_not_exist_alert: 'A conta com {{type}} {{value}} não existe.', create_account_id_exists_alert: @@ -71,7 +70,8 @@ const translation = { social_link_email: 'Pode vincular outro email', social_link_phone: 'Pode vincular outro telefone', social_link_email_or_phone: 'Pode vincular outro email ou telefone', - social_bind_with_existing: 'Encontramos uma conta relacionada registrada e você pode vinculá-la diretamente.', + social_bind_with_existing: + 'Encontramos uma conta relacionada registrada e você pode vinculá-la diretamente.', reset_password: 'Esqueceu a senha', reset_password_description: 'Insira os {{types, list(type: disjunction;)}} associados à sua conta e enviaremos o código de verificação para redefinir sua senha.', @@ -92,7 +92,8 @@ const translation = { link_phone_description: 'Para maior segurança, vincule o seu telefone à conta.', link_email_or_phone_description: 'Para maior segurança, vincule o seu email ou telefone à conta.', - continue_with_more_information: 'Para maior segurança, por favor complete os detalhes da conta abaixo.', + continue_with_more_information: + 'Para maior segurança, por favor complete os detalhes da conta abaixo.', create_your_account: 'Criar conta', welcome_to_sign_in: 'Bem-vindo(a) para iniciar sessão', }, diff --git a/packages/phrases-ui/src/locales/ru.ts b/packages/phrases-ui/src/locales/ru.ts index 4d653dc5a..22dc16c27 100644 --- a/packages/phrases-ui/src/locales/ru.ts +++ b/packages/phrases-ui/src/locales/ru.ts @@ -16,9 +16,9 @@ const translation = { sign_in: 'Войти', continue: 'Продолжить', create_account: 'Создать аккаунт', - create_account_without_linking: 'Создать аккаунт без связывания', + create_account_without_linking: 'Создать аккаунт без связывания', create: 'Создать', - enter_passcode: 'Введите код подтверждения', + enter_passcode: 'Введите код подтверждения', confirm: 'Подтвердить', cancel: 'Отменить', save_password: 'Сохраните пароль', @@ -62,16 +62,18 @@ const translation = { sign_in_id_does_not_exist: 'Учетная запись для {{value}} не существует, хотите зарегистрироваться?', sign_in_id_does_not_exist_alert: 'Учетная запись для {{value}} не существует.', - create_account_id_exists_alert: 'Аккаунт с {{type}} {{value}} связан с другим аккаунтом. Пожалуйста, попробуйте другой {{type}}.', + create_account_id_exists_alert: + 'Аккаунт с {{type}} {{value}} связан с другим аккаунтом. Пожалуйста, попробуйте другой {{type}}.', social_identity_exist: '{{type}} {{value}} связан с другим аккаунтом. Пожалуйста, попробуйте другой {{type}}.', bind_account_title: 'Привязать или создать аккаунт', - social_create_account: 'Вы можете создать новую учетную запись.', + social_create_account: 'Вы можете создать новую учетную запись.', social_link_email: 'Вы можете привязать другой адрес электронной почты', social_link_phone: 'Вы можете привязать другой номер телефона', social_link_email_or_phone: 'Вы можете привязать другой адрес электронной почты или телефон', - social_bind_with_existing: 'Мы находим зарегистрированную связанную учетную запись, и вы можете связать ее напрямую.', - reset_password: 'Забыли пароль', + social_bind_with_existing: + 'Мы находим зарегистрированную связанную учетную запись, и вы можете связать ее напрямую.', + reset_password: 'Забыли пароль', reset_password_description: 'Введите {{types, list(type: disjunction;)}} от вашей учетной записи, и мы вышлем вам код для восстановления пароля.', new_password: 'Новый пароль', @@ -81,7 +83,7 @@ const translation = { have_account: 'Уже есть аккаунт?', enter_password: 'Введите пароль', enter_password_for: 'Введите пароль для {{value}}', - enter_username: 'Установить имя пользователя', + enter_username: 'Установить имя пользователя', enter_username_description: 'Имя пользователя является альтернативой для входа в систему. Имя пользователя должно содержать только буквы, цифры и символы подчеркивания.', link_email: 'Привязать почту', diff --git a/packages/phrases-ui/src/locales/tr-tr.ts b/packages/phrases-ui/src/locales/tr-tr.ts index 4d16c9778..b478c5c18 100644 --- a/packages/phrases-ui/src/locales/tr-tr.ts +++ b/packages/phrases-ui/src/locales/tr-tr.ts @@ -46,7 +46,7 @@ const translation = { reminder: 'Hatırlatıcı', not_found: '404 Bulunamadı', agree_with_terms: 'Okudum ve anladım', - agree_with_terms_modal: 'Devam etmek için lütfen \'i kabul edin.', + agree_with_terms_modal: "Devam etmek için lütfen 'i kabul edin.", terms_of_use: 'Kullanım Koşulları', sign_in: 'Giriş Yap', privacy_policy: 'Gizlilik Politikası', @@ -58,8 +58,7 @@ const translation = { resend_after_seconds: '{{seconds}} saniye sonra tekrar gönder', resend_passcode: 'Doğrulama kodunu tekrar gönder', create_account_id_exists: '{{type}} {{value}} ile hesap mevcut, giriş yapmak ister misiniz?', - link_account_id_exists: - '{{type}} {{value}} olan hesap zaten var, bağlamak ister misiniz?', + link_account_id_exists: '{{type}} {{value}} olan hesap zaten var, bağlamak ister misiniz?', sign_in_id_does_not_exist: '{{type}} {{value}} ile hesap mevcut değil, yeni bir hesap oluşturmak ister misiniz?', sign_in_id_does_not_exist_alert: '{{type}} {{value}} olan hesap mevcut değil.', @@ -93,7 +92,8 @@ const translation = { link_phone_description: 'Daha fazla güvenlik için lütfen telefonunuzu hesaba bağlayın.', link_email_or_phone_description: 'Daha fazla güvenlik için lütfen e-postanızı veya telefonunuzu hesaba bağlayın.', - continue_with_more_information: 'Daha fazla güvenlik için lütfen aşağıdaki hesap ayrıntılarını tamamlayın.', + continue_with_more_information: + 'Daha fazla güvenlik için lütfen aşağıdaki hesap ayrıntılarını tamamlayın.', create_your_account: 'hesabını oluştur', welcome_to_sign_in: 'oturum açmaya hoş geldiniz', }, diff --git a/packages/phrases-ui/src/locales/zh-cn.ts b/packages/phrases-ui/src/locales/zh-cn.ts index f120d1510..ec58e4dbb 100644 --- a/packages/phrases-ui/src/locales/zh-cn.ts +++ b/packages/phrases-ui/src/locales/zh-cn.ts @@ -58,14 +58,11 @@ const translation = { resend_after_seconds: '在 {{ seconds }} 秒后重发', resend_passcode: '重发验证码', create_account_id_exists: '{{type}}为 {{value}} 的帐号已存在,你要登录吗?', - link_account_id_exists: - ' {{type}}为 {{value}} 的账号已注册,你要绑定至这个账号吗?', + link_account_id_exists: ' {{type}}为 {{value}} 的账号已注册,你要绑定至这个账号吗?', sign_in_id_does_not_exist: '{{type}}为 {{value}} 的帐号不存在,你要创建一个新帐号吗?', sign_in_id_does_not_exist_alert: '{{type}}为 {{value}} 的帐号不存在。', - create_account_id_exists_alert: - '{{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}。', - social_identity_exist: - ' {{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}', + create_account_id_exists_alert: '{{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}。', + social_identity_exist: ' {{type}} {{value}} 已绑定其他账号。请尝试其他{{type}}', bind_account_title: '绑定或注册帐号', social_create_account: '你可以注册一个新的账号。', social_link_email: '你可以绑定其他邮箱', @@ -105,8 +102,7 @@ const translation = { invalid_phone: '无效的手机号', password_min_length: '密码最少需要 {{min}} 个字符', passwords_do_not_match: '两次输入的密码不一致,请重试。', - invalid_password: - '密码至少需要 {{min}} 个字符,并包含字母、数字和符号的组合。', + invalid_password: '密码至少需要 {{min}} 个字符,并包含字母、数字和符号的组合。', invalid_passcode: '无效的验证码', invalid_connector_auth: '登录失败', invalid_connector_request: '无效的登录请求',