From bca86f399681ae77a57e2b71eb91e6384f86ea3d Mon Sep 17 00:00:00 2001
From: emelko <ml.kochsiek@mailbox.org>
Date: Wed, 13 Feb 2019 16:37:33 +0100
Subject: [PATCH] Renames unset to delete

---
 components/cycle-day/symptoms/action-button-footer.js | 6 +++---
 i18n/en/cycle-day.js                                  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/cycle-day/symptoms/action-button-footer.js b/components/cycle-day/symptoms/action-button-footer.js
index 5f666e97..cd89fe94 100644
--- a/components/cycle-day/symptoms/action-button-footer.js
+++ b/components/cycle-day/symptoms/action-button-footer.js
@@ -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()
diff --git a/i18n/en/cycle-day.js b/i18n/en/cycle-day.js
index afbd957d..79b8a0e3 100644
--- a/i18n/en/cycle-day.js
+++ b/i18n/en/cycle-day.js
@@ -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'
 }
-- 
GitLab