Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Article: the status mail names the new status by its key ('approved') instead of its name in the language of the site

Đang mở
#632 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@guidol-ive đang làm issue này rồi.

Từ ngày 28/10/2026.

  • #634 của @guidol-ive — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
backend

Hướng nghiên cứu

The issue points to system/datatypes/peer_reviewed_article.php, specifically sendStatusChangeMail(), and identifies the art-status-update-subject and art-status-update-body texts. Read that function and compare its status handling with the existing art-status-approved translations in nl.php and en.php. The issue says a pull request follows, and PR #634 is already open.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Impact: Low Level: Easy Pagetype: Peer reviewed article Type: Bug Value: Users

Place. system/datatypes/peer_reviewed_article.php, sendStatusChangeMail() (main a019475): art-status-update-subject and art-status-update-body get $newStatus, which is the key approved, published or retracted.

Evidence. On a Dutch test site, the third approval sends every member:

Subject: Proefsite Eemstad: Status 'approved' voor 'Café aan de Eem: één proef van de mail'

The texts art-status-approved ("goedgekeurd") and the others exist in nl.php and en.php, but the mail does not use them.

Fix. __('art-status-' . $newStatus) for the status in the subject and the body.

Found by a mail test over SMTP for the Markdown editor (#520). Tested on main (a019475) on PHP 8.2 and 8.5.

A pull request follows.

🤖 Generated with Claude Code

Ngôn ngữ chính
JavaScript
Star
5
Fork
9
Merge trung bình
19 giờ 10 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PlanBCode/hypha

Tất cả issue của PlanBCode/hypha

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.