Skip to content

Commit

Permalink
german
Browse files Browse the repository at this point in the history
  • Loading branch information
Hesselaar23 committed Apr 15, 2024
1 parent 3430dab commit 72c478b
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/locales/de/common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"hello": "hallo"
}
1 change: 1 addition & 0 deletions src/locales/de/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions src/locales/de/constants.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
7 changes: 7 additions & 0 deletions src/locales/de/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import common from './common.json';
import components from './components.json';
import constants from './constants.json';
import languages from './languages.json';
import pages from './pages.json';

export { common, components, constants, languages, pages };
1 change: 1 addition & 0 deletions src/locales/de/languages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions src/locales/de/pages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 2 additions & 1 deletion src/locales/en/languages.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"current": "Current selection",
"en": "English",
"nl": "Dutch"
"nl": "Dutch",
"de": "German"
}
4 changes: 4 additions & 0 deletions src/locales/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ export const languages = {
native: 'Nederlands',
flag: 'nl',
},
de: {
native: 'German',
flag: 'de',
}

Check failure on line 13 in src/locales/languages.ts

View workflow job for this annotation

GitHub Actions / Linting

Insert `,`
} satisfies Record<
string,
{
Expand Down
3 changes: 2 additions & 1 deletion src/locales/nl/languages.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"current": "Huidige selectie",
"en": "Engels",
"nl": "Nederlands"
"nl": "Nederlands",
"de": "Duits"
}

0 comments on commit 72c478b

Please sign in to comment.