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

Make tab names translatable (#4724)

authored by

Takayuki KUSANO and committed by
GitHub
6af78de9 cacc4c50

+4 -3
+4 -3
src/screens/StarterPack/StarterPackScreen.tsx
··· 176 176 const showPeopleTab = Boolean(starterPack.list) 177 177 const showFeedsTab = Boolean(starterPack.feeds?.length) 178 178 const showPostsTab = Boolean(starterPack.list) 179 + const {_} = useLingui() 179 180 180 181 const tabs = [ 181 - ...(showPeopleTab ? ['People'] : []), 182 - ...(showFeedsTab ? ['Feeds'] : []), 183 - ...(showPostsTab ? ['Posts'] : []), 182 + ...(showPeopleTab ? [_(msg`People`)] : []), 183 + ...(showFeedsTab ? [_(msg`Feeds`)] : []), 184 + ...(showPostsTab ? [_(msg`Posts`)] : []), 184 185 ] 185 186 186 187 const qrCodeDialogControl = useDialogControl()