Skip to content

Commit

Permalink
Merge pull request #1631 from yauheni-deriv/evgeniy/upm-1368/add_uzbe…
Browse files Browse the repository at this point in the history
…k_lang

[UPM-1368]/evgeniy/add uzbek language
  • Loading branch information
balakrishna-deriv authored Sep 6, 2024
2 parents 069c469 + 7f00132 commit 6b3919b
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 @@ -110,6 +110,7 @@ const activeLanguages = [
'SW',
'TR',
'TH',
'UZ',
'VI',
'ZH_CN',
'ZH_TW',
Expand Down
1 change: 1 addition & 0 deletions sass/icons/flags/uzbekistan.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 @@ -20,6 +20,7 @@ const languages = [
'si',
'sw',
'tr',
'uz',
'es',
'zh_cn',
'ja',
Expand Down
5 changes: 5 additions & 0 deletions src/Constant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2072,6 +2072,11 @@ export const Languages = [
name: 'Türkçe',
icon: <FlagIcons.Turkey />,
},
{
key: 'uz',
name: "O'zbek",
icon: <FlagIcons.Uzbekistan />,
},
{
key: 'zh_cn',
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 @@ -125,6 +125,7 @@ import French from '../../sass/icons/flags/french.svg';
import Dutch from '../../sass/icons/flags/dutch.svg';
import Spanish from '../../sass/icons/flags/spanish.svg';
import WallStreet from '../../sass/icons/flags/wallstreet.svg';
import Uzbekistan from '../../sass/icons/flags/uzbekistan.svg';

/* Energy */
import OilUSD from '../../sass/icons/active-symbols/energy/oil usd/ic-oilusd.svg';
Expand Down Expand Up @@ -525,6 +526,7 @@ export const FlagIcons = {
ChineseTraditional: Wrapper(ChineseTraditional),
Poland: Wrapper(PLN),
Spanish: Wrapper(Spanish),
Uzbekistan: Wrapper(Uzbekistan),
};

export const ItemIconMap = {
Expand Down
Loading

0 comments on commit 6b3919b

Please sign in to comment.