From fcc4c3374d85b33755f852bcc559db0a8eb5115a Mon Sep 17 00:00:00 2001 From: Blaster4385 Date: Thu, 25 Aug 2022 11:44:08 +0530 Subject: Misc changes and add more translation --- client/src/pages/Update/PhotoCapture/PhotoCapture.jsx | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'client/src/pages/Update/PhotoCapture') diff --git a/client/src/pages/Update/PhotoCapture/PhotoCapture.jsx b/client/src/pages/Update/PhotoCapture/PhotoCapture.jsx index 25f8572..4fd4117 100644 --- a/client/src/pages/Update/PhotoCapture/PhotoCapture.jsx +++ b/client/src/pages/Update/PhotoCapture/PhotoCapture.jsx @@ -30,25 +30,18 @@ const PhotoCapture = () => { } } + const description = ['ENSURE_THAT_YOUR_PHOTO_IS_CLEAR_AND_IN_FOCUS', 'ALSO_ENSURE_THAT_YOU_ARE_IN_THE_CENTER_OF_YOUR_PHOTO', 'YOU_WONT_BE_ABLE_TO_PROCEED_UNTIL_YOU_HAVE_CAPTURED_A_CLEAR_AND_CENTERED_PHOTO'] + return ( <>
    -
  • - Ensure that your photo is clear and in focus -
  • -
  • - Also, ensure that you are in the center of your photo -
  • -
  • - You won't be able to proceed until you have captured a - clear and centered photo -
  • + {description.map((item) => (
  • {t(item)}
  • ))}
} -- cgit