Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ahmed/DAPI-833/feat--add-translations-french #190

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
412 changes: 209 additions & 203 deletions i18n/en/code.json

Large diffs are not rendered by default.

794 changes: 400 additions & 394 deletions i18n/fr/code.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/features/Home/ClientLibraries/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ClientLibraries = () => {
<Translate>Supports JavaScript, Python, and Flutter for ultimate compatibility.</Translate>
</Text>
<div
className={`${styles.spaceEvenContent} ${styles.justifyCenter} ${styles.gap4} ${styles.mh3} ${styles.client_libraries}`}
className={`${styles.centerContent} ${styles.gap4} ${styles.mh3} ${styles.client_libraries}`}
>
<a
className={styles.LibraryGoTo}
Expand Down
2 changes: 1 addition & 1 deletion src/features/Home/Features/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Features = (props: FeaturesProps) => {
<Text centered>{description}</Text>

<div
className={`${styles.spaceEvenContent} ${styles.featuresContainer} ${styles.mh5}`}
className={`${styles.spaceEvenContent} ${styles.featuresContainer}`}
>
{props.features?.map((feature, idx) => (
<div key={idx}>
Expand Down
4 changes: 2 additions & 2 deletions src/features/Home/HeroHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ const HeroHeader = () => {
<Translate>Deriv API</Translate>
</Heading.H1>
<Text className={styles.description} data-testid='hero-header-description'>
<Translate>{`Build smarter trading solutions with Deriv’s APIs. Use the WebSocket API for real-time Options trading and the DerivFIX API for ultra-low latency CFDs trading, ensuring precision, stability, and high performance.`}</Translate>
<Translate>{`Build smarter trading solutions with Deriv’s APIs. Use the WebSocket API for real-time Options trading and the Deriv FIX API for ultra-low latency CFDs trading, ensuring precision, stability, and high performance.`}</Translate>
</Text>
</div>
<div className={styles.heroBtnContainer}>
<Button variant='primary' size='lg' onClick={() => history.push('/#WebsocketAPI')}>
<Translate>WebSocket API</Translate>
</Button>
<Button variant='secondary' color='white-black' size='lg' onClick={() => history.push('/#derivFix')}>
<Translate>DerivFIX API</Translate>
<Translate>Deriv FIX API</Translate>
</Button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/features/Home/ProductInfo/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export const products: IProduct = {

},
DerivFIX: {
title: translate({ message: 'DerivFIX API' }),
title: translate({ message: 'Deriv FIX API' }),
description: [
translate({
message:
'Experience consistent performance and ultra-low latency with DerivFIX, the API specifically engineered for professional and institutional CFDs trading.',
'Experience consistent performance and ultra-low latency with Deriv FIX, the API specifically engineered for professional and institutional CFDs trading.',
}),
translate({
message:
Expand Down
2 changes: 1 addition & 1 deletion src/features/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function HomepageFeatures() {
<ClientLibraries />
<ProductInfo product={products.DerivFIX} reverse />
<Features
title={translate({ message: 'DerivFIX API key features' })}
title={translate({ message: 'Deriv FIX API key features' })}
description={translate({
message: 'Tailored for high-frequency, high-stakes trading.',
})}
Expand Down
Loading