-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathi18n.js
72 lines (70 loc) · 2.24 KB
/
i18n.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* eslint-disable @typescript-eslint/no-var-requires */
const { ROUTES } = require('./src/constants/routes');
const config = {
locales: ['en'],
defaultLocale: 'en',
pages: {
'*': [
'common',
'auth',
'notifications',
'404',
'gates-card',
'errors',
'org-signup',
],
[ROUTES.ALTITUDE]: ['altitude'],
[ROUTES.DAO_EDIT]: ['dao-edit'],
[ROUTES.DAO_NEW]: ['dao-new'],
[ROUTES.DAO_PROFILE]: ['dao-profile', 'org-signup'],
[ROUTES.EXPLORE]: ['explore', 'org-signup'],
[ROUTES.EXPLORE_EARN]: ['explore', 'org-signup'],
[ROUTES.EXPLORE_ISSUE]: ['explore', 'org-signup'],
[ROUTES.EXPLORE_PASSES]: ['explore', 'org-signup'],
[ROUTES.EXPLORE_ORGANIZATIONS]: ['explore', 'org-signup'],
[ROUTES.GATE_NEW]: ['gate-new'],
[ROUTES.GATE_PROFILE]: [
'gate-new',
'gate-profile',
'credential',
'protocol',
],
[ROUTES.LANDING]: ['index'],
[ROUTES.TERMS]: ['index', 'terms'],
[ROUTES.CREDIT_SCORE]: ['credit-score'],
[ROUTES.MY_PROFILE]: ['user-profile'],
[ROUTES.AUTHENTICATION]: ['authentication'],
[ROUTES.PROFILE_EDIT]: ['profile-edit'],
[ROUTES.PROFILE]: ['user-profile'],
[ROUTES.SEARCH]: ['search'],
[ROUTES.SETTINGS]: ['settings'],
[ROUTES.SETTINGS_PUBLIC_PROFILE]: ['settings'],
[ROUTES.SETTINGS_ACCOUNT_MANAGEMENT]: ['settings'],
[ROUTES.SETTINGS_CONNECTED_ACCOUNTS]: ['settings'],
[ROUTES.SETTINGS_NOTIFICATIONS]: ['settings'],
[ROUTES.SETTINGS_DEVELOPER_PORTAL]: ['settings'],
[ROUTES.PROTOCOL_CREDENTIAL]: ['protocol'],
[ROUTES.PROTOCOL_DATAMODEL]: ['protocol'],
[ROUTES.PROTOCOL_DATAMODEL_CREDENTIAL_CREATE]: ['protocol'],
[ROUTES.PROTOCOL_DATAMODEL_ISSUERS]: ['protocol'],
[ROUTES.PROTOCOL_DATAMODEL_CREDENTIALS]: ['protocol'],
[ROUTES.PROTOCOL_DATAMODEL_RECIPIENTS]: ['protocol'],
[ROUTES.PROTOCOL_DATAMODEL_PLAYGROUND]: ['protocol'],
[ROUTES.LOYALTY_PROGRAM]: [
'loyalty-program',
'credential',
'gate-new',
'gate-profile',
'protocol',
],
[ROUTES.LOYALTY_PROGRAM_CREDENTIAL]: [
'loyalty-program',
'credential',
'gate-new',
'gate-profile',
'protocol',
],
},
localeDetection: false,
};
module.exports = config;