changed the title of the max points reason dialog in app

This commit is contained in:
Armin Zamani committed 2013-04-11 13:29:56 +08:00
1 parent 8bda4f3b31
commit e77fc23f4b
2 files changed
+2 -1

No files matched your search

@@ -136,6 +136,7 @@
<string name="course_design_dialog_title">Set up a course design</string>
<string name="pick_a_rounding_direction">Pick a rounding direction</string>
<string name="change_course_element">Change waypoint</string>
<string name="select_penalty_reason">Select penalty reason</string>
<string-array name="rounding_directions">
<item>Port</item>
<item>Starboard</item>
@@ -174,7 +174,7 @@ public class PositioningFragment extends RaceDialogFragment {
private void createMaxPointsReasonSelectionDialog(final Pair<Competitor, MaxPointsReason> item) {
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
final CharSequence[] maxPointsReasons = getAllMaxPointsReasons();
builder.setTitle(R.string.change_course_element)
builder.setTitle(R.string.select_penalty_reason)
.setItems(maxPointsReasons, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int position) {
setMaxPointsReasonForItem(item, maxPointsReasons[position]);