Skip to content

Conversation

@dhl
Copy link
Collaborator

@dhl dhl commented Sep 5, 2025

No description provided.

Copilot AI review requested due to automatic review settings September 5, 2025 15:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds comprehensive Indonesian language translations for the Solana course content, covering multiple courses from basic introductions to advanced testing and security topics.

Key Changes:

  • Translates over 50 course modules from English to Indonesian
  • Covers foundational topics like Anchor, Pinocchio, and Token programs
  • Includes advanced content on testing frameworks, security, and emerging technologies
  • Maintains technical accuracy while making content accessible to Indonesian developers

Reviewed Changes

Copilot reviewed 152 out of 178 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
Token 2022 courses Complete Indonesian translation of Token2022 with Anchor and Web3.js courses
SPL Token courses Full translation of SPL Token implementation guides for both Anchor and Web3.js
Testing framework courses Indonesian translations for Mollusk, LiteSVM, and Surfpool testing tools
Security courses Translation of program security vulnerabilities and attack patterns
Solana Pay course Complete translation covering transfer and transaction requests
Secp256r1 course Translation of cryptographic curve implementation on Solana
Research content Translation of advanced crateless program development guide
Comments suppressed due to low confidence (1)

src/app/content/courses/token-2022-with-anchor/default-account-state-extension/id.mdx:1

  • Inconsistent offset usage: checking ACCOUNT_2_OFFSET but error message refers to 'Account 3 Data'. Should use ACCOUNT_3_OFFSET for the third account check.
import { ArticleSection } from "../../../../components/ArticleSection/ArticleSection";

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- Akun `Mint` yang sudah diinisialisasi.
- Akun `Token` atau akun `Associated Token` yang sudah diinisialisasi yang akan kita kendalikan

> Jumlah token yang kita mint "dinormalisasi" untuk desimal. Ini berarti jika kita ingin mencetak 1 token yang memiliki 6 desimal, kita perlu memasukkan `1_000_000` sebagai jumlahnya
Copy link

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent context: the comment mentions 'mint' tokens but this is about approve/revoke operations. Should describe the amount normalization for approval amounts instead.

Suggested change
> Jumlah token yang kita mint "dinormalisasi" untuk desimal. Ini berarti jika kita ingin mencetak 1 token yang memiliki 6 desimal, kita perlu memasukkan `1_000_000` sebagai jumlahnya
> Jumlah token yang kita setujui (approve) juga "dinormalisasi" untuk desimal. Ini berarti jika kita ingin menyetujui 1 token yang memiliki 6 desimal, kita perlu memasukkan `1_000_000` sebagai jumlahnya

Copilot uses AI. Check for mistakes.
return 1003; // InvalidAccountData Error
}

if *(input.add(ACCOUNT_2_OFFSET + OWNER_OFFSET) as *const [u8; 32]) != pinocchio_system::ID {
Copy link

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undefined module reference: pinocchio_system::ID is not defined in the code. Should use SYSTEM_PROGRAM_ID which was defined earlier.

Suggested change
if *(input.add(ACCOUNT_2_OFFSET + OWNER_OFFSET) as *const [u8; 32]) != pinocchio_system::ID {
if *(input.add(ACCOUNT_2_OFFSET + OWNER_OFFSET) as *const [u8; 32]) != SYSTEM_PROGRAM_ID {

Copilot uses AI. Check for mistakes.
@dhl dhl merged commit 96f50c6 into master Sep 8, 2025
@dhl dhl deleted the i18n-indonesian-update branch September 8, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants