-
Notifications
You must be signed in to change notification settings - Fork 107
Translate <option>
page [UPDATED]
#487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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
@@ -4,12 +4,16 @@ title: "<option>" | |||
|
|||
<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"> |
There was a problem hiding this comment.
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
There was a problem hiding this 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
أحسنت في تنبهك للرابط الخاطئ
ولكن التصحيح يجب أن يكون في النسخة الإنجليزية
|
||
`<option>` supports all [common element props.](/reference/react-dom/components/common#props) | ||
تدعم `<option>` [جميع خواص العناصر الشائعة.](/reference/react-dom/components/common#props) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
لو استبدلت كلمة "خواص" بخصائص يكون أفضل.
|
||
#### Caveats {/*caveats*/} | ||
* [`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): سلسلة. تحدد معنى الخيار. إذا لم يتم تحديدها ، فسيتم استخدام النص الموجود داخل الخيار. |
There was a problem hiding this comment.
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 {/*displaying-a-select-box-with-options*/} | ||
### عرض مربع التحديد مع الخيارات {/*displaying-a-select-box-with-options*/} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
مربع التحديد => عنصر الاختيار
|
||
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>` تمثل البيانات التي سيتم رفعها مع النموذج. |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
أحسنت في ترجمة النص الذي يظهر للمستخدم داخل و ولكن لا تترجم الـvalue
تم اجراء جميع التعديلات اللازمة. @A7med3bdulBaset
|
|
||
### `<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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
يتيح لك كذا عرض كذا
وليس بعرض
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
رائع.
من فضلك راجع آخر تعديل commit عملته أنا
Size changes📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
تم دمج الفرع. |
No description provided.