From df3b8a1e13336e11a5d736e3cb7cc333c2a7f0bd Mon Sep 17 00:00:00 2001 From: Marvin M <39344769+M123-dev@users.noreply.github.com> Date: Fri, 29 Apr 2022 15:51:13 +0200 Subject: [PATCH] feat: New app name (#1686) --- packages/smooth_app/android/app/src/main/AndroidManifest.xml | 2 +- packages/smooth_app/ios/Runner/Info.plist | 4 ++-- packages/smooth_app/lib/l10n/app_en.arb | 3 ++- .../lib/views/bottom_sheet_views/social_handle_view.dart | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/smooth_app/android/app/src/main/AndroidManifest.xml b/packages/smooth_app/android/app/src/main/AndroidManifest.xml index a960ca2050d..10626abf345 100644 --- a/packages/smooth_app/android/app/src/main/AndroidManifest.xml +++ b/packages/smooth_app/android/app/src/main/AndroidManifest.xml @@ -24,7 +24,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Smooth App + OpenFoodFacts CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - Smoothie + OpenFoodFacts CFBundlePackageType APPL CFBundleShortVersionString diff --git a/packages/smooth_app/lib/l10n/app_en.arb b/packages/smooth_app/lib/l10n/app_en.arb index 1a9131d180a..f2a6b6c4089 100644 --- a/packages/smooth_app/lib/l10n/app_en.arb +++ b/packages/smooth_app/lib/l10n/app_en.arb @@ -1,5 +1,5 @@ { - "app_name": "Smoothie", + "app_name": "OpenFoodFacts", "@Utils": {}, "yes": "Yes", "@yes": {}, @@ -226,6 +226,7 @@ }, "support_join_slack": "Ask for help in our Slack channel", "support_via_email": "Send us an e-mail", + "termsOfUse": "Terms of use", "@termsOfUse": {}, "about_this_app": "About this app", diff --git a/packages/smooth_app/lib/views/bottom_sheet_views/social_handle_view.dart b/packages/smooth_app/lib/views/bottom_sheet_views/social_handle_view.dart index 7d3f76e11e9..7245c0c573c 100644 --- a/packages/smooth_app/lib/views/bottom_sheet_views/social_handle_view.dart +++ b/packages/smooth_app/lib/views/bottom_sheet_views/social_handle_view.dart @@ -52,10 +52,10 @@ class SocialHandleView extends StatelessWidget { onPressed: () async { final PackageInfo packageInfo = await PackageInfo.fromPlatform(); - // TODO(M123): Change subject name when we have a different app name + final Mailto mailtoLink = Mailto( to: ['contact@openfoodfacts.org'], - subject: 'Smoothie help', // TODO(monsieurtanuki): localize + subject: 'OpenFoodFacts (Codename: Smoothie) help', body: 'Version:${packageInfo.version}+${packageInfo.buildNumber} running on ${Platform.operatingSystem}(${Platform.operatingSystemVersion})', );