Russian normative keywords in specs written in Russian

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
internationalization

Hướng nghiên cứu

Start with issue #840 and its comment describing the Russian keyword forms; this issue leaves the mechanism unsettled and depends on that work. Review the registry proposal and the existing strict validation warning, then identify the tests and documentation paths from that implementation. Done means Russian normative forms work with strict validation when the project language is ru, with tests and a short docs update.

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

Mô tả

The problem, in one or two sentences

A spec written in Russian cannot use strict validation. The prose may be Russian, but the normative keyword has to be SHALL or MUST, so --strict fails on the RFC 2119 guidance warning.

Who this affects

Russian-speaking teams, and more generally anyone whose requirement text is reviewed by non-English stakeholders.

Alternatives you considered

Setting the language in config.yaml (docs/multi-language.md) gives Russian prose, but leaves the keyword requirement unchanged, so the choice is mixed-script sentences like "Система SHALL сохранять черновик при разрыве связи" or no strict mode at all. #1502 removed the hard failure in normal validation; strict still fails on the same warning.

Why it's worth the added complexity

If the keyword registry from #840 lands, Russian costs one entry: a literal list of forms plus tests and a short docs block, with no parser, schema, CLI-shape or dependency changes. For people who do not need it, the cost is nil - the entry only activates when the project language is ru.

What you have in mind

Nothing settled, and I am not proposing a mechanism of my own. The shape depends on what #840 decides; the details of the Russian forms are in a comment there.

If the approach fits, I would like to write the fix and will wait for an invitation here, as CONTRIBUTING describes.

Ngôn ngữ chính
TypeScript
Star
76k
Fork
5.2k
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
58

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 Fission-AI/OpenSpec

Tất cả issue của Fission-AI/OpenSpec

Issue tương tự

Thêm issue về TypeScript

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.