mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-09 20:53:07 +02:00
Use a different name for new strings.
This commit is contained in:
@@ -672,7 +672,7 @@ limitations under the License.
|
||||
for all applications. See Settings -> Location access.">
|
||||
\'Location access\'
|
||||
</string>
|
||||
<string name="gps_need_to_enable"
|
||||
<string name="gps_disabled"
|
||||
translation_description="In the main view, the message on the top asking the user to enable
|
||||
GPS.
|
||||
|
||||
@@ -1176,7 +1176,7 @@ limitations under the License.
|
||||
indicating that GPS is not available and an approximate location is used instead.">
|
||||
GPS is not available. An approximate location based on cell towers and WiFi networks is shown.
|
||||
</string>
|
||||
<string name="my_location_no_location"
|
||||
<string name="my_location_no_gps"
|
||||
translation_description="When displaying the user's current location, a status message
|
||||
indicating that the current location cannot be determined.
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ class DataSourcesWrapperImpl implements DataSourcesWrapper {
|
||||
String setting = context.getString(
|
||||
GoogleLocationUtils.isAvailable(context) ? R.string.gps_google_location_settings
|
||||
: R.string.gps_location_access);
|
||||
toast = context.getString(R.string.my_location_no_location, setting);
|
||||
toast = context.getString(R.string.my_location_no_gps, setting);
|
||||
}
|
||||
|
||||
// Let the user know we have only an approximate location:
|
||||
|
||||
@@ -283,7 +283,7 @@ public class MapFragment extends Fragment
|
||||
String setting = getString(
|
||||
GoogleLocationUtils.isAvailable(getActivity()) ? R.string.gps_google_location_settings
|
||||
: R.string.gps_location_access);
|
||||
message = getString(R.string.gps_need_to_enable, setting);
|
||||
message = getString(R.string.gps_disabled, setting);
|
||||
isGpsDisabled = true;
|
||||
break;
|
||||
case NO_FIX:
|
||||
|
||||
Reference in New Issue
Block a user