Fix small issues
This commit is contained in:
parent
2f1e7de9b7
commit
a69872e08e
3 changed files with 17 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||||
-->
|
-->
|
||||||
|
<string name="index_tours">Tours</string>
|
||||||
<string name="flat_list_waypoints">All</string>
|
<string name="flat_list_waypoints">All</string>
|
||||||
<string name="waypoints">Waypoints</string>
|
<string name="waypoints">Waypoints</string>
|
||||||
<string name="targets">Targets</string>
|
<string name="targets">Targets</string>
|
||||||
|
|
|
@ -281,7 +281,20 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
|
||||||
downloadFilesCheckInternet();
|
downloadFilesCheckInternet();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
builder.setNegativeButton(R.string.default_buttons_no, null);
|
builder.setNegativeButton(R.string.default_buttons_no, new DialogInterface.OnClickListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
|
getEntriesToDownload().clear();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
builder.setOnCancelListener(new DialogInterface.OnCancelListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onCancel(DialogInterface dialog) {
|
||||||
|
getEntriesToDownload().clear();
|
||||||
|
}
|
||||||
|
});
|
||||||
builder.show();
|
builder.show();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,6 +97,8 @@ public class IndexItemCategory implements Comparable<IndexItemCategory> {
|
||||||
} else if (lc.contains("oceania") || lc.contains("australia")) {
|
} else if (lc.contains("oceania") || lc.contains("australia")) {
|
||||||
nameId = R.string.index_name_oceania;
|
nameId = R.string.index_name_oceania;
|
||||||
order = 70;
|
order = 70;
|
||||||
|
} else if (lc.contains("tour")) {
|
||||||
|
nameId = R.string.index_tours;
|
||||||
}
|
}
|
||||||
|
|
||||||
String name = ctx.getString(nameId);
|
String name = ctx.getString(nameId);
|
||||||
|
|
Loading…
Reference in a new issue