Merge pull request #1 from anerg2046/2.x

Merge Chinese translate from anerg2046
This commit is contained in:
S4kura0ne 2022-03-23 09:24:33 +08:00 committed by GitHub
commit a5cbcaca03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 70 additions and 0 deletions

View file

@ -99,6 +99,7 @@ class SettingsSeeder extends Seeder
$options = json_encode([ $options = json_encode([
'none' => 'app.options.none', 'none' => 'app.options.none',
'google' => 'app.options.google', 'google' => 'app.options.google',
'baidu' => 'app.options.baidu',
'ddg' => 'app.options.ddg', 'ddg' => 'app.options.ddg',
'qwant' => 'app.options.qwant', 'qwant' => 'app.options.qwant',
'bing' => 'app.options.bing', 'bing' => 'app.options.bing',
@ -123,6 +124,7 @@ class SettingsSeeder extends Seeder
$language_options = json_encode([ $language_options = json_encode([
'de' => 'Deutsch (German)', 'de' => 'Deutsch (German)',
'en' => 'English', 'en' => 'English',
'cn' => '简体中文 (Simplified Chinese)',
'fi' => 'Suomi (Finnish)', 'fi' => 'Suomi (Finnish)',
'fr' => 'Français (French)', 'fr' => 'Français (French)',
'el' => 'Ελληνικά (Greek)', 'el' => 'Ελληνικά (Greek)',

View 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 秒后重试。',
];

View 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' => '&laquo; 上一页',
'next' => '下一页 &raquo;',
];

View 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' => "无法找到该邮件地址对应的用户。",
];

View file

@ -11,6 +11,14 @@ google:
target: _blank target: _blank
query: q query: q
baidu:
id: baidu
url: https://www.baidu.com/s
name: Baidu
method: get
target: _blank
query: wd
bing: bing:
id: bing id: bing
url: https://www.bing.com/search url: https://www.bing.com/search