Skip to content

Commit 9b0221a

Browse files
committed
Improved VN translation and instructions
1 parent 75eeb02 commit 9b0221a

File tree

3 files changed

+62
-52
lines changed

3 files changed

+62
-52
lines changed

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,18 @@ This project is open-sourced software licensed under the [MIT license](LICENSE).
213213
## Languages
214214

215215
<ul>
216-
<li>English</li>
217-
<li>Dutch</li>
218-
<li>German</li>
219-
<li>Vietnamese</li>
216+
<li>English (en)</li>
217+
<li>Dutch (nl)</li>
218+
<li>German (de)</li>
219+
<li>Vietnamese (vn)</li>
220220
</ul>
221221

222+
<p>
223+
Translations can be added by submitting a <b>Pull Request</b> to the project.<br/>
224+
Only languages provided by <a href="https://github.com/stefangabos/world_countries/" target="_blank">this package</a> should be used.<br/>
225+
Translation integrity can be checked by issuing the command `php artisan translations:check --excludedDirectories=vendor`.
226+
</p>
227+
222228
## To Do ...
223229

224230
<ul>

composer.lock

+48-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lang/vn/validation.php

+4
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@
133133
'required_unless' => 'Trường :attribute là bắt buộc trừ khi :other là trong :values.',
134134
'required_with' => 'Trường :attribute là bắt buộc khi :values có mặt.',
135135
'required_with_all' => 'Trường :attribute là bắt buộc khi :values có mặt.',
136+
'required_without' => 'Trường :attribute là bắt buộc khi :values ​​không có.',
137+
'required_without_all' => 'Trường :attribute là bắt buộc khi không có giá trị :value nào.',
136138
'same' => 'Trường :attribute và :other phải khớp.',
137139
'size' => [
138140
'array' => 'Trường :attribute phải chứa :size mục.',
@@ -145,7 +147,9 @@
145147
'timezone' => 'Trường :attribute phải là một vùng giờ hợp lệ.',
146148
'unique' => 'Giá trị đã có trong trường :attribute.',
147149
'uploaded' => 'Trường :attribute không thể tải lên.',
150+
'uppercase' => 'Trường :attribute phải viết hoa.',
148151
'url' => 'Định dạng trường :attribute không hợp lệ.',
152+
'ulid' => 'Trường :attribute phải là ULID hợp lệ.',
149153
'uuid' => 'Trường :attribute phải là một UUID hợp lệ.',
150154

151155
/*

0 commit comments

Comments
 (0)