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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 12 additions & 12 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

0 commit comments

Comments
 (0)