docs: translate CodeSandbox button section#1462
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Size changesDetails📦 Next.js Bundle Analysis for undefinedThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
110.18 KB (🟡 +1 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
There was a problem hiding this comment.
Pull request overview
This pull request updates Korean translations in the React documentation, focusing on standardizing the capitalization of React terminology (State, Reducer, Action, Hook) and translating UI button labels in the Sandpack code editor components. While the PR title mentions only "CodeSandbox button section," the changes include comprehensive terminology updates throughout the extracting-state-logic-into-a-reducer.md documentation file.
Changes:
- Standardized capitalization of React terminology from lowercase (state, reducer, action, hook) to capitalized forms (State, Reducer, Action, Hook) throughout the reducer documentation
- Translated button titles and labels in Sandpack components (OpenInCodeSandboxButton, DownloadButton, ClearButton) to Korean
- Updated markdown formatting (e.g.,
if/elsetoif/elsewith backticks for consistency)
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
src/content/learn/extracting-state-logic-into-a-reducer.md |
Comprehensive terminology capitalization update from lowercase to uppercase for React concepts (state→State, reducer→Reducer, action→Action, hook→Hook), plus minor formatting improvements |
src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx |
Translated button title from "Open in CodeSandbox" to "CodeSandbox에서 편집합니다" |
src/components/MDX/Sandpack/DownloadButton.tsx |
Translated button title from "Download Sandbox" to "샌드박스를 다운로드합니다" |
src/components/MDX/Sandpack/ClearButton.tsx |
Translated button title to "모든 편집 내용을 지우고 샌드박스를 다시 로딩합니다" and label from "Clear" to "초기화" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This pull request focuses on improving the consistency and clarity of Korean translations in both UI components and documentation, especially regarding React state management terminology. The main changes standardize the use of terms like "State", "Reducer", and "Action" by capitalizing them and updating related explanations, making the documentation more accurate and easier to follow for Korean readers. Additionally, some UI button labels and tooltips are localized for better user experience.
UI Localization Improvements:
Documentation Consistency and Clarity:
Standardized the translation of core React terms by capitalizing "State", "Reducer", and "Action" throughout the
extracting-state-logic-into-a-reducer.mdguide, ensuring these concepts are clearly distinguished and consistently presented. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Improved explanations and section headings in the reducer documentation to align with the updated terminology, making the learning path clearer for readers. [1] [2] [3] [4] [5] [6]
These changes enhance both the usability of the UI for Korean users and the educational quality of the documentation for those learning about state management in React.