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
This commit is contained in:
@@ -156,7 +156,7 @@ export function BlockedGeoOverlay() {
|
|||||||
props.disableDialogAction()
|
props.disableDialogAction()
|
||||||
props.setDialogError(
|
props.setDialogError(
|
||||||
_(
|
_(
|
||||||
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.`,
|
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.`,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ function Inner({style}: ViewStyleProp & {}) {
|
|||||||
{...createStaticClick(() => {
|
{...createStaticClick(() => {
|
||||||
locationControl.open()
|
locationControl.open()
|
||||||
})}>
|
})}>
|
||||||
Click here to confirm your location.
|
Tap here to confirm your location.
|
||||||
</InlineLinkText>{' '}
|
</InlineLinkText>{' '}
|
||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ function DeviceLocationRequestDialogInner({onLocationAcquired}: Props) {
|
|||||||
} else {
|
} else {
|
||||||
setError(
|
setError(
|
||||||
_(
|
_(
|
||||||
msg`Unable to access location. You'll need to visit your system settings to enable location services for Bluesky`,
|
msg`Unable to access location. You'll need to visit your system settings to enable location services for Bluesky.`,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -114,9 +114,9 @@ function DeviceLocationRequestDialogInner({onLocationAcquired}: Props) {
|
|||||||
<View style={[a.gap_sm, a.pb_xs]}>
|
<View style={[a.gap_sm, a.pb_xs]}>
|
||||||
<Text style={[a.text_md, a.leading_snug, t.atoms.text_contrast_medium]}>
|
<Text style={[a.text_md, a.leading_snug, t.atoms.text_contrast_medium]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
Click below to allow Bluesky to access your GPS location. We will
|
Tap below to allow Bluesky to access your GPS location. We will then
|
||||||
then use that data to more accurately determine the content and
|
use that data to more accurately determine the content and features
|
||||||
features available in your region.
|
available in your region.
|
||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ function DeviceLocationRequestDialogInner({onLocationAcquired}: Props) {
|
|||||||
{!dialogDisabled && (
|
{!dialogDisabled && (
|
||||||
<Button
|
<Button
|
||||||
disabled={isRequesting}
|
disabled={isRequesting}
|
||||||
label={_(msg`Confirm your location`)}
|
label={_(msg`Allow location access`)}
|
||||||
onPress={onPressConfirm}
|
onPress={onPressConfirm}
|
||||||
size={isWeb ? 'small' : 'large'}
|
size={isWeb ? 'small' : 'large'}
|
||||||
color="primary">
|
color="primary">
|
||||||
@@ -156,7 +156,7 @@ function DeviceLocationRequestDialogInner({onLocationAcquired}: Props) {
|
|||||||
|
|
||||||
{!isWeb && (
|
{!isWeb && (
|
||||||
<Button
|
<Button
|
||||||
label={_(msg`Confirm your location`)}
|
label={_(msg`Cancel`)}
|
||||||
onPress={() => close()}
|
onPress={() => close()}
|
||||||
size={isWeb ? 'small' : 'large'}
|
size={isWeb ? 'small' : 'large'}
|
||||||
color="secondary">
|
color="secondary">
|
||||||
|
|||||||
Reference in New Issue
Block a user