You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
Trade computer lists unsorted commodities when not in english language.
I use french translation:
"Air processors" translates to "Processeurs d'air".
In trade computer screens, "Processeurs d'air" is the first line of the list.
Observed behaviour
translated lists are alphabetically sorted by English value.
Expected behaviour
translated lists should be alphabetically sorted by translated value.
Steps to reproduce
select other languages in options screen.
My pioneer version (and OS):
ver 20240203 on: Linux
Steps to correct
in /data/pigui/modules/system-econ-view.lua, table.sort function in lines 101, 102, 128 & 129 needs to be:
lcomm[a[1]] < lcomm[b[1]] ( in place of a[1] < b[1] ).
The text was updated successfully, but these errors were encountered:
If I remember correctly, this is because we sort not on language, but on the KEY used, which we do because then categories are shows in some what logical order.
Hello.
Trade computer lists unsorted commodities when not in english language.
I use french translation:
"Air processors" translates to "Processeurs d'air".
In trade computer screens, "Processeurs d'air" is the first line of the list.
Observed behaviour
translated lists are alphabetically sorted by English value.
Expected behaviour
translated lists should be alphabetically sorted by translated value.
Steps to reproduce
select other languages in options screen.
My pioneer version (and OS):
ver 20240203 on: Linux
Steps to correct
in /data/pigui/modules/system-econ-view.lua, table.sort function in lines 101, 102, 128 & 129 needs to be:
lcomm[a[1]] < lcomm[b[1]] ( in place of a[1] < b[1] ).
The text was updated successfully, but these errors were encountered: