Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make `Posts` and `People` tabs translatable for user lists (#7982)

* mark Posts and People as translatable in lists

* tweak labels

authored by

surfdude29 and committed by
GitHub
5130f932 8dfdee80

+6 -7
+6 -7
src/view/screens/ProfileList.tsx
··· 82 82 import * as Prompt from '#/components/Prompt' 83 83 import {RichText} from '#/components/RichText' 84 84 85 - const SECTION_TITLES_CURATE = ['Posts', 'People'] 86 - 87 85 interface SectionRef { 88 86 scrollToTop: () => void 89 87 } ··· 165 163 const isHidden = list.labels?.findIndex(l => l.val === '!hide') !== -1 166 164 const isOwner = currentAccount?.did === list.creator.did 167 165 const scrollElRef = useAnimatedRef() 166 + const sectionTitlesCurate = [_(msg`Posts`), _(msg`People`)] 168 167 169 168 const moderation = React.useMemo(() => { 170 169 return moderateUserList(list, moderationOpts) ··· 214 213 <Hider.Content> 215 214 <View style={s.hContentRegion}> 216 215 <PagerWithHeader 217 - items={SECTION_TITLES_CURATE} 216 + items={sectionTitlesCurate} 218 217 isHeaderReady={true} 219 218 renderHeader={renderHeader} 220 219 onCurrentPageSelected={onCurrentPageSelected}> ··· 546 545 }) 547 546 items.push({ 548 547 testID: 'listHeaderDropdownDeleteBtn', 549 - label: _(msg`Delete List`), 548 + label: _(msg`Delete list`), 550 549 onPress: deleteListPromptControl.open, 551 550 icon: { 552 551 ios: { ··· 560 559 items.push({label: 'separator'}) 561 560 items.push({ 562 561 testID: 'listHeaderDropdownReportBtn', 563 - label: _(msg`Report List`), 562 + label: _(msg`Report list`), 564 563 onPress: onPressReport, 565 564 icon: { 566 565 ios: { ··· 595 594 if (isMuting) { 596 595 items.push({ 597 596 testID: 'listHeaderDropdownMuteBtn', 598 - label: _(msg`Un-mute list`), 597 + label: _(msg`Unmute list`), 599 598 onPress: onUnsubscribeMute, 600 599 icon: { 601 600 ios: { ··· 610 609 if (isBlocking) { 611 610 items.push({ 612 611 testID: 'listHeaderDropdownBlockBtn', 613 - label: _(msg`Un-block list`), 612 + label: _(msg`Unblock list`), 614 613 onPress: onUnsubscribeBlock, 615 614 icon: { 616 615 ios: {