-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WALL] Lubega / WALL-4549 / Wallets initial translations setup (#16158)
* feat: draft wallet translations * feat: initial wallets translations setup * chore: clean up code * fix: resolve error * fix: resolve error * chore: update text component * fix: env variables and language switcher * [WALL] Lubega/ WALL-4549 / Wallets multi language support (#16069) * feat: draft wallet translations * feat: initial wallets translations setup * chore: clean up code * fix: resolve error * fix: resolve error * chore: update text component * fix: env variables and language switcher * fix: update locked scenarios * [WALL] Lubega / Wallets translations update (#16112) * feat: draft wallet translations * feat: initial wallets translations setup * chore: clean up code * fix: resolve error * fix: resolve error * chore: update text component * fix: env variables and language switcher * Suisin/fix: text not bold in email and password page (#16094) * fix: text not bold in email and password page * chore: update package version to use specific version * Fasih/COJ-1275/ Implemented lazy load (#16020) * chore: implemented lazy load on financial assessment and trading assesment * chore: working on personal details * chore: removed lazy load from personal details --------- Co-authored-by: amina-deriv <[email protected]> * [WALL] george / WALL-4402 / feat(wallets): ✨ add analytics to track wallets events (#16004) * feat(wallets): ✨ add wallet migration analytic * chore: 🔇 suppress ts error * chore: align with master * fix: prettified code * chore: fix isOpen condition appear twice * fix: update locked scenarios --------- Co-authored-by: Sui Sin <[email protected]> Co-authored-by: fasihali-deriv <[email protected]> Co-authored-by: amina-deriv <[email protected]> Co-authored-by: George Usynin <[email protected]> * fix: update github workflow * fix: getWalletHeaderButtons format * Update index.js * Update index.js * Update index.js * Update index.js * Update index.js * chore: remove eslint auto format * chore: test remove line * chore: test remove line * chore: test remove line * chore: test remove line * chore: test remove line * chore: update deriv-com/translations version --------- Co-authored-by: Sui Sin <[email protected]> Co-authored-by: fasihali-deriv <[email protected]> Co-authored-by: amina-deriv <[email protected]> Co-authored-by: George Usynin <[email protected]> Co-authored-by: nijil-deriv <[email protected]>
- Loading branch information
1 parent
1486143
commit 46faae9
Showing
53 changed files
with
578 additions
and
745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,29 @@ | ||
import React from 'react'; | ||
import { APIProvider } from '@deriv/api-v2'; | ||
import { initializeI18n, TranslationProvider } from '@deriv-com/translations'; | ||
import { ModalProvider } from './components/ModalProvider'; | ||
import AppContent from './AppContent'; | ||
import WalletsAuthProvider from './AuthProvider'; | ||
import './styles/fonts.scss'; | ||
import './index.scss'; | ||
import './translations/i18n'; | ||
|
||
const App: React.FC = () => ( | ||
<APIProvider standalone> | ||
<WalletsAuthProvider> | ||
<ModalProvider> | ||
<AppContent /> | ||
</ModalProvider> | ||
</WalletsAuthProvider> | ||
</APIProvider> | ||
); | ||
const App: React.FC = () => { | ||
const i18nInstance = initializeI18n({ | ||
cdnUrl: `${process.env.CROWDIN_URL}/${process.env.WALLETS_TRANSLATION_PATH}`, // 'https://translations.deriv.com/deriv-app-wallets/staging' | ||
useSuspense: false, | ||
}); | ||
|
||
return ( | ||
<APIProvider standalone> | ||
<WalletsAuthProvider> | ||
<ModalProvider> | ||
<TranslationProvider defaultLang='EN' i18nInstance={i18nInstance}> | ||
<AppContent /> | ||
</TranslationProvider> | ||
</ModalProvider> | ||
</WalletsAuthProvider> | ||
</APIProvider> | ||
); | ||
}; | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.