Skip to content

Commit

Permalink
Sort options: Default to German term "Relevanz"
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhardt committed Feb 21, 2024
1 parent 661d812 commit 04f43d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/recensio/plone/browser/listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class SortingMenuView(BrowserView):
def sort_options(self):
return [
{
"title": _("Relevance"),
"title": _("label_relevance", default="Relevanz"),
"url": self._url(None),
"current": self._current(None),
},
Expand Down
2 changes: 1 addition & 1 deletion src/recensio/plone/vocabularies/sort_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class SortOptionsVocabulary:
def __call__(self, *args, **kwargs):
options = {
"relevance": _("Relevance"),
"relevance": _("label_relevance", default="Relevanz"),
"sortable_title": _("Titel/alphabetisch"),
"modified": _("label_modification_date"),
"created": _("label_creation_date", default="Erstellungsdatum"),
Expand Down

0 comments on commit 04f43d2

Please sign in to comment.