Use getString as result is shown as number

This commit is contained in:
sonora 2011-12-27 11:32:38 +01:00
parent ad9d8d964c
commit 943e3e9425

View file

@ -527,11 +527,11 @@ public class LocalIndexesActivity extends ExpandableListActivity {
@Override
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(0, R.string.local_index_mi_backup, 0, R.string.local_index_mi_backup + "...");
menu.add(0, R.string.local_index_mi_restore, 1, R.string.local_index_mi_restore + "...");
menu.add(0, R.string.local_index_mi_delete, 2, R.string.local_index_mi_delete + "...");
menu.add(0, R.string.local_index_mi_backup, 0, getString(R.string.local_index_mi_backup)+"...");
menu.add(0, R.string.local_index_mi_restore, 1, getString(R.string.local_index_mi_restore)+"...");
menu.add(0, R.string.local_index_mi_delete, 2, getString(R.string.local_index_mi_delete)+"...");
menu.add(0, R.string.local_index_mi_reload, 3, R.string.local_index_mi_reload);
menu.add(0, R.string.local_index_mi_upload_gpx, 4, R.string.local_index_mi_upload_gpx + "...");
menu.add(0, R.string.local_index_mi_upload_gpx, 4, getString(R.string.local_index_mi_upload_gpx)+"...");
return true;
}