Skip to content

Commit

Permalink
Add Aly updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel committed Oct 21, 2023
1 parent 3db6a18 commit cc353d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public EditSavedFormPage assertOnPage() {

private void closeDraftsPillsEducationDialog() {
if (firstOpen) {
assertText(org.odk.collect.strings.R.string.drafts_pills_education_title);
assertText(org.odk.collect.strings.R.string.new_feature);
clickOKOnDialog();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void onCreate(Bundle savedInstanceState) {

if (!settingsProvider.getMetaSettings().getBoolean(MetaKeys.DRAFTS_PILLS_EDUCATION_SHOWN)) {
new MaterialAlertDialogBuilder(this)
.setTitle(string.drafts_pills_education_title)
.setTitle(string.new_feature)
.setMessage(string.drafts_pills_education_message)
.setPositiveButton(string.ok, null)
.show();
Expand Down
4 changes: 2 additions & 2 deletions strings/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1260,8 +1260,8 @@
<string name="uncheck_to_hide_from_drafts">Uncheck to hide from Drafts</string>

<!-- Title for dialog explaining the drafts marked with "Error" shown to the user the first time they view the Drafts screen -->
<string name="drafts_pills_education_title">Drafts now show errors</string>
<string name="new_feature">New feature</string>

<!-- Message for dialog explaining the drafts marked with "Error" shown to the user the first time they view the Drafts screen -->
<string name="drafts_pills_education_message">The draft list now shows validation errors. Drafts marked with \"Errors\" are either missing required questions or have values that are not allowed.\n\nEach time you save a form as draft, its validation status is updated.</string>
<string name="drafts_pills_education_message">The draft list now shows validation errors. Each time you save a form as draft, its validation status is updated.\n\nDrafts marked with \"Errors\" are either missing required questions or have values that are not allowed.</string>
</resources>

0 comments on commit cc353d9

Please sign in to comment.