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
The locale_currencies table should be 41 entries long instead of 28, and each entry should have the proper ISO code for that currency or custom for the custom currency at index 31 (not 28).
Expected console output for set currency 28 then set currency: Current value for 'locale.currency' is 'LTL' (min: 0, max: 41)
Expected console output for set currency 3 then set currency: Current value for 'locale.currency' is 'JPY' (min: 0, max: 41)
Expected console output for set currency 31 then set currency: Current value for 'locale.currency' is 'custom' (min: 0, max: 41)
Expected console output for set currency 41 then set currency: Current value for 'locale.currency' is 'MYR' (min: 0, max: 41)
Actual result
The following currencies have different values for the _locale_currencies table compared to their ISO code:
Version of OpenTTD
12.0-beta 1 via Steam (Win 10)
Expected result
The
locale_currencies
table should be 41 entries long instead of 28, and each entry should have the proper ISO code for that currency orcustom
for the custom currency at index 31 (not 28).Expected console output for
set currency 28
thenset currency
:Current value for 'locale.currency' is 'LTL' (min: 0, max: 41)
Expected console output for
set currency 3
thenset currency
:Current value for 'locale.currency' is 'JPY' (min: 0, max: 41)
Expected console output for
set currency 31
thenset currency
:Current value for 'locale.currency' is 'custom' (min: 0, max: 41)
Expected console output for
set currency 41
thenset currency
:Current value for 'locale.currency' is 'MYR' (min: 0, max: 41)
Actual result
The following currencies have different values for the
_locale_currencies
table compared to their ISO code:_locale_currencies
at indexThe
_locale_currency
table is stored here:OpenTTD/src/table/settings/locale_settings.ini
Line 13 in 8f5d0ec
The ISO codes are found in the last 3 letters of the string's ID name in the following list:
OpenTTD/src/lang/english.txt
Lines 910 to 953 in cb9a2de
Actual console output for
set currency 28
thenset currency
:Current value for 'locale.currency' is 'custom' (min: 0, max: 41)
Actual console output for
set currency 3
thenset currency
:Current value for 'locale.currency' is 'YEN' (min: 0, max: 41)
Actual console output for
set currency 31
thenset currency
:Current value for 'locale.currency' is '31' (min: 0, max: 41)
Actual console output for
set currency 41
thenset currency
:Current value for 'locale.currency' is '41' (min: 0, max: 41)
Steps to reproduce
set currency [index]
with the corresponding index.set currency
in console and notice the output.The text was updated successfully, but these errors were encountered: