Bug Report: Incorrect Cast Time Formatting (ruRU)
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 56/100
Hướng nghiên cứu
Start by comparing the attached Spell.lua with the repository's existing spell tooltip implementation and focus on how textual versus numerical cast times are handled. The issue says the fix belongs in Spell.lua; verify in the ruRU client that textual cast descriptions have no redundant caption or overlap, while numerical cast times retain their caption. Treat the proposed layout adjustments as out of scope.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Sup. I've been trying to Vibecode a fix for cyrrilic bug. Completed it more or less, checked with my hunter and warlock
spell.lua (txt) attached
There are some other minor things I've found, but not sure even if they are worth your time
Bug Report: Incorrect Cast Time Formatting (ruRU)
Addon: PrettyTooltip 1.4.0
Client: WoW Forever 1.60.1 (70888)
Locale: ruRU
Original issue
We identified a formatting issue in the Cast Time column of spell tooltips.
For abilities with textual cast descriptions, such as "Мгновенное действие" (Instant Cast) or "Следующая атака" (Next Melee Attack), PrettyTooltip automatically added a separate "ПРИМЕНЕНИЕ" (Cast) caption underneath the text.
This caption was redundant and, in some cases, overlapped with longer descriptions that wrapped onto a second line.
Numerical cast times, such as "1,5 сек.", were already displayed correctly with the smaller "ПРИМЕНЕНИЕ" caption.
Intended fix
The corrected Spell.lua distinguishes between numerical cast times and textual cast descriptions:
- Numerical cast times: Retain the original value and smaller "ПРИМЕНЕНИЕ" caption.
- Instant casts: Display "Мгновенное применение" as a single text element without an additional caption.
- Next-attack abilities: Display "Следующая атака" without an additional caption.
Additional changes and clarification
The fix was developed through several iterations with AI assistance. During those iterations, the AI introduced unnecessary changes to column widths, spacing, and vertical positioning while attempting to resolve the original text-overlap issue.
These layout adjustments were not part of the original bug and should not be considered necessary to fix it.
We subsequently restored the original equal-width column layout and made additional alignment adjustments to correct visual inconsistencies introduced during the AI-assisted revisions.
Result
The final modified file displays numerical cast times and textual cast descriptions correctly, without redundant captions or overlapping text.
The original four-column design is preserved as closely as possible.
Note to the developer: The essential fix is the conditional handling of cast descriptions. The additional layout changes in the attached Spell.lua are primarily consequences of the iterative AI-assisted debugging process and may not be necessary for an official implementation.
The issue and subsequent changes were visually tested in the Russian game client.
- Ngôn ngữ chính
- Lua
- Star
- 0
- Fork
- 0
- Merge trung bình
- 21 giờ 20 phút
- Pull request đã merge (30 ngày)
- 5
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FallenShard/PrettyTooltip
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FallenShard/PrettyTooltip#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
FallenShard/PrettyTooltip#57 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
FallenShard/PrettyTooltip#53 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 56/100
FallenShard/PrettyTooltip#52 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
FallenShard/PrettyTooltip#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của FallenShard/PrettyTooltip
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
panel-attack/panel-game#822 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
slice weekend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
Life-Framework/Life-Framework#3212 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug discord guide:01b-riverglades locale:enUS triage v4.1.1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
petertriho/nvim-scrollbar#127 ·