Skip to content

Commit 8c77af9

Browse files
committed
Translation + auto linter fixes from prev commits
1 parent f24e687 commit 8c77af9

10 files changed

Lines changed: 33 additions & 29 deletions

File tree

beta/src/components/SocialBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {ExternalLink} from './ExternalLink';
1010
// Turning this off also requires changing the Page top value to pull up the sidebar.
1111
const bannerText = 'Support Ukraine 🇺🇦';
1212
const bannerLink = 'https://opensource.fb.com/support-ukraine';
13-
const bannerLinkText = 'Help Provide Humanitarian Aid to Ukraine.';
13+
const bannerLinkText = 'עזרו לספק תמיכה הומניטרית לאוקראינה.';
1414

1515
export default function SocialBanner() {
1616
return (

content/blog/2022-03-08-react-18-upgrade-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Finally, this API will continue to work for rendering e-mails:
125125

126126
For more information on the changes to server rendering APIs, see the working group post on [Upgrading to React 18 on the server](https://github.com/reactwg/react-18/discussions/22), a [deep dive on the new Suspense SSR Architecture](https://github.com/reactwg/react-18/discussions/37), and [Shaundai Person’s](https://twitter.com/shaundai) talk on [Streaming Server Rendering with Suspense](https://www.youtube.com/watch?v=pj5N-Khihgc) at React Conf 2021.
127127

128-
## Updates to TypeScript definitions
128+
## Updates to TypeScript definitions {#updates-to-typescript-definitions}
129129

130130
If your project uses TypeScript, you will need to update your `@types/react` and `@types/react-dom` dependencies to the latest versions. The new types are safer and catch issues that used to be ignored by the type checker. The most notable change is that the `children` prop now needs to be listed explicitly when defining props, for example:
131131

content/community/nav.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- id: support
44
title: תמיכה
55
- id: team
6-
title: Team
6+
title: הקבוצה
77
- id: courses
88
title: קורסים
99
- id: examples
@@ -19,4 +19,4 @@
1919
- id: videos
2020
title: סרטונים
2121
- id: external-resources
22-
title: External Resources
22+
title: מקורות מידע חיצוניים

content/community/support.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
11
---
22
id: support
3-
title: Where To Get Support
3+
title: מקורות לקבלת תמיכה
44
layout: community
55
sectionid: community
66
permalink: community/support.html
77
redirect_from:
88
- "support.html"
99
---
1010

11-
React has a community of millions of developers.
11+
קהילת הפיתוח של ריאקט מורכבת ממיליוני מפתחות ומפתחים.
1212

13-
On this page we've listed some React-related communities that you can be a part of; see the other pages in this section for additional online and in-person learning materials.
13+
בדף זה ריכזנו קהילות בנושא ריאקט שניתן לקחת חלק בהן,ניתן גם לצפות בדפים נוספים למטה על מנת לקבל חומרים נוספים אונליין ולימוד עצמי.
1414

15-
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.
15+
בטרם לקיחת חלק בקהילות ריאקט, [אנא קראו את קוד ההתנהגות](https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md). אימצנו את [אמנת התרומה](https://www.contributor-covenant.org/)
16+
והציפייה שלנו היא שכלל הקהילה תציית למתווה הנ"ל.
1617

1718
## Stack Overflow {#stack-overflow}
1819

19-
Stack Overflow is a popular forum to ask code-level questions or if you're stuck with a specific error. Read through the [existing questions](https://stackoverflow.com/questions/tagged/reactjs) tagged with **reactjs** or [ask your own](https://stackoverflow.com/questions/ask?tags=reactjs)!
20+
Stack Overflow הינה פלטפורמה מוכרת לשאלות קוד או שגיאות מסוימות שטרם נמצא להן פיתרון. נא עיינו ב [שאלות נפותות](https://stackoverflow.com/questions/tagged/reactjs) עם התגית **reactjs** או [שאלו שאלות משלכם](https://stackoverflow.com/questions/ask?tags=reactjs)!
2021

21-
## Popular Discussion Forums {#popular-discussion-forums}
22+
## פורומי דיונים מוכרים {#popular-discussion-forums}
2223

23-
There are many online forums which are a great place for discussion about best practices and application architecture as well as the future of React. If you have an answerable code-level question, Stack Overflow is usually a better fit.
24+
ישנם פורומים רבים אונליין שמהווים מקור מצוין לדיונים אודות best practices ויישומי ארכיטקטורה בנוסף לדיונים על העתיד של ריאקט.אם יש לך שאלת קוד שניתן לתת לה מענה,
25+
Stack Overflow יהיה ברוב המקרים מקום מתאים יותר לכך.
2426

25-
Each community consists of many thousands of React users.
27+
כל קהילה מונה אלפי משתמשי ומשתמשות ריאקט.
2628

27-
* [DEV's React community](https://dev.to/t/react)
28-
* [Hashnode's React community](https://hashnode.com/n/reactjs)
29-
* [Reactiflux online chat](https://discord.gg/reactiflux)
30-
* [Reddit's React community](https://www.reddit.com/r/reactjs/)
29+
* [קהילת ריאקט של DEV](https://dev.to/t/react)
30+
* [קהילת ריאקט של Hashnode](https://hashnode.com/n/reactjs)
31+
* [צ'אט אונליין של Reactiflux](https://discord.gg/reactiflux)
32+
* [קהילת ריאקט של Reddit](https://www.reddit.com/r/reactjs/)
3133

32-
## News {#news}
34+
## חדשות {#news}
3335

34-
For the latest news about React, [follow **@reactjs** on Twitter](https://twitter.com/reactjs) and the [official React blog](/blog/) on this website.
36+
לקריאת החדשות העדכניות ביותר של ריאקט, [ניתן לעקוב אחרי **@reactjs** בטוויטר](https://twitter.com/reactjs) וגם דרך [הבלוג הרשמי של ריאקט](/blog/) באתר זה.

src/components/FeedbackForm/FeedbackForm.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ const FeedbackForm = () => {
1818
} else {
1919
return (
2020
<span>
21-
Is this page useful?
21+
האם התוכן בעמוד זה היה שימושי?
2222
<button
23-
css={[sharedStyles.articleLayout.feedbackButton, {marginLeft: '6px'}]}
23+
css={[
24+
sharedStyles.articleLayout.feedbackButton,
25+
{marginLeft: '6px', marginRight: '6px'},
26+
]}
2427
aria-label="Yes"
2528
onClick={e => {
2629
e.preventDefault();

src/components/LayoutFooter/Footer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
6969
}}>
7070
<FooterNav layoutHasSidebar={layoutHasSidebar}>
7171
<MetaTitle onDark={true}>תיעוד</MetaTitle>
72-
{sectionListDocs.map((section) => {
72+
{sectionListDocs.map(section => {
7373
const defaultItem = section.items[0];
7474
return (
7575
<FooterLink
@@ -90,7 +90,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => (
9090
href={`https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md`}>
9191
קוד התנהגות
9292
</ExternalFooterLink>
93-
{sectionListCommunity.map((section) => (
93+
{sectionListCommunity.map(section => (
9494
<FooterLink
9595
to={`/community/${section.items[0].id}.html`}
9696
key={section.title}>

src/components/MarkdownPage/MarkdownPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const MarkdownPage = ({
135135
<a
136136
css={sharedStyles.articleLayout.editLink}
137137
href={`https://github.com/reactjs/he.reactjs.org/tree/main/${markdownRemark.fields.path}`}>
138-
ערוך עמוד זה
138+
לעריכת העמוד הנוכחי
139139
</a>
140140
</div>
141141
)}

src/components/SocialBanner/SocialBanner.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const linkProps = {
1515
rel: 'noopener',
1616
};
1717

18-
const bannerText = 'Support Ukraine 🇺🇦 ';
19-
const bannerLink = 'Help Provide Humanitarian Aid to Ukraine.';
18+
const bannerText = 'תמכו באוקראינה';
19+
const bannerLink = 'עזרו לספק תמיכה הומניטרית לאוקראינה.';
2020

2121
export default function SocialBanner() {
2222
return (
@@ -52,6 +52,7 @@ export default function SocialBanner() {
5252
<span
5353
css={{
5454
marginRight: '0.5rem',
55+
marginLeft: '0.5rem',
5556
}}>
5657
{bannerText}
5758
</span>

src/pages/404.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ const PageNotFound = ({location}: Props) => (
2525
<TitleAndMetaTags title="React - הדף אינו נמצא" />
2626
<div css={sharedStyles.markdown}>
2727
<p>לא יכולנו למצוא את הדף שאתה מחפש</p>
28-
<p>
29-
אנא פנה לבעל האתר שסיפק לך את הקישור, והודע לו שהכתובת שגויה.
30-
</p>
28+
<p>אנא פנה לבעל האתר שסיפק לך את הקישור, והודע לו שהכתובת שגויה.</p>
3129
</div>
3230
</div>
3331
</div>

src/pages/languages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Languages = ({location}: Props) => (
4848
<div css={sharedStyles.articleLayout.container}>
4949
<div css={sharedStyles.articleLayout.content}>
5050
<Header>שפות</Header>
51-
<TitleAndMetaTags
51+
<TitleAndMetaTags
5252
canonicalUrl={`${urlRoot}/languages/`}
5353
title="React - שפות"
5454
/>

0 commit comments

Comments
 (0)