-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat(viewer): add Chinese locale #673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RayShark
wants to merge
15
commits into
rohitg00:main
Choose a base branch
from
RayShark:feat/viewer-zh-cn-locale
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a672e02
feat(viewer): extract UI strings into en.json locale source
ChristianWalterMedia c13951d
feat(viewer): introduce locale loader and VIEWER_LANGUAGE resolver
ChristianWalterMedia 8ba6cd7
feat(viewer): inject locale bundle into rendered document
ChristianWalterMedia 79f22d5
feat(viewer): add t() helper and data-i18n DOM pass
ChristianWalterMedia 54bff6c
feat(viewer): tag static markup with data-i18n attributes
ChristianWalterMedia 9118508
feat(viewer): route dynamic-render strings through t()
ChristianWalterMedia a0a6267
feat(viewer): add German (de) translation
ChristianWalterMedia 1ac144b
build(viewer): ship locale files in the published package
ChristianWalterMedia 961340f
docs: document VIEWER_LANGUAGE and translation contributions
ChristianWalterMedia b9d0b4c
feat(viewer): cover remaining hardcoded English strings
ChristianWalterMedia 46d59aa
fix(viewer): harden t() against XSS and lock down attribute injection
ChristianWalterMedia 001ed98
docs(viewer): clarify new locales ship via PR, not drop-in
ChristianWalterMedia bc7b683
fix(viewer): address second CodeRabbit review pass
ChristianWalterMedia d9fe36a
feat(viewer): add Chinese locale
RayShark c56b6ba
Merge branch 'main' into feat/viewer-zh-cn-locale
RayShark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align changelog updates with the documented release policy.
Line 11 adds a CHANGELOG entry in a feature PR, while the repo contribution policy says CHANGELOG edits should land in release PRs only. Please move this note to the release PR flow (or update the policy if practice has changed).
🤖 Prompt for AI Agents