Use title case for Starter Pack (#11653)

This commit is contained in:
DS Boyce
2026-09-03 12:26:51 -07:00
committed by GitHub
parent 23d8fcf5ea
commit edcd363fcb
39 changed files with 295 additions and 393 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ export function LoggedOut({onDismiss}: {onDismiss?: () => void}) {
/*
* Back from the login or create-account step. Where it returns depends on how
* the view was entered:
* - Entered on the splash or a landing screen (starter pack, group chat
* - Entered on the splash or a landing screen (Starter Pack, group chat
* invite): return there, i.e. the screen the user actually saw first.
* - Dropped directly onto login/create-account (e.g. tapping "Create
* account" elsewhere in the app): there is no preceding screen in this
@@ -338,7 +338,7 @@ let NotificationFeedItem = ({
* see `src/state/queries/notifications/util.ts`
*/
a11yLabel = starterPackName
? l`${firstAuthorName} followed you back via starter pack ${starterPackName}`
? l`${firstAuthorName} followed you back via Starter Pack ${starterPackName}`
: l`${firstAuthorName} followed you back`
notificationContent = <Trans>{firstAuthorLink} followed you back</Trans>
} else {
@@ -347,8 +347,8 @@ let NotificationFeedItem = ({
? l`${firstAuthorName} and ${plural(additionalAuthorsCount, {
one: `${formattedAuthorsCount} other`,
other: `${formattedAuthorsCount} others`,
})} followed you via starter pack ${starterPackName}`
: l`${firstAuthorName} followed you via starter pack ${starterPackName}`
})} followed you via Starter Pack ${starterPackName}`
: l`${firstAuthorName} followed you via Starter Pack ${starterPackName}`
: hasMultipleAuthors
? l`${firstAuthorName} and ${plural(additionalAuthorsCount, {
one: `${formattedAuthorsCount} other`,
@@ -407,8 +407,8 @@ let NotificationFeedItem = ({
? l`${firstAuthorName} and ${plural(additionalAuthorsCount, {
one: `${formattedAuthorsCount} other`,
other: `${formattedAuthorsCount} others`,
})} signed up with your starter pack`
: l`${firstAuthorName} signed up with your starter pack`
})} signed up with your Starter Pack`
: l`${firstAuthorName} signed up with your Starter Pack`
notificationContent = hasMultipleAuthors ? (
<Trans>
{firstAuthorLink} and{' '}
@@ -419,10 +419,10 @@ let NotificationFeedItem = ({
other={`${formattedAuthorsCount} others`}
/>
</Text>{' '}
signed up with your starter pack
signed up with your Starter Pack
</Trans>
) : (
<Trans>{firstAuthorLink} signed up with your starter pack</Trans>
<Trans>{firstAuthorLink} signed up with your Starter Pack</Trans>
)
icon = (
<View style={{height: 30, width: 30}}>
@@ -735,8 +735,8 @@ function FollowedViaStarterPack({
return (
<Text style={[native(a.pt_xs), t.atoms.text_contrast_medium]}>
<Trans comment="When the source of a follow is a starter pack, i.e., 'via starter pack {starterPackName}'.">
via starter pack{' '}
<Trans comment="When the source of a follow is a Starter Pack, i.e., 'via Starter Pack {starterPackName}'.">
via Starter Pack{' '}
<StarterPackIcon
size="sm"
gradient="sky"
+2 -2
View File
@@ -365,10 +365,10 @@ let ProfileMenu = ({
)}
<Menu.Item
testID="profileHeaderDropdownStarterPackAddRemoveBtn"
label={l`Add to starter packs`}
label={l`Add to Starter Packs`}
onPress={onPressAddToStarterPacks}>
<Menu.ItemText>
<Trans>Add to starter packs</Trans>
<Trans>Add to Starter Packs</Trans>
</Menu.ItemText>
<Menu.ItemIcon icon={StarterPackIcon} />
</Menu.Item>
@@ -1,9 +1,7 @@
import {useCallback} from 'react'
import {Pressable, View} from 'react-native'
import Animated, {useAnimatedRef} from 'react-native-reanimated'
import {msg} from '@lingui/core/macro'
import {useLingui} from '@lingui/react'
import {Trans} from '@lingui/react/macro'
import {Trans, useLingui} from '@lingui/react/macro'
import {useNavigation} from '@react-navigation/native'
import {usePalette} from '#/lib/hooks/usePalette'
@@ -47,7 +45,7 @@ export function ProfileSubpageHeader({
avatarType: UserAvatarType | 'starter-pack'
}>) {
const navigation = useNavigation<NavigationProp>()
const {_} = useLingui()
const {t: l} = useLingui()
const {isMobile} = useWebMediaQueries()
const {openLightbox} = useLightboxControls()
const pal = usePalette('default')
@@ -90,7 +88,6 @@ export function ProfileSubpageHeader({
<Layout.Header.Content />
{children}
</Layout.Header.Outer>
<View
style={{
flexDirection: 'row',
@@ -105,7 +102,7 @@ export function ProfileSubpageHeader({
testID="headerAviButton"
onPress={onPressAvi}
accessibilityRole="image"
accessibilityLabel={_(msg`View the avatar`)}
accessibilityLabel={l`View the avatar`}
accessibilityHint=""
style={{width: 58}}>
{avatarType === 'starter-pack' ? (
@@ -166,10 +163,10 @@ export function ProfileSubpageHeader({
)
) : purpose === 'app.bsky.graph.defs#referencelist' ? (
isOwner ? (
<Trans>Starter pack by you</Trans>
<Trans>Starter Pack by you</Trans>
) : (
<Trans>
Starter pack by{' '}
Starter Pack by{' '}
<TextLink
text={sanitizeHandle(creator.handle || '', '@')}
href={makeProfileLink(creator)}
+1 -1
View File
@@ -349,7 +349,7 @@ function ProfileScreenLoaded({
const wrappedNavToWizard = requireEmailVerification(navToWizard, {
instructions: [
<Trans key="nav">
Before creating a starter pack, you must first verify your email.
Before creating a Starter Pack, you must first verify your email.
</Trans>,
],
})