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

Suisin/chore: add bangladesh langauge #1486

Merged
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
1 change: 1 addition & 0 deletions app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const IntervalEnum = {
};
const activeLanguages = [
'EN',
'BN',
'DE',
'ES',
'FR',
Expand Down
1 change: 1 addition & 0 deletions sass/icons/flags/bangladesh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion scripts/import-chartiq-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

var fs = require('fs');

const languages = ['en', 'ar', 'fr', 'de', 'hu', 'it', 'ko', 'pt', 'ru', 'tr', 'es', 'zh_cn', 'ja'];
const languages = ['en', 'ar', 'bn', 'fr', 'de', 'hu', 'it', 'ko', 'pt', 'ru', 'tr', 'es', 'zh_cn', 'ja'];
const lang_map = {};
let i = 0;
for (const l of languages) {
Expand Down
5 changes: 5 additions & 0 deletions src/Constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2013,6 +2013,11 @@ export const Languages = [
name: 'English',
icon: <FlagIcons.GBP />,
},
{
key: 'bn',
name: 'বাংলা',
icon: <FlagIcons.Bangladesh />,
},
{
key: 'de',
name: 'Deutsch',
Expand Down
2 changes: 2 additions & 0 deletions src/components/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ import USD from '../../sass/icons/flags/usd.svg';
import XAU from '../../sass/icons/flags/xau.svg';

import Russia from '../../sass/icons/flags/russia.svg';
import Bangladesh from '../../sass/icons/flags/bangladesh.svg';
import Thailand from '../../sass/icons/flags/thailand.svg';
import Turkey from '../../sass/icons/flags/turkey.svg';
import Indonesia from '../../sass/icons/flags/indonesia.svg';
Expand Down Expand Up @@ -498,6 +499,7 @@ export const FlagIcons = {
German: Wrapper(German),
French: Wrapper(French),
Russia: Wrapper(Russia),
Bangladesh: Wrapper(Bangladesh),
Thailand: Wrapper(Thailand),
Turkey: Wrapper(Turkey),
Indonesia: Wrapper(Indonesia),
Expand Down
Loading