forked from upstream-mirrors/OpenTracks
Rename "Share with friends..." to "Share".
This commit is contained in:
@@ -37,11 +37,11 @@ limitations under the License.
|
|||||||
android:title="@string/menu_share">
|
android:title="@string/menu_share">
|
||||||
<menu>
|
<menu>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/track_detail_share_map"
|
android:id="@+id/track_detail_share_map_url"
|
||||||
android:title="@string/menu_share_map"/>
|
android:title="@string/menu_share_map_url"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/track_detail_share_fusion_table"
|
android:id="@+id/track_detail_share_fusion_table_url"
|
||||||
android:title="@string/menu_share_fusion_table"/>
|
android:title="@string/menu_share_fusion_table_url"/>
|
||||||
<item android:id="@+id/track_detail_share_gpx"/>
|
<item android:id="@+id/track_detail_share_gpx"/>
|
||||||
<item android:id="@+id/track_detail_share_kml"/>
|
<item android:id="@+id/track_detail_share_kml"/>
|
||||||
<item android:id="@+id/track_detail_share_csv"/>
|
<item android:id="@+id/track_detail_share_csv"/>
|
||||||
|
|||||||
@@ -1128,6 +1128,28 @@ limitations under the License.
|
|||||||
translation_description="In the menu, to go to the settings page.">
|
translation_description="In the menu, to go to the settings page.">
|
||||||
Settings
|
Settings
|
||||||
</string>
|
</string>
|
||||||
|
<string name="menu_share"
|
||||||
|
translation_description="In the menu, to share a track.">
|
||||||
|
Share
|
||||||
|
</string>
|
||||||
|
<string name="menu_share_file"
|
||||||
|
translation_description="Under the 'Share' menu option, the option to share a track as a
|
||||||
|
certain file format.
|
||||||
|
|
||||||
|
%1$s: file format. 'GPX', 'KML', 'CSV', or 'TCX'.">
|
||||||
|
%1$s file
|
||||||
|
</string>
|
||||||
|
<string name="menu_share_fusion_table_url"
|
||||||
|
translation_description="Under the 'Share' menu option, the option to save a track to Google
|
||||||
|
Fusion Tables and share the Fusion Table URL with friends. 'Fusion Table URL' in this context
|
||||||
|
means a Google Fusion Table URL.">
|
||||||
|
Fusion Table URL
|
||||||
|
</string>
|
||||||
|
<string name="menu_share_map_url"
|
||||||
|
translation_description="Under the 'Share' menu option, the option to save a track to Google
|
||||||
|
Maps and share the Map URL with friends. 'Map URL' in this context means a Google Map URL.">
|
||||||
|
Map URL
|
||||||
|
</string>
|
||||||
<string name="menu_show_on_map"
|
<string name="menu_show_on_map"
|
||||||
translation_description="In the menu, to show a marker on map.">
|
translation_description="In the menu, to show a marker on map.">
|
||||||
Show on map
|
Show on map
|
||||||
@@ -1136,30 +1158,6 @@ limitations under the License.
|
|||||||
translation_description="In the menu, to stop recording a track.">
|
translation_description="In the menu, to stop recording a track.">
|
||||||
Stop recording
|
Stop recording
|
||||||
</string>
|
</string>
|
||||||
<string name="menu_share"
|
|
||||||
translation_description="In the menu, to share a track with friends through other
|
|
||||||
applications.">
|
|
||||||
Share with friends...
|
|
||||||
</string>
|
|
||||||
<string name="menu_share_file"
|
|
||||||
translation_description="Under the 'Share with friends...' menu option, the option to share a
|
|
||||||
track as a certain file format.
|
|
||||||
|
|
||||||
%1$s: file format. 'GPX', 'KML', 'CSV', or 'TCX'.">
|
|
||||||
A %1$s file
|
|
||||||
</string>
|
|
||||||
<string name="menu_share_fusion_table"
|
|
||||||
translation_description="Under the 'Share with friends...' menu option, the option to save a
|
|
||||||
track to Google Fusion Tables and share the Fusion Table url with friends. 'Fusion Table' in
|
|
||||||
this context means a Google Fusion Table.">
|
|
||||||
Fusion Table
|
|
||||||
</string>
|
|
||||||
<string name="menu_share_map"
|
|
||||||
translation_description="Under the 'Share with friends...' menu option, the option to save a
|
|
||||||
track to Google Maps and share the Map url with friends. 'Map' in this context means a Google
|
|
||||||
Map.">
|
|
||||||
Map
|
|
||||||
</string>
|
|
||||||
|
|
||||||
<!-- My Location -->
|
<!-- My Location -->
|
||||||
<string name="my_location_approximate_location"
|
<string name="my_location_approximate_location"
|
||||||
|
|||||||
@@ -287,12 +287,12 @@ public class TrackDetailActivity extends AbstractMyTracksActivity {
|
|||||||
getSupportFragmentManager(), InstallEarthDialogFragment.INSTALL_EARTH_DIALOG_TAG);
|
getSupportFragmentManager(), InstallEarthDialogFragment.INSTALL_EARTH_DIALOG_TAG);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
case R.id.track_detail_share_map:
|
case R.id.track_detail_share_map_url:
|
||||||
intent = IntentUtils.newIntent(this, UploadServiceChooserActivity.class)
|
intent = IntentUtils.newIntent(this, UploadServiceChooserActivity.class)
|
||||||
.putExtra(SendRequest.SEND_REQUEST_KEY, new SendRequest(trackId, true, false, false));
|
.putExtra(SendRequest.SEND_REQUEST_KEY, new SendRequest(trackId, true, false, false));
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
return true;
|
return true;
|
||||||
case R.id.track_detail_share_fusion_table:
|
case R.id.track_detail_share_fusion_table_url:
|
||||||
intent = IntentUtils.newIntent(this, UploadServiceChooserActivity.class)
|
intent = IntentUtils.newIntent(this, UploadServiceChooserActivity.class)
|
||||||
.putExtra(SendRequest.SEND_REQUEST_KEY, new SendRequest(trackId, false, true, false));
|
.putExtra(SendRequest.SEND_REQUEST_KEY, new SendRequest(trackId, false, true, false));
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
|||||||
Reference in New Issue
Block a user