Skip to content

Commit

Permalink
Merge pull request #624 from urfit-tech/fix/revoked-text
Browse files Browse the repository at this point in the history
fix:revoked translation
  • Loading branch information
TedxTed authored and Logos50607 committed Oct 24, 2024
1 parent 78f0d3c commit d49b278
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/ContractPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const ContractPage: React.VFC = () => {
{formatMessage(pageMessages.ContractPage.email)}{memberContract.memberEmail}
</p>
<b>
{formatMessage(pageMessages.ContractPage.agreedOn, {
{formatMessage(pageMessages.ContractPage.revokedOn, {
date: moment(memberContract.revokedAt).format('YYYY-MM-DD HH:mm:ss'),
})}
</b>
Expand Down
4 changes: 4 additions & 0 deletions src/pages/translation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ const pageMessages = {
id: 'page.ContractPage.agreedOn',
defaultMessage: 'Agreed to this contract on {date}',
},
revokedOn: {
id: 'page.ContractPage.revokedOn',
defaultMessage: 'Revoked to this contract on {date}',
},
terminatedOn: {
id: 'page.ContractPage.terminatedOn',
defaultMessage: 'This contract was terminated on {date}',
Expand Down
3 changes: 2 additions & 1 deletion src/translations/locales/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@
"page.CollapseContentBlock.podcastChannel": "Podcast Channels ({count})",
"page.ContractPage.agree": "Agree",
"page.ContractPage.agreedOn": "Agreed to this contract on {date}",
"page.ContractPage.revokedOn": "Revoked to this contract on {date}",
"page.ContractPage.alreadyReadAndAgree": "I have carefully read and agree to the above contract and am willing to abide by the terms.",
"page.ContractPage.cannotModifyAfterAgree": "Cannot be modified after agreement",
"page.ContractPage.confirmContractTerms": "Please confirm that you understand and agree to these contract terms. Both parties will adhere to these terms during the contract period and cannot modify them arbitrarily.",
Expand Down Expand Up @@ -1743,4 +1744,4 @@
"voucher.modal.title.add": "Create redemption scheme",
"voucher.tab.exchange": "Exchange Code",
"voucher.title.add": "Add Voucher"
}
}
3 changes: 2 additions & 1 deletion src/translations/locales/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@
"page.CollapseContentBlock.podcastChannel": "Saluran podcast({count})",
"page.ContractPage.agree": "Konfirmasi setuju",
"page.ContractPage.agreedOn": "Disetujui pada {date}",
"page.ContractPage.revokedOn": "Dicabut pada {date}",
"page.ContractPage.alreadyReadAndAgree": "Saya telah membaca dengan seksama dan menyetujui kontrak di atas dan bersedia mematuhi peraturan",
"page.ContractPage.cannotModifyAfterAgree": "Tidak dapat diubah setelah disetujui",
"page.ContractPage.confirmContractTerms": "Harap pastikan Anda telah memahami dan menyetujui ketentuan kontrak ini, selama masa kontrak, kedua belah pihak akan mematuhi ketentuan ini dan tidak dapat diubah sembarangan.",
Expand Down Expand Up @@ -1743,4 +1744,4 @@
"voucher.modal.title.add": "Buat program penukaran",
"voucher.tab.exchange": "Kode penukaran",
"voucher.title.add": "Tambahkan voucher"
}
}
1 change: 1 addition & 0 deletions src/translations/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@
"page.CollapseContentBlock.podcastChannel": "ポッドキャストチャンネル({count})",
"page.ContractPage.agree": "確認して同意する",
"page.ContractPage.agreedOn": "{date} に同意しました",
"page.ContractPage.revokedOn": "{date} に取り消されました",
"page.ContractPage.alreadyReadAndAgree": "上記の契約をよく読み、同意し、規定を遵守することに同意します",
"page.ContractPage.cannotModifyAfterAgree": "同意後は修正できません",
"page.ContractPage.confirmContractTerms": "この契約条項を理解し同意していることを確認してください。契約期間中、両者はこの条項を遵守し、勝手に修正することはできません。",
Expand Down
1 change: 1 addition & 0 deletions src/translations/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@
"page.CollapseContentBlock.podcastChannel": "팟캐스트 채널({count})",
"page.ContractPage.agree": "동의 확인",
"page.ContractPage.agreedOn": "{date}에 동의함",
"page.ContractPage.revokedOn": "{date}에 취소됨",
"page.ContractPage.alreadyReadAndAgree": "위의 계약을 자세히 읽고 동의하며 규정을 준수할 것을 약속합니다",
"page.ContractPage.cannotModifyAfterAgree": "동의 후 수정 불가",
"page.ContractPage.confirmContractTerms": "이 계약 조건을 이해하고 동의했음을 확인하십시오. 계약 기간 동안 양측은 이 조건을 준수하며 임의로 수정할 수 없습니다.",
Expand Down
1 change: 1 addition & 0 deletions src/translations/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@
"page.CollapseContentBlock.podcastChannel": "Kênh podcast({count})",
"page.ContractPage.agree": "Xác nhận đồng ý",
"page.ContractPage.agreedOn": "Đã đồng ý vào ngày {date}",
"page.ContractPage.revokedOn": "Đã hủy bỏ vào ngày {date}",
"page.ContractPage.alreadyReadAndAgree": "Tôi đã đọc kỹ và đồng ý với hợp đồng trên và cam kết tuân thủ quy định",
"page.ContractPage.cannotModifyAfterAgree": "Không thể sửa đổi sau khi đồng ý",
"page.ContractPage.confirmContractTerms": "Vui lòng xác nhận bạn đã hiểu và đồng ý với các điều khoản hợp đồng này, trong thời gian hợp đồng, cả hai bên sẽ tuân thủ các điều khoản này và không được thay đổi tuỳ ý.",
Expand Down
1 change: 1 addition & 0 deletions src/translations/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@
"page.CollapseContentBlock.podcastChannel": "广播频道({count})",
"page.ContractPage.agree": "确认同意",
"page.ContractPage.agreedOn": "已于 {date} 同意此契约",
"page.ContractPage.revokedOn": "已于 {date} 解除此契约",
"page.ContractPage.alreadyReadAndAgree": "我已详细阅读并同意上述契约并愿意遵守规定",
"page.ContractPage.cannotModifyAfterAgree": "同意后无法修改",
"page.ContractPage.confirmContractTerms": "请确认您已了解并同意此合同条款,在合同期间内,双方将遵守此条款,不可任意修改。",
Expand Down
1 change: 1 addition & 0 deletions src/translations/locales/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@
"page.CollapseContentBlock.podcastChannel": "廣播頻道({count})",
"page.ContractPage.agree": "確認同意",
"page.ContractPage.agreedOn": "已於 {date} 同意此契約",
"page.ContractPage.revokedOn": "已於 {date} 解除此契約",
"page.ContractPage.alreadyReadAndAgree": "我已詳細閱讀並同意上述契約並願意遵守規定",
"page.ContractPage.cannotModifyAfterAgree": "同意後無法修改",
"page.ContractPage.confirmContractTerms": "請確認您已了解並同意此合約條款,在合約期間內,雙方將遵守此條款,不可任意修改。",
Expand Down

0 comments on commit d49b278

Please sign in to comment.