From a805f3f0a3d391237d435242f71db43b1fb669f1 Mon Sep 17 00:00:00 2001 From: Monobikash Das Date: Thu, 2 Mar 2023 18:30:46 +0530 Subject: [PATCH] Review comments by rounak for demo --- locales/ara.json | 4 ++-- locales/en.json | 4 ++-- locales/fil.json | 2 +- locales/hin.json | 4 ++-- locales/kan.json | 4 ++-- locales/tam.json | 4 ++-- screens/QrLogin/QrConsent.tsx | 8 ++++++-- screens/VerifyIdentityOverlay.strings.json | 4 ++-- 8 files changed, 19 insertions(+), 15 deletions(-) diff --git a/locales/ara.json b/locales/ara.json index 331f6661..2b9eb371 100644 --- a/locales/ara.json +++ b/locales/ara.json @@ -328,8 +328,8 @@ "errors": { "invalidIdentity": { "title": "تعذر التحقق من الهوية", - "message": "حدث خطأ ولم نتمكن من مسح صورتك ضوئيًا. حاول مرة أخرى ، وتأكد من أن وجهك مرئي وخالي من أي ملحقات.", - "messageNoRetry": "حدث خطأ ولم نتمكن من مسح صورتك ضوئيًا." + "message": "الوجه غير معروف. حاول مرة اخرى.", + "messageNoRetry": "الوجه غير معروف." } } }, diff --git a/locales/en.json b/locales/en.json index c02f7102..fe784832 100644 --- a/locales/en.json +++ b/locales/en.json @@ -347,8 +347,8 @@ "errors": { "invalidIdentity": { "title": "Unable to verify identity", - "message": "An error occurred and we couldn't scan your portrait. Try again, make sure your face is visible, devoid of any accessories.", - "messageNoRetry": "An error occurred and we couldn't scan your portrait." + "message": "Face not recognised. Please try again.", + "messageNoRetry": "Face not recognised." } } }, diff --git a/locales/fil.json b/locales/fil.json index e70f10c0..dc3b4425 100644 --- a/locales/fil.json +++ b/locales/fil.json @@ -318,7 +318,7 @@ "errors": { "invalidIdentity": { "title": "Hindi ma-verify ang pagkakakilanlan", - "message": "May naganap na error at hindi namin ma-scan ang iyong portrait. Subukang muli, tiyaking nakikita ang iyong mukha, walang anumang mga accessory." + "message": "Hindi nakikilala ang mukha. Pakisubukang muli." } } }, diff --git a/locales/hin.json b/locales/hin.json index ced80fb8..3d998e23 100644 --- a/locales/hin.json +++ b/locales/hin.json @@ -329,8 +329,8 @@ "errors": { "invalidIdentity": { "title": "पहचान सत्यापित करने में असमर्थ", - "message": "कोई गड़बड़ी हुई और हम आपका पोर्ट्रेट स्कैन नहीं कर सके. प्रयास करें, सुनिश्चित करें कि आपका चेहरा दिखाई दे रहा है, बिना किसी सामान के.", - "messageNoRetry": "कोई गड़बड़ी हुई और हम आपका पोर्ट्रेट स्कैन नहीं कर सके." + "message": "चेहरा नहीं पहचाना। कृपया पुन: प्रयास करें।", + "messageNoRetry": "चेहरा नहीं पहचाना।" } } }, diff --git a/locales/kan.json b/locales/kan.json index 6822f3d1..ffc92c62 100644 --- a/locales/kan.json +++ b/locales/kan.json @@ -329,8 +329,8 @@ "errors": { "invalidIdentity": { "title": "ಗುರುತನ್ನು ಪರಿಶೀಲಿಸಲು ಸಾಧ್ಯವಾಗುತ್ತಿಲ್ಲ", - "message": "ದೋಷ ಸಂಭವಿಸಿದೆ ಮತ್ತು ನಿಮ್ಮ ಭಾವಚಿತ್ರವನ್ನು ಸ್ಕ್ಯಾನ್ ಮಾಡಲು ನಮಗೆ ಸಾಧ್ಯವಾಗಲಿಲ್ಲ. ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ, ನಿಮ್ಮ ಮುಖವು ಗೋಚರಿಸುತ್ತಿದೆಯೇ ಎಂದು ಖಚಿತಪಡಿಸಿಕೊಳ್ಳಿ, ಯಾವುದೇ ಪರಿಕರಗಳಿಲ್ಲ.", - "messageNoRetry": "ದೋಷ ಸಂಭವಿಸಿದೆ ಮತ್ತು ನಿಮ್ಮ ಭಾವಚಿತ್ರವನ್ನು ಸ್ಕ್ಯಾನ್ ಮಾಡಲು ನಮಗೆ ಸಾಧ್ಯವಾಗಲಿಲ್ಲ." + "message": "ಮುಖ ಗುರುತಿಸಲಾಗಿಲ್ಲ. ದಯವಿಟ್ಟು ಪುನಃ ಪ್ರಯತ್ನಿಸಿ.", + "messageNoRetry": "ಮುಖ ಗುರುತಿಸಲಾಗಿಲ್ಲ." } } }, diff --git a/locales/tam.json b/locales/tam.json index c8223c0e..1cc70b55 100644 --- a/locales/tam.json +++ b/locales/tam.json @@ -328,8 +328,8 @@ "errors": { "invalidIdentity": { "title": "அடையாளத்தைச் சரிபார்க்க முடியவில்லை", - "message": "பிழை ஏற்பட்டது, உங்கள் உருவப்படத்தை ஸ்கேன் செய்ய முடியவில்லை. மீண்டும் முயலவும், உங்களின் முகம் தெரிவதை உறுதி செய்து கொள்ளவும், துணைக்கருவிகள் எதுவும் இல்லை.", - "messageNoRetry": "பிழை ஏற்பட்டது, உங்கள் உருவப்படத்தை ஸ்கேன் செய்ய முடியவில்லை." + "message": "முகம் அடையாளம் தெரியவில்லை. தயவு செய்து மீண்டும் முயற்சிக்கவும்.", + "messageNoRetry": "முகம் அடையாளம் தெரியவில்லை." } } }, diff --git a/screens/QrLogin/QrConsent.tsx b/screens/QrLogin/QrConsent.tsx index 4b67163c..609a0f24 100644 --- a/screens/QrLogin/QrConsent.tsx +++ b/screens/QrLogin/QrConsent.tsx @@ -58,7 +58,9 @@ export const QrConsent: React.FC = (props) => { - {t(claim[0].toUpperCase() + claim.slice(1))} + {t(claim[0].toUpperCase() + claim.slice(1)) + .split('_') + .join(' ')} = (props) => { - {t(claim[0].toUpperCase() + claim.slice(1))} + {t(claim[0].toUpperCase() + claim.slice(1)) + .split('_') + .join(' ')} diff --git a/screens/VerifyIdentityOverlay.strings.json b/screens/VerifyIdentityOverlay.strings.json index 62c87ba9..80b8101c 100644 --- a/screens/VerifyIdentityOverlay.strings.json +++ b/screens/VerifyIdentityOverlay.strings.json @@ -5,8 +5,8 @@ "errors": { "invalidIdentity": { "title": "Unable to verify identity", - "message": "An error occurred and we couldn't scan your portrait. Try again, make sure your face is visible, devoid of any accessories.", - "messageNoRetry": "An error occurred and we couldn't scan your portrait." + "message": "Face not recognised. Please try again.", + "messageNoRetry": "Face not recognised." } } } \ No newline at end of file