Skip to content

Commit

Permalink
Merge pull request #696 from yuezhihan/master
Browse files Browse the repository at this point in the history
Added simplified Chinese(zh-CN) language
  • Loading branch information
ssddanbrown authored Feb 4, 2018
2 parents 46ea90c + ab3231b commit b7e5cc6
Show file tree
Hide file tree
Showing 12 changed files with 822 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
*/

'locale' => env('APP_LANG', 'en'),
'locales' => ['en', 'de', 'es', 'es_AR', 'fr', 'nl', 'pt_BR', 'sk', 'sv', 'ja', 'pl', 'it', 'ru'],
'locales' => ['en', 'de', 'es', 'es_AR', 'fr', 'nl', 'pt_BR', 'sk', 'sv', 'ja', 'pl', 'it', 'ru', 'zh_CN'],

/*
|--------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion resources/lang/en/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
'ja' => '日本語',
'pl' => 'Polski',
'it' => 'Italian',
'ru' => 'Русский'
'ru' => 'Русский',
'zh_CN' => '简体中文'
]
///////////////////////////////////
];
42 changes: 42 additions & 0 deletions resources/lang/zh_CN/activities.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php

return [

/**
* Activity text strings.
* Is used for all the text within activity logs & notifications.
*/

// Pages
'page_create' => '创建了页面',
'page_create_notification' => '页面已创建成功',
'page_update' => '更新了页面',
'page_update_notification' => '页面已更新成功',
'page_delete' => '删除了页面',
'page_delete_notification' => '页面已删除成功',
'page_restore' => '恢复了页面',
'page_restore_notification' => '页面已恢复成功',
'page_move' => '移动了页面',

// Chapters
'chapter_create' => '创建了章节',
'chapter_create_notification' => '章节已创建成功',
'chapter_update' => '更新了章节',
'chapter_update_notification' => '章节已创建成功',
'chapter_delete' => '删除了章节',
'chapter_delete_notification' => '章节已删除成功',
'chapter_move' => '移动了章节',

// Books
'book_create' => '创建了图书',
'book_create_notification' => '图书已创建成功',
'book_update' => '更新了图书',
'book_update_notification' => '图书已更新成功',
'book_delete' => '删除了图书',
'book_delete_notification' => '图书已删除成功',
'book_sort' => '排序了图书',
'book_sort_notification' => '图书已重新排序成功',

// Other
'commented_on' => '评论',
];
76 changes: 76 additions & 0 deletions resources/lang/zh_CN/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => '用户名或密码错误。',
'throttle' => '您的登录次数过多,请在:seconds秒后重试。',

/**
* Login & Register
*/
'sign_up' => '注册',
'log_in' => '登录',
'log_in_with' => '以:socialDriver登录',
'sign_up_with' => '注册:socialDriver',
'logout' => '注销',

'name' => '姓名',
'username' => '用户名',
'email' => 'Email地址',
'password' => '密码',
'password_confirm' => '确认密码',
'password_hint' => '必须超过5个字符',
'forgot_password' => '忘记密码?',
'remember_me' => '记住我',
'ldap_email_hint' => '请输入用于此帐户的电子邮件。',
'create_account' => '创建账户',
'social_login' => 'SNS登录',
'social_registration' => 'SNS注册',
'social_registration_text' => '其他服务注册/登录.',

'register_thanks' => '注册完成!',
'register_confirm' => '请点击查收您的Email,并点击确认。',
'registrations_disabled' => '注册目前被禁用',
'registration_email_domain_invalid' => '该Email域名无权访问此应用程序',
'register_success' => '感谢您注册:appName,您现在已经登录。',


/**
* Password Reset
*/
'reset_password' => '重置密码',
'reset_password_send_instructions' => '在下面输入您的Email地址,您将收到一封带有密码重置链接的邮件。',
'reset_password_send_button' => '发送重置链接',
'reset_password_sent_success' => '密码重置链接已发送到:email。',
'reset_password_success' => '您的密码已成功重置。',

