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

Commit

Permalink
[translators] Update translators branch with master 📚 (#5876)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 9, 2023
1 parent 5d7156b commit 565b15a
Show file tree
Hide file tree
Showing 22 changed files with 58 additions and 34 deletions.
37 changes: 23 additions & 14 deletions .github/workflows/generate-preview-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,23 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout to repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_sha }}
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
workflow_conclusion: success
run_id: ${{ github.event.workflow_run.id }}
name: 'pr-${{ github.event.workflow_run.id }}'
path: .pr

- name: Retrieve pull request
id: pr_information
run: |
echo "issue_number=$(cat ./NR)" > $GITHUB_OUTPUT
echo "issue_number=$(cat .pr/NR)" >> $GITHUB_OUTPUT
- name: 'Generate action link comment'
id: generate_action_url
Expand Down Expand Up @@ -69,26 +74,21 @@ jobs:
id: verify_user_organization
run: |
echo "Verifying user's organization..."
user=$(cat ./USERNAME)
user=$(cat .pr/USERNAME)
response=$(curl -s -L \
-w "%{http_code}" \
-o /dev/null -H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/orgs/binary-com/memberships/$user")
-o /dev/null -H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/orgs/binary-com/memberships/$user")
if [ $response != "200" ]; then
echo "User is not a member of binary-com organization."
exit 1
else
echo "User is a member of binary-com organization."
echo "Proceeding to build and deploy for the pull request: https://github.com/binary-com/deriv-com/pull/$(cat ./NR)"
fi
- name: Checkout to repo
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_sha }}

- name: Setup node
uses: actions/setup-node@v2

Expand Down Expand Up @@ -136,15 +136,18 @@ jobs:
projectName='deriv-com-preview-links'
head_branch=${{github.event.workflow_run.head_branch}}
branch=$(echo $head_branch | head -c 20 | sed 's/[\/_\.]/-/g; s/[^a-zA-Z0-9]$/1/')
preview_url=$(wrangler pages deploy $directory --project-name=$projectName --branch=$branch > log.txt 2>&1; echo $?)
cf_preview_url=$(wrangler pages deploy $directory --project-name=$projectName --branch=$branch > log.txt 2>&1; echo $?)
echo "------"
preview_url=https://$branch.deriv-com-preview-links.pages.dev
cat log.txt
if grep -q "Deployment complete" log.txt; then
echo "preview_url=https://$branch.deriv-com-preview-links.pages.dev" > "$GITHUB_OUTPUT"
echo "preview_url=$preview_url" >> "$GITHUB_OUTPUT"
echo $preview_url > .pr/PREVIEW_URL
else
echo "Deployment to Cloudflare Pages failed."
exit 1
fi
- name: 'Generate preview link comment'
if: success()
id: generate_preview_url
Expand Down Expand Up @@ -189,3 +192,9 @@ jobs:
number: ${{steps.pr_information.outputs.issue_number}}
message: ${{steps.generate_preview_url.outputs.comment || steps.generate_failure_comment.outputs.comment }}
recreate: true

