mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 03:11:38 +03:00
reusing pre-translated alert texts
This commit is contained in:
parent
c71a59b041
commit
09a116e1b6
@ -120,13 +120,13 @@ export const UploadsGalleryModal = forwardRef(({username, handleOnSelect, handl
|
||||
_deleteMediaItem(item._id)
|
||||
}
|
||||
Alert.alert(
|
||||
intl.formatMessage({id:'uploads_modal.alert_remove_title'}),
|
||||
intl.formatMessage({id:'uploads_modal.alert_remove_body'}),
|
||||
intl.formatMessage({id:'alert.delete'}),
|
||||
intl.formatMessage({id:'alert.remove_alert'}),
|
||||
[{
|
||||
text:intl.formatMessage({id:'uploads_modal.alert_btn_no'}),
|
||||
text:intl.formatMessage({id:'alert.cancel'}),
|
||||
style:'cancel'
|
||||
},{
|
||||
text:intl.formatMessage({id:'uploads_modal.alert_btn_yes'}),
|
||||
text:intl.formatMessage({id:'alert.confirm'}),
|
||||
onPress:_onConfirm
|
||||
}]
|
||||
)
|
||||
|
@ -336,12 +336,7 @@
|
||||
"title":"Uploaded Images",
|
||||
"title_remove_confirmation":"Delete image",
|
||||
"btn_add":"Image",
|
||||
"message_failed":"Failed to upload image",
|
||||
"message_remove_confirmation":"Are you sure you want to delete this image?",
|
||||
"alert_remove_title":"Confirm Delete",
|
||||
"alert_remove_body":"Are you sure you wish to delete this image?",
|
||||
"alert_btn_yes":"Yes",
|
||||
"alert_btn_no":"No"
|
||||
"message_failed":"Failed to upload image"
|
||||
},
|
||||
"pincode": {
|
||||
"enter_text": "Enter PIN to unlock",
|
||||
|
Loading…
Reference in New Issue
Block a user