Skip to content

Commit

Permalink
feat(lang): add Vietnamese translations
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin committed Dec 15, 2024
1 parent 736d14c commit 22d4925
Show file tree
Hide file tree
Showing 31 changed files with 2,516 additions and 0 deletions.
45 changes: 45 additions & 0 deletions packages/admin/resources/lang/vi/actions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php

return [
'collections' => [
'create_root' => [
'label' => 'Tạo bộ sưu tập gốc',
],
'create_child' => [
'label' => 'Tạo bộ sưu tập con',
],
'move' => [
'label' => 'Di chuyển bộ sưu tập',
],
'delete' => [
'label' => 'Xóa',
],
],
'orders' => [
'update_status' => [
'label' => 'Cập nhật trạng thái',
'wizard' => [
'step_one' => [
'label' => 'Trạng thái',
],
'step_two' => [
'label' => 'Thư thông báo & Thông báo',
'no_mailers' => 'Không có thư thông báo nào cho trạng thái này.',
],
'step_three' => [
'label' => 'Xem trước & Lưu',
'no_mailers' => 'Không có thư thông báo nào được chọn để xem trước.',
],
],
'notification' => [
'label' => 'Đã cập nhật trạng thái đơn hàng',
],
'billing_email' => [
'label' => 'Email thanh toán',
],
'shipping_email' => [
'label' => 'Email vận chuyển',
],
],
],
];
29 changes: 29 additions & 0 deletions packages/admin/resources/lang/vi/activity.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

return [

'label' => 'Hoạt động',

'plural_label' => 'Hoạt động',

'table' => [
'subject' => 'Đối tượng',
'description' => 'Mô tả',
'log' => 'Nhật ký',
'logged_at' => 'Ghi nhật ký lúc',
'event' => 'Sự kiện',
'logged_from' => 'Ghi nhật ký từ',
'logged_until' => 'Ghi nhật ký đến',
],

'form' => [
'causer_type' => 'Loại người thực hiện',
'causer_id' => 'Mã người thực hiện',
'subject_type' => 'Loại đối tượng',
'subject_id' => 'Mã đối tượng',
'description' => 'Mô tả',
'attributes' => 'Thuộc tính',
'old' => '',
],

];
93 changes: 93 additions & 0 deletions packages/admin/resources/lang/vi/address.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?php

return [

'label' => 'Địa chỉ',

'plural_label' => 'Địa chỉ',

'table' => [
'title' => [
'label' => 'Tiêu đề',
],
'first_name' => [
'label' => 'Tên',
],
'last_name' => [
'label' => 'Họ',
],
'company_name' => [
'label' => 'Tên công ty',
],
'line_one' => [
'label' => 'Địa chỉ',
],
'line_two' => [
'label' => 'Địa chỉ chi tiết 2',
],
'line_three' => [
'label' => 'Địa chỉ chi tiết 3',
],
'city' => [
'label' => 'Thành phố',
],
'country_id' => [
'label' => 'Quốc gia',
],
'state' => [
'label' => 'Tỉnh/Thành phố',
],
'postcode' => [
'label' => 'Mã bưu điện',
],
'contact_email' => [
'label' => 'Email liên hệ',
],
'contact_phone' => [
'label' => 'Số điện thoại',
],
],

'form' => [
'title' => [
'label' => 'Tiêu đề',
],
'first_name' => [
'label' => 'Tên',
],
'last_name' => [
'label' => 'Họ',
],
'company_name' => [
'label' => 'Tên công ty',
],
'line_one' => [
'label' => 'Địa chỉ',
],
'line_two' => [
'label' => 'Địa chỉ chi tiết 2',
],
'line_three' => [
'label' => 'Địa chỉ chi tiết 3',
],
'city' => [
'label' => 'Thành phố',
],
'country_id' => [
'label' => 'Quốc gia',
],
'state' => [
'label' => 'Tỉnh/Thành phố',
],
'postcode' => [
'label' => 'Mã bưu điện',
],
'contact_email' => [
'label' => 'Email liên hệ',
],
'contact_phone' => [
'label' => 'Số điện thoại',
],
],

];
55 changes: 55 additions & 0 deletions packages/admin/resources/lang/vi/attribute.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php

return [

'label' => 'Thuộc tính',

'plural_label' => 'Thuộc tính',

'table' => [
'name' => [
'label' => 'Tên',
],
'description' => [
'label' => 'Mô tả',
],
'handle' => [
'label' => 'Định danh',
],
'type' => [
'label' => 'Loại',
],
],

'form' => [
'attributable_type' => [
'label' => 'Loại',
],
'name' => [
'label' => 'Tên',
],
'description' => [
'label' => 'Mô tả',
'helper' => 'Dùng để hiển thị văn bản trợ giúp bên dưới mục nhập',
],
'handle' => [
'label' => 'Định danh',
],
'searchable' => [
'label' => 'Có thể tìm kiếm',
],
'filterable' => [
'label' => 'Có thể lọc',
],
'required' => [
'label' => 'Bắt buộc',
],
'type' => [
'label' => 'Loại',
],
'validation_rules' => [
'label' => 'Quy tắc xác thực',
'helper' => 'Quy tắc cho trường thuộc tính, ví dụ: min:1|max:10|...',
],
],
];
46 changes: 46 additions & 0 deletions packages/admin/resources/lang/vi/attributegroup.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php

