From 98291cd9d38b45ba6b9d976747074793f221821b Mon Sep 17 00:00:00 2001 From: tulika-jha Date: Sat, 13 Jan 2024 18:07:13 -0800 Subject: [PATCH 1/4] changes to icons and description on welcome page --- Stronger/Onboarding/Welcome.swift | 4 ++-- Stronger/Resources/Localizable.xcstrings | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Stronger/Onboarding/Welcome.swift b/Stronger/Onboarding/Welcome.swift index 1b85e2d..5608ad8 100644 --- a/Stronger/Onboarding/Welcome.swift +++ b/Stronger/Onboarding/Welcome.swift @@ -21,7 +21,7 @@ struct Welcome: View { areas: [ OnboardingInformationView.Content( icon: { - Image(systemName: "apps.iphone") + Image(systemName: "fork.knife") .accessibilityHidden(true) }, title: "WELCOME_AREA1_TITLE", @@ -29,7 +29,7 @@ struct Welcome: View { ), OnboardingInformationView.Content( icon: { - Image(systemName: "shippingbox.fill") + Image(systemName: "figure.strengthtraining.functional") .accessibilityHidden(true) }, title: "WELCOME_AREA2_TITLE", diff --git a/Stronger/Resources/Localizable.xcstrings b/Stronger/Resources/Localizable.xcstrings index 8b42bd7..560a32c 100644 --- a/Stronger/Resources/Localizable.xcstrings +++ b/Stronger/Resources/Localizable.xcstrings @@ -454,7 +454,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The Spezi Framework builds the foundation of this application." + "value" : "Track your daily protein intake using the Pro-ChatBot tracker." } } } @@ -464,7 +464,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The Spezi Framework" + "value" : "Pro-ChatBot" } } } @@ -474,7 +474,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Spezi uses the Swift Package Manager to import it as a dependency." + "value" : "Track your resistance training journey using the Resistance training tracker." } } } @@ -484,7 +484,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Swift Package Manager" + "value" : "Resistance training tracker" } } } @@ -494,7 +494,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Spezi offers several modules including HealthKit integration, questionnaires, and more ..." + "value" : "Find information pertaining to tailored diet plans, resistance training exercise videos and more." } } } @@ -504,7 +504,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Spezi Modules" + "value" : "Resources" } } } @@ -524,7 +524,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "This application demonstrates several Spezi features & modules." + "value" : "This application helps maintain muscle mass and health in women after menopause." } } } From 7cd4515c55ce8d2a88986a274d5fe4133a42f78a Mon Sep 17 00:00:00 2001 From: tulika-jha Date: Tue, 16 Jan 2024 14:34:01 -0800 Subject: [PATCH 2/4] adding text and symbol changes to second onboarding view --- Stronger/Onboarding/Welcome.swift | 10 ++++- Stronger/Resources/Localizable.xcstrings | 49 ++++++++++++++++++------ 2 files changed, 46 insertions(+), 13 deletions(-) diff --git a/Stronger/Onboarding/Welcome.swift b/Stronger/Onboarding/Welcome.swift index 5608ad8..47f9ad0 100644 --- a/Stronger/Onboarding/Welcome.swift +++ b/Stronger/Onboarding/Welcome.swift @@ -37,11 +37,19 @@ struct Welcome: View { ), OnboardingInformationView.Content( icon: { - Image(systemName: "list.bullet.clipboard.fill") + Image(systemName: "figure.run") .accessibilityHidden(true) }, title: "WELCOME_AREA3_TITLE", description: "WELCOME_AREA3_DESCRIPTION" + ), + OnboardingInformationView.Content( + icon: { + Image(systemName: "list.bullet.clipboard.fill") + .accessibilityHidden(true) + }, + title: "WELCOME_AREA4_TITLE", + description: "WELCOME_AREA4_DESCRIPTION" ) ], actionText: "WELCOME_BUTTON", diff --git a/Stronger/Resources/Localizable.xcstrings b/Stronger/Resources/Localizable.xcstrings index 560a32c..4d53eca 100644 --- a/Stronger/Resources/Localizable.xcstrings +++ b/Stronger/Resources/Localizable.xcstrings @@ -180,7 +180,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The onboarding module allows you to build an onboarding flow like this one." + "value" : "Chat with Pro-ChatBot to keep track of your daily protein intake." } } } @@ -190,7 +190,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Onboarding" + "value" : "Pro-ChatBot" } } } @@ -200,7 +200,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The application uses HL7 FHIR to provide a common standard to encode data gathered by the application." + "value" : "Meet your resistance training goals with the resistance tracker." } } } @@ -210,7 +210,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "HL7 FHIR" + "value" : "Resistance Training tracker" } } } @@ -220,7 +220,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The contact module allows you to display contact information in your application." + "value" : "Meet your aerobic exercise goals with the aerobics tracker." } } } @@ -230,7 +230,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Contact" + "value" : "Aerobics tracker" } } } @@ -240,7 +240,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The HealthKit data source module allows you to fetch data from HealthKit and e.g. transform it to FHIR resources." + "value" : "Watch resistance training exercise videos, get tailored diet plans via online consultation services and more." } } } @@ -250,7 +250,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "HealthKit Data Source" + "value" : "Resources" } } } @@ -270,7 +270,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Here are a few Spezi modules that are interesting to know about ..." + "value" : "The app has the following features to help you keep track of your protein intake and physical fitness journey." } } } @@ -281,11 +281,14 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Interesting Modules" + "value" : "Features" } } } }, + "Key" : { + "extractionState" : "manual" + }, "LELAND_STANFORD_BIO" : { "localizations" : { "en" : { @@ -474,7 +477,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Track your resistance training journey using the Resistance training tracker." + "value" : "Track your resistance training journey here." } } } @@ -494,12 +497,34 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Find information pertaining to tailored diet plans, resistance training exercise videos and more." + "value" : "Track your aerobic exercise journey here." } } } }, "WELCOME_AREA3_TITLE" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aerobics tracker" + } + } + } + }, + "WELCOME_AREA4_DESCRIPTION" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Find tailored diet plans, resistance training exercise videos and more." + } + } + } + }, + "WELCOME_AREA4_TITLE" : { + "extractionState" : "manual", "localizations" : { "en" : { "stringUnit" : { From 7956d93c92f3bcb3f5526d13591a34f4b36125eb Mon Sep 17 00:00:00 2001 From: tulika-jha Date: Sat, 20 Jan 2024 15:52:42 -0800 Subject: [PATCH 3/4] fixing welcome page and switching to automatic extraction state --- Stronger/Onboarding/Welcome.swift | 2 +- Stronger/Resources/Localizable.xcstrings | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Stronger/Onboarding/Welcome.swift b/Stronger/Onboarding/Welcome.swift index 47f9ad0..0fa62e8 100644 --- a/Stronger/Onboarding/Welcome.swift +++ b/Stronger/Onboarding/Welcome.swift @@ -57,7 +57,7 @@ struct Welcome: View { onboardingNavigationPath.nextStep() } ) - .padding(.top, 24) + .padding(.top, 10) } } diff --git a/Stronger/Resources/Localizable.xcstrings b/Stronger/Resources/Localizable.xcstrings index 4d53eca..3890f9d 100644 --- a/Stronger/Resources/Localizable.xcstrings +++ b/Stronger/Resources/Localizable.xcstrings @@ -180,7 +180,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Chat with Pro-ChatBot to keep track of your daily protein intake." + "value" : "To help track your daily protein intake." } } } @@ -200,7 +200,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Meet your resistance training goals with the resistance tracker." + "value" : "To help you meet your resistance training goals." } } } @@ -220,7 +220,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Meet your aerobic exercise goals with the aerobics tracker." + "value" : "To help you meet your aerobic exercise goals." } } } @@ -240,7 +240,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Watch resistance training exercise videos, get tailored diet plans via online consultation services and more." + "value" : "Watch exercise videos, get tailored diet plans, sign-up for online consultation or share your experiences with the community." } } } @@ -270,7 +270,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The app has the following features to help you keep track of your protein intake and physical fitness journey." + "value" : "Elevate your strength game with Stronger, where seamless protein tracking meets powerful resistance training, sculpting a stronger you every day." } } } @@ -457,7 +457,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Track your daily protein intake using the Pro-ChatBot tracker." + "value" : "Track your daily protein intake here." } } } @@ -513,18 +513,16 @@ } }, "WELCOME_AREA4_DESCRIPTION" : { - "extractionState" : "manual", "localizations" : { "en" : { "stringUnit" : { "state" : "translated", - "value" : "Find tailored diet plans, resistance training exercise videos and more." + "value" : "Find tailored diet plans, exercise videos and more." } } } }, "WELCOME_AREA4_TITLE" : { - "extractionState" : "manual", "localizations" : { "en" : { "stringUnit" : { @@ -549,7 +547,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "This application helps maintain muscle mass and health in women after menopause." + "value" : "Welcome to Stronger, your new companion to post-menopausal fitness." } } } @@ -560,7 +558,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Spezi\nStronger" + "value" : "Stronger" } } } From 38a1ca15799fc5225737e4081e26bb9c779c7da6 Mon Sep 17 00:00:00 2001 From: tulika-jha Date: Sat, 20 Jan 2024 16:08:45 -0800 Subject: [PATCH 4/4] change of extraction state to automatic --- Stronger/Resources/Localizable.xcstrings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stronger/Resources/Localizable.xcstrings b/Stronger/Resources/Localizable.xcstrings index 3890f9d..58040b0 100644 --- a/Stronger/Resources/Localizable.xcstrings +++ b/Stronger/Resources/Localizable.xcstrings @@ -287,7 +287,7 @@ } }, "Key" : { - "extractionState" : "manual" + }, "LELAND_STANFORD_BIO" : { "localizations" : {