-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathi18n.js
45 lines (44 loc) · 1.36 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
const common = ['common', 'layout-footer', 'layout-header']
const convert = [
...common,
'domain-convert-converterSelector',
'domain-convert-inputForm',
'domain-convert-outputForm',
'domain-convert-outputs-cssOutput',
'domain-convert-outputs-csvOutput',
'domain-convert-outputs-datetimeOutput',
'domain-convert-outputs-diffOutput',
'domain-convert-outputs-htmlOutput',
'domain-convert-outputs-javaScriptOutput',
'domain-convert-outputs-jsonOutput',
'domain-convert-outputs-jwtOutput',
'domain-convert-outputs-markdownOutput',
'domain-convert-outputs-numberBaseOutput',
'domain-convert-outputs-regexOutput',
'domain-convert-outputs-shaOutput',
'domain-convert-outputs-sqlOutput',
'domain-convert-outputs-tomlOutput',
'domain-convert-outputs-uuidOutput',
'domain-convert-outputs-yamlOutput',
'domain-convert-shareButton',
'domain-convert-useAsInputButton',
'forms-copyButton',
'lib-converters-commands',
'lib-converters-results',
]
module.exports = {
defaultLocale: 'en',
locales: ['en'],
pages: {
'/404': [...common, 'pages-errors-notFound'],
'/[[...converter]]': [
...convert,
'pages-converter',
'pages-errors-notFound',
],
'/about': [...common, 'pages-about'],
'/privacy': [...common, 'pages-privacy'],
'/security': [...common, 'pages-security'],
'/terms': [...common, 'pages-terms'],
},
}