forked from upstream-mirrors/OpenTracks
Rename to share_maps to be consistent with send_maps.
This commit is contained in:
@@ -31,7 +31,7 @@ limitations under the License.
|
|||||||
<string name="chart_show_speed_key">chartShowSpeed</string>
|
<string name="chart_show_speed_key">chartShowSpeed</string>
|
||||||
<string name="confirm_play_earth_key">confirmPlayEarth</string>
|
<string name="confirm_play_earth_key">confirmPlayEarth</string>
|
||||||
<string name="confirm_share_drive_key">confirmShareDrive</string>
|
<string name="confirm_share_drive_key">confirmShareDrive</string>
|
||||||
<string name="confirm_share_map_key">confirmShareMap</string>
|
<string name="confirm_share_maps_key">confirmShareMaps</string>
|
||||||
<string name="default_activity_key">defaultActivity</string>
|
<string name="default_activity_key">defaultActivity</string>
|
||||||
<string name="default_map_public_key">defaultMapPublic</string>
|
<string name="default_map_public_key">defaultMapPublic</string>
|
||||||
<string name="default_table_public_key">defaultTablePublic</string>
|
<string name="default_table_public_key">defaultTablePublic</string>
|
||||||
|
|||||||
@@ -355,8 +355,8 @@ public class TrackDetailActivity extends AbstractSendToGoogleActivity
|
|||||||
.show(getSupportFragmentManager(), ConfirmDialogFragment.CONFIRM_DIALOG_TAG);
|
.show(getSupportFragmentManager(), ConfirmDialogFragment.CONFIRM_DIALOG_TAG);
|
||||||
return true;
|
return true;
|
||||||
case R.id.track_detail_share_maps:
|
case R.id.track_detail_share_maps:
|
||||||
ConfirmDialogFragment.newInstance(R.string.confirm_share_map_key,
|
ConfirmDialogFragment.newInstance(R.string.confirm_share_maps_key,
|
||||||
PreferencesUtils.CONFIRM_SHARE_MAP_DEFAULT, StringUtils.getHtml(
|
PreferencesUtils.CONFIRM_SHARE_MAPS_DEFAULT, StringUtils.getHtml(
|
||||||
this, R.string.share_track_maps_confirm_message, R.string.maps_public_unlisted_url),
|
this, R.string.share_track_maps_confirm_message, R.string.maps_public_unlisted_url),
|
||||||
trackId).show(getSupportFragmentManager(), ConfirmDialogFragment.CONFIRM_DIALOG_TAG);
|
trackId).show(getSupportFragmentManager(), ConfirmDialogFragment.CONFIRM_DIALOG_TAG);
|
||||||
return true;
|
return true;
|
||||||
@@ -448,8 +448,8 @@ public class TrackDetailActivity extends AbstractSendToGoogleActivity
|
|||||||
.putExtra(SaveActivity.EXTRA_PLAY_TRACK, true);
|
.putExtra(SaveActivity.EXTRA_PLAY_TRACK, true);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
break;
|
break;
|
||||||
case R.string.confirm_share_map_key:
|
case R.string.confirm_share_maps_key:
|
||||||
AnalyticsUtils.sendPageViews(this, "/action/share_map");
|
AnalyticsUtils.sendPageViews(this, "/action/share_maps");
|
||||||
sendRequest = new SendRequest(trackId);
|
sendRequest = new SendRequest(trackId);
|
||||||
sendRequest.setSendMaps(true);
|
sendRequest.setSendMaps(true);
|
||||||
sendRequest.setMapsShare(true);
|
sendRequest.setMapsShare(true);
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public class PreferencesUtils {
|
|||||||
|
|
||||||
public static final boolean CONFIRM_PLAY_EARTH_DEFAULT = true;
|
public static final boolean CONFIRM_PLAY_EARTH_DEFAULT = true;
|
||||||
public static final boolean CONFIRM_SHARE_DRIVE_DEFAULT = true;
|
public static final boolean CONFIRM_SHARE_DRIVE_DEFAULT = true;
|
||||||
public static final boolean CONFIRM_SHARE_MAP_DEFAULT = true;
|
public static final boolean CONFIRM_SHARE_MAPS_DEFAULT = true;
|
||||||
|
|
||||||
public static final String DEFAULT_ACTIVITY_DEFAULT = "";
|
public static final String DEFAULT_ACTIVITY_DEFAULT = "";
|
||||||
public static final boolean DEFAULT_MAP_PUBLIC_DEFAULT = false;
|
public static final boolean DEFAULT_MAP_PUBLIC_DEFAULT = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user