Skip to content
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

fixes #24 Categories/Field/Field group screen - Missing description #94

Merged
merged 4 commits into from
Jan 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/containers/CategoriesPage/Component/ListCategories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ const ListCategories = observer((props) => {
return (
<>
<div className="d-flex justify-content-between align-items-center mb-3">
<h2 className="fw-bold mb-0">{t('txt_categories')}</h2>
<div>
<h2 className="fw-bold mb-1">{t('txt_categories')}</h2>
<div>{t('txt_categories_description')} </div>
</div>
<ActionsBar
buttons={[
{
Expand Down
5 changes: 4 additions & 1 deletion src/containers/FieldsGroupPage/Component/ListFieldsGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ const ListFieldsGroup = observer((props) => {
return (
<>
<div className="d-flex justify-content-between align-items-center mb-3">
<h2 className="fw-bold mb-0">{t('txt_fields_group')}</h2>
<div>
<h2 className="fw-bold mb-1">{t('txt_fields_group')}</h2>
<div>{t('txt_field_groups_description')}</div>
</div>
<ActionsBar
buttons={[
{
Expand Down
5 changes: 4 additions & 1 deletion src/containers/FieldsPage/Component/ListFields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ const ListFields = observer((props) => {
return (
<>
<div className="d-flex justify-content-between align-items-center mb-3">
<h2 className="fw-bold mb-0">{t('txt_fields')}</h2>
<div>
<h2 className="fw-bold mb-1">{t('txt_fields')}</h2>
<div>{t('txt_fields_description')}</div>
</div>
<ActionsBar
buttons={[
{
Expand Down
3 changes: 3 additions & 0 deletions src/translations/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@
"txt_add_new_prices": "Add New Prices",
"txt_organization": "Organization",
"txt_max_file_size": "Max filesize is: 2 MB (Allowed file extension: jpg, jpeg, gif, png)",
"txt_categories_description": "Create, edit, and manage the categories on your site",
"txt_fields_description": "Create, edit, and manage the fields on your site",
"txt_field_groups_description": "Create, edit, and manage the field groups on your site",
"txt_from": "from",
"txt_featured_product": "Featured Products",
"txt_row_select_error": "Please first make a selection from the list."
Expand Down
3 changes: 3 additions & 0 deletions src/translations/th/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@
"txt_add_new_prices": "เพิ่มราคาใหม่",
"txt_organization": "องค์กร",
"txt_max_file_size": "ขนาดไฟล์สูงสุดคือ: 2 MB (นามสกุลไฟล์ที่อนุญาต: jpg, jpeg, gif, png)",
"txt_categories_description": "สร้าง แก้ไข และจัดการหมวดหมู่บนเว็บไซต์ของคุณ",
"txt_fields_description": "สร้าง แก้ไข และจัดการฟิลด์บนไซต์ของคุณ",
"txt_field_groups_description": "สร้าง แก้ไข และจัดการกลุ่มฟิลด์บนไซต์ของคุณ",
"txt_from": "จาก",
"txt_featured_product": "สินค้าเด่น",
"txt_row_select_error": "Please first make a selection from the list."
Expand Down