Skip to content

Commit

Permalink
Merge 3526c3f into 29038e2
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurisandbhor committed Nov 10, 2022
2 parents 29038e2 + 3526c3f commit c940871
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ const SortSelect = ({ sortQuery, handleSelectChange }) => {
defaultMessage: 'Newest',
},
},
'githubStars:desc': {
selected: {
id: 'admin.pages.MarketPlacePage.sort.githubStars.selected',
defaultMessage: 'Sort by GitHub stars',
},
option: {
id: 'admin.pages.MarketPlacePage.sort.githubStars',
defaultMessage: 'Number of GitHub stars',
},
},
'npmDownloads:desc': {
selected: {
id: 'admin.pages.MarketPlacePage.sort.npmDownloads.selected',
defaultMessage: 'Sort by npm downloads',
},
option: {
id: 'admin.pages.MarketPlacePage.sort.npmDownloads',
defaultMessage: 'Number of downloads',
},
},
};

return (
Expand Down
4 changes: 4 additions & 0 deletions packages/core/admin/admin/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@
"admin.pages.MarketPlacePage.sort.newest": "Newest",
"admin.pages.MarketPlacePage.sort.alphabetical.selected": "Sort by alphabetical order",
"admin.pages.MarketPlacePage.sort.newest.selected": "Sort by newest",
"admin.pages.MarketPlacePage.sort.githubStars": "Number of GitHub stars",
"admin.pages.MarketPlacePage.sort.githubStars.selected": "Sort by GitHub stars",
"admin.pages.MarketPlacePage.sort.npmDownloads": "Number of downloads",
"admin.pages.MarketPlacePage.sort.npmDownloads.selected": "Sort by npm downloads",
"admin.pages.MarketPlacePage.filters.collections": "Collections",
"admin.pages.MarketPlacePage.filters.collectionsSelected": "{count, plural, =0 {No collections} one {# collection} other {# collections}} selected",
"admin.pages.MarketPlacePage.filters.categories": "Categories",
Expand Down

0 comments on commit c940871

Please sign in to comment.