Skip to content
Snippets Groups Projects
Commit bca86f39 authored by emelko's avatar emelko
Browse files

Renames unset to delete

parent 76b9c194
No related branches found
No related tags found
No related merge requests found
...@@ -22,16 +22,16 @@ export default class ActionButtonFooter extends Component { ...@@ -22,16 +22,16 @@ export default class ActionButtonFooter extends Component {
const navigateToOverView = () => navigate('CycleDay', {date}) const navigateToOverView = () => navigate('CycleDay', {date})
const buttons = [ const buttons = [
{ {
title: labels.unset, title: labels.delete,
action: () => { action: () => {
Alert.alert( Alert.alert(
labels.areYouSureTitle, labels.areYouSureTitle,
labels.areYouSureToUnset, labels.areYouSureToDelete,
[{ [{
text: labels.cancel, text: labels.cancel,
style: 'cancel' style: 'cancel'
}, { }, {
text: labels.reallyUnsetData, text: labels.reallyDeleteData,
onPress: () => { onPress: () => {
saveSymptom(symptom, date) saveSymptom(symptom, date)
navigateToOverView() navigateToOverView()
......
...@@ -126,9 +126,9 @@ export const noteExplainer = "Anything you want to add for the day?" ...@@ -126,9 +126,9 @@ export const noteExplainer = "Anything you want to add for the day?"
export const sharedDialogs = { export const sharedDialogs = {
cancel: 'Cancel', cancel: 'Cancel',
areYouSureTitle: 'Are you sure?', areYouSureTitle: 'Are you sure?',
areYouSureToUnset: 'Are you sure you want to delete this entry?', areYouSureToDelete: 'Are you sure you want to delete this entry?',
reallyUnsetData: 'Yes, I am sure', reallyDeleteData: 'Yes, I am sure',
save: 'Save', save: 'Save',
unset: 'Delete', delete: 'Delete',
disabledInfo: 'There is some data missing' disabledInfo: 'There is some data missing'
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment