Skip to content

Commit

Permalink
[FEQ-2179] nada/feat: localization for pages (#68)
Browse files Browse the repository at this point in the history
* feat: localization for pages

* fix: added localization for rest of the components in pages

* fix: replaced text area component

* chore: add localization for constants

* fix: reverted changes for the order details related files to avoid repetition
  • Loading branch information
nada-deriv authored May 17, 2024
1 parent fbd4f36 commit 95f875f
Show file tree
Hide file tree
Showing 69 changed files with 409 additions and 710 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
extends: ['@deriv-com/eslint-config-deriv', 'eslint:recommended', 'plugin:react/recommended'],
plugins: ['simple-import-sort','sort-destructure-keys', 'typescript-sort-keys' ],
plugins: ['simple-import-sort', 'sort-destructure-keys', 'typescript-sort-keys'],
rules: {
'global-require': 'off',
'@typescript-eslint/array-type': 'error',
Expand Down
18 changes: 9 additions & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"endOfLine": "lf",
"singleQuote": true,
"useTabs": false,
"tabWidth": 4,
"trailingComma": "es5",
"printWidth": 120,
"jsxSingleQuote": true,
"arrowParens": "avoid",
"proseWrap": "preserve"
"endOfLine": "lf",
"singleQuote": true,
"useTabs": false,
"tabWidth": 4,
"trailingComma": "es5",
"printWidth": 120,
"jsxSingleQuote": true,
"arrowParens": "avoid",
"proseWrap": "preserve"
}
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@babel/preset-env": "^7.24.5",
"@deriv-com/api-hooks": "^0.1.19",
"@deriv-com/translations": "^1.2.0",
"@deriv-com/translations": "^1.2.3",
"@deriv-com/ui": "^1.21.1",
"@deriv-com/utils": "latest",
"@deriv/deriv-api": "^1.0.15",
Expand Down
8 changes: 4 additions & 4 deletions postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
autoprefixer: {},
tailwindcss: {},
},
plugins: {
autoprefixer: {},
tailwindcss: {},
},
};
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const App = () => {
return (
<BrowserRouter>
<QueryParamProvider adapter={ReactRouter5Adapter}>
<TranslationProvider defaultLang='ID' i18nInstance={i18nInstance}>
<TranslationProvider defaultLang='EN' i18nInstance={i18nInstance}>
<AppHeader />
<AppContent />
{isDesktop && <AppFooter />}
Expand Down
144 changes: 0 additions & 144 deletions src/components/Dropdown/Dropdown.scss

This file was deleted.

154 changes: 0 additions & 154 deletions src/components/Dropdown/Dropdown.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/Dropdown/index.ts

This file was deleted.

Loading

0 comments on commit 95f875f

Please sign in to comment.