From fcb2c9ea7f141df8e2c510788afd0e84aa94b488 Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Fri, 21 Jun 2013 15:44:00 -0700 Subject: [PATCH] For import/export, include the external storage location. --- .../res/values/arrays_do_not_translate.xml | 6 ------ MyTracks/res/values/strings.xml | 19 +++++++++++-------- .../fragments/ExportDialogFragment.java | 7 ++++++- .../fragments/FileTypeDialogFragment.java | 9 +++++++-- .../android/apps/mytracks/util/FileUtils.java | 14 ++++++++++++++ 5 files changed, 38 insertions(+), 17 deletions(-) diff --git a/MyTracks/res/values/arrays_do_not_translate.xml b/MyTracks/res/values/arrays_do_not_translate.xml index c68590a93..74d9866ee 100644 --- a/MyTracks/res/values/arrays_do_not_translate.xml +++ b/MyTracks/res/values/arrays_do_not_translate.xml @@ -92,12 +92,6 @@ limitations under the License. 15 -1 - - KML - GPX - CSV - TCX - 0 1 diff --git a/MyTracks/res/values/strings.xml b/MyTracks/res/values/strings.xml index 479c302de..46d39f6d5 100644 --- a/MyTracks/res/values/strings.xml +++ b/MyTracks/res/values/strings.xml @@ -616,8 +616,9 @@ limitations under the License. translation_description="When exporting all tracks to the external storage, the option to export as a certain file format. - %1$s: file format. 'KML', 'GPX', 'CSV', or 'TCX'."> - Export all as %1$s + %1$s: the file format. E.g., 'KML'. + %2$s: the directory. E.g., '/MyTracks/kml'."> + All as %1$s to %2$s @@ -640,8 +641,9 @@ limitations under the License. translation_description="When exporting a track to the external storage, the option to export as a certain file format. - %1$s: file format. 'KML', 'GPX', 'CSV', or 'TCX'."> - as %1$s file + %1$s: the file format. E.g., 'KML'. + %2$s: the directory. E.g., '/MyTracks/kml'."> + as %1$s to %2$s - Import all %1$s + %1$s: the file format. E.g., 'KML'. + %2$s: the directory. E.g., '/MyTracks/kml'."> + All %1$s from %2$s + translation_description="The dialog title to import all from external storage."> Import from external storage