Skip to content

Conversation

@muh-osman
Copy link
Contributor

No description provided.

@muh-osman muh-osman changed the title Translate option page Translate option page Jun 1, 2023
@muh-osman muh-osman changed the title Translate option page Translate <option> page Jun 1, 2023
Copy link
Collaborator

@AhmedBaset AhmedBaset left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove div elements

<Intro>

The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
<div dir="rtl">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't add anything not existing in the English text like this div element

Copy link
Collaborator

@AhmedBaset AhmedBaset left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove div elements


### `<option>` {/*option*/}

The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

أحسنت في تنبهك للرابط الخاطئ
ولكن التصحيح يجب أن يكون في النسخة الإنجليزية

#### الخواص {/*props*/}

`<option>` supports all [common element props.](/reference/react-dom/components/common#props)
تدعم `<option>` [جميع خواص العناصر الشائعة.](/reference/react-dom/components/common#props)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

لو استبدلت كلمة "خواص" بخصائص يكون أفضل.

* [`disabled`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#disabled): قيمة منطقية. إذا كانت `true`، فلن يكون الخيار قابلاً للتحديد وسيظهر باهت.

#### Caveats {/*caveats*/}
* [`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): سلسلة. تحدد معنى الخيار. إذا لم يتم تحديدها ، فسيتم استخدام النص الموجود داخل الخيار.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

كلمة سلسلة ترجمة حرفية والصواب نص

## الاستخدام {/*usage*/}

### Displaying a select box with options {/*displaying-a-select-box-with-options*/}
### عرض مربع التحديد مع الخيارات {/*displaying-a-select-box-with-options*/}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

مربع التحديد => عنصر الاختيار

### عرض مربع التحديد مع الخيارات {/*displaying-a-select-box-with-options*/}

Render a `<select>` with a list of `<option>` components inside to display a select box. Give each `<option>` a `value` representing the data to be submitted with the form.
قم بإنشاء `<select>` يتضمن داخله قائمة من مكونات `<option>` لعرض مربع تحديد. أعط كل `<option>` قيمة `<value>` تمثل البيانات التي سيتم رفعها مع النموذج.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

لا تضع هذه العلامات <> حول value لأنها ليست عنصر element

<option value="apple">Apple</option>
<option value="banana">Banana</option>
<option value="orange">Orange</option>
<option value="تفاح">تفاح</option>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

أحسنت في ترجمة النص الذي يظهر للمستخدم داخل و ولكن لا تترجم الـvalue

@AhmedBaset AhmedBaset added update needed This PR needs update since last commit and removed in-review labels Jun 1, 2023
@muh-osman muh-osman changed the title Translate <option> page Translate <option> page [UPDATED] Jun 1, 2023
@muh-osman
Copy link
Contributor Author

تم اجراء جميع التعديلات اللازمة. @A7med3bdulBaset

  • ازالة الـ div
  • اعادة الرابط الخاطئ
  • استبدال كلمة "خواص" بـ "خصائص"
  • استبدال كلمة "سلسلة" بـ "نص"
  • استبدال "مربع التحديد" بـ "عنصر الاختيار"
  • ازالة العلامات <> حول value
  • اعادة قيمة الـ value داخل الكود الى القيمة الاصلية

### `<option>` {/*option*/}

The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
يتيح لك [مكون الـ `<option>` المدمج في المتصفح](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) بعرض خيارات داخل مربع [`<select>`](/reference/react-dom/components/select).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

يتيح لك كذا عرض كذا
وليس بعرض

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

رائع.
من فضلك راجع آخر تعديل commit عملته أنا

@AhmedBaset AhmedBaset added approved and removed update needed This PR needs update since last commit labels Jun 1, 2023
@AhmedBaset AhmedBaset merged commit 66806cf into reactjs:main Jun 1, 2023
@github-actions
Copy link

github-actions bot commented Jun 1, 2023

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@AhmedBaset
Copy link
Collaborator

تم دمج الفرع.
ترجمتك ممتازة
يمكنك الآن اختيار صفحة جديدة

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants