From 5f5eb2c46db922f0ab8d8b400086fbe779fd6da4 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Thu, 9 Jun 2022 11:54:41 -0500 Subject: [PATCH] fix: for erroneously-translated datetime config (#1362) * Fix for erroneously-translated datetime config * remove datetime formats from crowdin Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com> --- crowdin.yml | 2 -- frontend/lang/dateTimeFormats/da-DK.json | 28 ++++++++++++------------ frontend/lang/dateTimeFormats/de-DE.json | 28 ++++++++++++------------ frontend/lang/dateTimeFormats/it-IT.json | 26 +++++++++++----------- frontend/lang/dateTimeFormats/uk-UA.json | 16 +++++++------- 5 files changed, 49 insertions(+), 51 deletions(-) diff --git a/crowdin.yml b/crowdin.yml index 0a1a1699..33dfa290 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -2,8 +2,6 @@ preserve_hierarchy: false files: - source: /frontend/lang/messages/en-US.json translation: /frontend/lang/messages/%locale%.json - - source: /frontend/lang/dateTimeFormats/en-US.json - translation: /frontend/lang/dateTimeFormats/%locale%.json - source: /mealie/lang/messages/en-US.json translation: /mealie/lang/messages/%locale%.json - source: /mealie/repos/seed/resources/foods/locales/en-US.json diff --git a/frontend/lang/dateTimeFormats/da-DK.json b/frontend/lang/dateTimeFormats/da-DK.json index 533f938c..47f1f0c5 100644 --- a/frontend/lang/dateTimeFormats/da-DK.json +++ b/frontend/lang/dateTimeFormats/da-DK.json @@ -1,21 +1,21 @@ { "short": { - "month": "kort", - "day": "numerisk", - "weekday": "lang" + "month": "short", + "day": "numeric", + "weekday": "long" }, "medium": { - "month": "lang", - "day": "numerisk", - "weekday": "lang", - "year": "numerisk" + "month": "long", + "day": "numeric", + "weekday": "long", + "year": "numeric" }, "long": { - "year": "numerisk", - "month": "lang", - "day": "numerisk", - "weekday": "lang", - "hour": "numerisk", - "minute": "numerisk" + "year": "numeric", + "month": "long", + "day": "numeric", + "weekday": "long", + "hour": "numeric", + "minute": "numeric" } -} \ No newline at end of file +} diff --git a/frontend/lang/dateTimeFormats/de-DE.json b/frontend/lang/dateTimeFormats/de-DE.json index e9975531..47f1f0c5 100644 --- a/frontend/lang/dateTimeFormats/de-DE.json +++ b/frontend/lang/dateTimeFormats/de-DE.json @@ -1,21 +1,21 @@ { "short": { - "month": "kurz", - "day": "numerisch", - "weekday": "lang" + "month": "short", + "day": "numeric", + "weekday": "long" }, "medium": { - "month": "lang", - "day": "numerisch", - "weekday": "lang", - "year": "numerisch" + "month": "long", + "day": "numeric", + "weekday": "long", + "year": "numeric" }, "long": { - "year": "numerisch", - "month": "lang", - "day": "numerisch", - "weekday": "lang", - "hour": "numerisch", - "minute": "numerisch" + "year": "numeric", + "month": "long", + "day": "numeric", + "weekday": "long", + "hour": "numeric", + "minute": "numeric" } -} \ No newline at end of file +} diff --git a/frontend/lang/dateTimeFormats/it-IT.json b/frontend/lang/dateTimeFormats/it-IT.json index 814ed3a7..47f1f0c5 100644 --- a/frontend/lang/dateTimeFormats/it-IT.json +++ b/frontend/lang/dateTimeFormats/it-IT.json @@ -1,21 +1,21 @@ { "short": { - "month": "breve", - "day": "numerico", - "weekday": "lungo" + "month": "short", + "day": "numeric", + "weekday": "long" }, "medium": { - "month": "lungo", - "day": "numerico", - "weekday": "lungo", - "year": "numerico" + "month": "long", + "day": "numeric", + "weekday": "long", + "year": "numeric" }, "long": { "year": "numeric", - "month": "lungo", - "day": "numerico", - "weekday": "lungo", - "hour": "numerico", - "minute": "numerico" + "month": "long", + "day": "numeric", + "weekday": "long", + "hour": "numeric", + "minute": "numeric" } -} \ No newline at end of file +} diff --git a/frontend/lang/dateTimeFormats/uk-UA.json b/frontend/lang/dateTimeFormats/uk-UA.json index 7196037e..47f1f0c5 100644 --- a/frontend/lang/dateTimeFormats/uk-UA.json +++ b/frontend/lang/dateTimeFormats/uk-UA.json @@ -1,21 +1,21 @@ { "short": { "month": "short", - "day": "числовий", + "day": "numeric", "weekday": "long" }, "medium": { "month": "long", - "day": "числовий", + "day": "numeric", "weekday": "long", - "year": "числовий" + "year": "numeric" }, "long": { - "year": "числовий", + "year": "numeric", "month": "long", - "day": "числовий", + "day": "numeric", "weekday": "long", - "hour": "числовий", - "minute": "числовий" + "hour": "numeric", + "minute": "numeric" } -} \ No newline at end of file +}