Skip to content

Add missing locale entries for TotalHealing/DamageTaken modules - #7

Open
elliottchambers wants to merge 1 commit into
zarnivoop:mainfrom
elliottchambers:fix/missing-locale-entries
Open

Add missing locale entries for TotalHealing/DamageTaken modules#7
elliottchambers wants to merge 1 commit into
zarnivoop:mainfrom
elliottchambers:fix/missing-locale-entries

Conversation

@elliottchambers

Copy link
Copy Markdown

Summary

  • `AddLoadableModule()` in Skada.lua looks up `L[name]` using the raw internal module name (e.g. `"TotalHealing"`), separate from the friendly display strings already defined elsewhere (e.g. `"Total healing"`).
  • Those raw keys were never added to `locale/enUS.lua`, so AceLocale-3.0 throws "Missing entry" errors on login for: `TotalHealing`, `DamageTaken`, `Other`, `TPS`, `DTPS`, and `Timestamp`.
  • Reproduced on Classic Era (Interface 11508/11509) with the current CurseForge 1.10.7 build.

Fix

Adds the six missing entries to `locale/enUS.lua`, matching the style/values already present on the old (unmerged, since-diverged) `basic-fixes` branch.

Test plan

  • Loaded on Classic Era 1.15.9 — the six "AceLocale-3.0: Skada: Missing entry" errors no longer appear on `PLAYER_LOGIN`.

AddLoadableModule() looks up L[name] using the raw internal module
name (e.g. "TotalHealing"), separately from the friendly display
strings already defined (e.g. "Total healing"). Since those raw
keys were never added to locale/enUS.lua, AceLocale-3.0 throws
"Missing entry" errors on login for: TotalHealing, DamageTaken,
Other, TPS, DTPS, and Timestamp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant