Skip to content

Commit

Permalink
Fix typo in search word codes and use plural in translation ids.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismeonmounteverest committed Oct 21, 2023
1 parent d116a9e commit e89b602
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Model/SuggestLocationModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
class SuggestLocationModel
{
private const EXACT_PLACE = 'search.place.exact';
private const PLACE = 'search.place';
private const ADMIN_UNIT = 'search.admin.unit';
private const COUNTRY = 'search.country';
private const PLACE = 'search.places';
private const ADMIN_UNIT = 'search.admin.units';
private const COUNTRY = 'search.countries';

private const TYPE_PLACE = 'isplace';
private const TYPE_ADMIN_UNIT = 'isadmin';
Expand Down
6 changes: 3 additions & 3 deletions translations/missing/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ search.reset.options:
search.place.exact:
- 'Exact matches'
- Section header for the search results of places people live in if there is an exact match
search.place:
search.places:
- 'Places'
- Section header for the search results of places people live in
search.admin.unit:
search.admin.units:
- 'Administrative Units'
- Section header for the search results of administrative units found
search.Countries:
search.countries:
- 'Countries'
- Section header for the search results of countries found

0 comments on commit e89b602

Please sign in to comment.