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 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?"
|
|||||||
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'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user