Skip to content

Commit 92a4e0d

Browse files
committed
Translate sections, links and a few headings
1 parent e78e30f commit 92a4e0d

29 files changed

+88
-87
lines changed

TRANSLATION.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111

112112
| Оригінал | Переклад |
113113
| ------------------ | ---------- |
114-
| API reference | API довідник |
114+
| API reference | Довідник API |
115115
| app | застосунок |
116116
| array | масив |
117117
| arrow function | стрілкова функція |
@@ -175,6 +175,7 @@
175175
| Note | Примітка |
176176
| online | онлайн |
177177
| online playground | онлайн пісочниця |
178+
| overview | огляд; вступ (тільки як вступна частина розділів та сторінок)|
178179
| package manager | менеджер пакетів |
179180
| package registry | реєстр пакетів |
180181
| paint | фарбування, перефарбування |

src/components/Layout/HomeContent.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ export function HomeContent() {
119119
<div className="mx-5 mt-12 lg:mt-24 mb-20 lg:mb-32 flex flex-col justify-center">
120120
<div className="uwu-visible flex justify-center">
121121
<Image
122-
alt="logo by @sawaratsuki1004"
123-
title="logo by @sawaratsuki1004"
122+
alt="лого від @sawaratsuki1004"
123+
title="лого від @sawaratsuki1004"
124124
loading="eager"
125125
width={313}
126126
height={160}
@@ -145,15 +145,15 @@ export function HomeContent() {
145145
size="lg"
146146
className="w-full sm:w-auto justify-center"
147147
label="Learn React">
148-
Learn React
148+
Вивчення React
149149
</ButtonLink>
150150
<ButtonLink
151151
href={'/reference/react'}
152152
type="secondary"
153153
size="lg"
154154
className="w-full sm:w-auto justify-center"
155155
label="API Reference">
156-
API Reference
156+
Довідник API
157157
</ButtonLink>
158158
</div>
159159
</div>
@@ -435,15 +435,15 @@ export function HomeContent() {
435435
</Para>
436436
<div className="hidden lg:flex justify-start w-full">
437437
<CTA color="gray" icon="news" href="/blog">
438-
Read more React news
438+
Більше новин про React
439439
</CTA>
440440
</div>
441441
</div>
442442
</div>
443443
<div className="w-full lg:w-6/12">
444444
<p className="uppercase tracking-wide font-bold text-sm text-tertiary dark:text-tertiary-dark flex flex-row gap-2 items-center mt-5 lg:-mt-2 w-full">
445445
<IconChevron />
446-
Latest React News
446+
Останні новини про React
447447
</p>
448448
<div className="flex-col sm:flex-row flex-wrap flex gap-5 text-start my-5">
449449
<div className="flex-1 min-w-[40%] text-start">
@@ -461,7 +461,7 @@ export function HomeContent() {
461461
</div>
462462
<div className="flex lg:hidden justify-start w-full">
463463
<CTA color="gray" icon="news" href="/blog">
464-
Read more React news
464+
Більше новин про React
465465
</CTA>
466466
</div>
467467
</div>
@@ -519,7 +519,7 @@ export function HomeContent() {
519519
type="primary"
520520
size="lg"
521521
label="Take the Tutorial">
522-
Get Started
522+
Ознайомитися
523523
</ButtonLink>
524524
</div>
525525
</Section>
@@ -1104,7 +1104,7 @@ function SearchableVideoList({ videos }) {
11041104
contentMarginTop="72px"
11051105
height="30rem">
11061106
<h1 className="mx-4 mb-1 font-bold text-3xl text-primary">
1107-
React Videos
1107+
Відео про React
11081108
</h1>
11091109
<p className="mx-4 mb-0 leading-snug text-secondary text-xl">
11101110
A brief history of React
@@ -1321,7 +1321,7 @@ function BrowserChrome({children, hasPulse, hasRefresh, domain, path}) {
13211321
<div className="z-0 absolute shadow-[0_0_0_8px_rgba(0,0,0,0.5)] inset-0 rounded-full animation-pulse-shadow" />
13221322
)}
13231323
<button
1324-
aria-label="Reload"
1324+
aria-label="Перезавантажити"
13251325
onClick={handleRestart}
13261326
className={
13271327
'z-10 flex items-center p-1.5 rounded-full cursor-pointer justify-center' +
@@ -1512,7 +1512,7 @@ function ConferenceLayout({conf, children}) {
15121512
data-hover="ConferenceLayout">
15131513
<Cover background={conf.cover}>
15141514
<select
1515-
aria-label="Event"
1515+
aria-label="Подія"
15161516
defaultValue={slug}
15171517
onChange={(e) => {
15181518
startTransition(() => {
@@ -1685,7 +1685,7 @@ function LikeButton({video}) {
16851685
'outline-none focus:bg-red-50/5 focus:text-red-50 relative flex items-center justify-center w-10 h-10 cursor-pointer rounded-full hover:bg-card active:scale-95 active:bg-red-50/5 active:text-red-50',
16861686
isLiked ? 'text-red-50' : 'text-tertiary'
16871687
)}
1688-
aria-label={isLiked ? 'Unsave' : 'Save'}
1688+
aria-label={isLiked ? 'Видалити з улюбленого' : 'Додати в улюблене'}
16891689
onClick={() => {
16901690
const nextIsLiked = !isLiked;
16911691
if (nextIsLiked) {

src/content/blog/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: React Blog
2+
title: Блог React
33
---
44

55
<Intro>
@@ -106,8 +106,8 @@ Not every React release deserves its own blog post, but you can find a detailed
106106

107107
---
108108

109-
### Older posts {/*older-posts*/}
109+
### Старіші публікації {/*older-posts*/}
110110

111-
See the [older posts.](https://reactjs.org/blog/all.html)
111+
Перегляньте [старіші публікації.](https://reactjs.org/blog/all.html)
112112

113113
<div className="h-12"></div>

src/content/community/acknowledgements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Acknowledgements
2+
title: Подяки
33
---
44

55
<Intro>

src/content/community/docs-contributors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Docs Contributors
2+
title: Автори документації
33
---
44

55
<Intro>

src/content/community/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: React Community
2+
title: Спільнота React
33
---
44

55
<Intro>
@@ -8,7 +8,7 @@ React has a community of millions of developers. On this page we've listed some
88

99
</Intro>
1010

11-
## Code of Conduct {/*code-of-conduct*/}
11+
## Кодекс поведінки {/*code-of-conduct*/}
1212

1313
Before participating in React's communities, [please read our Code of Conduct.](https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md) We have adopted the [Contributor Covenant](https://www.contributor-covenant.org/) and we expect that all community members adhere to the guidelines within.
1414

src/content/community/team.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Meet the Team"
2+
title: Команда React
33
---
44

55
<Intro>
@@ -100,4 +100,4 @@ Current members of the React team are listed in alphabetical order below.
100100

101101
## Past contributors {/*past-contributors*/}
102102

103-
You can find the past team members and other people who significantly contributed to React over the years on the [acknowledgements](/community/acknowledgements) page.
103+
You can find the past team members and other people who significantly contributed to React over the years on the ["Подяки"](/community/acknowledgements) page.

src/content/community/translations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Translations
2+
title: Переклади
33
---
44

55
<Intro>

src/content/community/videos.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: React Videos
2+
title: Відео про React
33
---
44

55
<Intro>

src/content/learn/describing-the-ui.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ img { height: 90px; }
186186

187187
</LearnMore>
188188

189-
## JavaScript у JSX з фігурними дужками {/*javascript-in-jsx-with-curly-braces*/}
189+
## JavaScript у JSX із фігурними дужками {/*javascript-in-jsx-with-curly-braces*/}
190190

191191
JSX дозволяє писати HTML-подібну розмітку всередині файлу JavaScript, зберігаючи логіку рендерингу та вміст в одному місці. Іноді вам потрібно додати трохи логіки JavaScript або посилатися на динамічну властивість у цій розмітці. Тоді ви можете використовувати фігурні дужки у своєму JSX, щоб "відкрити вікно" у JavaScript:
192192

src/content/learn/javascript-in-jsx-with-curly-braces.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: JavaScript у JSX з фігурними дужками
2+
title: JavaScript у JSX із фігурними дужками
33
---
44

55
<Intro>

src/content/learn/tutorial-tic-tac-toe.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Once you've played around with the finished tic-tac-toe game, keep scrolling. Yo
202202

203203
## Setup for the tutorial {/*setup-for-the-tutorial*/}
204204

205-
In the live code editor below, click **Fork** in the top-right corner to open the editor in a new tab using the website CodeSandbox. CodeSandbox lets you write code in your browser and preview how your users will see the app you've created. The new tab should display an empty square and the starter code for this tutorial.
205+
In the live code editor below, click **Відгалузити** in the top-right corner to open the editor in a new tab using the website CodeSandbox. CodeSandbox lets you write code in your browser and preview how your users will see the app you've created. The new tab should display an empty square and the starter code for this tutorial.
206206

207207
<Sandpack>
208208

@@ -264,7 +264,7 @@ body {
264264
You can also follow this tutorial using your local development environment. To do this, you need to:
265265

266266
1. Install [Node.js](https://nodejs.org/en/)
267-
1. In the CodeSandbox tab you opened earlier, press the top-left corner button to open the menu, and then choose **Download Sandbox** in that menu to download an archive of the files locally
267+
1. In the CodeSandbox tab you opened earlier, press the top-left corner button to open the menu, and then choose **Завантажити пісочницю** in that menu to download an archive of the files locally
268268
1. Unzip the archive, then open a terminal and `cd` to the directory you unzipped
269269
1. Install the dependencies with `npm install`
270270
1. Run `npm start` to start a local server and follow the prompts to view the code running in a browser

src/content/reference/react-dom/client/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Client React DOM APIs
2+
title: "React DOM: клієнтські API"
33
---
44

55
<Intro>

src/content/reference/react-dom/components/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "React DOM Components"
2+
title: "React DOM: компоненти"
33
---
44

55
<Intro>

src/content/reference/react-dom/hooks/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Built-in React DOM Hooks"
2+
title: "React DOM: вбудовані хуки"
33
---
44

55
<Intro>

src/content/reference/react-dom/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: React DOM APIs
2+
title: "React DOM: API"
33
---
44

55
<Intro>
@@ -41,7 +41,7 @@ The `react-dom` package provides two additional entry points:
4141

4242
---
4343

44-
## Removed APIs {/*removed-apis*/}
44+
## Видалені API {/*removed-apis*/}
4545

4646
These APIs were removed in React 19:
4747

src/content/reference/react-dom/server/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Server React DOM APIs
2+
title: "React DOM: серверні API"
33
---
44

55
<Intro>

src/content/reference/react-dom/static/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Static React DOM APIs
2+
title: "React DOM: статичні API"
33
---
44

55
<Intro>

src/content/reference/react/apis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Built-in React APIs"
2+
title: "React: вбудовані API"
33
---
44

55
<Intro>

src/content/reference/react/components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Built-in React Components"
2+
title: "React: вбудовані компоненти"
33
---
44

55
<Intro>

src/content/reference/react/hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Built-in React Hooks"
2+
title: "React: вбудовані хуки"
33
---
44

55
<Intro>

src/content/reference/react/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: React Reference Overview
2+
title: Вступ до довідника React
33
---
44

55
<Intro>
@@ -29,14 +29,14 @@ React-dom contains features that are only supported for web applications (which
2929
* [Client APIs](/reference/react-dom/client) - The `react-dom/client` APIs let you render React components on the client (in the browser).
3030
* [Server APIs](/reference/react-dom/server) - The `react-dom/server` APIs let you render React components to HTML on the server.
3131

32-
## Rules of React {/*rules-of-react*/}
32+
## Правила React {/*rules-of-react*/}
3333

3434
React has idioms — or rules — for how to express patterns in a way that is easy to understand and yields high-quality applications:
3535

3636
* [Components and Hooks must be pure](/reference/rules/components-and-hooks-must-be-pure) – Purity makes your code easier to understand, debug, and allows React to automatically optimize your components and hooks correctly.
3737
* [React calls Components and Hooks](/reference/rules/react-calls-components-and-hooks) – React is responsible for rendering components and hooks when necessary to optimize the user experience.
3838
* [Rules of Hooks](/reference/rules/rules-of-hooks) – Hooks are defined using JavaScript functions, but they represent a special type of reusable UI logic with restrictions on where they can be called.
3939

40-
## Legacy APIs {/*legacy-apis*/}
40+
## Спадкові API {/*legacy-apis*/}
4141

4242
* [Legacy APIs](/reference/react/legacy) - Exported from the `react` package, but not recommended for use in newly written code.

src/content/reference/react/legacy.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Legacy React APIs"
2+
title: "Спадкові API в React"
33
---
44

55
<Intro>
@@ -10,7 +10,7 @@ These APIs are exported from the `react` package, but they are not recommended f
1010

1111
---
1212

13-
## Legacy APIs {/*legacy-apis*/}
13+
## Спадкові API {/*legacy-apis*/}
1414

1515
* [`Children`](/reference/react/Children) lets you manipulate and transform the JSX received as the `children` prop. [See alternatives.](/reference/react/Children#alternatives)
1616
* [`cloneElement`](/reference/react/cloneElement) lets you create a React element using another element as a starting point. [See alternatives.](/reference/react/cloneElement#alternatives)
@@ -23,7 +23,7 @@ These APIs are exported from the `react` package, but they are not recommended f
2323

2424
---
2525

26-
## Removed APIs {/*removed-apis*/}
26+
## Видалені API {/*removed-apis*/}
2727

2828
These APIs were removed in React 19:
2929

src/content/reference/rules/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Rules of React
2+
title: Правила React
33
---
44

55
<Intro>

src/sidebarBlog.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"title": "Blog",
2+
"title": "Блог",
33
"path": "/blog",
44
"routes": [
55
{
66
"hasSectionHeader": true,
7-
"sectionHeader": "STAY INFORMED"
7+
"sectionHeader": "НОВИНИ"
88
},
99
{
10-
"title": "Blog",
10+
"title": "Блог",
1111
"path": "/blog",
1212
"skipBreadcrumb": true,
1313
"routes": [
@@ -117,7 +117,7 @@
117117
"path": "/blog/2020/12/21/data-fetching-with-react-server-components"
118118
},
119119
{
120-
"title": "Older posts",
120+
"title": "Старіші публікації",
121121
"path": "https://reactjs.org/blog/all.html"
122122
}
123123
]

0 commit comments

Comments
 (0)