Chinese translate
add baidu search
This commit is contained in:
parent
8b72ff0a0d
commit
9e4a06999b
5 changed files with 70 additions and 0 deletions
|
@ -99,6 +99,7 @@ class SettingsSeeder extends Seeder
|
|||
$options = json_encode([
|
||||
'none' => 'app.options.none',
|
||||
'google' => 'app.options.google',
|
||||
'baidu' => 'app.options.baidu',
|
||||
'ddg' => 'app.options.ddg',
|
||||
'qwant' => 'app.options.qwant',
|
||||
'bing' => 'app.options.bing',
|
||||
|
@ -123,6 +124,7 @@ class SettingsSeeder extends Seeder
|
|||
$language_options = json_encode([
|
||||
'de' => 'Deutsch (German)',
|
||||
'en' => 'English',
|
||||
'cn' => '简体中文 (Simplified Chinese)',
|
||||
'fi' => 'Suomi (Finnish)',
|
||||
'fr' => 'Français (French)',
|
||||
'el' => 'Ελληνικά (Greek)',
|
||||
|
|
19
resources/lang/cn/auth.php
Normal file
19
resources/lang/cn/auth.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?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 秒后重试。',
|
||||
|
||||
];
|
19
resources/lang/cn/pagination.php
Normal file
19
resources/lang/cn/pagination.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« 上一页',
|
||||
'next' => '下一页 »',
|
||||
|
||||
];
|
22
resources/lang/cn/passwords.php
Normal file
22
resources/lang/cn/passwords.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => '密码至少需要6位,且两次输入的必须一致',
|
||||
'reset' => '密码已重置!',
|
||||
'sent' => '重置密码邮件已发送!',
|
||||
'token' => '重置密码Token不正确。',
|
||||
'user' => "无法找到该邮件地址对应的用户。",
|
||||
|
||||
];
|
|
@ -11,6 +11,14 @@ google:
|
|||
target: _blank
|
||||
query: q
|
||||
|
||||
baidu:
|
||||
id: baidu
|
||||
url: https://www.baidu.com/s
|
||||
name: Baidu
|
||||
method: get
|
||||
target: _blank
|
||||
query: wd
|
||||
|
||||
bing:
|
||||
id: bing
|
||||
url: https://www.bing.com/search
|
||||
|
|
Loading…
Reference in a new issue