Skip to content

Commit

Permalink
MOSIP-32782 - Password-protected file is not allowed for upload
Browse files Browse the repository at this point in the history
Signed-off-by: GOKULRAJ136 <[email protected]>
  • Loading branch information
GOKULRAJ136 committed Sep 3, 2024
1 parent 5d41944 commit e3a2b93
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ export class FileUploadComponent implements OnInit, OnDestroy {
},
(error) => {
this.showErrorMessage(error, this.messagelabels.uploadDocuments.msg7);
this.showErrorMessage(error, this.messagelabels.uploadDocuments.msg14);
this.fileInputVariable.nativeElement.value = "";
this.disableNavigation = false;
},
Expand Down
1 change: 1 addition & 0 deletions pre-registration-ui/src/assets/i18n/ara.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@
"msg11": "يرجى تأكيد رغبتك في حذف الملف ",
"msg12": "الرجاء إدخال نص أو أرقام فقط",
"msg13": "الرجاء إدخال 50 حرفًا فقط أو أقل",
"msg14": "غير مسموح بتحميل الملف المحمي بكلمة مرور",
"title_confirm": "حذف",
"button_cancel": "يلغي",
"none": "لا شيء"
Expand Down
1 change: 1 addition & 0 deletions pre-registration-ui/src/assets/i18n/eng.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@
"msg11": "Please confirm that you want to delete file ",
"msg12": "Please enter only text or numbers",
"msg13": "Please enter only 50 characters or less",
"msg14": "Password-protected file is not allowed for upload",
"title_confirm": "Delete",
"button_cancel": "Cancel",
"none": "None"
Expand Down
1 change: 1 addition & 0 deletions pre-registration-ui/src/assets/i18n/fra.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@
"msg11": "Veuillez confirmer que vous souhaitez supprimer le fichier ",
"msg12": "Veuillez saisir uniquement du texte ou des chiffres",
"msg13": "Veuillez entrer seulement 50 caractères ou moins",
"msg14": "Le fichier protégé par mot de passe n'est pas autorisé au téléchargement",
"title_confirm": "Supprimer",
"button_cancel": "Annuler",
"none": "aucun"
Expand Down
1 change: 1 addition & 0 deletions pre-registration-ui/src/assets/i18n/hin.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@
"msg11": "कृपया पुष्टि करें कि आप फ़ाइल को हटाना चाहते हैं ",
"msg12": "कृपया केवल टेक्स्ट या नंबर दर्ज करें",
"msg13": "कृपया केवल 50 या उससे कम वर्ण दर्ज करें",
"msg14": "पासवर्ड से सुरक्षित फ़ाइल को अपलोड करने की अनुमति नहीं है",
"title_confirm": "हटाएं",
"button_cancel": "रद्द करना",
"none": "कोई नहीं"
Expand Down
1 change: 1 addition & 0 deletions pre-registration-ui/src/assets/i18n/kan.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@
"msg11": "ನೀವು ಫೈಲ್ ಅನ್ನು ಅಳಿಸಲು ಬಯಸುತ್ತೀರಿ ಎಂಬುದನ್ನು ದಯವಿಟ್ಟು ದೃೀಕರಿಸಿ ",
"msg12": "ದಯವಿಟ್ಟು ಪಠ್ಯ ಅಥವಾ ಸಂಖ್ಯೆಗಳನ್ನು ಮಾತ್ರ ನಮೂದಿಸಿ",
"msg13": "ದಯವಿಟ್ಟು 50 ಅಥವಾ ಅದಕ್ಕಿಂತ ಕಡಿಮೆ ಅಕ್ಷರಗಳನ್ನು ಮಾತ್ರ ನಮೂದಿಸಿ",
"msg14": "ಪಾಸ್‌ವರ್ಡ್-ರಕ್ಷಿತ ಫೈಲ್ ಅನ್ನು ಅಪ್‌ಲೋಡ್ ಮಾಡಲು ಅನುಮತಿಸಲಾಗುವುದಿಲ್ಲ",
"title_confirm": "ಅಳಿಸಿ",
"button_cancel": "ರದ್ದುಮಾಡಿ",
"none": "ಯಾವುದೂ ಇಲ್ಲ"
Expand Down
1 change: 1 addition & 0 deletions pre-registration-ui/src/assets/i18n/tam.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@
"msg11": "நீங்கள் கோப்பை நீக்க விரும்புகிறீர்கள் என்பதை உறுதிப்படுத்தவும் ",
"msg12": "உரை அல்லது எண்களை மட்டும் உள்ளிடவும்",
"msg13": "50 அல்லது அதற்கும் குறைவான எழுத்துக்களை மட்டும் உள்ளிடவும்",
"msg14": "கடவுச்சொல் பாதுகாக்கப்பட்ட கோப்பு பதிவேற்ற அனுமதிக்கப்படவில்லை",
"title_confirm": "அழி",
"button_cancel": "ரத்துசெய்",
"none": "எதுவுமில்லை"
Expand Down

0 comments on commit e3a2b93

Please sign in to comment.