[Retail][zhCN] Enchantment quality icon displayed as raw atlas text

オープン 初心者向け
#66 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
lua
領域
backend

調査の方向性

Tooltips/Item.lua の ItemEnchantmentPermanent ハンドラーを読み、特に issue で説明されているコロンの照合パターンを確認してください。zhCN Retail クライアントでアイテム 240949 を使って再現し、表示されたエンチャント行を期待される名前と品質アイコンと比較してください。生のアトラスマークアップが表示されなくなり、両方が正しく表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug:

When using PrettyTooltip on the Simplified Chinese (zhCN) Retail client, the enchantment line displays raw atlas markup instead of the enchantment name and quality icon.

The following text appears in the tooltip:

Professions-ChatIcon-Quality-12-Tier2:20:20|

Steps to reproduce:

  1. Use the Simplified Chinese (zhCN) Retail client.
  2. Enable PrettyTooltip.
  3. Hover over an enchanted item with a crafting quality icon.
  4. The enchantment line displays raw atlas markup.

Expected behavior:

The enchantment name and its corresponding quality icon should be displayed correctly.

Possible cause:

The issue may be related to the following pattern in Tooltips/Item.lua, inside the ItemEnchantmentPermanent handler:

text:match("^[^:]-:%s*(.+)$") or text

The zhCN client may use a full-width colon (:) or omit the colon entirely. Consequently, this pattern may incorrectly match the colon inside the atlas markup (|A:), removing the enchantment name and breaking the atlas formatting.

This is a suspected cause and has not been verified in-game.

Environment:

Game: World of Warcraft Retail
Client locale: Simplified Chinese (zhCN)
Item ID: 240949

Screenshot:

See the attached screenshot.

Thank you for your work on this addon!

A
主要言語
Lua
スター
0
フォーク
0
平均マージ
21時間 20分
マージ済み PR(30日)
5

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FallenShard/PrettyTooltip のほかの issue

FallenShard/PrettyTooltip の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。