Skip to content

Commit 33b8990

Browse files
committed
Introduce Japanese language translation.
1 parent 3111ead commit 33b8990

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

src/constants/menu.ts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,46 +63,54 @@ export const menu = {
6363
},
6464
{
6565
id: 8,
66+
code: 'ja',
67+
label: 'JA',
68+
title: 'Japanese',
69+
translation: '日本語',
70+
icon: '',
71+
},
72+
{
73+
id: 9,
6674
code: 'ko',
6775
label: 'KO',
6876
title: 'Korean',
6977
translation: '한국어',
7078
icon: '',
7179
},
7280
{
73-
id: 9,
81+
id: 10,
7482
code: 'vi',
7583
label: 'VI',
7684
title: 'Vietnamese',
7785
translation: 'Tiếng Việt',
7886
icon: '',
7987
},
8088
{
81-
id: 10,
89+
id: 11,
8290
code: 'hau-NG',
8391
label: 'NG/HAU',
8492
title: 'Nigerian Hausa',
8593
translation: 'Hausa',
8694
icon: '',
8795
},
8896
{
89-
id: 11,
97+
id: 12,
9098
code: 'yor-NG',
9199
label: 'NG/YOR',
92100
title: 'Nigerian Yoruba',
93101
translation: 'Yoruba',
94102
icon: '',
95103
},
96104
{
97-
id: 12,
105+
id: 13,
98106
code: 'ewe-BJ',
99107
label: 'BJ/EWE',
100108
title: 'Benin Ewe',
101109
translation: 'Ewe',
102110
icon: '',
103111
},
104112
{
105-
id: 13,
113+
id: 14,
106114
code: 'fon-BJ',
107115
label: 'BJ/FON',
108116
title: 'Benin Fon',

src/i18n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export const locales = [
1111
'fon-BJ',
1212
'fr',
1313
'hau-NG',
14-
'yor-NG',
14+
'yor-NG',
15+
'ja',
1516
'ko',
1617
'vi',
1718
'zh-CN',

0 commit comments

Comments
 (0)