'email_reset_subject' => '重置您的:appName密码',
'email_reset_text' => '您收到此电子邮件是因为我们收到了您的帐户的密码重置请求。',
'email_reset_not_requested' => '如果您没有要求重置密码,则不需要采取进一步的操作。',


/**
* Email Confirmation
*/
'email_confirm_subject' => '确认您在:appName的Email地址',
'email_confirm_greeting' => '感谢您加入:appName!',
'email_confirm_text' => '请点击下面的按钮确认您的Email地址:',
'email_confirm_action' => '确认Email',
'email_confirm_send_error' => '需要Email验证,但系统无法发送电子邮件,请联系网站管理员。',
'email_confirm_success' => '您的Email地址已成功验证!',
'email_confirm_resent' => '验证邮件已重新发送,请检查收件箱。',

'email_not_confirmed' => 'Email地址未验证',
'email_not_confirmed_text' => '您的电子邮件地址尚未确认。',
'email_not_confirmed_click_link' => '请检查注册时收到的电子邮件,然后点击确认链接。',
'email_not_confirmed_resend' => '如果找不到电子邮件,请通过下面的表单重新发送确认Email。',
'email_not_confirmed_resend_button' => '重新发送确认Email',
];
64 changes: 64 additions & 0 deletions resources/lang/zh_CN/common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?php
return [

/**
* Buttons
*/
'cancel' => '取消',
'confirm' => '确认',
'back' => '返回',
'save' => '保存',
'continue' => '继续',
'select' => '选择',
'more' => '更多',

/**
* Form Labels
*/
'name' => '姓名',
'description' => '概要',
'role' => '角色',
'cover_image' => '封面图片',
'cover_image_description' => '该图像大小需要为440x250px。',

/**
* Actions
*/
'actions' => '操作',
'view' => '视图',
'create' => '创建',
'update' => '更新',
'edit' => '编辑',
'sort' => '排序',
'move' => '移动',
'reply' => '回复',
'delete' => '删除',
'search' => '搜索',
'search_clear' => '清除搜索',
'reset' => '重置',
'remove' => '删除',
'add' => '添加',

/**
* Misc
*/
'deleted_user' => '删除用户',
'no_activity' => '没有活动要显示',
'no_items' => '没有可用的项目',
'back_to_top' => '回到顶部',
'toggle_details' => '显示/隐藏详细信息',
'toggle_thumbnails' => '显示/隐藏缩略图',
'details' => '详细信息',

/**
* Header
*/
'view_profile' => '查看资料',
'edit_profile' => '编辑资料',

/**
* Email Content
*/
'email_action_help' => '如果您无法点击“:actionText”按钮,请将下面的网址复制到您的浏览器中打开:',
'email_rights' => 'All rights reserved',
];
32 changes: 32 additions & 0 deletions resources/lang/zh_CN/components.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php
return [

/**
* Image Manager
*/
'image_select' => '选择图片',
'image_all' => '全部',
'image_all_title' => '查看所有图片',
'image_book_title' => '查看上传到本书的图片',
'image_page_title' => '查看上传到本页面的图片',
'image_search_hint' => '按图片名称搜索',
'image_uploaded' => '上传于 :uploadedDate',
'image_load_more' => '显示更多',
'image_image_name' => '图片名称',
'image_delete_confirm' => '该图像用于以下页面,如果你想删除它,请再次按下按钮。',
'image_select_image' => '选择图片',
'image_dropzone' => '拖放图片或点击此处上传',
'images_deleted' => '图片已删除',
'image_preview' => '图片预览',
'image_upload_success' => '图片上传成功',
'image_update_success' => '图片详细信息更新成功',
'image_delete_success' => '图片删除成功',

/**
* Code editor
*/
'code_editor' => '编辑代码',
'code_language' => '编程语言',
'code_content' => '代码内容',
'code_save' => '保存代码',
];
Loading

0 comments on commit b7e5cc6

Please sign in to comment.