shared_string_refresh (2)
This commit is contained in:
parent
47d1490baf
commit
57ca8a3e47
3 changed files with 3 additions and 4 deletions
|
@ -1265,7 +1265,6 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
|
||||||
<string name="native_app_allocated_memory_descr">Total native memory allocated by app %1$s MB (Dalvik %2$s MB, other %3$s MB).
|
<string name="native_app_allocated_memory_descr">Total native memory allocated by app %1$s MB (Dalvik %2$s MB, other %3$s MB).
|
||||||
Proportional memory %4$s MB (Android limit %5$s MB, Dalvik %6$s MB).</string>
|
Proportional memory %4$s MB (Android limit %5$s MB, Dalvik %6$s MB).</string>
|
||||||
<string name="native_app_allocated_memory">Total native memory</string>
|
<string name="native_app_allocated_memory">Total native memory</string>
|
||||||
<string name="update_downlod_list">Reload list</string>
|
|
||||||
<string name="starting_point_too_far">Starting point too far from nearest road.</string>
|
<string name="starting_point_too_far">Starting point too far from nearest road.</string>
|
||||||
<string name="shared_location">Shared location</string>
|
<string name="shared_location">Shared location</string>
|
||||||
<string name="osmand_parking_event">Pick up the car from parking</string>
|
<string name="osmand_parking_event">Pick up the car from parking</string>
|
||||||
|
|
|
@ -149,12 +149,12 @@ public class DownloadIndexFragment extends OsmandExpandableListFragment {
|
||||||
|
|
||||||
if (getMyApplication().getAppCustomization().showDownloadExtraActions()) {
|
if (getMyApplication().getAppCustomization().showDownloadExtraActions()) {
|
||||||
if (SHOW_ONLY_RELOAD) {
|
if (SHOW_ONLY_RELOAD) {
|
||||||
MenuItem item = menu.add(0, RELOAD_ID, 0, R.string.update_downlod_list);
|
MenuItem item = menu.add(0, RELOAD_ID, 0, R.string.shared_string_refresh);
|
||||||
item.setIcon(R.drawable.ic_action_refresh_dark);
|
item.setIcon(R.drawable.ic_action_refresh_dark);
|
||||||
MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
|
MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
|
||||||
} else {
|
} else {
|
||||||
SubMenu s = menu.addSubMenu(0, MORE_ID, 0, R.string.shared_string_more_actions);
|
SubMenu s = menu.addSubMenu(0, MORE_ID, 0, R.string.shared_string_more_actions);
|
||||||
s.add(0, RELOAD_ID, 0, R.string.update_downlod_list);
|
s.add(0, RELOAD_ID, 0, R.string.shared_string_refresh);
|
||||||
s.add(0, SELECT_ALL_ID, 0, R.string.shared_string_select_all);
|
s.add(0, SELECT_ALL_ID, 0, R.string.shared_string_select_all);
|
||||||
s.add(0, DESELECT_ALL_ID, 0, R.string.shared_string_deselect_all);
|
s.add(0, DESELECT_ALL_ID, 0, R.string.shared_string_deselect_all);
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ public class UpdatesIndexFragment extends ListFragment {
|
||||||
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
|
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
|
||||||
|
|
||||||
if (getMyApplication().getAppCustomization().showDownloadExtraActions()) {
|
if (getMyApplication().getAppCustomization().showDownloadExtraActions()) {
|
||||||
MenuItem item = menu.add(0, DownloadIndexFragment.RELOAD_ID, 0, R.string.update_downlod_list);
|
MenuItem item = menu.add(0, DownloadIndexFragment.RELOAD_ID, 0, R.string.shared_string_refresh);
|
||||||
item.setIcon(R.drawable.ic_action_refresh_dark);
|
item.setIcon(R.drawable.ic_action_refresh_dark);
|
||||||
MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
|
MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue