Renames unset to delete
This commit is contained in:
@@ -22,16 +22,16 @@ export default class ActionButtonFooter extends Component {
|
||||
const navigateToOverView = () => navigate('CycleDay', {date})
|
||||
const buttons = [
|
||||
{
|
||||
title: labels.unset,
|
||||
title: labels.delete,
|
||||
action: () => {
|
||||
Alert.alert(
|
||||
labels.areYouSureTitle,
|
||||
labels.areYouSureToUnset,
|
||||
labels.areYouSureToDelete,
|
||||
[{
|
||||
text: labels.cancel,
|
||||
style: 'cancel'
|
||||
}, {
|
||||
text: labels.reallyUnsetData,
|
||||
text: labels.reallyDeleteData,
|
||||
onPress: () => {
|
||||
saveSymptom(symptom, date)
|
||||
navigateToOverView()
|
||||
|
||||
@@ -126,9 +126,9 @@ export const noteExplainer = "Anything you want to add for the day?"
|
||||
export const sharedDialogs = {
|
||||
cancel: 'Cancel',
|
||||
areYouSureTitle: 'Are you sure?',
|
||||
areYouSureToUnset: 'Are you sure you want to delete this entry?',
|
||||
reallyUnsetData: 'Yes, I am sure',
|
||||
areYouSureToDelete: 'Are you sure you want to delete this entry?',
|
||||
reallyDeleteData: 'Yes, I am sure',
|
||||
save: 'Save',
|
||||
unset: 'Delete',
|
||||
delete: 'Delete',
|
||||
disabledInfo: 'There is some data missing'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user