diff --git a/modules/backend/lang/zh-cn/lang.php b/modules/backend/lang/zh-cn/lang.php new file mode 100644 index 000000000..3e2aba9e8 --- /dev/null +++ b/modules/backend/lang/zh-cn/lang.php @@ -0,0 +1,304 @@ + [ + 'title' => '管理区域' + ], + 'field' => [ + 'invalid_type' => '不合法的字段类型 :type.', + 'options_method_not_exists' => "model class :model 必须定义方法 :method() 返回了':field' form 字段的options." + ], + 'widget' => [ + 'not_registered' => "widget class name ':name' 还没注册", + 'not_bound' => "widget class name ':name' 没绑到 controller" + ], + 'page' => [ + 'untitled' => 'Untitled', + 'access_denied' => [ + 'label' => '访问拒绝', + 'help' => "你没有访问这个页面需要的权限.", + 'cms_link' => '返回后台' + ] + ], + 'partial' => [ + 'not_found_name' => "partial ':name' 没找到." + ], + 'account' => [ + 'sign_out' => '登出', + 'login' => '登录', + 'reset' => '重置', + 'restore' => '还原', + 'login_placeholder' => '登录', + 'password_placeholder' => '密码', + 'forgot_password' => '忘记你的密码?', + 'enter_email' => '输入你的email', + 'enter_login' => '输入账号', + 'email_placeholder' => 'email', + 'enter_new_password' => '输入新密码', + 'password_reset' => '密码重置', + 'restore_success' => '密码重置的邮件已发往你的邮箱.', + 'restore_error' => "找不到用户 ':login'", + 'reset_success' => '你的密码已经重置成功. 你现在可以登录了.', + 'reset_error' => '密码重置失败. 请重试!', + 'reset_fail' => '不能重置你的密码!', + 'apply' => '应用', + 'cancel' => '取消', + 'delete' => '删除', + 'ok' => 'OK' + ], + 'dashboard' => [ + 'menu_label' => 'Dashboard', + 'widget_label' => 'Widget', + 'widget_width' => 'Width', + 'full_width' => '全部宽度', + 'add_widget' => '增加widget', + 'widget_inspector_title' => 'Widget配置', + 'widget_inspector_description' => '配置报表widget', + 'widget_columns_label' => 'Width :columns', + 'widget_columns_description' => 'widget宽度, 1 到 10.', + 'widget_columns_error' => '请输入 widget 宽度, 1 到 10.', + 'columns' => '{1} column|[2,Inf] columns', + 'widget_new_row_label' => '强制新列', + 'widget_new_row_description' => '把 widget 放到新列.', + 'widget_title_label' => 'Widget 标题', + 'widget_title_error' => '需要 Widget 标题.', + 'status' => [ + 'widget_title_default' => '系统状态', + 'online' => '在线', + 'maintenance' => '维护中', + 'update_available' => '{0} 更新可用!|{1} 更新可用!|[2,Inf] 更新可用!' + ] + ], + 'user' => [ + 'name' => '管理员', + 'menu_label' => '管理员', + 'menu_description' => '管理后台管理员用户, 组和权限.', + 'list_title' => '管理', + 'new' => '新管理员', + 'login' => '登录', + 'first_name' => '名', + 'last_name' => '姓', + 'full_name' => '全民', + 'email' => '邮件', + 'groups' => '团队', + 'groups_comment' => '指明这个人属于哪个组.', + 'avatar' => '头像', + 'password' => '密码', + 'password_confirmation' => '确认密码', + 'permissions' => '权限', + 'superuser' => '超级用户', + 'superuser_comment' => '选中并允许这个人访问全部区域.', + 'send_invite' => '发送邀请邮件', + 'send_invite_comment' => '使用 checkbox 给用户发送邀请邮件', + 'delete_confirm' => '你真的想要删除这个管理员?', + 'return' => '返回管理员列表', + 'allow' => '允许', + 'inherit' => '继承', + 'deny' => '拒绝', + 'group' => [ + 'name' => '组', + 'name_field' => '名字', + 'description_field' => '描述', + 'is_new_user_default_field' => '默认增加新管理员到这个组', + 'code_field' => '代码', + 'code_comment' => '如果你想访问 API, 请输入唯一码.', + 'menu_label' => '群组', + 'list_title' => '管理群组', + 'new' => '新管理组', + 'delete_confirm' => '你真的想要删除这个管理组?', + 'return' => '返回组列表', + ], + 'preferences' => [ + 'not_authenticated' => '没有认证用户加载或保存设置.' + ] + ], + 'list' => [ + 'default_title' => '列表', + 'search_prompt' => '搜索...', + 'no_records' => '当前视图中没有记录.', + 'missing_model' => ':class 中的列表没有定义好的model.', + 'missing_column' => '没有 :columns 的栏定义.', + 'missing_columns' => ':class 中使用的列表没有定义好的栏.', + 'missing_definition' => "列表不包含 ':field' 栏.", + 'behavior_not_ready' => '列表没有初始化, 确认你的controller中调用了makeLists().', + 'invalid_column_datetime' => "栏值 ':column' 不是 DateTime 对象, 缺少了 \$dates 在 Model 中的引用吗?", + 'pagination' => '显示记录: :from-:to :total', + 'prev_page' => '之前页', + 'next_page' => '下一页', + 'loading' => '加载中...', + 'setup_title' => '建立列表', + 'setup_help' => '使用 checkboxes 选择你想在列表中看到的栏. 你可以通过拖拽调整栏的位置.', + 'records_per_page' => '每页的记录', + 'records_per_page_help' => '选择每页想显示的记录数量. 请注意一页中太多记录可能会降低性能.', + 'delete_selected' => '删除选择的', + 'delete_selected_empty' => '没有需要删除的记录.', + 'delete_selected_confirm' => '删除选中的记录?', + 'delete_selected_success' => '成功删除选择的记录.', + ], + 'fileupload' => [ + 'attachment' => '附件', + 'help' => '给附件添加标题和描述.', + 'title_label' => '标题', + 'description_label' => '描述' + ], + 'form' => [ + 'create_title' => '新 :name', + 'update_title' => '编辑 :name', + 'preview_title' => '预览 :name', + 'create_success' => ':name 创建成功', + 'update_success' => ':name 更新成功', + 'delete_success' => ':name 删除成功', + 'missing_id' => '表单记录ID没有指定.', + 'missing_model' => ':class 中使用的表单没有定义的model.', + 'missing_definition' => "表单不包含字段 ':field'.", + 'not_found' => '表单 ID :id 找不到.', + 'action_confirm' => '你确定?', + 'create' => '创建', + 'create_and_close' => '创建和关闭', + 'creating' => '创建中...', + 'creating_name' => '创建 :name...', + 'save' => '保存', + 'save_and_close' => '保存和关闭', + 'saving' => '保存...', + 'saving_name' => '保存 :name...', + 'delete' => '删除', + 'deleting' => '删除中...', + 'deleting_name' => '删除 :name...', + 'reset_default' => '重置到默认', + 'resetting' => '重置', + 'resetting_name' => '重置 :name', + 'undefined_tab' => '杂项', + 'field_off' => '关', + 'field_on' => '开', + 'add' => '增加', + 'apply' => '应用', + 'cancel' => '取消', + 'close' => '关闭', + 'confirm' => '确认', + 'reload' => '重载', + 'ok' => 'OK', + 'or' => '或', + 'confirm_tab_close' => '你真的想要关闭这个标签吗? 未保存的改变会丢失.', + 'behavior_not_ready' => '表单还没初始化, 确保你调用了controller中的 initForm().', + 'preview_no_files_message' => '文件没有上传', + 'select' => '选择', + 'select_all' => 'all', + 'select_none' => 'none', + 'select_placeholder' => '请选择', + 'insert_row' => '插入行', + 'delete_row' => '删除行', + 'concurrency_file_changed_title' => '文件改动', + 'concurrency_file_changed_description' => "你正在编辑的文件正在被其他用户修改. 你可以重载或覆盖磁盘上的文件." + ], + 'relation' => [ + 'missing_config' => "关系没有':config'的配置文件.", + 'missing_definition' => "关系不包含 ':field' 的定义.", + 'missing_model' => "用于 :class 的关系没有定义好的model.", + 'invalid_action_single' => "这个操作不能在单一关系上执行.", + 'invalid_action_multi' => "这个操作不能在多重关系上执行.", + 'help' => "点击增加", + 'related_data' => "相关的 :name", + 'add' => "增加", + 'add_selected' => "增加选中的", + 'add_a_new' => "增加一个新的 :name", + 'link_selected' => "关联选中", + 'link_a_new' => "关联一个新的 :name", + 'cancel' => "取消", + 'close' => "关闭", + 'add_name' => "增加 :name", + 'create' => "创建", + 'create_name' => "创建 :name", + 'update' => "更新", + 'update_name' => "更新 :name", + 'preview' => "预览", + 'preview_name' => "预览 :name", + 'remove' => "移除", + 'remove_name' => "移除 :name", + 'delete' => "删除", + 'delete_name' => "删除 :name", + 'delete_confirm' => "你确定?", + 'link' => "关联", + 'link_name' => "关联 :name", + 'unlink' => "取消关联", + 'unlink_name' => "取消关联 :name", + 'unlink_confirm' => "你确定?", + ], + 'model' => [ + 'name' => 'Model', + 'not_found' => "Model ':class' ID :id 找不到", + 'missing_id' => '没有指定的ID查找model记录.', + 'missing_relation' => "Model ':class' 不包含 ':relation'.", + 'missing_method' => "Model ':class' 不包含 ':method'.", + 'invalid_class' => "Model :model 在 :class 中是不合法的, 必须继承 \Model class.", + 'mass_assignment_failed' => "针对Model属性':attribute'的大量赋值失败." + ], + 'warnings' => [ + 'tips' => '系统配置技巧', + 'tips_description' => '你需要注意那些issue, 以使系统配置正确.', + 'permissions' => '目录 :name 或子目录对PHP不可写. 请对这个目录上的webserver设置正确的权限.', + 'extension' => 'PHP扩展 :name 没安装. 请安装这个库并且激活扩展.' + ], + 'editor' => [ + 'menu_label' => '代码编辑器选项', + 'menu_description' => '自定义代码编辑器选项, 比如字体大小和颜色主题.', + 'font_size' => '字体大小', + 'tab_size' => '标签大小', + 'use_hard_tabs' => '使用tabs缩进', + 'code_folding' => '代码折叠', + 'word_wrap' => '自动换行', + 'highlight_active_line' => '高亮活动的行', + 'show_invisibles' => '显示隐藏字符', + 'show_gutter' => '显示gutter', + 'theme' => '色彩主题' + ], + 'tooltips' => [ + 'preview_website' => '预览网站' + ], + 'mysettings' => [ + 'menu_label' => '我的设置', + 'menu_description' => '设置涉及到你的管理帐号' + ], + 'myaccount' => [ + 'menu_label' => '我的账户', + 'menu_description' => '更新你的账户细节, 比如名字, 邮件地址和密码.', + 'menu_keywords' => '安全登录' + ], + 'branding' => [ + 'menu_label' => '自定义后台', + 'menu_description' => '自定义管理区域, 比如名字, 颜色和logo.', + 'brand' => '品牌', + 'logo' => 'Logo', + 'logo_description' => '上传自定义logo到后台.', + 'app_name' => 'App名字', + 'app_name_description' => '这个名字显示在后台的标题区域.', + 'app_tagline' => 'App 标语', + 'app_tagline_description' => '名字显示在后台的登录界面.', + 'colors' => '颜色', + 'primary_light' => '主要 (Light)', + 'primary_dark' => '主要 (Dark)', + 'secondary_light' => '次要 (Light)', + 'secondary_dark' => '次要 (Dark)', + 'styles' => '样式', + 'custom_stylesheet' => '自定义样式' + ], + 'backend_preferences' => [ + 'menu_label' => '后台设置', + 'menu_description' => '管理你的后台设置, 比如希望使用的语言.', + 'locale' => '语言', + 'locale_comment' => '选择你希望使用的本地语言.' + ], + 'access_log' => [ + 'hint' => '这个log显示了管理员成功登录的信息. 记录保持:days天.', + 'menu_label' => '访问日志', + 'menu_description' => '查看 successful back-end user sign ins.', + 'created_at' => '日期 & 时间', + 'login' => '登录', + 'ip_address' => 'IP地址', + 'first_name' => '名', + 'last_name' => '姓', + 'email' => 'Email' + ], + 'filter' => [ + 'all' => 'all' + ] +]; diff --git a/modules/cms/lang/zh-cn/lang.php b/modules/cms/lang/zh-cn/lang.php new file mode 100644 index 000000000..863901dd0 --- /dev/null +++ b/modules/cms/lang/zh-cn/lang.php @@ -0,0 +1,232 @@ + [ + 'invalid_file' => '不合法的文件名: :name. 文件名只能包括字母或数字, _, - 和 .. 一些正确的文件名: page.htm, page, subdirectory/page', + 'invalid_property' => "属性 ':name' 不能设置", + 'file_already_exists' => "文件 ':name' 已经存在.", + 'error_saving' => "保存文件 ':name' 错误. 请检查写权限.", + 'error_creating_directory' => '创建文件夹 :name 错误. 请检查写权限.', + 'invalid_file_extension'=>'不合法的文件扩展: :invalid. 允许的扩展: :allowed.', + 'error_deleting' => "删除模板文件 ':name' 错误. 请检查写权限.", + 'delete_success' => '模板成功删除: :count.', + 'file_name_required' => '需要文件名字段.' + ], + 'theme' => [ + 'not_found_name' => "主题 ':name' 没找到.", + 'active' => [ + 'not_set' => '活动主题没设置.', + 'not_found' => '活动主题找不到.' + ], + 'edit' => [ + 'not_set' => '编辑主题没设置.', + 'not_found' => '编辑主题没找到.', + 'not_match' => "你尝试访问的对象不属于正在编辑的主题. 请重载页面." + ], + 'settings_menu' => '前端主题', + 'settings_menu_description' => '预览安装的主题, 选择一个活动主题.', + 'name_label' => '名字', + 'name_create_placeholder' => '新主题名字', + 'author_label' => '作者', + 'author_placeholder' => '人或公司名', + 'description_label' => '描述', + 'description_placeholder' => '主题描述', + 'homepage_label' => '主页', + 'homepage_placeholder' => '网站地址', + 'code_label' => '代码', + 'code_placeholder' => '发行主题的唯一码', + 'dir_name_label' => '目录名', + 'dir_name_create_label' => '目标主题目录', + 'theme_label' => '主题', + 'activate_button' => '激活', + 'active_button' => '激活', + 'customize_button' => '自定义', + 'duplicate_button' => '重复', + 'duplicate_title' => '重复主题', + 'duplicate_theme_success' => '复制主题成功!', + 'manage_button' => '管理', + 'manage_title' => '管理主题', + 'edit_properties_title' => '主题', + 'edit_properties_button' => '编辑属性', + 'save_properties' => '保存属性', + 'import_button' => '导入', + 'import_title' => '导入主题', + 'import_theme_success' => '成功导入主题!', + 'import_uploaded_file' => '主题存档文件', + 'import_overwrite_label' => '覆盖已经存在的文件', + 'import_overwrite_comment' => '取消勾选, 只导入新文件', + 'import_folders_label' => '文件夹', + 'import_folders_comment' => '请选择你想要导入的主题文件夹', + 'export_button' => '导出', + 'export_title' => '导出主题', + 'export_folders_label' => '文件夹', + 'export_folders_comment' => '请选择你想要导入的主题文件夹', + 'delete_button' => '删除', + 'delete_confirm' => '你确定删除这个主题吗? 这个操作不能撤销!', + 'delete_active_theme_failed' => '不能删除活动主题, 请先尝试另外一个主题.', + 'delete_theme_success' => '删除主题成功!', + 'create_title' => '创建主题', + 'create_button' => '创建', + 'create_new_blank_theme' => '创建新的空白主题', + 'create_theme_success' => '创建主题成功!', + 'create_theme_required_name' => '请指点主题名.', + 'new_directory_name_label' => '主题目录', + 'new_directory_name_comment' => '提供重复主题的新闻目录名.', + 'dir_name_invalid' => '名称只能包含数字, 拉丁字母和以下字符: _-', + 'dir_name_taken' => '主题目录已存在.', + 'find_more_themes' => '在 OctoberCMS 主题商店中查找更多主题', + 'return' => '返回主题列表', + ], + 'maintenance' => [ + 'settings_menu' => '维护模式', + 'settings_menu_description' => '配置维护模式页面和开关设置.', + 'is_enabled' => '启用维护模式', + 'is_enabled_comment' => '当启用时, 网站访问者会看到下述页面.' + ], + 'page' => [ + 'not_found_name' => "页面 ':name' 找不到", + 'not_found' => [ + 'label' => '页面找不到', + 'help' => '请求的页面找不到.' + ], + 'custom_error' => [ + 'label' => '页面错误', + 'help' => "很抱歉, 有一些地方发生了错误导致页面不能显示." + ], + 'menu_label' => '页面', + 'unsaved_label' => '未保存页面', + 'no_list_records' => '找不到页面', + 'new' => '新页面', + 'invalid_url' => '不合法的URL格式. URL可以正斜杠开头, 包含数字, 拉丁字母和下面的字符: ._-[]:?|/+*^$', + 'delete_confirm_multiple' => '真的想要删除选择的页面吗?', + 'delete_confirm_single' => '真的想要删除这个页面吗?', + 'no_layout' => '-- 没有布局 --' + ], + 'layout' => [ + 'not_found_name' => "布局 ':name' 找不到", + 'menu_label' => '布局', + 'unsaved_label' => '未保存布局', + 'no_list_records' => '找不到布局', + 'new' => '新布局', + 'delete_confirm_multiple' => '你真的想要删除选中的布局?', + 'delete_confirm_single' => '你真的想要删除这个布局?' + ], + 'partial' => [ + 'not_found_name' => "partial ':name' 找不到.", + 'invalid_name' => '不合法的 partial 名: :name.', + 'menu_label' => 'Partials', + 'unsaved_label' => '未保存的 partial(s)', + 'no_list_records' => '找不到 partials', + 'delete_confirm_multiple' => '你真的想要删除选择的 partials?', + 'delete_confirm_single' => '你真的想要删除这个 partial?', + 'new' => '新 partial' + ], + 'content' => [ + 'not_found_name' => "内容文件 ':name' 找不到.", + 'menu_label' => '内容', + 'unsaved_label' => '未保存内容', + 'no_list_records' => '找不到内容文件', + 'delete_confirm_multiple' => '你真的想要删除选中的文件或目录吗?', + 'delete_confirm_single' => '你真的想要删除这个内容文件?', + 'new' => '新内容文件' + ], + 'ajax_handler' => [ + 'invalid_name' => '不合法的 AJAX 处理器: :name.', + 'not_found' => " AJAX 处理器 ':name' 找不到." + ], + 'cms' => [ + 'menu_label' => 'CMS' + ], + 'sidebar' => [ + 'add' => '增加', + 'search' => '搜索...' + ], + 'editor' => [ + 'settings' => '设置', + 'title' => '标题', + 'new_title' => '新文件标题', + 'url' => 'URL', + 'filename' => '文件名', + 'layout' => '布局', + 'description' => '描述', + 'preview' => '预览', + 'meta' => 'Meta', + 'meta_title' => 'Meta 标题', + 'meta_description' => 'Meta 描述', + 'markup' => 'Markup', + 'code' => '代码', + 'content' => '内容', + 'hidden' => '隐藏', + 'hidden_comment' => '隐藏页面只能被登录的后台用户访问.', + 'enter_fullscreen' => '进入全屏模式', + 'exit_fullscreen' => '退出全屏模式' + ], + 'asset' => [ + 'menu_label' => 'Assets', + 'unsaved_label' => '未保存的Assets', + 'drop_down_add_title' => '增加...', + 'drop_down_operation_title' => '动作...', + 'upload_files' => '上传文件', + 'create_file' => '新建文件', + 'create_directory' => '新建目录', + 'directory_popup_title' => '新目录', + 'directory_name' => '目录名', + 'rename' => '重命名', + 'delete' => '删除', + 'move' => '移动', + 'select' => '选择', + 'new' => '新文件', + 'rename_popup_title' => '重命名', + 'rename_new_name' => '新名称', + 'invalid_path' => '路径名称只能包含数字, 拉丁字母和以下字符: _-/', + 'error_deleting_file' => '删除文件 :name 错误.', + 'error_deleting_dir_not_empty' => '删除目录 :name 错误. 目录不为空.', + 'error_deleting_dir' => '删除文件 :name 错误.', + 'invalid_name' => '名称只能包含数字, 拉丁字母, 空格和以下字符: _-', + 'original_not_found' => '原始文件或目录找不到', + 'already_exists' => '文件或目录已存在', + 'error_renaming' => '重命名文件或目录错误', + 'name_cant_be_empty' => '名字不能为空', + 'too_large' => '上传的文件太大. 最大文件大小是 :max_size', + 'type_not_allowed' => '只有下面的文件类型是允许的: :allowed_types', + 'file_not_valid' => '文件不合法', + 'error_uploading_file' => "上传文件错误 ':name': :error", + 'move_please_select' => '请选择', + 'move_destination' => '目标目录', + 'move_popup_title' => '移动 assets', + 'move_button' => '移动', + 'selected_files_not_found' => '选择的文件找不到', + 'select_destination_dir' => '请选择目标目录', + 'destination_not_found' => '目标目录找不到', + 'error_moving_file' => '移动文件 :file 错误', + 'error_moving_directory' => '移动目录 :dir 错误', + 'error_deleting_directory' => '删除原始目录 :dir 错误', + 'path' => '路径' + ], + 'component' => [ + 'menu_label' => '组件', + 'unnamed' => '未命名的', + 'no_description' => '没有描述', + 'alias' => '别名', + 'alias_description' => '这个组件的唯一名称, 在页面或者布局代码中.', + 'validation_message' => '需要组件别名, 且只能包含拉丁字符, 数字和下划线. 别名必须以拉丁字符开头.', + 'invalid_request' => '模板不能保存, 因为非法组件数据.', + 'no_records' => '找不到组件', + 'not_found' => "组件 ':name' 找不到.", + 'method_not_found' => "组件 ':name' 不包含方法 ':method'." + ], + 'template' => [ + 'invalid_type' => '未知模板类型.', + 'not_found' => '请求模板找不到.', + 'saved'=> '模板保存成功.' + ], + 'permissions' => [ + 'name' => 'Cms', + 'manage_content' => '管理内容', + 'manage_assets' => '管理assets', + 'manage_pages' => '管理页面', + 'manage_layouts' => '管理布局', + 'manage_partials' => '管理partials', + 'manage_themes' => '管理主题' + ] +]; diff --git a/modules/system/lang/zh-cn/lang.php b/modules/system/lang/zh-cn/lang.php new file mode 100644 index 000000000..634b68a9e --- /dev/null +++ b/modules/system/lang/zh-cn/lang.php @@ -0,0 +1,263 @@ + [ + 'name' => 'October CMS', + 'tagline' => '回到basics' + ], + 'locale' => [ + 'en' => 'English', + 'de' => 'German', + 'es' => 'Spanish', + 'es-ar' => 'Spanish (Argentina)', + 'fa' => 'Persian', + 'fr' => 'French', + 'hu' => 'Hungarian', + 'id' => 'Bahasa Indonesia', + 'it' => 'Italian', + 'ja' => 'Japanese', + 'nl' => 'Dutch', + 'pl' => 'Polish', + 'pt-br' => 'Brazilian Portuguese', + 'ro' => 'Romanian', + 'ru' => 'Russian', + 'se' => 'Swedish', + 'sk' => 'Slovak (Slovakia)', + 'tr' => 'Turkish', + 'zh-cn' => 'Chinese (China)' + ], + 'directory' => [ + 'create_fail' => '不能创建目录: :name' + ], + 'file' => [ + 'create_fail' => '不能创建文件: :name' + ], + 'combiner' => [ + 'not_found' => "混合文件 ':name' 没找到." + ], + 'system' => [ + 'name' => '系统', + 'menu_label' => '系统', + 'categories' => [ + 'cms' => 'CMS', + 'misc' => 'Misc', + 'logs' => 'Logs', + 'mail' => 'Mail', + 'shop' => 'Shop', + 'team' => 'Team', + 'users' => 'Users', + 'system' => 'System', + 'social' => 'Social', + 'events' => 'Events', + 'customers' => 'Customers', + 'my_settings' => 'My Settings' + ] + ], + 'plugin' => [ + 'unnamed' => '未命名的插件', + 'name' => [ + 'label' => '插件名称', + 'help' => '输入插件的唯一代码. 比如 RainLab.Blog' + ] + ], + 'plugins' => [ + 'manage' => '管理插件', + 'enable_or_disable' => '启用或禁用', + 'enable_or_disable_title' => '启用或禁用插件', + 'remove' => '移除', + 'refresh' => '刷新', + 'disabled_label' => '禁用', + 'disabled_help' => '被禁用的插件被应用程序忽略了.', + 'selected_amount' => '选中的插件: :数目', + 'remove_confirm' => '你确定吗?', + 'remove_success' => '成功从系统移除这些插件.', + 'refresh_confirm' => '你确定吗?', + 'refresh_success' => '成功刷新了系统中的插件.', + 'disable_confirm' => '你确定吗?', + 'disable_success' => '成功禁用了这些插件.', + 'enable_success' => '成功启用了这些插件', + 'unknown_plugin' => '插件从文件系统中移除了.' + ], + 'project' => [ + 'name' => '项目', + 'owner_label' => '拥有者', + 'attach' => '增加项目', + 'detach' => '删除项目', + 'none' => '没有', + 'id' => [ + 'label' => '项目ID', + 'help' => '如何找到你的项目ID', + 'missing' => '请确认你想使用的项目ID.' + ], + 'detach_confirm' => '你确定要删除这个项目吗?', + 'unbind_success' => '项目删除成功.' + ], + 'settings' => [ + 'menu_label' => '设置', + 'not_found' => '不能找到特定的设置.', + 'missing_model' => '设置页缺少Model定义.', + 'update_success' => ':name 的设置更新成功了.', + 'return' => '返回系统设置', + 'search' => '搜索' + ], + 'mail' => [ + 'log_file' => '日志文件', + 'menu_label' => '邮件配置', + 'menu_description' => '管理邮件配置.', + 'general' => '常规', + 'method' => '邮件方法', + 'sender_name' => '发送者名称', + 'sender_email' => '发送者邮件', + 'php_mail' => 'PHP mail', + 'sendmail' => 'Sendmail', + 'smtp' => 'SMTP', + 'smtp_address' => 'SMTP 地址', + 'smtp_authorization' => '需要 SMTP 认证', + 'smtp_authorization_comment' => '使用 checkbox 如果你的SMTP服务器需要认证.', + 'smtp_username' => '用户名', + 'smtp_password' => '密码', + 'smtp_port' => 'SMTP 端口', + 'smtp_ssl' => '需要SSL连接', + 'sendmail' => 'Sendmail', + 'sendmail_path' => 'Sendmail 路径', + 'sendmail_path_comment' => '请确认 Sendmail 路径.', + 'mailgun' => 'Mailgun', + 'mailgun_domain' => 'Mailgun 域名', + 'mailgun_domain_comment' => '请确认 Mailgun 域名.', + 'mailgun_secret' => 'Mailgun Secret', + 'mailgun_secret_comment' => '输入你的 Mailgun API key.', + 'mandrill' => 'Mandrill', + 'mandrill_secret' => 'Mandrill Secret', + 'mandrill_secret_comment' => '输入你的 Mandrill API key.' + ], + 'mail_templates' => [ + 'menu_label' => '邮件模板', + 'menu_description' => '编辑发送到用户和管理员的邮件模板, 管理邮件布局.', + 'new_template' => '新模板', + 'new_layout' => '新布局', + 'template' => '模板', + 'templates' => '模板', + 'menu_layouts_label' => '邮件布局', + 'layout' => '布局', + 'layouts' => '布局', + 'name' => '名称', + 'name_comment' => '指向这个模板的唯一名称', + 'code' => '代码', + 'code_comment' => '指向这个模板的唯一代码', + 'subject' => '标题', + 'subject_comment' => '邮箱消息标题', + 'description' => '描述', + 'content_html' => 'HTML', + 'content_css' => 'CSS', + 'content_text' => '纯文本', + 'test_send' => '发送测试消息', + 'test_success' => '测试消息已经成功发送.', + 'return' => '返回模板列表' + ], + 'install' => [ + 'project_label' => '加入项目', + 'plugin_label' => '安装插件', + 'missing_plugin_name' => '请指明要安装的插件.', + 'install_completing' => '完成安装过程', + 'install_success' => '插件安装成功.' + ], + 'updates' => [ + 'title' => '管理更新', + 'name' => '软件更新', + 'menu_label' => '更新', + 'menu_description' => '更新系统, 管理并安装插件和主题.', + 'check_label' => '检查更新', + 'retry_label' => '重试', + 'plugin_name' => '名字', + 'plugin_description' => '描述', + 'plugin_version' => '版本', + 'plugin_author' => '作者', + 'core_build' => '当前build', + 'core_build_old' => '当前build :build', + 'core_build_new' => 'Build :build', + 'core_build_new_help' => '新 build 可用.', + 'core_downloading' => '下载应用程序', + 'core_extracting' => '解压应用程序', + 'plugins' => '插件', + 'disabled' => '禁用', + 'plugin_downloading' => '下载插件: :name', + 'plugin_extracting' => '解压插件: :name', + 'plugin_version_none' => '新插件', + 'plugin_version_old' => '当前 v:version', + 'plugin_version_new' => 'v:version', + 'theme_label' => '主题', + 'theme_new_install' => '新主题安装.', + 'theme_downloading' => '下载主题: :name', + 'theme_extracting' => '解压主题: :name', + 'update_label' => '更新软件', + 'update_completing' => '完成更新过程', + 'update_loading' => '加载可用更新...', + 'update_success' => '更新完成.', + 'update_failed_label' => '更新失败', + 'force_label' => '强制更新', + 'found' => [ + 'label' => '发现新更新!', + 'help' => '点击更新.' + ], + 'none' => [ + 'label' => '没有更新', + 'help' => '没发现新更新.' + ] + ], + 'server' => [ + 'connect_error' => '连接服务器失败.', + 'response_not_found' => '找不到更新服务器.', + 'response_invalid' => '服务器的异常返回.', + 'response_empty' => '服务器的空返回.', + 'file_error' => '服务器发送失败.', + 'file_corrupt' => '服务器文件被占用.' + ], + 'behavior' => [ + 'missing_property' => 'Class :class 必须定义属性 $:property 被 :behavior behavior 使用.' + ], + 'config' => [ + 'not_found' => '不能查找配置文件 :file 为 :location 定义.', + 'required' => "配置 :location 必须有 ':property'." + ], + 'zip' => [ + 'extract_failed' => "不能解压缩文件 ':file'." + ], + 'event_log' => [ + 'hint' => '日志显示了程序中的潜在错误, 比如异常和调试信息.', + 'menu_label' => '事件日志', + 'menu_description' => '查看系统日志信息, 包括时间和详细信息.', + 'empty_link' => '空事件日志', + 'empty_loading' => '空事件日志...', + 'empty_success' => '成功清空时间日志.', + 'return_link' => '返回时间日志', + 'id' => 'ID', + 'id_label' => '事件 ID', + 'created_at' => '时间和日期', + 'message' => '消息', + 'level' => '级别' + ], + 'request_log' => [ + 'hint' => '这个日志显示了需要注意的浏览器请求. 比如如果一个访问者打开一个没有的CMS页面, 一条返回状态404的记录被创建.', + 'menu_label' => '请求日志', + 'menu_description' => '查看坏的或者重定向的请求, 比如页面找不到(404).', + 'empty_link' => '空请求日志', + 'empty_loading' => '空请求日志...', + 'empty_success' => '成功清空请求日志.', + 'return_link' => '返回请求日志', + 'id' => 'ID', + 'id_label' => '登录ID', + 'count' => '柜台', + 'referer' => 'Referers', + 'url' => 'URL', + 'status_code' => '状态' + ], + 'permissions' => [ + 'name' => '系统', + 'manage_system_settings' => '管理系统设置', + 'manage_software_updates' => '管理软件更新', + 'manage_mail_templates' => '管理邮件模板', + 'manage_mail_settings' => '管理邮件设置', + 'manage_other_administrators' => '管理其他管理员', + 'view_the_dashboard' => '查看dashboard' + ] +]; diff --git a/modules/system/lang/zh-cn/validation.php b/modules/system/lang/zh-cn/validation.php new file mode 100644 index 000000000..f0954ddf5 --- /dev/null +++ b/modules/system/lang/zh-cn/validation.php @@ -0,0 +1,98 @@ + ":attribute 必须被接受.", + "active_url" => ":attribute 不是一个有效的URL.", + "after" => ":attribute 必须是 :date 之后的一个日期.", + "alpha" => ":attribute 只能包含字母.", + "alpha_dash" => ":attribute 只能包含字母, 数字和-.", + "alpha_num" => ":attribute 只能包含字母和数字.", + "array" => ":attribute 只能是一个数组.", + "before" => ":attribute 必须是 :date 之前的一个日期.", + "between" => array( + "numeric" => ":attribute 在 :min - :max 之间.", + "file" => ":attribute 在 :min - :max kilobytes之间.", + "string" => ":attribute 在 :min - :max 字符之间.", + "array" => ":attribute 在 :min - :max 个之间.", + ), + "confirmed" => ":attribute 的确认不满足.", + "date" => ":attribute 不是一个合法的日期.", + "date_format" => ":attribute 不符合 :format 格式.", + "different" => ":attribute 和 :other 必须不同.", + "digits" => ":attribute 必须是 :digits.", + "digits_between" => ":attribute 必须在 :min :max 之间.", + "email" => ":attribute 格式无效.", + "exists" => "选中的 :attribute 无效.", + "image" => ":attribute 必须是图片.", + "in" => "选中的 :attribute 无效.", + "integer" => ":attribute 必须是数字.", + "ip" => ":attribute 必须是一个有效的IP地址.", + "max" => array( + "numeric" => ":attribute 不能大于 :max.", + "file" => ":attribute 不能大于 :max kilobytes.", + "string" => ":attribute 不能超过 :max 字符.", + "array" => ":attribute 不能超过 :max 个.", + ), + "mimes" => ":attribute 必须是一个: :values 类型的文件.", + "min" => array( + "numeric" => ":attribute 必须至少 :min.", + "file" => ":attribute 必须至少 :min kilobytes.", + "string" => ":attribute 必须至少 :min 字符.", + "array" => ":attribute 必须至少 :min 个.", + ), + "not_in" => "选中的 :attribute 无效.", + "numeric" => ":attribute 必须是一个数字.", + "regex" => ":attribute 格式无效.", + "required" => "需要 :attribute 字段.", + "required_if" => "需要 :attribute 字段, 当 :other 是 :value.", + "required_with" => "需要 :attribute 字段, 当 :values 是当前值.", + "required_without" => "需要 :attribute 字段, 当 :values 不是当前值.", + "same" => ":attribute 和 :other 必须匹配.", + "size" => array( + "numeric" => ":attribute 必须是 :size.", + "file" => ":attribute 必须是 :size kilobytes.", + "string" => ":attribute 必须是 :size 字符.", + "array" => ":attribute 必须是 :size 个.", + ), + "unique" => ":attribute 已占用.", + "url" => ":attribute 格式无效.", + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention "attribute.rule" to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => array(), + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of "email". This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => array(), + +);