An ATproto social media client -- with an independent Appview.

Tweak location-related strings and labels (#8975)

* tweak string in BlockedGeoOverlay.tsx

* tweak string in AgeAssuranceAccountCard.tsx

* tweak string and labels in DeviceLocationRequestDialog.tsx

* prettier

* add missing `.` in DeviceLocationRequestDialog.tsx

authored by

surfdude29 and committed by
GitHub
9738f485 0dafc2cc

+8 -8
+1 -1
src/components/BlockedGeoOverlay.tsx
··· 156 156 props.disableDialogAction() 157 157 props.setDialogError( 158 158 _( 159 - msg`We're sorry, but based on your device's location, you are currently located in a region we cannot provide access at this time.`, 159 + msg`We're sorry, but based on your device's location, you are currently located in a region where we cannot provide access at this time.`, 160 160 ), 161 161 ) 162 162 } else {
+1 -1
src/components/ageAssurance/AgeAssuranceAccountCard.tsx
··· 90 90 {...createStaticClick(() => { 91 91 locationControl.open() 92 92 })}> 93 - Click here to confirm your location. 93 + Tap here to confirm your location. 94 94 </InlineLinkText>{' '} 95 95 </Trans> 96 96 </Text>
+6 -6
src/components/dialogs/DeviceLocationRequestDialog.tsx
··· 89 89 } else { 90 90 setError( 91 91 _( 92 - msg`Unable to access location. You'll need to visit your system settings to enable location services for Bluesky`, 92 + msg`Unable to access location. You'll need to visit your system settings to enable location services for Bluesky.`, 93 93 ), 94 94 ) 95 95 } ··· 114 114 <View style={[a.gap_sm, a.pb_xs]}> 115 115 <Text style={[a.text_md, a.leading_snug, t.atoms.text_contrast_medium]}> 116 116 <Trans> 117 - Click below to allow Bluesky to access your GPS location. We will 118 - then use that data to more accurately determine the content and 119 - features available in your region. 117 + Tap below to allow Bluesky to access your GPS location. We will then 118 + use that data to more accurately determine the content and features 119 + available in your region. 120 120 </Trans> 121 121 </Text> 122 122 ··· 143 143 {!dialogDisabled && ( 144 144 <Button 145 145 disabled={isRequesting} 146 - label={_(msg`Confirm your location`)} 146 + label={_(msg`Allow location access`)} 147 147 onPress={onPressConfirm} 148 148 size={isWeb ? 'small' : 'large'} 149 149 color="primary"> ··· 156 156 157 157 {!isWeb && ( 158 158 <Button 159 - label={_(msg`Confirm your location`)} 159 + label={_(msg`Cancel`)} 160 160 onPress={() => close()} 161 161 size={isWeb ? 'small' : 'large'} 162 162 color="secondary">