| | |
| | | const chineseMessages = { |
| | | ra: { |
| | | action: { |
| | | add_filter: '过滤条件', |
| | | add: '添加', |
| | | back: '返回', |
| | | bulk_actions: '1 item selected |||| %{smart_count} items selected', |
| | | cancel: '取消', |
| | | clear_array_input: '情空列表', |
| | | clear_input_value: '清空', |
| | | clone: '克隆', |
| | | confirm: '确定', |
| | | create: '添加', |
| | | create_item: '添加 %{item}', |
| | | delete: '删除', |
| | | edit: '编辑', |
| | | export: '导出', |
| | | list: '列表', |
| | | refresh: '刷新', |
| | | remove_filter: 'Remove this filter', |
| | | remove_all_filters: '移除所有', |
| | | remove: '移除', |
| | | save: '保存', |
| | | search: '搜索', |
| | | select_all: '全部选中', |
| | | select_row: '选中一行', |
| | | show: '显示', |
| | | sort: '排序', |
| | | undo: '撤销', |
| | | unselect: '取消选择', |
| | | expand: '展开', |
| | | close: '关闭', |
| | | open_menu: 'Open menu', |
| | | close_menu: 'Close menu', |
| | | update: '修改', |
| | | move_up: 'Move up', |
| | | move_down: 'Move down', |
| | | open: 'Open', |
| | | toggle_theme: 'Toggle light/dark mode', |
| | | select_columns: '筛选列', |
| | | update_application: 'Reload Application', |
| | | }, |
| | | boolean: { |
| | | true: '是', |
| | | false: '否', |
| | | null: ' ', |
| | | }, |
| | | page: { |
| | | create: 'Create %{name}', |
| | | dashboard: 'Dashboard', |
| | | edit: '%{name} %{recordRepresentation}', |
| | | error: 'Something went wrong', |
| | | list: '%{name}', |
| | | loading: 'Loading', |
| | | not_found: 'Not Found', |
| | | show: '%{name} %{recordRepresentation}', |
| | | empty: 'No %{name} yet.', |
| | | invite: 'Do you want to add one?', |
| | | }, |
| | | input: { |
| | | file: { |
| | | upload_several: |
| | | '拖放一些要上传的文件,或单击以选择一个', |
| | | upload_single: '拖放要上传的文件,或单击以选择它', |
| | | }, |
| | | image: { |
| | | upload_several: |
| | | 'Drop some pictures to upload, or click to select one.', |
| | | upload_single: |
| | | 'Drop a picture to upload, or click to select it.', |
| | | }, |
| | | references: { |
| | | all_missing: 'Unable to find references data.', |
| | | many_missing: |
| | | 'At least one of the associated references no longer appears to be available.', |
| | | single_missing: |
| | | 'Associated reference no longer appears to be available.', |
| | | }, |
| | | password: { |
| | | toggle_visible: 'Hide password', |
| | | toggle_hidden: 'Show password', |
| | | }, |
| | | }, |
| | | message: { |
| | | about: 'About', |
| | | are_you_sure: 'Are you sure?', |
| | | auth_error: |
| | | 'An error occurred while validating the authentication token.', |
| | | bulk_delete_content: |
| | | 'Are you sure you want to delete this %{name}? |||| Are you sure you want to delete these %{smart_count} items?', |
| | | bulk_delete_title: |
| | | '删除 %{name} |||| 删除 %{smart_count} %{name}', |
| | | bulk_update_content: |
| | | 'Are you sure you want to update this %{name}? |||| Are you sure you want to update these %{smart_count} items?', |
| | | bulk_update_title: |
| | | '修改 %{name} |||| 修改 %{smart_count} %{name}', |
| | | clear_array_input: 'Are you sure you want to clear the whole list?', |
| | | delete_content: '您确实要删除此项吗?', |
| | | delete_title: '删除 %{name} #%{id}', |
| | | details: 'Details', |
| | | error: "A client error occurred and your request couldn't be completed.", |
| | | |
| | | invalid_form: '表单无效 请检查是否有错误!', |
| | | loading: 'Please wait', |
| | | no: 'No', |
| | | not_found: |
| | | 'Either you typed a wrong URL, or you followed a bad link.', |
| | | yes: 'Yes', |
| | | unsaved_changes: |
| | | "Some of your changes weren't saved. Are you sure you want to ignore them?", |
| | | }, |
| | | navigation: { |
| | | no_results: '没有找到数据', |
| | | no_more_results: |
| | | 'The page number %{page} is out of boundaries. Try the previous page.', |
| | | page_out_of_boundaries: 'Page number %{page} out of boundaries', |
| | | page_out_from_end: 'Cannot go after last page', |
| | | page_out_from_begin: 'Cannot go before page 1', |
| | | page_range_info: '%{offsetBegin}-%{offsetEnd} of %{total}', |
| | | partial_page_range_info: |
| | | '%{offsetBegin}-%{offsetEnd} of more than %{offsetEnd}', |
| | | current_page: 'Page %{page}', |
| | | page: 'Go to page %{page}', |
| | | first: 'Go to first page', |
| | | last: 'Go to last page', |
| | | next: 'Go to next page', |
| | | previous: 'Go to previous page', |
| | | page_rows_per_page: '每页数量:', |
| | | skip_nav: 'Skip to content', |
| | | }, |
| | | sort: { |
| | | sort_by: 'Sort by %{field} %{order}', |
| | | ASC: 'ascending', |
| | | DESC: 'descending', |
| | | }, |
| | | auth: { |
| | | auth_check_error: 'Please login to continue', |
| | | user_menu: 'Profile', |
| | | username: 'Username', |
| | | password: 'Password', |
| | | sign_in: 'Sign in', |
| | | sign_in_error: 'Authentication failed, please retry', |
| | | logout: 'Logout', |
| | | }, |
| | | notification: { |
| | | updated: '修改成功 |||| %{smart_count} 项 修改成功', |
| | | created: '添加成功', |
| | | deleted: '删除成功 |||| %{smart_count} 项 删除成功', |
| | | bad_item: 'Incorrect element', |
| | | item_doesnt_exist: 'Element does not exist', |
| | | http_error: 'Server communication error', |
| | | data_provider_error: |
| | | 'dataProvider error. Check the console for details.', |
| | | i18n_error: |
| | | 'Cannot load the translations for the specified language', |
| | | canceled: 'Action cancelled', |
| | | logged_out: 'Your session has ended, please reconnect.', |
| | | not_authorized: "You're not authorized to access this resource.", |
| | | application_update_available: 'A new version is available.', |
| | | }, |
| | | validation: { |
| | | required: '必填项', |
| | | minLength: 'Must be %{min} characters at least', |
| | | maxLength: 'Must be %{max} characters or less', |
| | | minValue: 'Must be at least %{min}', |
| | | maxValue: 'Must be %{max} or less', |
| | | number: 'Must be a number', |
| | | email: 'Must be a valid email', |
| | | oneOf: 'Must be one of: %{options}', |
| | | regex: 'Must match a specific format (regexp): %{pattern}', |
| | | unique: 'Must be unique', |
| | | }, |
| | | saved_queries: { |
| | | label: '保存过滤', |
| | | query_name: 'Query name', |
| | | new_label: '保存过滤条件...', |
| | | new_dialog_title: 'Save current query as', |
| | | remove_label: '移除过滤条件', |
| | | remove_label_with_name: 'Remove query "%{name}"', |
| | | remove_dialog_title: '移除过滤条件?', |
| | | remove_message: |
| | | '您确定要移除已保存过滤条件吗?', |
| | | help: 'Filter the list and save this query for later', |
| | | }, |
| | | configurable: { |
| | | customize: 'Customize', |
| | | configureMode: 'Configure this page', |
| | | inspector: { |
| | | title: 'Inspector', |
| | | content: 'Hover the application UI elements to configure them', |
| | | reset: 'Reset Settings', |
| | | hideAll: 'Hide All', |
| | | showAll: 'Show All', |
| | | }, |
| | | Datagrid: { |
| | | title: 'Datagrid', |
| | | unlabeled: 'Unlabeled column #%{column}', |
| | | }, |
| | | SimpleForm: { |
| | | title: 'Form', |
| | | unlabeled: 'Unlabeled input #%{input}', |
| | | }, |
| | | SimpleList: { |
| | | title: 'List', |
| | | primaryText: 'Primary text', |
| | | secondaryText: 'Secondary text', |
| | | tertiaryText: 'Tertiary text', |
| | | }, |
| | | }, |
| | | ra: { |
| | | action: { |
| | | add_filter: "过滤条件", |
| | | add: "添加", |
| | | back: "返回", |
| | | bulk_actions: "1 item selected |||| %{smart_count} items selected", |
| | | cancel: "取消", |
| | | clear_array_input: "情空列表", |
| | | clear_input_value: "清空", |
| | | clone: "克隆", |
| | | confirm: "确定", |
| | | create: "添加", |
| | | create_item: "添加 %{item}", |
| | | delete: "删除", |
| | | edit: "编辑", |
| | | export: "导出", |
| | | import: "导入", |
| | | list: "列表", |
| | | refresh: "刷新", |
| | | remove_filter: "Remove this filter", |
| | | remove_all_filters: "移除所有", |
| | | remove: "移除", |
| | | save: "保存", |
| | | search: "搜索", |
| | | select_all: "全部选中", |
| | | select_row: "选中一行", |
| | | show: "显示", |
| | | sort: "排序", |
| | | undo: "撤销", |
| | | unselect: "取消选择", |
| | | expand: "展开", |
| | | close: "关闭", |
| | | open_menu: "Open menu", |
| | | close_menu: "Close menu", |
| | | update: "修改", |
| | | move_up: "Move up", |
| | | move_down: "Move down", |
| | | open: "Open", |
| | | toggle_theme: "Toggle light/dark mode", |
| | | select_columns: "筛选列", |
| | | update_application: "Reload Application", |
| | | }, |
| | | } |
| | | boolean: { |
| | | true: "是", |
| | | false: "否", |
| | | null: " ", |
| | | }, |
| | | page: { |
| | | create: "Create %{name}", |
| | | dashboard: "Dashboard", |
| | | edit: "%{name} %{recordRepresentation}", |
| | | error: "Something went wrong", |
| | | list: "%{name}", |
| | | loading: "Loading", |
| | | not_found: "Not Found", |
| | | show: "%{name} %{recordRepresentation}", |
| | | empty: "No %{name} yet.", |
| | | invite: "Do you want to add one?", |
| | | }, |
| | | input: { |
| | | file: { |
| | | upload_several: "拖放一些要上传的文件,或单击以选择一个", |
| | | upload_single: "拖放要上传的文件,或单击以选择它", |
| | | }, |
| | | image: { |
| | | upload_several: "Drop some pictures to upload, or click to select one.", |
| | | upload_single: "Drop a picture to upload, or click to select it.", |
| | | }, |
| | | references: { |
| | | all_missing: "Unable to find references data.", |
| | | many_missing: |
| | | "At least one of the associated references no longer appears to be available.", |
| | | single_missing: |
| | | "Associated reference no longer appears to be available.", |
| | | }, |
| | | password: { |
| | | toggle_visible: "Hide password", |
| | | toggle_hidden: "Show password", |
| | | }, |
| | | }, |
| | | message: { |
| | | about: "About", |
| | | are_you_sure: "Are you sure?", |
| | | auth_error: |
| | | "An error occurred while validating the authentication token.", |
| | | bulk_delete_content: |
| | | "Are you sure you want to delete this %{name}? |||| Are you sure you want to delete these %{smart_count} items?", |
| | | bulk_delete_title: "删除 %{name} |||| 删除 %{smart_count} %{name}", |
| | | bulk_update_content: |
| | | "Are you sure you want to update this %{name}? |||| Are you sure you want to update these %{smart_count} items?", |
| | | bulk_update_title: "修改 %{name} |||| 修改 %{smart_count} %{name}", |
| | | clear_array_input: "Are you sure you want to clear the whole list?", |
| | | delete_content: "您确实要删除此项吗?", |
| | | delete_title: "删除 %{name} #%{id}", |
| | | details: "Details", |
| | | error: "A client error occurred and your request couldn't be completed.", |
| | | |
| | | export default chineseMessages; |
| | | invalid_form: "表单无效 请检查是否有错误!", |
| | | loading: "Please wait", |
| | | no: "No", |
| | | not_found: "Either you typed a wrong URL, or you followed a bad link.", |
| | | yes: "Yes", |
| | | unsaved_changes: |
| | | "Some of your changes weren't saved. Are you sure you want to ignore them?", |
| | | }, |
| | | navigation: { |
| | | no_results: "没有找到数据", |
| | | no_more_results: |
| | | "The page number %{page} is out of boundaries. Try the previous page.", |
| | | page_out_of_boundaries: "Page number %{page} out of boundaries", |
| | | page_out_from_end: "Cannot go after last page", |
| | | page_out_from_begin: "Cannot go before page 1", |
| | | page_range_info: "%{offsetBegin}-%{offsetEnd} of %{total}", |
| | | partial_page_range_info: |
| | | "%{offsetBegin}-%{offsetEnd} of more than %{offsetEnd}", |
| | | current_page: "Page %{page}", |
| | | page: "Go to page %{page}", |
| | | first: "Go to first page", |
| | | last: "Go to last page", |
| | | next: "Go to next page", |
| | | previous: "Go to previous page", |
| | | page_rows_per_page: "每页数量:", |
| | | skip_nav: "Skip to content", |
| | | }, |
| | | sort: { |
| | | sort_by: "Sort by %{field} %{order}", |
| | | ASC: "ascending", |
| | | DESC: "descending", |
| | | }, |
| | | auth: { |
| | | auth_check_error: "Please login to continue", |
| | | user_menu: "Profile", |
| | | username: "Username", |
| | | password: "Password", |
| | | sign_in: "Sign in", |
| | | sign_in_error: "Authentication failed, please retry", |
| | | logout: "Logout", |
| | | }, |
| | | notification: { |
| | | updated: "修改成功 |||| %{smart_count} 项 修改成功", |
| | | created: "添加成功", |
| | | deleted: "删除成功 |||| %{smart_count} 项 删除成功", |
| | | bad_item: "Incorrect element", |
| | | item_doesnt_exist: "Element does not exist", |
| | | http_error: "Server communication error", |
| | | data_provider_error: "dataProvider error. Check the console for details.", |
| | | i18n_error: "Cannot load the translations for the specified language", |
| | | canceled: "Action cancelled", |
| | | logged_out: "Your session has ended, please reconnect.", |
| | | not_authorized: "You're not authorized to access this resource.", |
| | | application_update_available: "A new version is available.", |
| | | }, |
| | | validation: { |
| | | required: "必填项", |
| | | minLength: "Must be %{min} characters at least", |
| | | maxLength: "Must be %{max} characters or less", |
| | | minValue: "Must be at least %{min}", |
| | | maxValue: "Must be %{max} or less", |
| | | number: "Must be a number", |
| | | email: "Must be a valid email", |
| | | oneOf: "Must be one of: %{options}", |
| | | regex: "Must match a specific format (regexp): %{pattern}", |
| | | unique: "Must be unique", |
| | | }, |
| | | saved_queries: { |
| | | label: "保存过滤", |
| | | query_name: "Query name", |
| | | new_label: "保存过滤条件...", |
| | | new_dialog_title: "Save current query as", |
| | | remove_label: "移除过滤条件", |
| | | remove_label_with_name: 'Remove query "%{name}"', |
| | | remove_dialog_title: "移除过滤条件?", |
| | | remove_message: "您确定要移除已保存过滤条件吗?", |
| | | help: "Filter the list and save this query for later", |
| | | }, |
| | | configurable: { |
| | | customize: "Customize", |
| | | configureMode: "Configure this page", |
| | | inspector: { |
| | | title: "Inspector", |
| | | content: "Hover the application UI elements to configure them", |
| | | reset: "Reset Settings", |
| | | hideAll: "Hide All", |
| | | showAll: "Show All", |
| | | }, |
| | | Datagrid: { |
| | | title: "Datagrid", |
| | | unlabeled: "Unlabeled column #%{column}", |
| | | }, |
| | | SimpleForm: { |
| | | title: "Form", |
| | | unlabeled: "Unlabeled input #%{input}", |
| | | }, |
| | | SimpleList: { |
| | | title: "List", |
| | | primaryText: "Primary text", |
| | | secondaryText: "Secondary text", |
| | | tertiaryText: "Tertiary text", |
| | | }, |
| | | }, |
| | | }, |
| | | }; |
| | | |
| | | export default chineseMessages; |