Added string resource

This commit is contained in:
Keith Holliday 2017-05-02 10:47:25 -06:00
parent 8af1982d2b
commit a516d74282
2 changed files with 2 additions and 1 deletions

View file

@ -581,4 +581,5 @@
<string name="reload_content">Reload Content</string>
<string name="dailyDueDefaultView">Set Dailies default to due tab</string>
<string name="dailyDueDefaultViewDescription">With this option set, the Dailies tasks will default to due instead of all</string>
<string name="repeat_summary">"Repeats %1$s every %2$s %3$s %4$s"</string>
</resources>

View file

@ -686,7 +686,7 @@ public class TaskFormActivity extends BaseActivity implements AdapterView.OnItem
}
}
String summary = "Repeats " + frequency + " every " + everyX + " " + frequencyQualifier + weekdays;
String summary = getResources().getString(R.string.repeat_summary, frequency, everyX, frequencyQualifier, weekdays);
summaryTextView.setText(summary);
}