shared_string_gpx_files

This commit is contained in:
sonora 2018-05-17 13:26:57 +02:00
parent ac6b42c820
commit 80ebefb055
5 changed files with 4 additions and 5 deletions

View file

@ -1098,7 +1098,6 @@
<string name="shared_string_my_location">My Position</string> <string name="shared_string_my_location">My Position</string>
<string name="shared_string_my_places">My Places</string> <string name="shared_string_my_places">My Places</string>
<string name="shared_string_my_favorites">Favorites</string> <string name="shared_string_my_favorites">Favorites</string>
<string name="shared_string_my_tracks">GPX files</string>
<string name="shared_string_currently_recording_track">Currently recording track</string> <string name="shared_string_currently_recording_track">Currently recording track</string>
<string name="shared_string_audio">Audio</string> <string name="shared_string_audio">Audio</string>
<string name="shared_string_video">Video</string> <string name="shared_string_video">Video</string>

View file

@ -25,7 +25,7 @@ public class TracksGroupsAdapter extends GroupsAdapter {
public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) { public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {
if (holder instanceof MapMarkersGroupHeaderViewHolder) { if (holder instanceof MapMarkersGroupHeaderViewHolder) {
MapMarkersGroupHeaderViewHolder markersGroupHeaderViewHolder = (MapMarkersGroupHeaderViewHolder) holder; MapMarkersGroupHeaderViewHolder markersGroupHeaderViewHolder = (MapMarkersGroupHeaderViewHolder) holder;
markersGroupHeaderViewHolder.title.setText(app.getText(R.string.shared_string_my_tracks)); markersGroupHeaderViewHolder.title.setText(app.getText(R.string.shared_string_gpx_files));
markersGroupHeaderViewHolder.description.setText(app.getText(R.string.add_track_to_markers_descr)); markersGroupHeaderViewHolder.description.setText(app.getText(R.string.add_track_to_markers_descr));
} else if (holder instanceof MapMarkersGroupViewHolder) { } else if (holder instanceof MapMarkersGroupViewHolder) {
GpxDataItem gpx = getItem(position); GpxDataItem gpx = getItem(position);

View file

@ -45,7 +45,7 @@ import java.util.List;
public class DashTrackFragment extends DashBaseFragment { public class DashTrackFragment extends DashBaseFragment {
public static final String TAG = "DASH_TRACK_FRAGMENT"; public static final String TAG = "DASH_TRACK_FRAGMENT";
public static final int TITLE_ID = R.string.shared_string_my_tracks; public static final int TITLE_ID = R.string.shared_string_gpx_files;
private static final String ROW_NUMBER_TAG = TAG + "_row_number"; private static final String ROW_NUMBER_TAG = TAG + "_row_number";

View file

@ -1147,7 +1147,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
StringBuilder t = new StringBuilder(); StringBuilder t = new StringBuilder();
String groupName = group.replaceAll("_", " ").replace(".gpx", ""); String groupName = group.replaceAll("_", " ").replace(".gpx", "");
if (groupName.length() == 0) { if (groupName.length() == 0) {
groupName = getString(R.string.shared_string_my_tracks); groupName = getString(R.string.shared_string_gpx_files);
} }
t.append(Algorithms.capitalizeFirstLetter(groupName)); t.append(Algorithms.capitalizeFirstLetter(groupName));
boolean light = app.getSettings().isLightContent(); boolean light = app.getSettings().isLightContent();

View file

@ -45,7 +45,7 @@ public class FavoritesActivity extends TabActivity {
public static final String OPEN_FAVOURITES_TAB = "open_favourites_tab"; public static final String OPEN_FAVOURITES_TAB = "open_favourites_tab";
public static final String OPEN_MY_PLACES_TAB = "open_my_places_tab"; public static final String OPEN_MY_PLACES_TAB = "open_my_places_tab";
public static final int GPX_TAB = R.string.shared_string_my_tracks; public static final int GPX_TAB = R.string.shared_string_gpx_files;
public static final int FAV_TAB = R.string.shared_string_my_favorites; public static final int FAV_TAB = R.string.shared_string_my_favorites;
protected List<WeakReference<Fragment>> fragList = new ArrayList<>(); protected List<WeakReference<Fragment>> fragList = new ArrayList<>();
private int tabSize; private int tabSize;