Skip to content

Commit

Permalink
feat: add S3 storage module
Browse files Browse the repository at this point in the history
  • Loading branch information
sherry committed Sep 14, 2023
1 parent cbf7f74 commit 113f2f0
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 62 deletions.
24 changes: 12 additions & 12 deletions src/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,20 +285,20 @@ const en_US = {
'online_proof_table_detail_bttc_address': 'BTTC Address',
'online_proof_table_detail_signed_time': 'Signed Time',

'native_api': 'Native API',
'native_api': 'BTFS Native API',
'file_breadcrumb': 'File',

// S3 api
's3_api': 'S3 API',
's3_api_des_1': 'you can use',
's3_api_des_1': 'You can use',
's3_api_des_2': 'AWS CLI',
's3_api_des_3': `to interact with BTFS's S3-compatible API`,
's3_api_config': 'S3 API配置',
's3_api_config_tips': 'S3 API配置',
's3_api_config': 'S3 API Config',
's3_api_config_tips': 'S3 API Config',
's3_api_end_point': 'API End Point',
's3_access_keys': 'S3 Access Keys',
's3_access_key': 'Access Key',
's3_access_keys_manager': 'Access Keys management',
's3_access_keys_manager': 'Access Keys Management',
's3_new_bucket': 'New Bucket',
's3_bucket_name': 'Bucket Name',
's3_acl': 'ACL',
Expand All @@ -309,12 +309,12 @@ const en_US = {
's3_bucket_name_rule_1': 'Bucket names can consist only of lowercase letters, numbers, and hyphens (-).',
's3_bucket_name_rule_2': 'Bucket names must be between 3 and 48 characters long.',
's3_bucket_name_rule_3': 'Input more than 40 chars',
's3_delete_bucket_des': '确定要删除该Bucket吗 该操作不可逆',
's3_delete_bucket_des': 'Are you sure you want to delete the bucket? This operation is not reversible.',
's3_reset_access_key': 'Reset Access Key',
's3_reset_access_key_des': '确定要重设该Access Key的secret吗',
's3_reset_access_key_des': 'Are you sure you want to reset the secret of this Access Key?',
's3_name': ' Name',
's3_cid': 'CID',
's3_gateway_url': 'GatewayURL',
's3_gateway_url': 'BTFS Gateway URL',
's3_new_folder': 'New folder',
's3_upload': 'Upload',
's3_add_folder': 'Add New Folder',
Expand All @@ -323,15 +323,15 @@ const en_US = {
's3_add_folder_rule_2': 'Input more than 60 chars',
's3_rename_file': 'Rename File',
's3_rename': 'Rename',
's3_manager': '管理',
's3_manager': 'Management',
's3_new_key': 'New key',
's3_new_key_title': 'Generate New Access Key',
's3_new_key_des': 'Generate a new BTFS S3 API keys',
's3_key': 'Key',
's3_secret': 'Secret',
's3_created_at': 'Created at',
's3_enable': 'Enable',
's3_btn_add': '添加',
's3_btn_add': 'Add',
's3_access_key_enable_success': 'access key enable success',
's3_access_key_disable_success': 'access key disable success',
's3_access_key_reset_success': 'access key reset success',
Expand All @@ -341,12 +341,12 @@ const en_US = {
's3_rename_fail': 'rename fail',
's3_btn_reset': 'reset',
's3_btn_delete': 'delete',
's3_new_folder_error_tips': `文件夹名称不符合命名规则`,
's3_new_folder_error_tips': 'Folder name does not conform to naming convention',
's3_bucket_delete_success': 'delete success',
's3_bucket_delete_fail': 'delete fail',
's3_new_bucket_error': 'bucket name error',
's3_new_bucket_success': 'create bucket name success',
's3_new_bucket_error_tips': `bucket 命名不符合命名规则`,
's3_new_bucket_error_tips': `The bucket name does not conform to the naming convention`,



Expand Down
100 changes: 50 additions & 50 deletions src/locale/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,68 +287,68 @@ const zh_CN = {
'online_proof_table_detail_bttc_address': 'BTTC 地址',
'online_proof_table_detail_signed_time': '签名时间',

'native_api': 'Native API',
'file_breadcrumb': 'File',
'native_api': 'BTFS原生 API',
'file_breadcrumb': '文件',

// S3 api
's3_api': 'S3 API',
's3_api_des_1': 'you can use',
's3_api_des_1': '你可以使用',
's3_api_des_2': 'AWS CLI',
's3_api_des_3': `to interact with BTFS's S3-compatible API`,
's3_api_des_3': '与 BTFS 的 S3 兼容 API 进行交互',
's3_api_config': 'S3 API配置',
's3_api_config_tips': 'S3 API配置',
's3_api_end_point': 'API End Point',
's3_access_keys': 'S3 Access Keys',
's3_access_key': 'Access Key',
's3_access_keys_manager': 'Access Keys management',
's3_new_bucket': 'New Bucket',
's3_bucket_name': 'Bucket Name',
's3_api_end_point': 'API 端口',
's3_access_keys': 'S3 访问Key',
's3_access_key': '访问Key',
's3_access_keys_manager': '访问Key管理',
's3_new_bucket': '创建存储桶',
's3_bucket_name': '桶名称',
's3_acl': 'ACL',
's3_size': 'Size',
's3_modified': 'Modified',
's3_created': 'Created',
's3_delete_bucket': 'Delete Bucket',
's3_bucket_name_rule_1': 'Bucket names can consist only of lowercase letters, numbers, and hyphens (-).',
's3_bucket_name_rule_2': 'Bucket names must be between 3 and 48 characters long.',
's3_bucket_name_rule_3': 'Input more than 40 chars',
's3_delete_bucket_des': '确定要删除该Bucket吗 该操作不可逆',
's3_reset_access_key': 'Reset Access Key',
's3_reset_access_key_des': '确定要重设该Access Key的secret吗',
's3_name': ' Name',
's3_size': '大小',
's3_modified': '修改时间',
's3_created': '创建时间',
's3_delete_bucket': '删除存储桶',
's3_bucket_name_rule_1': '桶名只能由小写字母、数字和连字符(-)组成',
's3_bucket_name_rule_2': '存储桶名称长度必须在 3 到 48 个字符之间',
's3_bucket_name_rule_3': '输入超过 40 个字符',
's3_delete_bucket_des': '确定要删除该存储桶吗?该操作不可逆',
's3_reset_access_key': '重设访问Key',
's3_reset_access_key_des': '确定要重设该访问Key的私钥吗',
's3_name': ' 名称',
's3_cid': 'CID',
's3_gateway_url': 'GatewayURL',
's3_new_folder': 'New folder',
's3_upload': 'Upload',
's3_add_folder': 'Add New Folder',
's3_folder_name': 'Folder Name',
's3_add_folder_rule_1': 'Folder names can consist only of lowercase letters, numbers, underscode (_), and hyphens (-).',
's3_add_folder_rule_2': 'Input more than 60 chars',
's3_rename_file': 'Rename File',
's3_rename': 'Rename',
's3_gateway_url': 'BTFS Gateway URL',
's3_new_folder': '新文件夹',
's3_upload': '上传',
's3_add_folder': '创建新文件夹',
's3_folder_name': '文件夹名称',
's3_add_folder_rule_1': '文件夹名称只能由小写字母、数字、下划线(_)和连字符(-)组成',
's3_add_folder_rule_2': '入超过 60 个字符',
's3_rename_file': '重命名文件',
's3_rename': '重命名',
's3_manager': '管理',
's3_new_key': 'New key',
's3_new_key_title': 'Generate New Access Key',
's3_new_key_des': 'Generate a new BTFS S3 API keys',
's3_new_key': '创建新key',
's3_new_key_title': '创建新的访问Key',
's3_new_key_des': '生成新的 BTFS S3 API 访问Key',
's3_key': 'Key',
's3_secret': 'Secret',
's3_created_at': 'Created at',
's3_enable': 'Enable',
's3_secret': '私钥',
's3_created_at': '创建于',
's3_enable': '启用',
's3_btn_add': '添加',
's3_access_key_enable_success': 'access key enable success',
's3_access_key_disable_success': 'access key disable success',
's3_access_key_reset_success': 'access key reset success',
's3_access_key_delete_success': 'access key delete success',
's3_new_access_key_success': 'new access key success',
's3_rename_success': 'rename success',
's3_rename_fail': 'rename fail',
's3_btn_reset': 'reset',
's3_btn_delete': 'delete',
's3_access_key_enable_success': '访问Key已启用',
's3_access_key_disable_success': '访问Key已禁用',
's3_access_key_reset_success': '访问Key重设成功',
's3_access_key_delete_success': '访问Key删除成功',
's3_new_access_key_success': '新访问Key创建成功',
's3_rename_success': '重命名成功',
's3_rename_fail': '重命名失败',
's3_btn_reset': '重设',
's3_btn_delete': '删除',
's3_new_folder_error_tips': `文件夹名称不符合命名规则`,
's3_bucket_delete_success': 'delete success',
's3_bucket_delete_fail': 'delete fail',
's3_new_bucket_error': 'bucket name error',
's3_new_bucket_success': 'create bucket name success',
's3_new_bucket_error_tips': `bucket 命名不符合命名规则`,
's3_bucket_delete_success': '删除成功',
's3_bucket_delete_fail': '删除失败',
's3_new_bucket_error': '存储桶命名错误',
's3_new_bucket_success': '新存储桶创建成功',
's3_new_bucket_error_tips': `存储桶名称不符合命名规则`,

};

Expand Down

0 comments on commit 113f2f0

Please sign in to comment.