Skip to content

Conversation

@ethan0xbuilds
Copy link

Description

Update method names to use snake_case following Web3.py conventions:

  • toWei -> to_wei
  • fromWei -> from_wei
  • toHex -> to_hex
  • isAddress -> is_address

Updated in the following translations:

  • Chinese (zh)
  • German (de)
  • Indonesian (id)
  • Romanian (ro)

This commit ensures all translations use consistent method names with current Web3.py API documentation.

Related Issue

Fixes #16606

Update method names to use snake_case following Web3.py conventions:
- toWei -> to_wei
- fromWei -> from_wei
- toHex -> to_hex
- isAddress -> is_address

Updated in the following translations:
- Chinese (zh)
- German (de)
- Indonesian (id)
- Romanian (ro)

This commit ensures all translations use consistent method names
with current Web3.py API documentation.

Fixes ethereum#16606
@github-actions github-actions bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels Nov 1, 2025
@netlify
Copy link

netlify bot commented Nov 1, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit a2f2c68
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6905c69165c5750008a6b38e
😎 Deploy Preview https://deploy-preview-16607--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 47 (🔴 down 3 from production)
Accessibility: 94 (no change from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 92 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Additional improvements to method naming and code examples in translated tutorials.

Refs ethereum#16606
Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

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

Thanks @ethan0xbuilds... we need to update the English version of this though instead of the non-English version. Those will be updated through the Crowdin translation pipeline and avoid future regressions 🙏 Thanks!

@ethan0xbuilds
Copy link
Author

Thanks @wackerow for the clarification! I just noticed that the same update has already been completed in PR #9796.
So this PR is now redundant — I’ll go ahead and close both this PR and the related issue.
Really appreciate your review and guidance 🙏

@github-actions github-actions bot added the abandoned This has been abandoned or will not be implemented label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

abandoned This has been abandoned or will not be implemented content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(translations): update Web3.py method names to snake_case

2 participants