diff --git a/src/components/molecules/FormImageDetails.tsx b/src/components/molecules/FormImageDetails.tsx index c0c26b4..f189747 100644 --- a/src/components/molecules/FormImageDetails.tsx +++ b/src/components/molecules/FormImageDetails.tsx @@ -120,7 +120,7 @@ const GroupTextEn: React.FC = observer(({ name }) => { ) => setCurrImageVal('texthe', e.target.value)} + onChange={(e: React.ChangeEvent) => setCurrImageVal('texten', e.target.value)} /> ); diff --git a/src/components/organisms/MyImageGallery.tsx b/src/components/organisms/MyImageGallery.tsx index f52204b..90bdf5f 100644 --- a/src/components/organisms/MyImageGallery.tsx +++ b/src/components/organisms/MyImageGallery.tsx @@ -100,28 +100,31 @@ interface PropsSelectImageByTag { const styleSelect = { width: '150px', }; -const SelectImageByTag: React.FC = observer(({ onChange }) => ( -
- - {/* +const SelectImageByTag: React.FC = observer(({ onChange }) => { + const { t } = useTranslation(); + return ( +
+ + {/* tags */} - ) => { onChange(e.target.value); }} - > - - - - - - - - - -
-)); + ) => { onChange(e.target.value); }} + > + + + + + + + + +
+
+ ); +}); const styleTitle: React.CSSProperties = { textAlign: 'center', diff --git a/src/lng/en/translation.json b/src/lng/en/translation.json index 3364c7b..c74340a 100644 --- a/src/lng/en/translation.json +++ b/src/lng/en/translation.json @@ -142,6 +142,8 @@ "resize": "Resize", "NoResultsFound": "No results found", "export-to-csv": "Export to CSV", + "general": "General", + "kids": "Kids", "hide-description": "Hide Text", "show-description": "Show Text", "not-found-images" : "No photos found for this category" diff --git a/src/lng/he/translation.json b/src/lng/he/translation.json index a29b5a3..c0520ab 100644 --- a/src/lng/he/translation.json +++ b/src/lng/he/translation.json @@ -143,6 +143,8 @@ "resize": "הגדלה", "NoResultsFound": "לא נמצאו תוצאות", "export-to-csv": "יצוא לקובץ CSV", + "general": "כללי", + "kids": "ילדים", "hide-description": "הסתר תאור", "show-description": "הצג תאור", "not-found-images" : "לא נמצאו תמונות לקטגוריה זו"