mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-06 03:23:07 +02:00
Use a different name for new strings.
This commit is contained in:
@@ -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