shared_string_save (2)

This commit is contained in:
sonora 2015-03-08 16:29:33 +01:00
parent 59b5ab2ed8
commit 20721ebc51
3 changed files with 2 additions and 3 deletions

View file

@ -1855,7 +1855,6 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="show_route">Route details</string> <string name="show_route">Route details</string>
<string name="fav_imported_sucessfully">Favorites successfully imported</string> <string name="fav_imported_sucessfully">Favorites successfully imported</string>
<string name="import_file_favourites">Save as GPX file or import into favourites?</string> <string name="import_file_favourites">Save as GPX file or import into favourites?</string>
<string name="import_save">Save</string>
<string name="fav_file_to_load_not_found">GPX file containing favorites is not found at {0}</string> <string name="fav_file_to_load_not_found">GPX file containing favorites is not found at {0}</string>
<string name="fav_saved_sucessfully">Favorites successfully saved to {0}</string> <string name="fav_saved_sucessfully">Favorites successfully saved to {0}</string>
<string name="no_fav_to_save">No favorite points to save</string> <string name="no_fav_to_save">No favorite points to save</string>

View file

@ -341,7 +341,7 @@ public class GpxImportHelper {
new AlertDialog.Builder(mapActivity) new AlertDialog.Builder(mapActivity)
.setMessage(R.string.import_file_favourites) .setMessage(R.string.import_file_favourites)
.setPositiveButton(R.string.import_fav, importFavouritesListener) .setPositiveButton(R.string.import_fav, importFavouritesListener)
.setNegativeButton(R.string.import_save, importFavouritesListener) .setNegativeButton(R.string.shared_string_save, importFavouritesListener)
.show(); .show();
} }

View file

@ -160,7 +160,7 @@ public class OsmandMonitoringPlugin extends OsmandPlugin implements MonitoringIn
@Override @Override
public boolean updateInfo(DrawSettings drawSettings) { public boolean updateInfo(DrawSettings drawSettings) {
if(isSaving){ if(isSaving){
setText(map.getString(R.string.import_save), ""); setText(map.getString(R.string.shared_string_save), "");
setImageDrawable(monitoringBig); setImageDrawable(monitoringBig);
return true; return true;
} }