Skip to content

Commit

Permalink
Merge pull request #82 from farabi-deriv/farabi/fix--remaining-locali…
Browse files Browse the repository at this point in the history
…ze-to-deriv-com-translations

farabi/fix--remaining-localize-to-deriv-com-translations
  • Loading branch information
farabi-deriv authored Oct 8, 2024
2 parents 5266a17 + 91704d3 commit d442909
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/components/load-modal/recent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import React from 'react';
import classnames from 'classnames';
import { observer } from 'mobx-react-lite';
import { useStore } from '@/hooks/useStore';
import { Icon, Localize } from '@/utils/tmp/dummy';
import { Icon } from '@/utils/tmp/dummy';
import { Localize } from '@deriv-com/translations';
import RecentWorkspace from './recent-workspace';
import WorkspaceControl from './workspace-control';

Expand Down
3 changes: 2 additions & 1 deletion src/components/shared/utils/date/date-time.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import moment from 'moment';
import { getLanguage, localize } from '@/utils/tmp/dummy';
import { getLanguage } from '@/utils/tmp/dummy';
import { localize } from '@deriv-com/translations';

type TExtendedMoment = typeof moment & {
createFromInputFallback: (config: { _d: Date }) => void;
Expand Down
3 changes: 2 additions & 1 deletion src/components/shared/utils/helpers/active-symbols.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { flow } from 'mobx';
import { getLanguage, localize } from '@/utils/tmp/dummy';
import { getLanguage } from '@/utils/tmp/dummy';
import { ActiveSymbols } from '@deriv/api-types';
import { localize } from '@deriv-com/translations';
import { WS } from '../../services';
import { redirectToLogin } from '../login';
import { LocalStore } from '../storage';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import classNames from 'classnames';
import ContentLoader from 'react-content-loader';
import { getContractTypeName } from '@/external/bot-skeleton';
import { isDbotRTL } from '@/external/bot-skeleton/utils/workspace';
import { Icon, IconTradeTypes, localize } from '@/utils/tmp/dummy';
import { Icon, IconTradeTypes } from '@/utils/tmp/dummy';
import { localize } from '@deriv-com/translations';
import { convertDateFormat } from '../shared';
import Popover from '../shared_ui/popover';
import { TTransaction } from './transaction-details.types';
Expand Down
4 changes: 2 additions & 2 deletions src/components/transactions/transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { TContractInfo } from '@/components/summary/summary-card.types';
import { popover_zindex } from '@/constants/z-indexes';
import { getContractTypeName } from '@/external/bot-skeleton';
import { isDbotRTL } from '@/external/bot-skeleton/utils/workspace';
import { Icon, IconTradeTypes, localize } from '@/utils/tmp/dummy';
import { Localize } from '@deriv-com/translations';
import { Icon, IconTradeTypes } from '@/utils/tmp/dummy';
import { Localize, localize } from '@deriv-com/translations';
import { convertDateFormat } from '../shared';
import Popover from '../shared_ui/popover';

Expand Down

0 comments on commit d442909

Please sign in to comment.