X Tutup
Skip to content

Sort commodity names by translated string#5846

Merged
sturnclaw merged 1 commit intopioneerspacesim:masterfrom
sturnclaw:fix-commodity-display-sort
Jun 26, 2024
Merged

Sort commodity names by translated string#5846
sturnclaw merged 1 commit intopioneerspacesim:masterfrom
sturnclaw:fix-commodity-display-sort

Conversation

@sturnclaw
Copy link
Member

In the system/sector map economy widgets, we should sort commodities by their translated names rather than the I18N key. This was a hold-over from when the economy widget was a debug tool only.

Fixes #5844.

- Use translated string rather than translation key for lexicographical sort in system/sector map trade computer widget
@sturnclaw sturnclaw merged commit bff8965 into pioneerspacesim:master Jun 26, 2024
@sturnclaw sturnclaw deleted the fix-commodity-display-sort branch June 26, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unsorted translated commodity lists

1 participant

X Tutup