Skip to content

Commit

Permalink
Merge pull request #94 from lklong709/PIM-24
Browse files Browse the repository at this point in the history
fixes #24 Categories/Field/Field group screen - Missing description
  • Loading branch information
lunguyenhat authored Jan 12, 2023
2 parents 6e6165a + 0de7bec commit 3fbc582
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
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

0 comments on commit 3fbc582

Please sign in to comment.