Skip to content

Commit

Permalink
Merge pull request #1610 from suisin-deriv/suisin/UPM1116/add_khmer_l…
Browse files Browse the repository at this point in the history
…anguage

Suisin/chore: add khmer language in smartcharts
  • Loading branch information
balakrishna-deriv authored Jul 9, 2024
2 parents 200b371 + ba7ae26 commit d4d4188
Show file tree
Hide file tree
Showing 6 changed files with 275 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ const activeLanguages = [
'FR',
'ID',
'IT',
'KM',
'KO',
'MN',
'PL',
Expand Down
1 change: 1 addition & 0 deletions sass/icons/flags/cambodia.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scripts/import-chartiq-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const languages = [
'de',
'hu',
'it',
'km',
'ko',
'mn',
'pt',
Expand Down
5 changes: 5 additions & 0 deletions src/Constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2079,6 +2079,11 @@ export const Languages = [
name: 'Italiano',
icon: <FlagIcons.Italy />,
},
{
key: 'km',
name: 'ខ្មែរ',
icon: <FlagIcons.Cambodia />,
},
{
key: 'ko',
name: '한국어',
Expand Down
2 changes: 2 additions & 0 deletions src/components/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ import XAU from '../../sass/icons/flags/xau.svg';
import Russia from '../../sass/icons/flags/russia.svg';
import Arabic from '../../sass/icons/flags/arabic.svg';
import Bangladesh from '../../sass/icons/flags/bangladesh.svg';
import Cambodia from '../../sass/icons/flags/cambodia.svg';
import Srilanka from '../../sass/icons/flags/srilanka.svg';
import Mongolian from '../../sass/icons/flags/mongolian.svg';
import Kenya from '../../sass/icons/flags/kenya.svg';
Expand Down Expand Up @@ -505,6 +506,7 @@ export const FlagIcons = {
Russia: Wrapper(Russia),
Arabic: Wrapper(Arabic),
Bangladesh: Wrapper(Bangladesh),
Cambodia: Wrapper(Cambodia),
Srilanka: Wrapper(Srilanka),
Mongolian: Wrapper(Mongolian),
Kenya: Wrapper(Kenya),
Expand Down
Loading

0 comments on commit d4d4188

Please sign in to comment.