- name: Upload PR information to artifact
uses: actions/upload-artifact@v2
with:
name: 'pr-${{github.run_id}}'
path: .pr
2 changes: 1 addition & 1 deletion src/pages/markets/static/content/_cfds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const synthetic_cfds: TMarketContent = {
content: [
{
id: 'drift-switch-indices',
title: '_t_Drift switch indices_t_',
title: '_t_Drift switching indices_t_',
component: <DriftSwitchIndices />,
details: <DriftSwitchDetails />,
},
Expand Down
2 changes: 1 addition & 1 deletion src/pages/regulatory/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ const Regulatory = (locale: RegulatoryProps) => {
<StyledLinkText
key={0}
target="_blank"
href="/regulatory/Deriv_Ltd_membership.pdf"
href="/regulatory/deriv-com-ltd-membership.pdf"
rel="noopener noreferrer"
/>,
]}
Expand Down
2 changes: 1 addition & 1 deletion src/translations/ach.json
Original file line number Diff line number Diff line change
Expand Up @@ -4563,4 +4563,4 @@
"-1165835520": "crwdns3515274:0crwdne3515274:0",
"-651384976": "crwdns3515276:0crwdne3515276:0",
"-1033881248": "crwdns3515278:0crwdne3515278:0"
}
}
3 changes: 2 additions & 1 deletion src/translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "معادن",
"-1866629977": "الطاقة",
"-2125845705": "الأزواج غير المتداولة",
"-79167584": "المؤشرات Drift switching",
"-668839336": "مؤشرات DEX",
"-578042544": "مؤشرات الخطوة",
"-1314348105": "مؤشرات النطاق",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "موظف",
"-651384976": "الجنسيات",
"-1033881248": "شاهد صفقاتنا المفتوحة"
}
}
3 changes: 2 additions & 1 deletion src/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "মেটাল",
"-1866629977": "এনার্জি",
"-2125845705": "বহিরাগত জোড়া",
"-79167584": "Drift switching সূচক",
"-668839336": "DEX সূচক",
"-578042544": "স্টেপ ইনডেক্স",
"-1314348105": "রেঞ্জ ব্রেক ইনডেক্স",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "কর্মচারী",
"-651384976": "জাতীয়তা",
"-1033881248": "আমাদের ওপেন পজিশন দেখুন"
}
}
3 changes: 2 additions & 1 deletion src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Metalle",
"-1866629977": "Energie",
"-2125845705": "Exotische Paare",
"-79167584": "Drift switching indizes",
"-668839336": "DEX-Indizes",
"-578042544": "Step-Indizes",
"-1314348105": "Range Break-Indizes",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "Mitarbeiter",
"-651384976": "Nationalitäten",
"-1033881248": "Sehen Sie unsere offenen Stellen"
}
}
3 changes: 2 additions & 1 deletion src/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Metales",
"-1866629977": "Energía",
"-2125845705": "Pares exóticos",
"-79167584": "Indices Drift Switching",
"-668839336": "Índices DEX",
"-578042544": "Índices Step",
"-1314348105": "Índices Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "empleados",
"-651384976": "nacionalidades",
"-1033881248": "Vea nuestros puestos disponibles"
}
}
3 changes: 2 additions & 1 deletion src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Métaux",
"-1866629977": "Énergie",
"-2125845705": "Paires exotiques",
"-79167584": "Indices de Drift Switching",
"-668839336": "Indices DEX",
"-578042544": "Indices de saut",
"-1314348105": "Indices Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "employés",
"-651384976": "nationalités",
"-1033881248": "Voir nos postes vacants"
}
}
3 changes: 2 additions & 1 deletion src/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Metalli",
"-1866629977": "Energia",
"-2125845705": "Coppie esotiche",
"-79167584": "Indici di Drift Switching",
"-668839336": "Indici DEX",
"-578042544": "Indici Step",
"-1314348105": "Indici Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "dipendenti",
"-651384976": "nazionalità",
"-1033881248": "Vedi le posizioni aperte"
}
}
3 changes: 2 additions & 1 deletion src/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "금속류",
"-1866629977": "에너지",
"-2125845705": "이종 통화쌍",
"-79167584": "Drift switching 인덱스",
"-668839336": "덱스 (DEX) 인덱스",
"-578042544": "스텝 지수 (Step indices)",
"-1314348105": "레인지 브레이크 지수 (Range break indices)",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "직원",
"-651384976": "출신 국적",
"-1033881248": "채용 정보 보기"
}
}
3 changes: 2 additions & 1 deletion src/translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Metale",
"-1866629977": "Energia",
"-2125845705": "Pary egzotyczne",
"-79167584": "Wskaźniki Drift Switching",
"-668839336": "Wskaźniki DEX",
"-578042544": "Wskaźniki Step",
"-1314348105": "Wskaźniki Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "pracowników",
"-651384976": "narodowości",
"-1033881248": "Zobacz nasze otwarte pozycje"
}
}
3 changes: 2 additions & 1 deletion src/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Metais",
"-1866629977": "Energia",
"-2125845705": "Pares exóticos",
"-79167584": "Índices de Drift Switching",
"-668839336": "Índices DEX",
"-578042544": "Índices Step",
"-1314348105": "Índices Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "funcionários",
"-651384976": "nacionalidades",
"-1033881248": "Consulte as nossas vagas"
}
}
3 changes: 2 additions & 1 deletion src/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Металлы",
"-1866629977": "Энергоносители",
"-2125845705": "Экзотические пары",
"-79167584": "Drift Switching индексы",
"-668839336": "Индексы DEX",
"-578042544": "Индексы Step",
"-1314348105": "Индексы Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "сотрудников",
"-651384976": "национальностей",
"-1033881248": "Смотреть вакансии"
}
}
3 changes: 2 additions & 1 deletion src/translations/si.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "ලෝහ",
"-1866629977": "බලශක්ති",
"-2125845705": "විදේශික යුගල",
"-79167584": "Drift switching දර්ශක",
"-668839336": "DEX දර්ශක",
"-578042544": "පියවර දර්ශක",
"-1314348105": "Range Break දර්ශක",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "සේවකයින්",
"-651384976": "ජාතීන්",
"-1033881248": "අපගේ විවෘත ස්ථාන බලන්න"
}
}
2 changes: 1 addition & 1 deletion src/translations/sw.json
Original file line number Diff line number Diff line change
Expand Up @@ -4563,4 +4563,4 @@
"-1165835520": "employees",
"-651384976": "nationalities",
"-1033881248": "Angalia nafasi zetu za wazi"
}
}
3 changes: 2 additions & 1 deletion src/translations/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "โลหะ",
"-1866629977": "พลังงาน",
"-2125845705": "คู่สกุลเงินเกิดใหม่",
"-79167584": "ดัชนี Drift Switching ",
"-668839336": "ดัชนี DEX",
"-578042544": "ดัชนี Step",
"-1314348105": "ดัชนี Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "พนักงาน",
"-651384976": "สัญชาติ",
"-1033881248": "ดูตำแหน่งงานที่เปิดรับ"
}
}
3 changes: 2 additions & 1 deletion src/translations/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Metaller",
"-1866629977": "Enerji",
"-2125845705": "Egzotik çiftler",
"-79167584": "Drift Switching endeksleri",
"-668839336": "DEX endeksleri",
"-578042544": "Step endeksleri",
"-1314348105": "Range break endeksleri",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "çalışanlar",
"-651384976": "milliyetler",
"-1033881248": "Açık pozisyonlarımızı görün"
}
}
3 changes: 2 additions & 1 deletion src/translations/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "Kim loại",
"-1866629977": "Năng lượng",
"-2125845705": "Cặp tiền tệ ngoại lai",
"-79167584": "Chỉ số Drift Switching",
"-668839336": "Chỉ số DEX",
"-578042544": "Chỉ số Step",
"-1314348105": "Chỉ số Range Break",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "nhân viên",
"-651384976": "dân tộc",
"-1033881248": "Xem các vị trí đang tuyển"
}
}
2 changes: 1 addition & 1 deletion src/translations/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -4563,4 +4563,4 @@
"-1165835520": "雇员",
"-651384976": "国籍",
"-1033881248": "查看空缺职位"
}
}
3 changes: 2 additions & 1 deletion src/translations/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -3757,6 +3757,7 @@
"-19213603": "金屬",
"-1866629977": "能源",
"-2125845705": "奇異貨幣對",
"-79167584": "Drift switching 指數",
"-668839336": "DEX 指數",
"-578042544": "步階指數",
"-1314348105": "範圍突破指數",
Expand Down Expand Up @@ -4563,4 +4564,4 @@
"-1165835520": "僱員",
"-651384976": "國籍",
"-1033881248": "查看空缺職位"
}
}
Binary file not shown.

0 comments on commit 565b15a

Please sign in to comment.