this repo has no description
0
fork

Configure Feed

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

Mark "Logo by ..." in RightNav translatable like it in Drawer (#5788)

authored by

Takayuki KUSANO and committed by
GitHub
eaba68ee 2e74f983

+16 -14
+16 -14
src/view/shell/desktop/RightNav.tsx
··· 1 1 import React from 'react' 2 2 import {StyleSheet, View} from 'react-native' 3 - import {msg} from '@lingui/macro' 3 + import {msg, Trans} from '@lingui/macro' 4 4 import {useLingui} from '@lingui/react' 5 5 6 + import {FEEDBACK_FORM_URL, HELP_DESK_URL} from '#/lib/constants' 7 + import {usePalette} from '#/lib/hooks/usePalette' 8 + import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries' 9 + import {s} from '#/lib/styles' 6 10 import {useKawaiiMode} from '#/state/preferences/kawaii' 7 11 import {useSession} from '#/state/session' 8 - import {FEEDBACK_FORM_URL, HELP_DESK_URL} from 'lib/constants' 9 - import {usePalette} from 'lib/hooks/usePalette' 10 - import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries' 11 - import {s} from 'lib/styles' 12 - import {TextLink} from 'view/com/util/Link' 13 - import {Text} from 'view/com/util/text/Text' 12 + import {TextLink} from '#/view/com/util/Link' 13 + import {Text} from '#/view/com/util/text/Text' 14 14 import {atoms as a} from '#/alf' 15 15 import {ProgressGuideList} from '#/components/ProgressGuide/List' 16 16 import {DesktopFeeds} from './Feeds' ··· 101 101 </View> 102 102 {kawaii && ( 103 103 <Text type="md" style={[pal.textLight, {marginTop: 12}]}> 104 - Logo by{' '} 105 - <TextLink 106 - type="md" 107 - href="/profile/sawaratsuki.bsky.social" 108 - text="@sawaratsuki.bsky.social" 109 - style={pal.link} 110 - /> 104 + <Trans> 105 + Logo by{' '} 106 + <TextLink 107 + type="md" 108 + href="/profile/sawaratsuki.bsky.social" 109 + text="@sawaratsuki.bsky.social" 110 + style={pal.link} 111 + /> 112 + </Trans> 111 113 </Text> 112 114 )} 113 115 </View>