A continuation of HomeBox the inventory and organization system built for the Home User
fix: language API broke capitalization of currency names
Matthew Kilgore98942561b39f
diff --git a/.github/scripts/update_currencies.py b/.github/scripts/update_currencies.pyindex f8747c8d..96df50b7 100644--- a/.github/scripts/update_currencies.py+++ b/.github/scripts/update_currencies.py@@ -152,11 +152,16 @@ def fetch_currencies():# Get decimal places using the helper functiondecimals = get_currency_decimals(code, iso_data)+ # Capitalize the first letter of the currency name+ currency_name = info.get('name', '')+ if currency_name:+ currency_name = currency_name[0].upper() + currency_name[1:]+results.append({'code': code,'local': country_name,'symbol': info.get('symbol', ''),- 'name': info.get('name', ''),+ 'name': currency_name,'decimals': decimals})