mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-10 14:07:59 -05:00
[Release 03-07-2023]fix:sharing timeout message displaying always
This commit is contained in:
@@ -40,19 +40,21 @@ export const ProgressingModal: React.FC<ProgressingModalProps> = (props) => {
|
||||
)}
|
||||
</Column>
|
||||
|
||||
<Column style={{ display: props.timeoutHint ? 'flex' : 'none' }}>
|
||||
<Column style={{ display: props.hint ? 'flex' : 'none' }}>
|
||||
<Column style={Theme.SelectVcOverlayStyles.timeoutHintContainer}>
|
||||
<Text
|
||||
align="center"
|
||||
color={Theme.Colors.TimoutText}
|
||||
style={Theme.TextStyles.bold}>
|
||||
{props.timeoutHint}
|
||||
{props.hint}
|
||||
</Text>
|
||||
<Button
|
||||
type="clear"
|
||||
title={t('common:cancel')}
|
||||
onPress={props.onCancel}
|
||||
/>
|
||||
{props.onCancel && (
|
||||
<Button
|
||||
type="clear"
|
||||
title={t('common:cancel')}
|
||||
onPress={props.onCancel}
|
||||
/>
|
||||
)}
|
||||
</Column>
|
||||
</Column>
|
||||
</Centered>
|
||||
@@ -65,7 +67,7 @@ export interface ProgressingModalProps {
|
||||
isVisible: boolean;
|
||||
title?: string;
|
||||
label?: string;
|
||||
timeoutHint?: string;
|
||||
hint?: string;
|
||||
onCancel?: () => void;
|
||||
requester?: boolean;
|
||||
progress?: boolean | number;
|
||||
|
||||
@@ -436,7 +436,7 @@
|
||||
"sentHint": "في انتظار أن يحفظ المستلم بطاقة أو يتجاهلها",
|
||||
"sharing": {
|
||||
"title": "مشاركة...",
|
||||
"hint": "الرجاء الانتظار حتى يقبل الجهاز المتلقي المشاركة أو يرفضها.",
|
||||
"hint": "يرجى الانتظار حتى نشارك البطاقة المختارة.",
|
||||
"timeoutHint": "تستغرق مشاركتها وقتًا أطول من المتوقع. قد تكون هناك مشكلة في الاتصال."
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -436,7 +436,7 @@
|
||||
"sentHint": "Waiting for receiver to save or discard your Card",
|
||||
"sharing": {
|
||||
"title": "Sharing...",
|
||||
"hint": "Please wait for the receiving device to accept or reject the share.",
|
||||
"hint": "Please wait while we share the chosen card.",
|
||||
"timeoutHint": "It's taking longer than expected to share. There could be a problem with the connection."
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -440,7 +440,7 @@
|
||||
"sentHint": "Naghihintay para sa receiver na i-save o itapon ang iyong card",
|
||||
"sharing": {
|
||||
"title": "Pagbabahagi...",
|
||||
"hint": "Pakihintay na tanggapin o tanggihan ng tumatanggap na device ang pagbabahagi.",
|
||||
"hint": "Mangyaring maghintay habang ibinabahagi namin ang napiling card.",
|
||||
"timeoutHint": "Mas tumatagal kaysa sa inaasahan ang pagbabahagi. Maaaring may problema sa koneksyon."
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -436,7 +436,7 @@
|
||||
"sentHint": "आपके {{vcLabel }} को सहेजने या छोड़ने के लिए रिसीवर की प्रतीक्षा की जा रही है",
|
||||
"sharing": {
|
||||
"title": "शेयरिंग...",
|
||||
"hint": "शेयर को स्वीकार या अस्वीकार करने के लिए कृपया प्राप्त करने वाले डिवाइस की प्रतीक्षा करें।",
|
||||
"hint": "कृपया तब तक प्रतीक्षा करें जब तक हम चयनित कार्ड साझा नहीं करते।",
|
||||
"timeoutHint": "साझा करने में अपेक्षा से अधिक समय लग रहा है। कनेक्शन में कोई समस्या हो सकती है।"
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -433,7 +433,7 @@
|
||||
"sentHint": "ನಿಮ್ಮ ಕಾರ್ಡ್ ಅನ್ನು ಉಳಿಸಲು ಅಥವಾ ತ್ಯಜಿಸಲು ರಿಸೀವರ್ಗಾಗಿ ನಿರೀಕ್ಷಿಸಲಾಗುತ್ತಿದೆ",
|
||||
"sharing": {
|
||||
"title": "ಹಂಚಿಕೆ...",
|
||||
"hint": "ಸ್ವೀಕರಿಸುವ ಸಾಧನವು ಹಂಚಿಕೆಯನ್ನು ಸ್ವೀಕರಿಸಲು ಅಥವಾ ತಿರಸ್ಕರಿಸಲು ದಯವಿಟ್ಟು ನಿರೀಕ್ಷಿಸಿ.",
|
||||
"hint": "ನಾವು ಆಯ್ಕೆಮಾಡಿದ ಕಾರ್ಡ್ ಅನ್ನು ಹಂಚಿಕೊಳ್ಳುವವರೆಗೆ ದಯವಿಟ್ಟು ನಿರೀಕ್ಷಿಸಿ.",
|
||||
"timeoutHint": "ಹಂಚಿಕೊಳ್ಳಲು ನಿರೀಕ್ಷಿಸಿದ್ದಕ್ಕಿಂತ ಹೆಚ್ಚು ಸಮಯ ತೆಗೆದುಕೊಳ್ಳುತ್ತಿದೆ. ಸಂಪರ್ಕದಲ್ಲಿ ಸಮಸ್ಯೆ ಇರಬಹುದು."
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -367,7 +367,7 @@
|
||||
"sentHint": "Esperando a que el receptor guarde o descarte tu tarjeta",
|
||||
"sharing": {
|
||||
"title": "Compartiendo...",
|
||||
"hint": "Por favor, espera a que el dispositivo receptor acepte o rechace el intercambio.",
|
||||
"hint": "Espere mientras compartimos la tarjeta elegida.",
|
||||
"timeoutHint": "Está tomando más tiempo del esperado para compartir. Puede haber un problema con la conexión."
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -433,7 +433,7 @@
|
||||
"sentHint": "ரிசீவர் உங்கள் அட்டை ஐ சேமிக்க அல்லது நிராகரிக்க காத்திருக்கிறது",
|
||||
"sharing": {
|
||||
"title": "பகிர்தல்...",
|
||||
"hint": "பெறும் சாதனம் பங்கை ஏற்க அல்லது நிராகரிக்க காத்திருக்கவும்.",
|
||||
"hint": "தேர்ந்தெடுத்த கார்டைப் பகிரும் வரை காத்திருக்கவும்.",
|
||||
"timeoutHint": "பகிர்வதற்கு எதிர்பார்த்ததை விட அதிக நேரம் எடுக்கிறது. இணைப்பில் சிக்கல் இருக்கலாம்."
|
||||
},
|
||||
"accepted": {
|
||||
|
||||
@@ -39,7 +39,7 @@ export const ScanLayout: React.FC = () => {
|
||||
<ProgressingModal
|
||||
isVisible={controller.statusOverlay != null}
|
||||
title={controller.statusOverlay?.title}
|
||||
timeoutHint={controller.statusOverlay?.hint}
|
||||
hint={controller.statusOverlay?.hint}
|
||||
label={controller.statusOverlay?.message}
|
||||
onCancel={controller.statusOverlay?.onCancel}
|
||||
progress={controller.statusOverlay?.progress}
|
||||
|
||||
Reference in New Issue
Block a user