return [

'label' => 'Nhóm thuộc tính',

'plural_label' => 'Nhóm thuộc tính',

'table' => [
'attributable_type' => [
'label' => 'Loại',
],
'name' => [
'label' => 'Tên',
],
'handle' => [
'label' => 'Định danh',
],
'position' => [
'label' => 'Vị trí',
],
],

'form' => [
'attributable_type' => [
'label' => 'Loại',
],
'name' => [
'label' => 'Tên',
],
'handle' => [
'label' => 'Định danh',
],
'position' => [
'label' => 'Vị trí',
],
],

'action' => [
'delete' => [
'notification' => [
'error_protected' => 'Không thể xóa nhóm thuộc tính này vì có các thuộc tính đang liên kết.',
],
],
],
];
32 changes: 32 additions & 0 deletions packages/admin/resources/lang/vi/auth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

return [
/**
* Roles
*/
'roles.admin.label' => 'Quản trị viên',
'roles.admin.description' => 'Quản trị viên với quyền truy cập đầy đủ',
'roles.staff.label' => 'Nhân viên',
'roles.staff.description' => 'Nhân viên với quyền truy cập cơ bản',
/**
* Permissions.
*/
'permissions.settings.label' => 'Cài đặt',
'permissions.settings.description' => 'Cho phép truy cập vào khu vực cài đặt của hệ thống',
'permissions.settings:core.label' => 'Cài đặt cốt lõi',
'permissions.settings:core.description' => 'Truy cập cài đặt cơ bản của cửa hàng như kênh bán hàng, ngôn ngữ, tiền tệ, v.v',
'permissions.settings:manage-staff.label' => 'Quản lý nhân viên',
'permissions.settings:manage-staff.description' => 'Cho phép nhân viên chỉnh sửa thông tin nhân viên khác',
'permissions.settings:manage-attributes.label' => 'Quản lý thuộc tính',
'permissions.settings:manage-attributes.description' => 'Cho phép nhân viên chỉnh sửa và tạo thêm thuộc tính',
'permissions.catalog:manage-products.label' => 'Quản lý sản phẩm',
'permissions.catalog:manage-products.description' => 'Cho phép nhân viên chỉnh sửa sản phẩm, loại sản phẩm và thương hiệu',
'permissions.catalog:manage-collections.label' => 'Quản lý bộ sưu tập',
'permissions.catalog:manage-collections.description' => 'Cho phép nhân viên chỉnh sửa bộ sưu tập và nhóm bộ sưu tập',
'permissions.sales:manage-orders.label' => 'Quản lý đơn hàng',
'permissions.sales:manage-orders.description' => 'Cho phép nhân viên quản lý đơn hàng',
'permissions.sales:manage-customers.label' => 'Quản lý khách hàng',
'permissions.sales:manage-customers.description' => 'Cho phép nhân viên quản lý khách hàng',
'permissions.sales:manage-discounts.label' => 'Quản lý giảm giá',
'permissions.sales:manage-discounts.description' => 'Cho phép nhân viên quản lý giảm giá',
];
72 changes: 72 additions & 0 deletions packages/admin/resources/lang/vi/brand.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?php

return [

'label' => 'Thương hiệu',

'plural_label' => 'Thương hiệu',

'table' => [
'name' => [
'label' => 'Tên',
],
'products_count' => [
'label' => 'Số sản phẩm',
],
],

'form' => [
'name' => [
'label' => 'Tên',
],
],

'action' => [
'delete' => [
'notification' => [
'error_protected' => 'Không thể xóa thương hiệu này vì có sản phẩm đang liên kết.',
],
],
],
'pages' => [
'products' => [
'label' => 'Sản phẩm',
'actions' => [
'attach' => [
'label' => 'Liên kết sản phẩm',
'form' => [
'record_id' => [
'label' => 'Sản phẩm',
],
],
'notification' => [
'success' => 'Đã liên kết sản phẩm với thương hiệu',
],
],
'detach' => [
'notification' => [
'success' => 'Đã hủy liên kết sản phẩm',
],
],
],
],
'collections' => [
'label' => 'Bộ sưu tập',
'table' => [
'header_actions' => [
'attach' => [
'record_select' => [
'placeholder' => 'Chọn bộ sưu tập',
],
],
],
],
'actions' => [
'attach' => [
'label' => 'Liên kết bộ sưu tập',
],
],
],
],

];
Loading

0 comments on commit 22d4925

Please sign in to comment.