Skip to content

Commit

Permalink
add changeDate option to dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Oct 25, 2024
1 parent a3b8717 commit 42302f0
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/feature/search/src/lib/sort-by/sort-by.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export class SortByComponent implements OnInit {
label: marker('results.sortBy.dateStamp'),
value: SortByEnum.CREATE_DATE.join(','),
},
{
label: marker('results.sortBy.changeDate'),
value: SortByEnum.CHANGE_DATE.join(','),
},
{
label: marker('results.sortBy.popularity'),
value: SortByEnum.POPULARITY.join(','),
Expand Down
1 change: 1 addition & 0 deletions translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "{hits, plural, =0{Keine Dokumente entsprechen der angegebenen Suche.} one{1 Datensatz gefunden.} other{{hits} Datensätze gefunden.}}",
"results.records.hits.selected": "{ amount } ausgewählt",
"results.showMore": "Mehr Ergebnisse anzeigen...",
"results.sortBy.changeDate": "",
"results.sortBy.dateStamp": "Neueste",
"results.sortBy.popularity": "Beliebtheit",
"results.sortBy.qualityScore": "Qualitätsbewertung",
Expand Down
1 change: 1 addition & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "{hits, plural, =0{No documents match the specified search.} one{1 record found.} other{{hits} records found.}}",
"results.records.hits.selected": "{ amount } selected",
"results.showMore": "Show more results...",
"results.sortBy.changeDate": "Last modification",
"results.sortBy.dateStamp": "Most recent",
"results.sortBy.popularity": "Popularity",
"results.sortBy.qualityScore": "Quality score",
Expand Down
1 change: 1 addition & 0 deletions translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "",
"results.records.hits.selected": "",
"results.showMore": "",
"results.sortBy.changeDate": "",
"results.sortBy.dateStamp": "",
"results.sortBy.popularity": "",
"results.sortBy.qualityScore": "",
Expand Down
1 change: 1 addition & 0 deletions translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "{hits, plural, =0{Aucune correspondance.} one{1 enregistrement trouvé.} other{{hits} résultats.}}",
"results.records.hits.selected": "{amount, plural, one{1 sélectionnée} other{{ amount } sélectionnées}}",
"results.showMore": "Plus de résultats...",
"results.sortBy.changeDate": "Dernière modification",
"results.sortBy.dateStamp": "Plus récent",
"results.sortBy.popularity": "Popularité",
"results.sortBy.qualityScore": "Indicateur de qualité",
Expand Down
1 change: 1 addition & 0 deletions translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "{hits, plural, =0{Nessuna corrispondenza.} one{1 record trovato.} other{{hits} risultati.}}",
"results.records.hits.selected": "{amount, plural, one{1 selezionato} other{{ amount } selezionati}}",
"results.showMore": "Altri risultati...",
"results.sortBy.changeDate": "",
"results.sortBy.dateStamp": "Più recente",
"results.sortBy.popularity": "Popolarità",
"results.sortBy.qualityScore": "Indicatore di qualità",
Expand Down
1 change: 1 addition & 0 deletions translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "",
"results.records.hits.selected": "",
"results.showMore": "",
"results.sortBy.changeDate": "",
"results.sortBy.dateStamp": "",
"results.sortBy.popularity": "",
"results.sortBy.qualityScore": "",
Expand Down
1 change: 1 addition & 0 deletions translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "",
"results.records.hits.selected": "",
"results.showMore": "",
"results.sortBy.changeDate": "",
"results.sortBy.dateStamp": "",
"results.sortBy.popularity": "",
"results.sortBy.qualityScore": "",
Expand Down
1 change: 1 addition & 0 deletions translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@
"results.records.hits.found": "{hits, plural, =0{Žiadne dokumenty nezodpovedajú zadanému vyhľadávaniu.} one{1 záznam nájdený.} other{{hits} záznamov nájdených.}}",
"results.records.hits.selected": "{ amount } označených",
"results.showMore": "Zobraziť viac výsledkov...",
"results.sortBy.changeDate": "",
"results.sortBy.dateStamp": "Najnovšie",
"results.sortBy.popularity": "Popularita",
"results.sortBy.qualityScore": "Hodnotenie kvality",
Expand Down

0 comments on commit 42302f0

Please sign in to comment.