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

Commit

Permalink
Merge branch 'master' into translators
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-deriv committed Nov 13, 2023
2 parents 787e14f + 954f7cf commit 0436cdf
Show file tree
Hide file tree
Showing 25 changed files with 1,232 additions and 548 deletions.
47 changes: 46 additions & 1 deletion .github/workflows/translation-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
node-version: '18.x'
- run: npm i -g @crowdin/[email protected]
- name: Fetch,Sync & Push Strings to Crowdin
id: sync_translations
run: |
branch_name="new_translation_strings"
Expand Down Expand Up @@ -60,7 +61,8 @@ jobs:
sudo apt install gh
gh auth login --with-token <<< ${{ github.token }}
gh pr close "$branch_name" || true
gh pr create --base "master" --title "[translations] New strings from crowdin 📚" --head "binary-com:$branch_name" -F ".github/translation_sync_template.md"
pr_output=$(gh pr create --base "master" --title "[translations] New strings from crowdin 📚" --head "binary-com:$branch_name" -F ".github/translation_sync_template.md")
echo "PR_URL=$pr_output" >> $GITHUB_ENV
fi
# Upload new strings to Crowdin
Expand All @@ -79,4 +81,47 @@ jobs:
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TRANSLATION }}
- name: Slack Notification for Release Managers 📣
uses: 8398a7/action-slack@v3
with:
status: custom
fields: workflow,job,commit,repo
custom_payload: |
{
"blocks": [
{
"type": "context",
"elements": [
{
"type": "plain_text",
"text": ":robot_face: Translation Pull Request Notification",
"emoji": true
}
]
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Hey there 👋 *<!subteam^S058V0ZJ16X>*, translation in deriv.com just got synchronized from `crowdin`, please help merging the PR to keep deriv.com up to date."
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "View",
"emoji": true
},
"value": "View PR",
"url": "${{ env.PR_URL }}",
"action_id": "button-action"
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TRANSLATION_PR }}

7 changes: 4 additions & 3 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,7 @@
"1399001016": "Let’s say you want to calculate the take profit amount when you want to open a position for Volatility 100 Index priced at 3376.24 USD with a stake amount of 10 USD, a multiplier value of x100, and a take profit level of 3400 in Up direction.",
"1400962248": "High-Close",
"1401296151": "No hidden fees",
"1402648635": "Make easy deposits and withdrawal using Mobile Money.",
"1402997163": "- Barrier levels",
"1403586449": "Competitively tighter spreads",
"1403761038": "Real account ",
Expand Down Expand Up @@ -1774,6 +1775,7 @@
"1696396625": "google",
"1700291683": "It’s completely free of charge to join the IB programme.",
"1701577545": "The maximum duration for every contract is limited and differs according to the chosen accumulator value. When the maximum duration is reached, the contract will be automatically closed.",
"1702295087": "Make easy deposits and withdrawals using Vietnam's famous banks.",
"1702860224": "You can use debit and credit cards, e-wallets, cryptocurrency wallets, Deriv P2P, online banking, fiat onramp, and payment agents for deposits and withdrawals (see our <0>Payment methods page</0> for a detailed list). Once you log in to your Deriv account, you’ll be able to see payment methods available in your country on the <1>Cashier page</1>.",
"1703673631": "No, you cannot change the tick duration for High/Low Ticks. This contract type is always based on the next 5 price ticks after the contract is open. This is fixed across all instruments that can be traded with this contract type.",
"1704208859": "icon",
Expand Down Expand Up @@ -2259,6 +2261,7 @@
"2132941523": "Fund your Deriv real account with your preferred payment method.",
"2132973892": "Sign up for a free <0>Deriv demo account</0>.",
"2135527846": "Trade Basket indices online with Deriv. Open a demo account and enjoy a wide range of currency pairs on our responsive and intuitive trading platforms.",
"2135584635": "Make instant deposits using fiat to your crypto account.",
"2135626355": "Automate your trading. No coding required.",
"2136716746": "Partner with a trusted online trading provider",
"2137077186": "IVW.US",
Expand Down Expand Up @@ -4084,12 +4087,10 @@
"-1067388182": "Make deposits using your credit and debit cards.",
"-1318380319": "10 - 1,000",
"-67348050": "15 - 1,000",
"-136078123": "Deposit through your local payment cards.",
"-1042921151": "10 - 500",
"-699042474": "Make fast and easy deposits through your bank account.",
"-1082799567": "Make deposits and withdrawals through your local bank.",
"-509934669": "Make instant deposits using your e-wallet.",
"-1932629328": "5 - 5,000",
"-1175540863": "10 - 250",
"-854947285": "Make direct online transfers from your bank account.",
"-372193561": "Make easy deposits via any major local bank.",
"-1649952399": "No minimum",
Expand Down
7 changes: 7 additions & 0 deletions src/images/svg/payment-methods/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ export { default as Spei } from './payment-spei.svg'
export { default as OneVoucher } from './payment-one-voucher.svg'
export { default as PaySafeCard } from './payment-paysafecard.svg'
export { default as DP2P } from './payment-dp2p.svg'
export { default as VNPAY } from './payment-vnpay.svg'
export { default as PSE } from './payment-pse.svg'
export { default as OZOW } from './payment-ozow.svg'
export { default as AIRTEL } from './payment-airtel.svg'
export { default as ORANGE } from './payment-orange.svg'
export { default as TIGO } from './payment-tigo.svg'
export { default as ZAMTEL } from './payment-zamtel.svg'
7 changes: 7 additions & 0 deletions src/images/svg/payment-methods/payment-airtel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 33 additions & 11 deletions src/images/svg/payment-methods/payment-astropay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/images/svg/payment-methods/payment-orange.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0436cdf

Please sign in to comment.