Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #584 from beabee-communityrm/chore/update-i18n
Browse files Browse the repository at this point in the history
chore: update i18n
  • Loading branch information
wpf500 authored Apr 19, 2024
2 parents 246cc13 + ddce0ba commit e7310fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,15 @@
},
"editCallout": {},
"editNotice": {},
"footer": {},
"footer": {
"contactUs": "Contact us at",
"handbookResources": "Handbook & Resources",
"impressum": "Impressum",
"joinCommunity": "Join the Community",
"poweredBy": "powering independent local newsrooms",
"privacyPolicy": "Privacy Policy",
"terms": "Terms and Conditions"
},
"forgotPassword": {},
"form": {
"errorMessages": {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/dates.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { de, enGB, nl, pt, ru } from 'date-fns/locale';
import { de, enGB, nl, pt, ru, it } from 'date-fns/locale';
import { formatDistance, format } from 'date-fns';
import i18n from '../lib/i18n';

const { locale } = i18n.global;
const locales = { en: enGB, de, nl, pt, ru };
const locales = { en: enGB, de, nl, pt, ru, it };

export function formatDistanceLocale(
firstDate: Date,
Expand Down

0 comments on commit e7310fa

Please sign in to comment.