feat(i18n): Bahasa for shared UI components (finishes full coverage) - #132
Merged
Conversation
Adds src/i18n/shared.ts (useLang() reads the URL + re-checks on astro:page-load; useUi() returns the current-locale strings). Wires the common components that carry their own text — Dropzone, CopyButton, CopyImageButton, ResultActions, ImageResult, EditInAnnotatorButton, Load/DownloadText buttons — so 'Copy'/'Download'/'Drop files here'/'Result' etc. render Bahasa on /id/ across every tool at once. Explicit label props still override. Completes full Bahasa coverage of the tool UIs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ubfx4XocHcECaL8twp9zsr
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
goodwebtools | 82c90a9 | Aug 02 2026, 09:06 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Localizes the generic shared components that every tool uses, via a small
useLang()hook (reads the URL, updates onastro:page-load) +useUi()strings. Covers Dropzone ('Drop files here'), CopyButton/CopyImageButton ('Copy'/'Copied'), ResultActions ('Download …'), ImageResult ('Result' + size delta), EditInAnnotatorButton, and the Load/Download default labels — so those render Bahasa on/id/across all 73 tools at once. Explicit label props still override.Verify
This completes full Bahasa coverage of the tool UIs. (Privacy page is the last English public page — separate small follow-up.)