Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add language: Simplified Chinese #404

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/component/message/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ import { default as pt } from '../../locale/pt/messages.json';
import { default as ru } from '../../locale/ru/messages.json';
import { default as uk } from '../../locale/uk/messages.json';
import { default as vi } from '../../locale/vi/messages.json';
import { default as zh_CN } from '../../locale/zh_CN/messages.json';

const message = {};

message.language = {
pack: { bn, de, en_GB, en_US, es, fil, fr, gu, hi, id, it, ja, ms, pt, ru, uk, vi }
pack: { bn, de, en_GB, en_US, es, fil, fr, gu, hi, id, it, ja, ms, pt, ru, uk, vi, zh_CN }
};

message.language.list = () => {
Expand All @@ -46,7 +47,8 @@ message.language.list = () => {
{ code: 'pt', name: 'Português' }, // Portuguese
{ code: 'ru', name: 'Pусский' }, // Russian
{ code: 'uk', name: 'український' }, // Ukrainian
{ code: 'vi', name: 'англійська' } // Vietnamese
{ code: 'vi', name: 'англійська' }, // Vietnamese
{ code: 'zh_CN', name: '简体中文' } // Simplified Chinese
];

list.forEach((item) => {
Expand Down
Loading