string improvements

This commit is contained in:
sonora 2017-09-28 07:06:35 +02:00
parent 03315c4ac0
commit d5f09cc053
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<string name="shared_string_sort">Sort</string> <string name="shared_string_sort">Sort</string>
<string name="coordinate_input">Coordinate input</string> <string name="coordinate_input">Coordinate input</string>
<string name="is_saved">is saved</string> <string name="is_saved">is saved</string>
<string name="marker_save_as_track_descr">OsmAnd will save all your markers to a separate file, you can enter filename:</string> <string name="marker_save_as_track_descr">OsmAnd will save your markers to a separate file, you can enter a filename:</string>
<string name="marker_save_as_track">Save as track</string> <string name="marker_save_as_track">Save as track</string>
<string name="move_to_history">Move to history</string> <string name="move_to_history">Move to history</string>
<string name="group_will_be_removed_after_restart">Group will be removed after restart</string> <string name="group_will_be_removed_after_restart">Group will be removed after restart</string>

View file

@ -69,7 +69,7 @@ public class SaveAsTrackBottomSheetDialogFragment extends BottomSheetDialogFragm
dir.mkdirs(); dir.mkdirs();
} }
Date date = new Date(); Date date = new Date();
final String suggestedName = mapActivity.getString(R.string.markers) + "_" + DateFormat.format("dd_MM_yyyy", date).toString(); final String suggestedName = mapActivity.getString(R.string.markers) + "_" + DateFormat.format("yyyy-MM-dd", date).toString();
String displayedName = suggestedName; String displayedName = suggestedName;
File fout = new File(dir, suggestedName + GPX_SUFFIX); File fout = new File(dir, suggestedName + GPX_SUFFIX);
int ind = 1; int ind = 1;