From f1304b7df8417440eaf47d59d5f0f24e39255a2b Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Wed, 3 Aug 2022 18:39:45 +0200 Subject: [PATCH] make i18n work for upstream PR https://framagit.org/framasoft/mobilizon/-/merge_requests/1236 --- js/src/i18n/de.json | 1 + js/src/i18n/en_US.json | 1 + js/src/types/sorting.model.ts | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/js/src/i18n/de.json b/js/src/i18n/de.json index c83bfe92a..21168f5e6 100644 --- a/js/src/i18n/de.json +++ b/js/src/i18n/de.json @@ -1020,6 +1020,7 @@ "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 dae209e59..3767fdcd7 100644 --- a/js/src/i18n/en_US.json +++ b/js/src/i18n/en_US.json @@ -430,6 +430,7 @@ "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 86b76c721..8d654de1e 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, };