From a907ab45fcbcc6ff6af45725858269e5b66354df Mon Sep 17 00:00:00 2001 From: Guamian Li <fleuraly@gmail.com> Date: Mon, 27 Jun 2022 16:54:49 +0800 Subject: [PATCH] fix(console): update en phrases (#1254) --- packages/phrases/src/locales/en.ts | 153 ++++++++++++++--------------- 1 file changed, 76 insertions(+), 77 deletions(-) diff --git a/packages/phrases/src/locales/en.ts b/packages/phrases/src/locales/en.ts index 4f0cea9e2..20b1f4257 100644 --- a/packages/phrases/src/locales/en.ts +++ b/packages/phrases/src/locales/en.ts @@ -22,7 +22,7 @@ const translation = { }, admin_console: { title: 'Admin Console', - sign_out: 'Sign out', + sign_out: 'Sign Out', profile: 'Profile', admin_user: 'Admin', system_app: 'System', @@ -40,11 +40,11 @@ const translation = { deletion_confirmation: 'Are you sure you want to delete this {{title}}?', }, errors: { - something_went_wrong: 'Oops! Something went wrong', + something_went_wrong: 'Oops! Something went wrong.', page_not_found: 'Page not found', - unknown_server_error: 'Unknown server error occurred.', + unknown_server_error: 'Unknown server error occurred', empty: 'No data', - missing_total_number: 'Unable to find Total-Number in response headers.', + missing_total_number: 'Unable to find Total-Number in response headers', invalid_uri_format: 'Invalid URI format', invalid_origin_format: 'Invalid URI origin format', required_field_missing: 'Please enter {{field}}', @@ -52,7 +52,7 @@ const translation = { more_details: 'More details', username_pattern_error: 'Username should only contain letters, numbers, or underscore and should not start with a number.', - password_pattern_error: 'Password requires a minimum of 6 characters.', + password_pattern_error: 'Password requires a minimum of 6 characters', }, tab_sections: { overview: 'Overview', @@ -76,40 +76,41 @@ const translation = { applications: { title: 'Applications', subtitle: - 'Setup a mobile, single page or traditional application to use Logto for authentication.', + 'Setup a mobile, single page or traditional application to use Logto for authentication', create: 'Create Application', application_name: 'Application name', application_description: 'Application description', select_application_type: 'Select an application type', - no_application_type_selected: 'You haven’t selected any application type yet.', + no_application_type_selected: 'You haven’t selected any application type yet', application_created: 'The application {{name}} has been successfully created! \nNow finish your application settings.', app_id: 'App ID', type: { native: { title: 'Native App', - subtitle: 'Mobile, desktop, CLI and smart device apps running natively.', - description: 'E.g.: iOS, Electron, Apple TV apps', + subtitle: 'An app that runs in a native environment', + description: 'E.g., iOS app, Android app', }, spa: { title: 'Single Page App', - subtitle: 'A JavaScript front-end app that uses an API.', - description: 'E.g.: Angular, React, Vue', + subtitle: 'An app that runs in a web browser and dynamically updates data in place', + description: 'E.g., React DOM app, Vue app', }, traditional: { title: 'Traditional Web', - subtitle: 'Traditional web app using redirects.', - description: 'E.g.: Node.js, Express, ASP.NET, Java, PHP', + subtitle: 'An app that renders and updates pages by the web server alone', + description: 'E.g., JSP, PHP', }, }, guide: { - get_sample_file: 'Get a sample file', + get_sample_file: 'Get the sample project', header_description: 'Follow a step by step guide to integrate your application or get a sample configured with your account settings', title: 'Congratulations! The application has been created successfully.', subtitle: 'Now follow the steps below to finish your app settings. Please select the SDK type to continue.', - description_by_sdk: 'This quickstart demonstrates how to add Logto to {{sdk}} application.', + description_by_sdk: + 'This quick start guide demonstrates how to integrate Logto to {{sdk}} application', }, }, application_details: { @@ -120,14 +121,14 @@ const translation = { application_name: 'Application name', description: 'Description', authorization_endpoint: 'Authorization endpoint', - redirect_uri: 'Redirect URI', - post_sign_out_redirect_uri: 'Post Sign-out Redirect URI', + redirect_uri: 'Redirect URIs', + post_sign_out_redirect_uri: 'Post Sign-out Redirect URIs', cors_allowed_origins: 'CORS allowed origins', add_another: 'Add Another', - id_token_expiration: 'ID token expiration', - refresh_token_expiration: 'Refresh token expiration', + id_token_expiration: 'ID Token expiration', + refresh_token_expiration: 'Refresh Token expiration', token_endpoint: 'Token endpoint', - user_info_endpoint: 'User info endpoint', + user_info_endpoint: 'Userinfo endpoint', save_changes: 'Save Changes', more_options: 'MORE OPTIONS', options_delete: 'Delete', @@ -139,7 +140,7 @@ const translation = { delete: 'Delete', application_deleted: 'Application {{name}} has been successfully deleted.', save_success: 'Saved!', - redirect_uri_required: 'You must enter at least one redirect URI.', + redirect_uri_required: 'You must enter at least one redirect URI', }, api_resources: { title: 'API Resources', @@ -162,12 +163,12 @@ const translation = { enter_your_api_resource_name: 'Enter your API resource name', cancel: 'Cancel', delete: 'Delete', - api_resource_deleted: 'The API Resource {{name}} has been successfully deleted.', + api_resource_deleted: 'The API Resource {{name}} has been successfully deleted', save_success: 'Saved!', }, connectors: { title: 'Connectors', - subtitle: 'Setup connectors to enable passwordless and social sign in experience.', + subtitle: 'Setup connectors to enable passwordless and social sign in experience', create: 'Add Social Connector', added: 'Added', set_up: 'Set Up', @@ -178,22 +179,21 @@ const translation = { connector_status: 'Sign in Experience', connector_status_in_use: 'In use', connector_status_not_in_use: 'Not in use', - social_connector_eg: 'e.g.: Google, Facebook, Twitter', + social_connector_eg: 'E.g., Google, Facebook, Github', next: 'Next', - save_and_done: 'Save and done', + save_and_done: 'Save and Done', type: { - email: 'Email sender', - sms: 'SMS sender', - social: 'Social', + email: 'Email connector', + sms: 'SMS connector', + social: 'Social connector', }, setup_title: { - email: 'Setup Email sender', - sms: 'Setup SMS sender', + email: 'Set up email connector', + sms: 'Set up SMS connector', social: 'Add Social Connector', }, guide: { - subtitle: - 'A step by step guide to integrate your connector or get a sample configured with your account settings', + subtitle: 'A step by step guide to configure your connector', }, platform: { universal: 'Universal', @@ -209,17 +209,17 @@ const translation = { check_readme: 'Check README', tab_settings: 'Settings', save_changes: 'Save Changes', - save_error_empty_config: 'Please enter config.', - save_error_json_parse_error: 'Please enter valid JSON.', + save_error_empty_config: 'Please enter config', + save_error_json_parse_error: 'Please enter valid JSON', save_success: 'Saved!', send: 'Send', send_error_invalid_format: 'Invalid input', edit_config_label: 'Enter your json here', - test_email_sender: 'Test your email sender', - test_sms_sender: 'Test your SMS sender', + test_email_sender: 'Test your email connector', + test_sms_sender: 'Test your SMS connector', test_message_sent: 'Test message sent!', - test_sender_description: 'Test sender description', - options: 'Options', + test_sender_description: 'You will receive a message if your json is rightly configured', + options: 'MORE OPTIONS', options_delete: 'Delete', options_change_email: 'Change email connector', options_change_sms: 'Change SMS connector', @@ -234,30 +234,30 @@ const translation = { progress_dropdown_title: 'A few things you can do...', title: 'How do you want to get started with Logto?', subtitle_part1: 'A few things you can do to quickly get value of Logto', - subtitle_part2: 'I’m done with this set up. ', + subtitle_part2: 'I’m done with this set up', hide_this: 'Hide this', confirm: 'Reminder', confirm_message: 'Are you sure you want to hide this page? This action cannot be undone.', card1_title: 'Check out the demo', - card1_subtitle: 'Try Logto sign in experience now to see how it works.', + card1_subtitle: 'Try Logto sign-in experience now to see how it works', card2_title: 'Create and integrate the first application', card2_subtitle: - 'Setup a mobile, single page or traditional application to use Logto for authentication.', - card3_title: 'Enable SMS sign in and Email authentication', + 'Set up a mobile, single page or traditional application to use Logto for authentication', + card3_title: 'Enable phone number sign-in and email sign-in', card3_subtitle: - 'Try passwordless sign in and enable a secure and frictionless experience for your customer.', + 'Try passwordless sign in and enable a secure and frictionless experience for your customer', card4_title: 'Add a social connector', card4_subtitle: - 'Give your customers the ability to sign in to your app with the social identities in one click.', + 'Let your customer sign in to your app with the social identities in one click', card5_title: 'Customize sign-in experience', - card5_subtitle: 'Customize the sign in UI to match your brand and preview in real time.', + card5_subtitle: 'Customize the sign in UI to match your brand and view in real time', card6_title: 'Further readings', - card6_subtitle: 'Check out our step-by-step, scenario-based docs without tedious concepts.', + card6_subtitle: 'Check out our step-by-step, scenario-based docs without tedious concepts', }, users: { title: 'User Management', subtitle: - 'Manage user identities including editing user profile information, viewing user logs, password resets and deleting users.', + 'Manage user identities including creating users, editing user information, viewing user logs, password resets and deleting users', create: 'Add User', user_name: 'User', application_name: 'From application', @@ -270,7 +270,7 @@ const translation = { user_details: { back_to_users: 'Back to User Management', created_title: 'Congratulations! This user has been successfully created.', - created_guide: 'You can send the following log in information to the user.', + created_guide: 'You can send the following log in information to the user', created_username: 'Username:', created_password: 'Initial password:', created_button_close: 'Close', @@ -281,12 +281,12 @@ const translation = { delete_description: 'This action cannot be undone. It will permanently delete the user.', delete_cancel: 'Cancel', delete_confirm: 'Delete', - deleted: 'The user has been successfully deleted.', + deleted: 'The user has been successfully deleted', reset_password: { title: 'Reset password', label: 'New password:', reset_password: 'Reset password', - reset_password_success: 'Password has been successfully reset.', + reset_password_success: 'Password has been successfully reset', }, tab_settings: 'Settings', tab_logs: 'User logs', @@ -296,7 +296,7 @@ const translation = { field_name: 'Name', field_avatar: 'Avatar image URL', field_custom_data: 'Custom data', - field_connectors: 'Social connectors', + field_connectors: 'Social connections', custom_data_invalid: 'Custom data must be a valid JSON', save_changes: 'Save Changes', saved: 'Saved!', @@ -304,34 +304,34 @@ const translation = { connectors: 'Connectors', user_id: 'User ID', remove: 'Remove', - not_connected: 'The user is not connected to any social connector.', + not_connected: 'The user is not connected to any social connector', deletion_confirmation: - 'You are removing the existing <name/> identity. Are you want to do that?', + 'You are removing the existing <name/> identity. Are you sure you want to do that?', }, }, contact: { title: 'Contact Us', description: - 'Join in our community to provide feedback, ask for help and share your thoughts with other developers.', + 'Join in our community to provide feedback, ask for help and share your thoughts with other developers', discord: { - title: 'Discord Channel', - description: 'Join our public channel to chat with developers.', + title: 'Discord channel', + description: 'Join our public channel to chat with other developers', button: 'Join', }, github: { title: 'GitHub', - description: 'Create an issue.', + description: 'Create an issue and submit at GitHub', button: 'Contact', }, email: { - title: 'Send us an email', - description: 'If you have any question.', + title: 'Send email', + description: 'Send us an email for further information and help', button: 'Send', }, }, sign_in_exp: { title: 'Sign-in Experience', - description: 'Customize the sign in UI to match your brand and preview in real time.', + description: 'Customize the sign in UI to match your brand and view in real time', tabs: { branding: 'Branding', methods: 'Sign in methods', @@ -340,10 +340,10 @@ const translation = { welcome: { title: 'This is the first time you define sign-in experience. This guide will help you go through all necessary settings and quicly get started.', - get_started: 'Get started', + get_started: 'Get Started', apply_remind: 'Please note that sign-in experience will apply to all applications under this account.', - got_it: 'Got it', + got_it: 'Got It', }, color: { title: 'COLOR', @@ -358,7 +358,7 @@ const translation = { ui_style: 'Style', styles: { logo_slogan: 'App logo with slogan', - logo: 'App logo', + logo: 'App logo only', }, logo_image_url: 'App logo image URL', dark_logo_image_url: 'App logo image URL (Dark)', @@ -368,11 +368,10 @@ const translation = { terms_of_use: { title: 'TERMS OF USE', enable: 'Enable terms of use', - description: - 'Add the legal agreements for the use of your product. They serve as a contract between the product and user. ', + description: 'Add the legal agreements for the use of your product', terms_of_use: 'Terms of use', - terms_of_use_placeholder: 'Terms of use url', - terms_of_use_tip: 'Terms of use url', + terms_of_use_placeholder: 'Terms of use URL', + terms_of_use_tip: 'Terms of use URL', }, sign_in_methods: { title: 'SIGN IN METHODS', @@ -381,12 +380,12 @@ const translation = { enable_secondary_description: "Once it's turned on, you app will support more sign in method(s) besides the primary one. ", methods: 'Sign in method', - methods_sms: 'Phone number sign in', - methods_email: 'Email sign in', - methods_social: 'Social sign in', + methods_sms: 'Phone number sign-in', + methods_email: 'Email sign-in', + methods_social: 'Social sign-in', methods_username: 'Username-with-password sign in', methods_primary_tag: '(Primary)', - define_social_methods: 'Define social sign in methods', + define_social_methods: 'Define social sign-in methods', transfer: { title: 'Social connectors', footer: { @@ -411,7 +410,7 @@ const translation = { }, }, setup_warning: { - setup: 'Set up', + setup: 'Set Up', no_connector: '', no_connector_sms: 'You haven’t set up a SMS connector yet. Your sign in experience won’t go live until you finish the settings first. ', @@ -476,7 +475,7 @@ const translation = { }, logs: { title: 'Audit Logs', - subtitle: 'View log data of authentication events made by your admin and users.', + subtitle: 'View log data of authentication events made by your admin and users', event: 'Event', user: 'User', application: 'Application', @@ -488,13 +487,13 @@ const translation = { back_to_user: 'Back to {{name}}', success: 'Success', failed: 'Failed', - event_type: 'Event Type', + event_type: 'Event type', application: 'Application', - ip_address: 'IP Address', + ip_address: 'IP address', user: 'User', log_id: 'Log ID', time: 'Time', - user_agent: 'User Agent', + user_agent: 'User agent', tab_details: 'Details', raw_data: 'Raw data', }, @@ -505,7 +504,7 @@ const translation = { button: 'Sign in again', }, welcome: { - title: 'Welcome to Admin Console', + title: 'Welcome to Logto Admin Console', description: 'Admin console is a web app to manage Logto without coding requirements. Let’s first create an admin account. With this account, you can manage Logto by yourself or on behalf of your company.', create_account: 'Create Account',