Skip to content

Commit

Permalink
fix enumerations and locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Nov 5, 2024
1 parent 81862b3 commit e818859
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions app/resources/locales/en_US/enumeration.po
Original file line number Diff line number Diff line change
Expand Up @@ -529,11 +529,8 @@ msgstr "Postal Code"
msgid "RequiredAddressFieldsEnum.street"
msgstr "Street"

msgid "RequiredAddressFieldsEnum.street,room,locality,state,postal_code"
msgstr "Street, Room, Locality, City, State, Postal Code"

msgid "RequiredAddressFieldsEnum.street,room,locality,state,postal_code,country"
msgstr "Street, Room, Locality, City, State, Postal Code, Country"
msgid "RequiredAddressFieldsEnum.street,locality,state,postal_code"
msgstr "Street, City, State, Postal Code"

msgid "GroupedAddressFieldsEnum.street,room"
msgstr "Street, Room"
Expand Down
2 changes: 1 addition & 1 deletion app/src/Lib/Enum/GroupedAddressFieldsEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ class GroupedAddressFieldsEnum extends StandardEnum {
// The order needs to be from local to country. Since this is the
// ordering that will be used for rendering
const StreetRoom = 'street,room';
const CityLocality = 'city,locality';
const Locality = 'locality';
const StatePostalCountry = 'state,postal_code,country';
}
4 changes: 2 additions & 2 deletions app/src/Lib/Enum/RequiredAddressFieldsEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ class RequiredAddressFieldsEnum extends StandardEnum {
const Country = "country";
const Postal = "postal_code";
const Street = "street";
const StreetCityStatePostal = "street,room,locality,state,postal_code";
const StreetCityStatePostalCountry = "street,room,locality,state,postal_code,country";
const StreetCityStatePostal = "street,locality,state,postal_code";
const StreetCityStatePostalCountry = "street,locality,state,postal_code,country";
}

0 comments on commit e818859

Please sign in to comment.