Skip to content

Commit

Permalink
chore: update i18n messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstadler committed Aug 20, 2024
1 parent d224aac commit 33e5f14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 54 deletions.
5 changes: 4 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ export default function LocaleLayout(props: LocaleLayoutProps): ReactNode {
*/}
<Translations locale={locale} />

<Providers locale={locale} messages={pick(messages, ["Error"])}>
<Providers
locale={locale}
messages={pick(messages, ["Error", "SearchPage", "PublicationCover"])}
>
<AppLayout>
<AppHeader />
{children}
Expand Down
53 changes: 0 additions & 53 deletions messages/de.json

This file was deleted.

4 changes: 4 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
"translated_by": "translated by",
"later_editions": "later editions"
},
"SearchPage": {
"filter": "filter",
"filter_publications": "filter publications"
},
"TranslatorPage": {
"published_in": "published in"
},
Expand Down

0 comments on commit 33e5f14

Please sign in to comment.