mirror of
https://github.com/alextselegidis/plainpad.git
synced 2024-09-11 10:55:31 +03:00
Add files via upload
This commit is contained in:
parent
83af8943df
commit
5a1da3a353
28
server/resources/lang/zh-CN/account.php
Normal file
28
server/resources/lang/zh-CN/account.php
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
Plainpad - Self Hosted Note Taking App
|
||||||
|
|
||||||
|
Copyright (C) 2020 Alex Tselegidis - https://alextselegidis.com
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
|
|
||||||
|
return [
|
||||||
|
'registration' => '注册',
|
||||||
|
'registrationMessage' => '感谢您在 :url 上创建帐户,请使用您的凭据登录。',
|
||||||
|
'resetPassword' => '重置您的密码',
|
||||||
|
'resetPasswordMessage' => '使用以下密码登录您的帐户,请尽快登录后更改您的密码。',
|
||||||
|
'resetPasswordPreheader' => '此邮件包含您的新密码。请使用它登录并为您的帐户设置一个新密码。',
|
||||||
|
];
|
@ -1 +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
server/resources/lang/zh-CN/pagination.php
Normal file
19
server/resources/lang/zh-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
server/resources/lang/zh-CN/passwords.php
Normal file
22
server/resources/lang/zh-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.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'reset' => '密码重置成功!',
|
||||||
|
'sent' => '我们给你发送了一封密码重置邮件!',
|
||||||
|
'throttled' => '请等待一段时间后重试。',
|
||||||
|
'token' => '重置链接失效,请重新获取。',
|
||||||
|
'user' => "我们找不到使该电子邮件地址的用户。",
|
||||||
|
|
||||||
|
];
|
151
server/resources/lang/zh-CN/validation.php
Normal file
151
server/resources/lang/zh-CN/validation.php
Normal file
@ -0,0 +1,151 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Validation Language Lines
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines contain the default error messages used by
|
||||||
|
| the validator class. Some of these rules have multiple versions such
|
||||||
|
| as the size rules. Feel free to tweak each of these messages here.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'accepted' => '必须接受 :attribute。',
|
||||||
|
'active_url' => ':attribute 不是一个有效的 URL。',
|
||||||
|
'after' => ':attribute 必须是 :date 之后的一个日期。',
|
||||||
|
'after_or_equal' => ':attribute 必须是 :date 之后或相等的一个日期。',
|
||||||
|
'alpha' => ':attribute 只能包含字母。',
|
||||||
|
'alpha_dash' => ':attribute 只能包含字母、数字、短划线和下划线。',
|
||||||
|
'alpha_num' => ':attribute 只能包含字母和数字。',
|
||||||
|
'array' => ':attribute 必须是一个数组。',
|
||||||
|
'before' => ':attribute 必须是 :date 之前的一个日期。',
|
||||||
|
'before_or_equal' => ':attribute 必须是 :date 之前或相等的一个日期。',
|
||||||
|
'between' => [
|
||||||
|
'numeric' => ':attribute 必须介于 :min 和 :max 之间。',
|
||||||
|
'file' => ':attribute 必须介于 :min 和 :max 千字节之间。',
|
||||||
|
'string' => ':attribute 必须介于 :min 和 :max 个字符之间。',
|
||||||
|
'array' => ':attribute 必须介于 :min 和 :max 项之间。',
|
||||||
|
],
|
||||||
|
'boolean' => ':attribute 字段必须为 true 或 false。',
|
||||||
|
'confirmed' => ':attribute 确认不匹配。',
|
||||||
|
'date' => ':attribute 不是一个有效的日期。',
|
||||||
|
'date_equals' => ':attribute 必须等于 :date。',
|
||||||
|
'date_format' => ':attribute 与格式 :format 不匹配。',
|
||||||
|
'different' => ':attribute 和 :other 必须不同。',
|
||||||
|
'digits' => ':attribute 必须是 :digits 位数字。',
|
||||||
|
'digits_between' => ':attribute 必须介于 :min 和 :max 位数字之间。',
|
||||||
|
'dimensions' => ':attribute 具有无效的图像尺寸。',
|
||||||
|
'distinct' => ':attribute 字段具有重复值。',
|
||||||
|
'email' => ':attribute 必须是一个有效的电子邮件地址。',
|
||||||
|
'ends_with' => ':attribute 必须以以下之一结尾: :values。',
|
||||||
|
'exists' => '所选的 :attribute 是无效的。',
|
||||||
|
'file' => ':attribute 必须是一个文件。',
|
||||||
|
'filled' => ':attribute 字段必须有一个值。',
|
||||||
|
'gt' => [
|
||||||
|
'numeric' => ':attribute 必须大于 :value。',
|
||||||
|
'file' => ':attribute 必须大于 :value 千字节。',
|
||||||
|
'string' => ':attribute 必须多于 :value 个字符。',
|
||||||
|
'array' => ':attribute 必须多于 :value 项。',
|
||||||
|
],
|
||||||
|
'gte' => [
|
||||||
|
'numeric' => ':attribute 必须大于或等于 :value。',
|
||||||
|
'file' => ':attribute 必须大于或等于 :value 千字节。',
|
||||||
|
'string' => ':attribute 必须大于或等于 :value 个字符。',
|
||||||
|
'array' => ':attribute 必须至少有 :value 项。',
|
||||||
|
],
|
||||||
|
'image' => ':attribute 必须是一个图像。',
|
||||||
|
'in' => '所选的 :attribute 是无效的。',
|
||||||
|
'in_array' => ':attribute 字段不存在于 :other 中。',
|
||||||
|
'integer' => ':attribute 必须是一个整数。',
|
||||||
|
'ip' => ':attribute 必须是一个有效的 IP 地址。',
|
||||||
|
'ipv4' => ':attribute 必须是一个有效的 IPv4 地址。',
|
||||||
|
'ipv6' => ':attribute 必须是一个有效的 IPv6 地址。',
|
||||||
|
'json' => ':attribute 必须是一个有效的 JSON 字符串。',
|
||||||
|
'lt' => [
|
||||||
|
'numeric' => ':attribute 必须小于 :value。',
|
||||||
|
'file' => ':attribute 必须小于 :value 千字节。',
|
||||||
|
'string' => ':attribute 必须少于 :value 个字符。',
|
||||||
|
'array' => ':attribute 必须少于 :value 项。',
|
||||||
|
],
|
||||||
|
'lte' => [
|
||||||
|
'numeric' => ':attribute 必须小于或等于 :value。',
|
||||||
|
'file' => ':attribute 必须小于或等于 :value 千字节。',
|
||||||
|
'string' => ':attribute 必须小于或等于 :value 个字符。',
|
||||||
|
'array' => ':attribute 不能超过 :value 项。',
|
||||||
|
],
|
||||||
|
'max' => [
|
||||||
|
'numeric' => ':attribute 不能大于 :max。',
|
||||||
|
'file' => ':attribute 不能大于 :max 千字节。',
|
||||||
|
'string' => ':attribute 不能大于 :max 个字符。',
|
||||||
|
'array' => ':attribute 不能超过 :max 项。',
|
||||||
|
],
|
||||||
|
'mimes' => ':attribute 必须是文件类型: :values。',
|
||||||
|
'mimetypes' => ':attribute 必须是文件类型: :values。',
|
||||||
|
'min' => [
|
||||||
|
'numeric' => ':attribute 必须至少为 :min。',
|
||||||
|
'file' => ':attribute 必须至少为 :min 千字节。',
|
||||||
|
'string' => ':attribute 必须至少为 :min 个字符。',
|
||||||
|
'array' => ':attribute 必须至少有 :min 项。',
|
||||||
|
],
|
||||||
|
'not_in' => '所选的 :attribute 是无效的。',
|
||||||
|
'not_regex' => ':attribute 格式无效。',
|
||||||
|
'numeric' => ':attribute 必须是一个数字。',
|
||||||
|
'password' => '密码不正确。',
|
||||||
|
'present' => ':attribute 字段必须存在。',
|
||||||
|
'regex' => ':attribute 格式无效。',
|
||||||
|
'required' => ':attribute 字段是必填的。',
|
||||||
|
'required_if' => '当 :other 是 :value 时,:attribute 字段是必填的。',
|
||||||
|
'required_unless' => '除非 :other 在 :values 中,否则 :attribute 字段是必填的。',
|
||||||
|
'required_with' => '当 :values 存在时,:attribute 字段是必填的。',
|
||||||
|
'required_with_all' => '当 :values 存在时,:attribute 字段是必填的。',
|
||||||
|
'required_without' => '当 :values 不存在时,:attribute 字段是必填的。',
|
||||||
|
'required_without_all' => '当 :values 都不存在时,:attribute 字段是必填的。',
|
||||||
|
'same' => ':attribute 和 :other 必须匹配。',
|
||||||
|
'size' => [
|
||||||
|
'numeric' => ':attribute 必须是 :size。',
|
||||||
|
'file' => ':attribute 必须是 :size 千字节。',
|
||||||
|
'string' => ':attribute 必须是 :size 个字符。',
|
||||||
|
'array' => ':attribute 必须包含 :size 项。',
|
||||||
|
],
|
||||||
|
'starts_with' => ':attribute 必须以以下之一开头: :values。',
|
||||||
|
'string' => ':attribute 必须是一个字符串。',
|
||||||
|
'timezone' => ':attribute 必须是一个有效的区域。',
|
||||||
|
'unique' => ':attribute 已经被占用。',
|
||||||
|
'uploaded' => ':attribute 上传失败。',
|
||||||
|
'url' => ':attribute 格式无效。',
|
||||||
|
'uuid' => ':attribute 必须是一个有效的 UUID。',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| 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' => [
|
||||||
|
'attribute-name' => [
|
||||||
|
'rule-name' => 'custom-message',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Validation Attributes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following language lines are used to swap our attribute placeholder
|
||||||
|
| with something more reader friendly such as "E-Mail Address" instead
|
||||||
|
| of "email". This simply helps us make our message more expressive.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'attributes' => [],
|
||||||
|
|
||||||
|
];
|
Loading…
Reference in New Issue
Block a user