MINOR: Ship stat labels in UIManager show incorrect casing #8
Labels
No labels
blocked:needs-decision
blocked:no-changes
feature-request
quickfix
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/gravity-racer#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
In
_refreshShipSelect()at UIManager.js line 372, ship stat keys are converted to labels via:This produces ugly labels like:
RcsPower(should be "RCS Power")GTolerance(should be "G-Tolerance")HullHp(should be "Hull HP")DragCoeff(should be "Drag Coeff")Fix
Add a label mapping object or use a smarter camelCase-to-words conversion.