Skip to content

Commit

Permalink
replace all texts for test
Browse files Browse the repository at this point in the history
  • Loading branch information
ubhaller committed Oct 19, 2020
1 parent 8ab5c0f commit 60ed5d9
Showing 1 changed file with 16 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,10 @@ private WhatToDoPositiveTestTexts getWhatToDoPositiveTestText(
Messages messages, Locale locale) {
return new WhatToDoPositiveTestTexts() {
{
setEnterCovidcodeBoxSupertitle(
messages.getNullableMessage("inform_detail_box_subtitle", locale));
setEnterCovidcodeBoxTitle(
messages.getNullableMessage("inform_detail_box_title", locale));
setEnterCovidcodeBoxText(
messages.getNullableMessage("inform_detail_box_text", locale));
setEnterCovidcodeBoxButtonTitle(
messages.getNullableMessage("inform_detail_box_button", locale));
setEnterCovidcodeBoxSupertitle("TEST");
setEnterCovidcodeBoxTitle("TEST");
setEnterCovidcodeBoxText("TEST");
setEnterCovidcodeBoxButtonTitle("TEST");

setInfoBox(
new InfoBox() {
Expand All @@ -195,51 +191,36 @@ private WhatToDoPositiveTestTexts getWhatToDoPositiveTestText(
Arrays.asList(
new FaqEntry() {
{
setTitle(
messages.getNullableMessage(
"inform_detail_faq1_title", locale));
setText(
messages.getNullableMessage(
"inform_detail_faq1_text", locale));
setLinkTitle(
messages.getNullableMessage(
"infoline_coronavirus_number", locale));
setLinkUrl("tel://"+messages.getNullableMessage(
"infoline_coronavirus_number", locale).replace(" ", ""));
setTitle("TEST");
setText("TEST");
setLinkTitle("TEST");
setLinkUrl("https://ubique.ch");
setIconAndroid("ic_verified_user");
setIconIos("ic-verified-user");
}
},
new FaqEntry() {
{
setTitle(
messages.getNullableMessage(
"inform_detail_faq2_title", locale));
setText(
messages.getNullableMessage(
"inform_detail_faq2_text", locale));
setTitle("TEST");
setText("TEST");
setIconAndroid("ic_key");
setIconIos("ic-key");
}
},
new FaqEntry() {
{
setTitle(
messages.getNullableMessage(
"inform_detail_faq3_title", locale));
setText(
messages.getNullableMessage(
"inform_detail_faq3_text", locale));
setTitle("TEST");
setText("TEST");
setIconAndroid("ic_person");
setIconIos("ic-user");
}
},
new FaqEntry() {
{
setTitle("What is the new question?");
setText("This is the answer to the new question");
setLinkTitle("More information on Github");
setLinkUrl("https://github.com/DP-3T");
setTitle("TEST");
setText("TEST");
setLinkTitle("TEST");
setLinkUrl("https://ubique.ch");
setIconAndroid("ic_new_icon");
setIconIos("ic-new-icon");
}
Expand Down

0 comments on commit 60ed5d9

Please sign in to comment.