Skip to content

Commit

Permalink
Suisin/chore: add bangladesh langauge (#1486)
Browse files Browse the repository at this point in the history
* chore: add bangladesh langauge

* chore: empty commit
  • Loading branch information
suisin-deriv authored Feb 12, 2024
1 parent 06ed0e5 commit 98e10b7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
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

0 comments on commit 98e10b7

Please sign in to comment.