mirror of
https://github.com/logto-io/logto.git
synced 2025-04-07 23:01:25 -05:00
refactor(console): add translations for the manage language feature (#2125)
This commit is contained in:
parent
708e099c9e
commit
27d3c2c00f
13 changed files with 54 additions and 61 deletions
|
@ -105,13 +105,12 @@ const errors = {
|
|||
enabled_connector_not_found: 'Enabled {{type}} connector not found.',
|
||||
not_one_and_only_one_primary_sign_in_method:
|
||||
'There must be one and only one primary sign-in method. Please check your input.',
|
||||
unsupported_default_language: 'Default language {{language}} is unsupported.', // UNTRANSLATED
|
||||
unsupported_default_language: 'This language - {{language}} is not supported at the moment.',
|
||||
},
|
||||
localization: {
|
||||
cannot_delete_default_language:
|
||||
'You cannot delete {{languageTag}} language since it is used as default language in sign-in experience.', // UNTRANSLATED
|
||||
invalid_translation_structure:
|
||||
'Invalid translation structure. Please check the input translation.', // UNTRANSLATED
|
||||
'{{languageTag}} is set as your default language and can’t be deleted.',
|
||||
invalid_translation_structure: 'Invalid data schemas. Please check your input and try again.',
|
||||
},
|
||||
swagger: {
|
||||
invalid_zod_type: 'Invalid Zod type. Please check route guard config.',
|
||||
|
|
|
@ -71,15 +71,15 @@ const sign_in_exp = {
|
|||
},
|
||||
languages: {
|
||||
title: 'LANGUAGES',
|
||||
enable_auto_detect: 'Enable auto detect',
|
||||
enable_auto_detect: 'Enable auto-detect',
|
||||
description:
|
||||
"Your software detects the user's location and switches to the local language. You can add new locales by translating UI from English to another language.",
|
||||
"Your software detects the user's locale setting and switches to the local language. You can add new languages by translating UI from English to another language.",
|
||||
manage_language: 'Manage language',
|
||||
default_language: 'Default language',
|
||||
default_language_description_auto:
|
||||
'The default language will be used when a text segment is missing translation.',
|
||||
default_language_description_fixed:
|
||||
'When auto detect is off, the default language is the only language your software will show. Turn on auto detect for language customization.',
|
||||
'When auto-detect is off, the default language is the only language your software will show. Turn on auto-detect for language extension.',
|
||||
},
|
||||
manage_language: {
|
||||
title: 'Manage language',
|
||||
|
|
|
@ -113,13 +113,12 @@ const errors = {
|
|||
enabled_connector_not_found: 'Le connecteur {{type}} activé est introuvable.',
|
||||
not_one_and_only_one_primary_sign_in_method:
|
||||
'Il doit y avoir une et une seule méthode de connexion primaire. Veuillez vérifier votre saisie.',
|
||||
unsupported_default_language: 'Default language {{language}} is unsupported.', // UNTRANSLATED
|
||||
unsupported_default_language: 'This language - {{language}} is not supported at the moment.', // UNTRANSLATED
|
||||
},
|
||||
localization: {
|
||||
cannot_delete_default_language:
|
||||
'You cannot delete {{languageTag}} language since it is used as default language in sign-in experience.', // UNTRANSLATED
|
||||
invalid_translation_structure:
|
||||
'Invalid translation structure. Please check the input translation.', // UNTRANSLATED
|
||||
'{{languageTag}} is set as your default language and can’t be deleted.', // UNTRANSLATED
|
||||
invalid_translation_structure: 'Invalid data schemas. Please check your input and try again.', // UNTRANSLATED
|
||||
},
|
||||
swagger: {
|
||||
invalid_zod_type: 'Type Zod non valide. Veuillez vérifier la configuration du garde-route.',
|
||||
|
|
|
@ -73,15 +73,15 @@ const sign_in_exp = {
|
|||
},
|
||||
languages: {
|
||||
title: 'LANGAGES',
|
||||
enable_auto_detect: 'Enable auto detect', // UNTRANSLATED
|
||||
enable_auto_detect: 'Enable auto-detect', // UNTRANSLATED
|
||||
description:
|
||||
"Your software detects the user's location and switches to the local language. You can add new locales by translating UI from English to another language.", // UNTRANSLATED
|
||||
"Your software detects the user's locale setting and switches to the local language. You can add new languages by translating UI from English to another language.", // UNTRANSLATED
|
||||
manage_language: 'Manage language', // UNTRANSLATED
|
||||
default_language: 'Default language', // UNTRANSLATED
|
||||
default_language_description_auto:
|
||||
'The default language will be used when a text segment is missing translation.', // UNTRANSLATED
|
||||
default_language_description_fixed:
|
||||
'When auto detect is off, the default language is the only language your software will show. Turn on auto detect for language customization.', // UNTRANSLATED
|
||||
'When auto-detect is off, the default language is the only language your software will show. Turn on auto-detect for language extension.', // UNTRANSLATED
|
||||
},
|
||||
manage_language: {
|
||||
title: 'Manage language', // UNTRANSLATED
|
||||
|
|
|
@ -102,13 +102,12 @@ const errors = {
|
|||
enabled_connector_not_found: '활성된 {{type}} 연동을 찾을 수 없어요.',
|
||||
not_one_and_only_one_primary_sign_in_method:
|
||||
'반드시 하나의 메인 로그인 방법이 설정되어야 해요. 입력된 값을 확인해주세요.',
|
||||
unsupported_default_language: 'Default language {{language}} is unsupported.', // UNTRANSLATED
|
||||
unsupported_default_language: 'This language - {{language}} is not supported at the moment.', // UNTRANSLATED
|
||||
},
|
||||
localization: {
|
||||
cannot_delete_default_language:
|
||||
'You cannot delete {{languageTag}} language since it is used as default language in sign-in experience.', // UNTRANSLATED
|
||||
invalid_translation_structure:
|
||||
'Invalid translation structure. Please check the input translation.', // UNTRANSLATED
|
||||
'{{languageTag}} is set as your default language and can’t be deleted.', // UNTRANSLATED
|
||||
invalid_translation_structure: 'Invalid data schemas. Please check your input and try again.', // UNTRANSLATED
|
||||
},
|
||||
swagger: {
|
||||
invalid_zod_type: '유요하지 않은 Zod 종류에요. Route Guard 설정을 확인해주세요.',
|
||||
|
|
|
@ -68,15 +68,15 @@ const sign_in_exp = {
|
|||
},
|
||||
languages: {
|
||||
title: '언어',
|
||||
enable_auto_detect: 'Enable auto detect', // UNTRANSLATED
|
||||
enable_auto_detect: 'Enable auto-detect', // UNTRANSLATED
|
||||
description:
|
||||
"Your software detects the user's location and switches to the local language. You can add new locales by translating UI from English to another language.", // UNTRANSLATED
|
||||
"Your software detects the user's locale setting and switches to the local language. You can add new languages by translating UI from English to another language.", // UNTRANSLATED
|
||||
manage_language: 'Manage language', // UNTRANSLATED
|
||||
default_language: 'Default language', // UNTRANSLATED
|
||||
default_language_description_auto:
|
||||
'The default language will be used when a text segment is missing translation.', // UNTRANSLATED
|
||||
default_language_description_fixed:
|
||||
'When auto detect is off, the default language is the only language your software will show. Turn on auto detect for language customization.', // UNTRANSLATED
|
||||
'When auto-detect is off, the default language is the only language your software will show. Turn on auto-detect for language extension.', // UNTRANSLATED
|
||||
},
|
||||
manage_language: {
|
||||
title: 'Manage language', // UNTRANSLATED
|
||||
|
|
|
@ -108,13 +108,12 @@ const errors = {
|
|||
enabled_connector_not_found: 'Conector {{type}} ativado não encontrado.',
|
||||
not_one_and_only_one_primary_sign_in_method:
|
||||
'Deve haver um e apenas um método de login principal. Por favor, verifique sua entrada.',
|
||||
unsupported_default_language: 'Default language {{language}} is unsupported.', // UNTRANSLATED
|
||||
unsupported_default_language: 'This language - {{language}} is not supported at the moment.', // UNTRANSLATED
|
||||
},
|
||||
localization: {
|
||||
cannot_delete_default_language:
|
||||
'You cannot delete {{languageTag}} language since it is used as default language in sign-in experience.', // UNTRANSLATED
|
||||
invalid_translation_structure:
|
||||
'Invalid translation structure. Please check the input translation.', // UNTRANSLATED
|
||||
'{{languageTag}} is set as your default language and can’t be deleted.', // UNTRANSLATED
|
||||
invalid_translation_structure: 'Invalid data schemas. Please check your input and try again.', // UNTRANSLATED
|
||||
},
|
||||
swagger: {
|
||||
invalid_zod_type: 'Tipo de Zod inválido. Verifique a configuração do protetor de rota.',
|
||||
|
|
|
@ -71,15 +71,15 @@ const sign_in_exp = {
|
|||
},
|
||||
languages: {
|
||||
title: 'LÍNGUAS',
|
||||
enable_auto_detect: 'Enable auto detect', // UNTRANSLATED
|
||||
enable_auto_detect: 'Enable auto-detect', // UNTRANSLATED
|
||||
description:
|
||||
"Your software detects the user's location and switches to the local language. You can add new locales by translating UI from English to another language.", // UNTRANSLATED
|
||||
"Your software detects the user's locale setting and switches to the local language. You can add new languages by translating UI from English to another language.", // UNTRANSLATED
|
||||
manage_language: 'Manage language', // UNTRANSLATED
|
||||
default_language: 'Default language', // UNTRANSLATED
|
||||
default_language_description_auto:
|
||||
'The default language will be used when a text segment is missing translation.', // UNTRANSLATED
|
||||
default_language_description_fixed:
|
||||
'When auto detect is off, the default language is the only language your software will show. Turn on auto detect for language customization.', // UNTRANSLATED
|
||||
'When auto-detect is off, the default language is the only language your software will show. Turn on auto-detect for language extension.', // UNTRANSLATED
|
||||
},
|
||||
manage_language: {
|
||||
title: 'Manage language', // UNTRANSLATED
|
||||
|
|
|
@ -106,13 +106,12 @@ const errors = {
|
|||
enabled_connector_not_found: 'Etkin {{type}} bağlayıcı bulunamadı.',
|
||||
not_one_and_only_one_primary_sign_in_method:
|
||||
'Yalnızca bir tane birincil oturum açma yöntemi olmalıdır. Lütfen inputu kontrol ediniz.',
|
||||
unsupported_default_language: 'Default language {{language}} is unsupported.', // UNTRANSLATED
|
||||
unsupported_default_language: 'This language - {{language}} is not supported at the moment.', // UNTRANSLATED
|
||||
},
|
||||
localization: {
|
||||
cannot_delete_default_language:
|
||||
'You cannot delete {{languageTag}} language since it is used as default language in sign-in experience.', // UNTRANSLATED
|
||||
invalid_translation_structure:
|
||||
'Invalid translation structure. Please check the input translation.', // UNTRANSLATED
|
||||
'{{languageTag}} is set as your default language and can’t be deleted.', // UNTRANSLATED
|
||||
invalid_translation_structure: 'Invalid data schemas. Please check your input and try again.', // UNTRANSLATED
|
||||
},
|
||||
swagger: {
|
||||
invalid_zod_type:
|
||||
|
|
|
@ -72,15 +72,15 @@ const sign_in_exp = {
|
|||
},
|
||||
languages: {
|
||||
title: 'DİLLER',
|
||||
enable_auto_detect: 'Enable auto detect', // UNTRANSLATED
|
||||
enable_auto_detect: 'Enable auto-detect', // UNTRANSLATED
|
||||
description:
|
||||
"Your software detects the user's location and switches to the local language. You can add new locales by translating UI from English to another language.", // UNTRANSLATED
|
||||
"Your software detects the user's locale setting and switches to the local language. You can add new languages by translating UI from English to another language.", // UNTRANSLATED
|
||||
manage_language: 'Manage language', // UNTRANSLATED
|
||||
default_language: 'Default language', // UNTRANSLATED
|
||||
default_language_description_auto:
|
||||
'The default language will be used when a text segment is missing translation.', // UNTRANSLATED
|
||||
default_language_description_fixed:
|
||||
'When auto detect is off, the default language is the only language your software will show. Turn on auto detect for language customization.', // UNTRANSLATED
|
||||
'When auto-detect is off, the default language is the only language your software will show. Turn on auto-detect for language extension.', // UNTRANSLATED
|
||||
},
|
||||
manage_language: {
|
||||
title: 'Manage language', // UNTRANSLATED
|
||||
|
|
|
@ -98,11 +98,11 @@ const errors = {
|
|||
empty_social_connectors: '你启用了社交登录的方式。请至少选择一个社交连接器。',
|
||||
enabled_connector_not_found: '未找到已启用的 {{type}} 连接器',
|
||||
not_one_and_only_one_primary_sign_in_method: '主要的登录方式必须有且仅有一个,请检查你的输入。',
|
||||
unsupported_default_language: '不支持默认语言 {{language}}。', // UNTRANSLATED
|
||||
unsupported_default_language: '{{language}}无法选择为默认语言。',
|
||||
},
|
||||
localization: {
|
||||
cannot_delete_default_language: '不能删除「登录体验」正在使用的默认语言 {{languageTag}}。', // UNTRANSLATED
|
||||
invalid_translation_structure: '无效的 translation 结构。请检查输入的 translation。', // UNTRANSLATED
|
||||
cannot_delete_default_language: '你已设置{{languageTag}}为你的默认语言,你无法删除默认语言。',
|
||||
invalid_translation_structure: '无效的数据格式,请检查你的输入并重试。',
|
||||
},
|
||||
swagger: {
|
||||
invalid_zod_type: '无效的 Zod 类型,请检查路由 guard 配置。',
|
||||
|
|
|
@ -35,7 +35,7 @@ const general = {
|
|||
unsaved_changes_warning: '还有未保存的变更, 确定要离开吗?',
|
||||
leave_page: '离开此页',
|
||||
stay_on_page: '留在此页',
|
||||
type_to_search: 'Type to search', // UNTRANSLATED
|
||||
type_to_search: '输入搜索',
|
||||
};
|
||||
|
||||
export default general;
|
||||
|
|
|
@ -68,34 +68,32 @@ const sign_in_exp = {
|
|||
},
|
||||
languages: {
|
||||
title: '语言',
|
||||
enable_auto_detect: 'Enable auto detect', // UNTRANSLATED
|
||||
enable_auto_detect: '开启语言自动适配',
|
||||
description:
|
||||
"Your software detects the user's location and switches to the local language. You can add new locales by translating UI from English to another language.", // UNTRANSLATED
|
||||
manage_language: 'Manage language', // UNTRANSLATED
|
||||
default_language: 'Default language', // UNTRANSLATED
|
||||
'基于用户自身的语言设定,产品将展示最符合用户使用习惯的语言。你可以为产品添加翻译内容、选择语言代码和设定自定义语言,来延展产品的本地化需求。',
|
||||
manage_language: '管理语言',
|
||||
default_language: '默认语言',
|
||||
default_language_description_auto:
|
||||
'The default language will be used when a text segment is missing translation.', // UNTRANSLATED
|
||||
'当语言代码对应的翻译文本缺失时,用户将看到已设定的产品默认语言内容。',
|
||||
default_language_description_fixed:
|
||||
'When auto detect is off, the default language is the only language your software will show. Turn on auto detect for language customization.', // UNTRANSLATED
|
||||
'语言自动适配已关闭,你的应用将只展示默认语言。开启自动适配即可定制语言。',
|
||||
},
|
||||
manage_language: {
|
||||
title: 'Manage language', // UNTRANSLATED
|
||||
subtitle:
|
||||
'Localize the product experience by adding languages and translations. Your contribution can be set as the default language.', // UNTRANSLATED
|
||||
add_language: 'Add Language', // UNTRANSLATED
|
||||
logto_provided: 'Logto provided', // UNTRANSLATED
|
||||
key: 'Key', // UNTRANSLATED
|
||||
logto_source_language: 'Logto source language', // UNTRANSLATED
|
||||
custom_values: 'Custom values', // UNTRANSLATED
|
||||
clear_all: 'Clear all', // UNTRANSLATED
|
||||
unsaved_description: 'Changes won’t be saved if you leave this page without saving.', // UNTRANSLATED
|
||||
deletion_title: 'Do you want to delete the added language?', // UNTRANSLATED
|
||||
deletion_description:
|
||||
'After deletion, your users won’t be able to browse in that language again.', // UNTRANSLATED
|
||||
default_language_deletion_title: 'Default language can’t be deleted.', // UNTRANSLATED
|
||||
title: '管理语言',
|
||||
subtitle: '你可以为产品添加翻译内容、选择语言代码和设定自定义语言,来延展产品的本地化需求。',
|
||||
add_language: '添加语言',
|
||||
logto_provided: 'Logto 提供',
|
||||
key: '键名',
|
||||
logto_source_language: 'Logto 源语言',
|
||||
custom_values: '翻译文本',
|
||||
clear_all: '一键清除',
|
||||
unsaved_description: '离开页面前,记得保存你本次做的内容修改。',
|
||||
deletion_title: '你确定你要删除新加的语言吗?',
|
||||
deletion_description: '删除后,你的用户将无法使用该语言查看内容。',
|
||||
default_language_deletion_title: '你无法删除默认语言',
|
||||
default_language_deletion_description:
|
||||
'{{language}} is set as your default language and can’t be deleted. ', // UNTRANSLATED
|
||||
got_it: 'Got It', // UNTRANSLATED
|
||||
'你已设置{{language}}为你的默认语言,你无法删除默认语言。',
|
||||
got_it: '知道了',
|
||||
},
|
||||
authentication: {
|
||||
title: '身份验证',
|
||||
|
|
Loading…
Add table
Reference in a new issue