Skip to content

Commit 2e7731a

Browse files
authored
Merge pull request #129 from Sync-in/feat-i18n-nl
feat(frontend:i18n): add nl
2 parents d90cbf7 + 4c3a0cb commit 2e7731a

7 files changed

Lines changed: 707 additions & 1 deletion

File tree

backend/src/applications/notifications/i18n/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { hi } from './hi'
66
import { it } from './it'
77
import { ja } from './ja'
88
import { ko } from './ko'
9+
import { nl } from './nl'
910
import { pl } from './pl'
1011
import { pt } from './pt'
1112
import { pt_BR } from './pt_br'
@@ -21,6 +22,7 @@ export const translations = new Map<i18nLocale, Record<string, string>>([
2122
['it', it],
2223
['ja', ja],
2324
['ko', ko],
25+
['nl', nl],
2426
['pl', pl],
2527
['pt', pt],
2628
['pt-BR', pt_BR],
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
export const nl = {
2+
'If you no longer wish to receive notifications, change your preferences directly from your user space.':
3+
'Als u geen meldingen meer wilt ontvangen, wijzig dan uw voorkeuren rechtstreeks vanuit uw gebruikersruimte.',
4+
'Access it from': 'Open dit via',
5+
Comment: 'Opmerking',
6+
commented: 'heeft een opmerking geplaatst',
7+
'You receive this notification if you are the owner of the file or if you have also commented on this file':
8+
'U ontvangt deze melding omdat u de eigenaar van het bestand bent of omdat u bij dit bestand een opmerking heeft geplaatst',
9+
Space: 'Ruimte',
10+
'from the space': 'vanuit de ruimte',
11+
'to the space': 'naar de ruimte',
12+
'Access your spaces from': 'Open uw ruimtes via',
13+
'Access this space from': 'Open deze ruimte via',
14+
'You now have access to the space': 'U heeft nu toegang tot de ruimte',
15+
'You no longer have access to the space': 'U heeft geen toegang meer tot de ruimte',
16+
'This space has been permanently deleted': 'Deze ruimte is definitief verwijderd',
17+
anchored: 'heeft gekoppeld',
18+
unanchored: 'heeft ontkoppeld',
19+
Share: 'Share',
20+
'shared with you': 'heeft met u gedeeld',
21+
'no longer share with you': 'deelt niet langer met u',
22+
'You now have access to the share': 'U hebt nu toegang tot de share',
23+
'You no longer have access to the share': 'U hebt geen toegang meer tot de share',
24+
'You are no longer a member of the parent share, your child share has been deleted':
25+
'U bent geen lid meer van de bovenliggende share; uw onderliggende share is verwijderd',
26+
'Access your shares from': 'Open uw shares via',
27+
'Access password': 'Toegangswachtwoord',
28+
Sync: 'Synchronisatie',
29+
'Access your syncs from': 'Open uw synchronisaties via',
30+
'You are no longer synchronizing': 'U synchroniseert niet meer',
31+
'Unlock Request': 'Verzoek tot ontgrendeling',
32+
'You receive this notification because you have a lock on this file.': 'U ontvangt deze melding omdat u dit bestand hebt vergrendeld.',
33+
'sends you a request to unlock the file': 'stuurt u een verzoek om het bestand te ontgrendelen',
34+
'Security notification': 'Beveiligingsmelding',
35+
'Your account has been locked after several unsuccessful authentication attempts':
36+
'Uw account is vergrendeld na meerdere mislukte pogingen tot authenticatie',
37+
'This security notification concerns your Sync-in account. Please contact an administrator to perform the analysis and unlock your account.':
38+
'Deze beveiligingsmelding betreft uw Sync-in-account. Neem contact op met een beheerder om dit te laten onderzoeken en uw account te ontgrendelen.',
39+
'Two-factor authentication (2FA) on your account has been disabled': 'Twee-factor-authenticatie (2FA) op uw account is uitgeschakeld',
40+
'Two-factor authentication (2FA) on your account has been enabled': 'Twee-factor-authenticatie (2FA) op uw account is ingeschakeld',
41+
'You received this notification because the security of your Sync-in account has changed. If you think this was a mistake, please review your security settings or contact your administrator.':
42+
'U heeft deze melding ontvangen omdat de beveiliging van uw Sync-in-account is gewijzigd. Als u denkt dat dit een vergissing is, controleer dan uw beveiligingsinstellingen of neem contact op met uw beheerder.',
43+
'Address IP': 'IP-adres',
44+
Browser: 'Browser',
45+
'New Version Available': 'Nieuwe versie beschikbaar',
46+
'You receive this notification because you are the administrator of this server.':
47+
'U ontvangt deze melding omdat u de beheerder bent van deze server.',
48+
'A new update is available': 'Er is een update beschikbaar'
49+
} as const

backend/src/common/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const LANG_DEFAULT = 'en' as const
2-
export const LANG_SUPPORTED = new Set(['de', 'en', 'es', 'fr', 'hi', 'it', 'ja', 'ko', 'pl', 'pt', 'pt-BR', 'ru', 'tr', 'zh'] as const)
2+
export const LANG_SUPPORTED = new Set(['de', 'en', 'es', 'fr', 'hi', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'pt-BR', 'ru', 'tr', 'zh'] as const)
33
export type i18nLocaleSupported = typeof LANG_SUPPORTED extends Set<infer T> ? T : never
44
export type i18nLocale = Exclude<i18nLocaleSupported, typeof LANG_DEFAULT>
55

frontend/src/i18n/l10n.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const i18nLanguageText: Record<i18nLocaleSupported | typeof USER_LANGUAGE
3131
it: 'Italiano',
3232
ja: '日本語',
3333
ko: '한국어',
34+
nl: 'Nederlands',
3435
pl: 'Polski',
3536
pt: 'Português',
3637
'pt-BR': 'Português (Brasil)',

frontend/src/i18n/lib/bs.i18n.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
jaLocale,
1010
koLocale,
1111
LocaleData,
12+
nlLocale,
1213
plLocale,
1314
ptBrLocale,
1415
ruLocale,
@@ -25,6 +26,7 @@ const BOOTSTRAP_LOCALES: Record<Exclude<i18nLocaleSupported, 'en'>, LocaleData>
2526
it: itLocale,
2627
ja: jaLocale,
2728
ko: koLocale,
29+
nl: nlLocale,
2830
pl: plLocale,
2931
pt: ptBrLocale,
3032
'pt-BR': ptBrLocale,

frontend/src/i18n/lib/dayjs.i18n.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const DAYJS_LOADER: Record<i18nLocaleSupported, () => Promise<ILocale>> = {
1010
it: () => import('dayjs/esm/locale/it'),
1111
ja: () => import('dayjs/esm/locale/ja'),
1212
ko: () => import('dayjs/esm/locale/ko'),
13+
nl: () => import('dayjs/esm/locale/nl'),
1314
pl: () => import('dayjs/esm/locale/pl'),
1415
pt: () => import('dayjs/esm/locale/pt'),
1516
'pt-BR': () => import('dayjs/esm/locale/pt-br'),

0 commit comments

Comments
 (0)