diff --git a/docs/12-components/02-form.md b/docs/12-components/02-form.md index 7ef8e41444..23502601aa 100644 --- a/docs/12-components/02-form.md +++ b/docs/12-components/02-form.md @@ -125,7 +125,7 @@ use App\Models\Post; public function mount(Post $post): void { - $this->form->fill($post->toArray()); + $this->form->fill($post->attributesToArray()); } ``` diff --git a/packages/forms/resources/lang/vi/components.php b/packages/forms/resources/lang/vi/components.php index 9b659b664e..19f07906fb 100644 --- a/packages/forms/resources/lang/vi/components.php +++ b/packages/forms/resources/lang/vi/components.php @@ -408,6 +408,8 @@ return [ 'create_option' => [ + 'label' => 'Tạo', + 'modal' => [ 'heading' => 'Tạo', @@ -430,6 +432,8 @@ return [ 'edit_option' => [ + 'label' => 'Chỉnh sửa', + 'modal' => [ 'heading' => 'Chỉnh sửa', diff --git a/packages/panels/resources/lang/vi/auth/pages/password-reset/request-password-reset.php b/packages/panels/resources/lang/vi/auth/pages/password-reset/request-password-reset.php index 65594912d2..5343751cea 100644 --- a/packages/panels/resources/lang/vi/auth/pages/password-reset/request-password-reset.php +++ b/packages/panels/resources/lang/vi/auth/pages/password-reset/request-password-reset.php @@ -2,7 +2,7 @@ return [ - 'title' => 'Khôi phục mật khẩu', + 'title' => 'Đặt lại mật khẩu', 'heading' => 'Quên mật khẩu?', @@ -32,6 +32,10 @@ return [ 'notifications' => [ + 'sent' => [ + 'body' => 'Nếu tài khoản của bạn không tồn tại, bạn sẽ không nhận được email.', + ], + 'throttled' => [ 'title' => 'Quá nhiều yêu cầu', 'body' => 'Vui lòng thử lại sau :seconds giây.',