feat(inji-238): translations added for biometric text

This commit is contained in:
Dhivya
2023-08-17 15:59:22 +05:30
parent 4e05699720
commit 8452c443ee
7 changed files with 31 additions and 4 deletions

11
App.tsx
View File

@@ -17,6 +17,7 @@ import { useApp } from './screens/AppController';
import { Alert } from 'react-native';
import { ErrorMessageOverlay } from './components/MessageOverlay';
import SecureKeystore from 'react-native-secure-keystore';
import { isCustomSecureKeystore } from './shared/cryptoutil/cryptoUtil';
// kludge: this is a bad practice but has been done temporarily to surface
// an occurance of a bug with minimal residual code changes, this should
@@ -85,10 +86,12 @@ const AppInitialization: React.FC = () => {
const { t } = useTranslation('common');
useEffect(() => {
SecureKeystore.updatePopup(
t('biometricPopup.title'),
t('biometricPopup.description')
);
if (isCustomSecureKeystore()) {
SecureKeystore.updatePopup(
t('biometricPopup.title'),
t('biometricPopup.description')
);
}
}, []);
return isReady && hasFontsLoaded ? (

View File

@@ -555,6 +555,10 @@
"clipboard": {
"copy": "ينسخ",
"copied": "نسخ"
},
"biometricPopup": {
"title": "فتح التطبيق",
"description": "يرجى استخدام بصمة الإصبع لفتح التطبيق"
}
}
}

View File

@@ -559,6 +559,10 @@
"clipboard": {
"copy": "Kopya",
"copied": "Kinopya"
},
"biometricPopup": {
"title": "I-unlock ang App",
"description": "Mangyaring gumamit ng fingerprint upang i-unlock ang app"
}
}
}

View File

@@ -552,6 +552,10 @@
"clipboard": {
"copy": "प्रतिलिपि",
"copied": "कॉपी किया गया"
},
"biometricPopup": {
"title": "ऐप अनलॉक करें",
"description": "कृपया ऐप को अनलॉक करने के लिए फिंगरप्रिंट का उपयोग करें"
}
}
}

View File

@@ -552,6 +552,10 @@
"clipboard": {
"copy": "ನಕಲು ಮಾಡಿ",
"copied": "ನಕಲು ಮಾಡಲಾಗಿದೆ"
},
"biometricPopup": {
"title": "ಅಪ್ಲಿಕೇಶನ್ ಅನ್ಲಾಕ್ ಮಾಡಿ",
"description": "ಅಪ್ಲಿಕೇಶನ್ ಅನ್‌ಲಾಕ್ ಮಾಡಲು ಫಿಂಗರ್‌ಪ್ರಿಂಟ್ ಬಳಸಿ"
}
}
}

View File

@@ -456,6 +456,10 @@
},
"errors": {
"genericError": "Algo salió mal. ¡Por favor, inténtalo de nuevo después de un tiempo!"
},
"biometricPopup": {
"title": "Desbloquear aplicación",
"description": "Utilice la huella digital para desbloquear la aplicación."
}
}
}

View File

@@ -552,6 +552,10 @@
"clipboard": {
"copy": "நகலெடுக்கவும்",
"copied": "நகலெடுக்கப்பட்டது"
},
"biometricPopup": {
"title": "பயன்பாட்டைத் திறக்கவும்",
"description": "பயன்பாட்டைத் திறக்க கைரேகையைப் பயன்படுத்தவும்"
}
}
}