From 1aad485fa20a4de4db41ae2633ba6d4f438f0e47 Mon Sep 17 00:00:00 2001 From: cocoa-dev004 <66989461+cocoa-dev004@users.noreply.github.com> Date: Thu, 29 Sep 2022 15:52:46 +0900 Subject: [PATCH] Added survey request page --- Covid19Radar/Covid19Radar/App.xaml.cs | 1 + .../Resources/AppResources.Designer.cs | 99 +++++++++++++++++++ .../Resources/AppResources.ja.resx | 45 +++++++++ .../Covid19Radar/Resources/AppResources.resx | 45 +++++++++ .../Resources/AppResources.zh-Hans.resx | 45 +++++++++ .../SurveyRequestPageViewModel.cs | 21 ++++ .../Views/EndOfService/SurveyRequestPage.xaml | 82 +++++++++++++++ .../EndOfService/SurveyRequestPage.xaml.cs | 19 ++++ .../Views/Settings/DebugPage.xaml | 4 + 9 files changed, 361 insertions(+) create mode 100644 Covid19Radar/Covid19Radar/ViewModels/EndOfService/SurveyRequestPageViewModel.cs create mode 100644 Covid19Radar/Covid19Radar/Views/EndOfService/SurveyRequestPage.xaml create mode 100644 Covid19Radar/Covid19Radar/Views/EndOfService/SurveyRequestPage.xaml.cs diff --git a/Covid19Radar/Covid19Radar/App.xaml.cs b/Covid19Radar/Covid19Radar/App.xaml.cs index 11cd6b421..524dd669f 100644 --- a/Covid19Radar/Covid19Radar/App.xaml.cs +++ b/Covid19Radar/Covid19Radar/App.xaml.cs @@ -195,6 +195,7 @@ protected override void RegisterTypes(IContainerRegistry containerRegistry) containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); + containerRegistry.RegisterForNavigation(); } private static void RegisterCommonTypes(IContainer container) diff --git a/Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs b/Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs index 64f73bd27..033abca20 100644 --- a/Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs +++ b/Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs @@ -2945,6 +2945,105 @@ public static string SubmitDiagnosisKeysPageTitle { } } + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageBulletedList1 { + get { + return ResourceManager.GetString("SurveyRequestPageBulletedList1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageBulletedList2 { + get { + return ResourceManager.GetString("SurveyRequestPageBulletedList2", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageBulletedList3 { + get { + return ResourceManager.GetString("SurveyRequestPageBulletedList3", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageBulletedList4 { + get { + return ResourceManager.GetString("SurveyRequestPageBulletedList4", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPagePurposeDescription1 { + get { + return ResourceManager.GetString("SurveyRequestPagePurposeDescription1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPagePurposeTitle { + get { + return ResourceManager.GetString("SurveyRequestPagePurposeTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageRequestCooperationDescription1 { + get { + return ResourceManager.GetString("SurveyRequestPageRequestCooperationDescription1", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageRequestCooperationTitle { + get { + return ResourceManager.GetString("SurveyRequestPageRequestCooperationTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageSkipAnswerButton { + get { + return ResourceManager.GetString("SurveyRequestPageSkipAnswerButton", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageTitle { + get { + return ResourceManager.GetString("SurveyRequestPageTitle", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to TODO. + /// + public static string SurveyRequestPageToAnswerButton { + get { + return ResourceManager.GetString("SurveyRequestPageToAnswerButton", resourceCulture); + } + } + /// /// Looks up a localized string similar to Please restart the app or check again after a while.. /// diff --git a/Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx b/Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx index f08c7aff5..9a8879b8f 100644 --- a/Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx +++ b/Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx @@ -1565,4 +1565,49 @@ COCOAのソースコードは次のURLから入手できます。 利用終了手続きへ 利用終了手続きへ + + + 調査協力のお願い + 調査協力のお願い + + + COCOA利用調査協力のお願い + COCOA利用調査協力のお願い + + + 接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。 + 接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。 + + + 調査目的 + 調査目的 + + + ~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~ + + + ・送信される情報は全て匿名です。 + ・送信される情報は全て匿名です。 + + + ・送信内容に、個人を特定可能な情報を含みません。 + ・送信内容に、個人を特定可能な情報を含みません。 + + + ・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。 + ・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。 + + + ・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。 + ・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。 + + + 回答画面へ + 回答画面へ + + + 調査協力をスキップする + 調査協力をスキップする + diff --git a/Covid19Radar/Covid19Radar/Resources/AppResources.resx b/Covid19Radar/Covid19Radar/Resources/AppResources.resx index 9d5389501..4c89f30cf 100644 --- a/Covid19Radar/Covid19Radar/Resources/AppResources.resx +++ b/Covid19Radar/Covid19Radar/Resources/AppResources.resx @@ -1671,4 +1671,49 @@ By collecting the number of notifications, we can use it to understand how many TODO 利用終了手続きへ + + + TODO + 調査協力のお願い + + + TODO + COCOA利用調査協力のお願い + + + TODO + 接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。 + + + TODO + 調査目的 + + + TODO + ~~~~~~~~~~~~~~ + + + TODO + ・送信される情報は全て匿名です。 + + + TODO + ・送信内容に、個人を特定可能な情報を含みません。 + + + TODO + ・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。 + + + TODO + ・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。 + + + TODO + 回答画面へ + + + TODO + 調査協力をスキップする + diff --git a/Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx b/Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx index a519616e7..c246185a1 100644 --- a/Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx +++ b/Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx @@ -1568,4 +1568,49 @@ COCOAのソースコードは次のURLから入手できます。 TODO 利用終了手続きへ + + + TODO + 調査協力のお願い + + + TODO + COCOA利用調査協力のお願い + + + TODO + 接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。 + + + TODO + 調査目的 + + + TODO + ~~~~~~~~~~~~~~ + + + TODO + ・送信される情報は全て匿名です。 + + + TODO + ・送信内容に、個人を特定可能な情報を含みません。 + + + TODO + ・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。 + + + TODO + ・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。 + + + TODO + 回答画面へ + + + TODO + 調査協力をスキップする + diff --git a/Covid19Radar/Covid19Radar/ViewModels/EndOfService/SurveyRequestPageViewModel.cs b/Covid19Radar/Covid19Radar/ViewModels/EndOfService/SurveyRequestPageViewModel.cs new file mode 100644 index 000000000..7be004579 --- /dev/null +++ b/Covid19Radar/Covid19Radar/ViewModels/EndOfService/SurveyRequestPageViewModel.cs @@ -0,0 +1,21 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +using System; +using Covid19Radar.Resources; +using Prism.Navigation; + +namespace Covid19Radar.ViewModels.EndOfService +{ + public class SurveyRequestPageViewModel : ViewModelBase + { + public string SkipAnswerButtonReadText => $"{AppResources.SurveyRequestPageSkipAnswerButton} {AppResources.Button}"; + + public SurveyRequestPageViewModel( + INavigationService navigationService + ) : base(navigationService) + { + } + } +} + diff --git a/Covid19Radar/Covid19Radar/Views/EndOfService/SurveyRequestPage.xaml b/Covid19Radar/Covid19Radar/Views/EndOfService/SurveyRequestPage.xaml new file mode 100644 index 000000000..3fe07fd68 --- /dev/null +++ b/Covid19Radar/Covid19Radar/Views/EndOfService/SurveyRequestPage.xaml @@ -0,0 +1,82 @@ + + + + + + + + + + + + +