Skip to content

Commit 8b48dd9

Browse files
authored
Merge pull request #48 from ArjanPronk/dutch_language
Add dutch language
2 parents a2811e2 + 354a6fa commit 8b48dd9

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "notificationapi-js-client-sdk",
3-
"version": "4.6.3",
3+
"version": "4.7.0",
44
"description": "NotificationAPI client-side library for JavaScript",
55
"keywords": [
66
"notificationapi",

src/assets/i18n/nl-NL.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"no_more_notifications": "Geen notificaties meer om in te laden",
3+
"notifications": "Notificaties",
4+
"notification_settings": "Notificatie instellingen",
5+
"mark_all_as_read": "Markeer alles als gelezen",
6+
"no_notifications": "Je hebt geen notificaties!",
7+
"notification_preferences": "Notificatie voorkeuren",
8+
"click_here": "Klik hier",
9+
"necessary_permissions_push_notifications": "Om ons de nodige browser rechten te geven om push notificaties te ontvangen.",
10+
"do_you_want_to_receive_push_notifications": "Wil je push notificaties ontvangen?",
11+
"yes": "Ja",
12+
"no_thanks": "Nee, bedankt",
13+
"expand": "uitklappen",
14+
"there_are_no_notifications_to_configure": "Er zijn geen notificaties om in te stellen",
15+
"mark_as_read": "Markeer als gelezen",
16+
"ago": "geleden",
17+
"year": "jaar",
18+
"years": "jaren",
19+
"month": "maand",
20+
"months": "maanden",
21+
"day": "dag",
22+
"days": "dagen",
23+
"hour": "uur",
24+
"hours": "uren",
25+
"minute": "minuut",
26+
"minutes": "minuten",
27+
"just_now": "zojuist"
28+
}

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import enUS from './assets/i18n/en-US.json';
2626
import esES from './assets/i18n/es-ES.json';
2727
import frFR from './assets/i18n/fr-FR.json';
2828
import itIT from './assets/i18n/it-IT.json';
29+
import nlNL from './assets/i18n/nl-NL.json';
2930
import ptBR from './assets/i18n/pt-BR.json';
3031

3132
const defaultRestAPIUrl = 'https://api.notificationapi.com';
@@ -36,6 +37,7 @@ const supportedLanguages: SupportedLanguages[] = [
3637
'es-ES',
3738
'fr-FR',
3839
'it-IT',
40+
'nl-NL',
3941
'pt-BR'
4042
];
4143
const supportedLanguagesFile: {
@@ -45,6 +47,7 @@ const supportedLanguagesFile: {
4547
'es-ES': esES,
4648
'fr-FR': frFR,
4749
'it-IT': itIT,
50+
'nl-NL': nlNL,
4851
'pt-BR': ptBR
4952
};
5053
const PAGE_SIZE = 5;

src/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export type SupportedLanguages =
7777
| 'es-ES'
7878
| 'fr-FR'
7979
| 'it-IT'
80+
| 'nl-NL'
8081
| 'pt-BR';
8182

8283
export type TranslationObject = {

0 commit comments

Comments
 (0)