From e19a511d5bf9a8d06e379df404fbbf2d23384e35 Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Mon, 3 Apr 2023 13:17:40 +0200 Subject: [PATCH] Revert "make i18n work for upstream PR https://framagit.org/framasoft/mobilizon/-/merge_requests/1236" This reverts commit fc2c2db21c9b6e00c2142552f10d7cd2de27fd1d. --- js/src/i18n/de.json | 1 - js/src/i18n/en_US.json | 1 - js/src/types/sorting.model.ts | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/js/src/i18n/de.json b/js/src/i18n/de.json index 21168f5e6..c83bfe92a 100644 --- a/js/src/i18n/de.json +++ b/js/src/i18n/de.json @@ -1020,7 +1020,6 @@ "Upcoming": "Demnächst", "Upcoming events": "Bevorstehende Veranstaltungen", "Upcoming events from your groups": "Bevorstehende Veranstaltungen deiner Gruppen", - "Recently created events": "Zuletzt erstellte Veranstaltungen", "Update": "Update", "Update app": "App aktualisieren", "Update discussion title": "Überschrift der Diskussion aktualisieren", diff --git a/js/src/i18n/en_US.json b/js/src/i18n/en_US.json index 3767fdcd7..dae209e59 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -430,7 +430,6 @@ "Actor": "Actor", "Text": "Text", "Upcoming events": "Upcoming events", - "Recently created events": "Recently created events", "Resources": "Resources", "Public page": "Public page", "Discussions": "Discussions", diff --git a/js/src/types/sorting.model.ts b/js/src/types/sorting.model.ts index 8d654de1e..86b76c721 100644 --- a/js/src/types/sorting.model.ts +++ b/js/src/types/sorting.model.ts @@ -1,13 +1,13 @@ import { EventSortField, SortDirection } from "./enums"; export const SORTING_UPCOMING = { - title: "Upcoming events", + title: "Upcoming Events", orderBy: EventSortField.BEGINS_ON, direction: SortDirection.ASC, }; export const SORTING_CREATED = { - title: "Recently created events", + title: "Recently created Events", orderBy: EventSortField.INSERTED_AT, direction: SortDirection.DESC, };