string improvements
This commit is contained in:
parent
03315c4ac0
commit
d5f09cc053
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue