Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1096 from cocoa-mhlw/feature/send-diagnosis-page
Browse files Browse the repository at this point in the history
陽性情報の登録画面に説明文を追加
  • Loading branch information
cocoa-dev004 authored Aug 3, 2022
2 parents aedf237 + 32a915c commit 2ba6d59
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,14 @@
<value>処理番号の取得方法</value>
<comment>処理番号の取得方法</comment>
</data>
<data name="HowToReceiveProcessingNumberPageExplanation" xml:space="preserve">
<value>陽性情報を登録するために、症状の有無を選択し、処理番号を入力してください。</value>
<comment>陽性情報を登録するために、症状の有無を選択し、処理番号を入力してください。</comment>
</data>
<data name="HowToReceiveProcessingNumberPageExplanationAppLink" xml:space="preserve">
<value>陽性情報を登録するために、症状の有無を選択してください。</value>
<comment>陽性情報を登録するために、症状の有無を選択してください。</comment>
</data>
<data name="HowToReceiveProcessingNumberPageDescription1" xml:space="preserve">
<value>処理番号は、検査・診断時に申告していただいた連絡先にSMS(※)またはメールで送信されます。ご自身で請求いただく必要はありません。</value>
<comment>処理番号は、検査・診断時に申告していただいた連絡先にSMS(※)またはメールで送信されます。ご自身で請求いただく必要はありません。</comment>
Expand Down
8 changes: 8 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,14 @@ Tap the button below to open the settings screen and follow the steps to enable
<value>Get processing number</value>
<comment>処理番号の取得方法</comment>
</data>
<data name="HowToReceiveProcessingNumberPageExplanation" xml:space="preserve">
<value>In order to register test positive results, select the presence or absence of symptoms and input the processing number.</value>
<comment>陽性情報を登録するために、症状の有無を選択し、処理番号を入力してください。</comment>
</data>
<data name="HowToReceiveProcessingNumberPageExplanationAppLink" xml:space="preserve">
<value>In order to register test positive results, select the presence or absence of symptoms.</value>
<comment>陽性情報を登録するために、症状の有無を選択してください。</comment>
</data>
<data name="HowToReceiveProcessingNumberPageDescription1" xml:space="preserve">
<value>The processing number will be sent via SMS or email to the contact information you provided at the time of test / diagnosis.
You do not have to request it yourself.</value>
Expand Down
8 changes: 8 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,14 @@
<value>如何获得受理编号</value>
<comment>処理番号の取得方法</comment>
</data>
<data name="HowToReceiveProcessingNumberPageExplanation" xml:space="preserve">
<value>如要登记阳性信息,请选择有无症状并输入受理编号。</value>
<comment>陽性情報を登録するために、症状の有無を選択し、処理番号を入力してください。</comment>
</data>
<data name="HowToReceiveProcessingNumberPageExplanationAppLink" xml:space="preserve">
<value>如要登记阳性信息,请选择有无症状。</value>
<comment>陽性情報を登録するために、症状の有無を選択してください。</comment>
</data>
<data name="HowToReceiveProcessingNumberPageDescription1" xml:space="preserve">
<value>受理编号将通过SMS或电子邮件发送至检查/诊断时申告的联系方式。 您不必自己申请。</value>
<comment>処理番号は、検査・診断時に申告していただいた連絡先にSMS(※)またはメールで送信されます。ご自身で請求いただく必要はありません。</comment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,16 @@ public DateTime DiagnosisDate
set => SetProperty(ref _diagnosisDate, value);
}

private string _pageExplanation;
public string PageExplanation
{
get { return _pageExplanation; }
set
{
SetProperty(ref _pageExplanation, value);
}
}

private int errorCount { get; set; }

// TODO: Save and use for revoke operation.
Expand Down Expand Up @@ -160,6 +170,11 @@ public override void Initialize(INavigationParameters parameters)
IsProcessingNumberReadOnly = true;
IsConsentLinkVisible = true;
IsInqueryTelephoneNumberVisible = true;
PageExplanation = AppResources.HowToReceiveProcessingNumberPageExplanationAppLink;
}
else
{
PageExplanation = AppResources.HowToReceiveProcessingNumberPageExplanation;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!-- 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 http://mozilla.org/MPL/2.0/. -->
Expand All @@ -25,6 +25,11 @@
<ScrollView>
<StackLayout
Padding="15,15,15,20">
<Label
AutomationProperties.IsInAccessibleTree="True"
Margin="0, 0, 0, 15"
Style="{StaticResource DefaultLabel}"
Text="{Binding PageExplanation}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Margin="0, 0, 0, 10"
Expand Down

0 comments on commit 2ba6d59

Please sign in to comment.