chore(INJI-222): move error msg text to errors obj

This commit is contained in:
Harsh Vardhan
2023-08-01 14:48:33 +05:30
parent 4ce5990c92
commit dedd42169a
7 changed files with 21 additions and 10 deletions

View File

@@ -19,8 +19,8 @@ import { Alert } from 'react-native';
// an occurance of a bug with minimal residual code changes, this should
// be removed once the bug cause is determined & fixed, ref: INJI-222
const DecryptErrorAlert = (controller, t) => {
const heading = t('decryptError');
const desc = t('decryptError');
const heading = t('errors.decryptionFailed');
const desc = t('errors.decryptionFailed');
const ignoreBtnTxt = t('ignore');
Alert.alert(heading, desc, [
{

View File

@@ -513,7 +513,9 @@
"unlockApp": "فتح التطبيق",
"failedToReadKeys": "فشلت قراءة المفاتيح",
"retryRead": "هل تريد إعادة المحاولة؟",
"decryptError": "فشل في فك تشفير البيانات",
"errors": {
"decryptionFailed": "فشل في فك تشفير البيانات",
},
"ignore": "يتجاهل"
},
"SetupLanguage": {

View File

@@ -513,8 +513,10 @@
"unlockApp": "Unlock application",
"failedToReadKeys": "Failed to read keys",
"retryRead": "Want to retry?",
"decryptError": "Failed to decrypt data",
"ignore": "Ignore"
"ignore": "Ignore",
"errors": {
"decryptionFailed": "Failed to decrypt data",
}
},
"SetupLanguage": {
"header": "Choose Language",

View File

@@ -517,7 +517,9 @@
"unlockApp": "Buksan ang aplikasyon",
"failedToReadKeys": "Nabigong basahin ang mga susi",
"retryRead": "Gustong subukang muli?",
"decryptError": "Nabigong i-decrypt ang data",
"error": {
"decryptionFailed": "Nabigong i-decrypt ang data"
},
"ignore": "Huwag pansinin"
},
"SetupLanguage": {

View File

@@ -512,9 +512,10 @@
"unlockApp": "एप्लिकेशन अनलॉक करें",
"failedToReadKeys": "कुंजियाँ पढ़ने में विफल",
"retryRead": "पुनः प्रयास करना चाहते हैं?",
"decryptError": "डेटा डिक्रिप्ट करने में विफल",
"errors": {
"decryptionFailed": "डेटा डिक्रिप्ट करने में विफल"
},
"ignore": "अनदेखा करना"
},
"SetupLanguage": {
"header": "भाषा चुनें",

View File

@@ -510,7 +510,9 @@
"unlockApp": "ಅಪ್ಲಿಕೇಶನ್ ಅನ್ಲಾಕ್ ಮಾಡಿ",
"failedToReadKeys": "ಕೀಗಳನ್ನು ಓದಲು ವಿಫಲವಾಗಿದೆ",
"retryRead": "ಮರುಪ್ರಯತ್ನಿಸಲು ಬಯಸುವಿರಾ?",
"decryptError": "ಡೇಟಾವನ್ನು ಡೀಕ್ರಿಪ್ಟ್ ಮಾಡಲು ವಿಫಲವಾಗಿದೆ",
"errors": {
"decryptionFailed": "ಡೇಟಾವನ್ನು ಡೀಕ್ರಿಪ್ಟ್ ಮಾಡಲು ವಿಫಲವಾಗಿದೆ",
},
"ignore": "ನಿರ್ಲಕ್ಷಿಸಿ"
},

View File

@@ -510,7 +510,9 @@
"unlockApp": "பயன்பாட்டைத் திற",
"failedToReadKeys": "விசைகளைப் படிக்க முடியவில்லை",
"retryRead": "மீண்டும் முயற்சிக்க வேண்டுமா?",
"decryptError": "தரவை மறைகுறியாக்க முடியவில்லை",
"errors": {
"decryptionFailed": "தரவை மறைகுறியாக்க முடியவில்லை"
},
"ignore": "புறக்கணிக்க"
},