Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

feat: replace strings #7197

Closed
Show file tree
Hide file tree
Changes from all 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
60 changes: 30 additions & 30 deletions crowdin/messages.json

Large diffs are not rendered by default.

18 changes: 13 additions & 5 deletions src/pages/partners/affiliate-ib/_faq-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const AffiliateGeneral = () => {
</li>
<li>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize translate_text="_t_A dedicated account manager to help you with any questions_t_" />
<Localize translate_text="_t_A dedicated country manager to help you with any questions_t_" />
</Header>
</li>
<li>
Expand Down Expand Up @@ -351,15 +351,15 @@ const AffiliateReferralTools = () => (
</Header>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize
translate_text="_t_If you like certain tools to be customised to your site requirements, please contact our support team via <0>live chat</0> or reach out to your account manager._t_"
translate_text="_t_If you like certain tools to be customised to your site requirements, please contact our support team via <0>live chat</0> or reach out to your country manager._t_"
components={[<LiveChatLinkText text="_t_live chat_t_" key={0} />]}
/>
</Header>
<Header as="p" type="paragraph-1" mt="16px">
<Localize translate_text="_t_Can I offer prospective clients an incentive to sign up to Deriv using my affiliate link?_t_" />
</Header>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize translate_text="_t_Yes, you can. You will need to notify your account manager if you wish to do so._t_" />
<Localize translate_text="_t_Yes, you can. You will need to notify your country manager if you wish to do so._t_" />
</Header>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize translate_text="_t_Do keep in mind that we do not allow unauthorised incentives, gifts, and payments to encourage client signups. Payment will be withheld if any suspicions or activity of this conduct is discovered._t_" />
Expand Down Expand Up @@ -403,7 +403,10 @@ const MAGeneral = () => (
</li>
<li>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize translate_text="_t_Make a request through your country manager_t_" />
<Localize
translate_text="_t_Make a request through our <0>live chat</0> or to your respective country manager to apply._t_"
components={[<LiveChatLinkText text="_t_live chat_t_" key={0} />]}
/>
</Header>
</li>
</StyledUl>
Expand Down Expand Up @@ -456,6 +459,11 @@ const IBGeneral = () => (
<Localize translate_text="_t_Have a real Deriv account_t_" />
</Header>
</li>
<li>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize translate_text="_t_Have a real Derived MT5 account_t_" />
</Header>
</li>
</StyledUl>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize
Expand Down Expand Up @@ -499,7 +507,7 @@ const IBGeneral = () => (
<Localize translate_text="_t_Is there a minimum amount if I want to transfer my funds from one platform to another?_t_" />
</Header>
<Header as="p" type="paragraph-1" mt="8px" weight="normal">
<Localize translate_text="_t_There is a minimum of USD 0.01 if you would like to transfer funds to another platform._t_" />
<Localize translate_text="_t_There is a minimum of 0.01 USD if you would like to transfer funds to another platform._t_" />
</Header>
<Header as="p" type="paragraph-1" mt="16px">
<Localize translate_text="_t_How and when will I receive my Deriv IB commissions?_t_" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_You earn USD 100 when a referred client successfully deposits a one-time or cumulative total of USD 100 into their Deriv account._t_" />
<Localize translate_text="_t_You earn 100 USD when a referred client successfully deposits a one-time or cumulative total of 100 USD into their Deriv account._t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_This plan is available exclusively for EU-based clients. Please note that according to regulations, you cannot have clients who reside in Portugal or Spain._t_" />
Expand All @@ -33,10 +33,10 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A referred client based in the EU deposits USD 100 in one transaction_t_" />
<Localize translate_text="_t_A referred client based in the EU deposits 100 USD in one transaction_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 100_t_" />
<Localize translate_text="_t_Total commission earned: 100 USD_t_" />
</Header>
</Li>
</Ul>
Expand All @@ -46,13 +46,13 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A referred client based in the EU deposits USD 50 in one transaction. Commission = USD 0_t_" />
<Localize translate_text="_t_A referred client based in the EU deposits 50 USD in one transaction. Commission = 0 USD_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_The same EU client deposits USD 50 in another transaction_t_" />
<Localize translate_text="_t_The same EU client deposits 50 USD in another transaction_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 100_t_" />
<Localize translate_text="_t_Total commission earned: 100 USD_t_" />
</Header>
</Li>
</Ul>
Expand All @@ -62,10 +62,10 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A referred client based in the EU deposits USD 200 in one transaction._t_" />
<Localize translate_text="_t_A referred client based in the EU deposits 200 USD in one transaction._t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 100_t_" />
<Localize translate_text="_t_Total commission earned: 100 USD_t_" />
</Header>
</Li>
</Ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DefaultCard = ({ toggleCalculated }: { toggleCalculated: () => void }) =>
<CPAContent>
<Header as="p" type="paragraph-1" weight="normal">
<Localize
translate_text="_t_You earn <0>USD 100</0> when your new referred client deposits and trades a total amount of <0>USD 100</0> or its equivalent into their Deriv account, either in one deposit or cumulatively._t_"
translate_text="_t_You earn <0>USD 100</0> when your new referred client deposits a total amount of <0>USD 100</0> or its equivalent into their Deriv account, either in one deposit or cumulatively._t_"
components={[<strong key={0} />]}
/>
</Header>
Expand Down
16 changes: 8 additions & 8 deletions src/pages/partners/affiliate-ib/cpa-eu/_calculated-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_You earn USD 100 when a referred client successfully deposits a one-time or cumulative total of USD 100 into their Deriv account._t_" />
<Localize translate_text="_t_You earn 100 USD when a referred client successfully deposits a one-time or cumulative total of 100 USD into their Deriv account._t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_This plan is available exclusively for EU-based clients. Please note that according to regulations, you cannot have clients who reside in Portugal or Spain._t_" />
Expand All @@ -33,10 +33,10 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A referred client based in the EU deposits USD 100 in one transaction_t_" />
<Localize translate_text="_t_A referred client based in the EU deposits 100 USD in one transaction_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 100_t_" />
<Localize translate_text="_t_Total commission earned: 100 USD_t_" />
</Header>
</Li>
</Ul>
Expand All @@ -46,13 +46,13 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A referred client based in the EU deposits USD 50 in one transaction. Commission = USD 0_t_" />
<Localize translate_text="_t_A referred client based in the EU deposits 50 USD in one transaction. Commission = 0 USD_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_The same EU client deposits USD 50 in another transaction_t_" />
<Localize translate_text="_t_The same EU client deposits 50 USD in another transaction_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 100_t_" />
<Localize translate_text="_t_Total commission earned: 100 USD_t_" />
</Header>
</Li>
</Ul>
Expand All @@ -62,10 +62,10 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A referred client based in the EU deposits USD 200 in one transaction._t_" />
<Localize translate_text="_t_A referred client based in the EU deposits 200 USD in one transaction._t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 100_t_" />
<Localize translate_text="_t_Total commission earned: 100 USD_t_" />
</Header>
</Li>
</Ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,18 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Localize translate_text="_t_This plan is not available for affiliates who promote to clients residing in the EU._t_" />
</Header>
<Header as="h2" type="paragraph-2" mt="1.6rem" mb="0.8rem">
<Localize translate_text="_t_Example 1:_t_" />
<Localize translate_text="_t_Example :_t_" />
</Header>
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A sub-affiliate generates USD 300 worth of commission. Here is how we calculate their total commissions:_t_" />
<Localize translate_text="_t_A sub-affiliate generates 300 USD worth of commission. Here is how we calculate their total commissions:_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Sub affiliate’s total commission: USD 300_t_" />
<Localize translate_text="_t_Sub affiliate’s total commission: 300 USD_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Master affiliate’s total commission: USD 300 x 20% = USD 60_t_" />
</Header>
</Li>
</Ul>
<Header as="h2" type="paragraph-2" mt="1.6rem" mb="0.8rem">
<Localize translate_text="_t_Example 2:_t_" />
</Header>
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A sub-affiliate earns USD 200 from their Revenue Share plan. The same sub-affiliate earns USD 100 from their IB programme. Here is how we calculate their total commissions:_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Sub-affiliate’s total commission: 200 + 100 = USD 300 (including IB commission)_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Master affiliate’s total commission: USD 200 * 20% = USD 40_t_" />
<Localize translate_text="_t_Master affiliate’s total commission: 300 USD x 20% = 60 USD_t_" />
</Header>
</Li>
</Ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A client generates USD 10,000 monthly net revenue. Calculation is as follows:_t_" />
<Localize translate_text="_t_A client generates 10,000 USD monthly net revenue. Calculation is as follows:_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned: USD 10,000 x 30% = USD 3,000_t_" />
<Localize translate_text="_t_Total commission earned: 10,000 USD x 30% = 3,000 USD_t_" />
</Header>
</Li>
</Ul>
Expand All @@ -33,17 +33,17 @@ const CalculatedCard = ({ toggleCalculated }: { toggleCalculated: () => void })
<Ul>
<Li>
<Header as="p" weight="normal">
<Localize translate_text="_t_A client generates USD 25,000 monthly net revenue. Calculation is as follows:_t_" />
<Localize translate_text="_t_A client generates 25,000 USD monthly net revenue. Calculation is as follows:_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_USD 20,000 x 30% = USD 6,000_t_" />
<Localize translate_text="_t_20,000 USD x 30% = 6,000 USD_t_" />
<br />
<Localize translate_text="_t_USD 5,000 x 45% = USD 2,250_t_" />
<Localize translate_text="_t_5,000 USD x 45% = 2,250 USD_t_" />
</Header>
<Header as="p" weight="normal" mt="2.4rem">
<Localize translate_text="_t_Total commission earned:_t_" />
<br />
<Localize translate_text="_t_6,000 + 2,250 = USD 8,250_t_" />
<Localize translate_text="_t_6,000 + 2,250 = 8,250 USD_t_" />
</Header>
</Li>
</Ul>
Expand Down
Loading
Loading