Skip to content

Commit

Permalink
set hearing-impaired info again in whattodotexts
Browse files Browse the repository at this point in the history
  • Loading branch information
ubhaller committed Feb 24, 2021
1 parent 89121bb commit b339547
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,11 @@ private InfoBox getWhatToDoPositiveTestTextInfoBox(Messages messages, Locale loc
infoBox.setUrlTitle(messages.getMessage("infoline_coronavirus_number", locale));
infoBox.setUrl("tel:" + messages.getMessage("infoline_coronavirus_number", locale).replace(" ", ""));
infoBox.setIsDismissible(false);
infoBox.setHearingImpairedInfo(
messages.getMessage(
"hearing_impaired_info",
Locale.forLanguageTag(
"de"))); // TODO when all texts are translated use `locale`
return infoBox;
}
}

0 comments on commit b339547

Please sign in to comment.