fix comments

This commit is contained in:
Ansh Nanda
2023-11-08 13:48:42 -08:00
parent 8531a987fd
commit 4805e651cd
7 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ export const Step3 = observer(function Step3Impl({
accessibilityHint="Input your user handle" accessibilityHint="Input your user handle"
/> />
<Text type="lg" style={[pal.text, s.pl5, s.pt10]}> <Text type="lg" style={[pal.text, s.pl5, s.pt10]}>
<Trans>Your full handle will be </Trans> <Trans>Your full handle will be</Trans>
<Text type="lg-bold" style={pal.text}> <Text type="lg-bold" style={[pal.text, s.ml5]}>
@{createFullHandle(model.handle, model.userDomain)} @{createFullHandle(model.handle, model.userDomain)}
</Text> </Text>
</Text> </Text>
+2 -2
View File
@@ -419,8 +419,8 @@ export const ComposePost = observer(function ComposePost({
accessibilityLabel={_(msg`Add link card`)} accessibilityLabel={_(msg`Add link card`)}
accessibilityHint={`Creates a card with a thumbnail. The card links to ${url}`}> accessibilityHint={`Creates a card with a thumbnail. The card links to ${url}`}>
<Text style={pal.text}> <Text style={pal.text}>
<Trans>Add link card: </Trans> <Trans>Add link card:</Trans>
<Text style={pal.link}>{toShortUrl(url)}</Text> <Text style={[pal.link, s.ml5]}>{toShortUrl(url)}</Text>
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
))} ))}
+3 -3
View File
@@ -129,10 +129,10 @@ export function Component({}: {}) {
</Text> </Text>
) : ( ) : (
<Text type="lg" style={[pal.text]}> <Text type="lg" style={[pal.text]}>
<Text type="lg-bold" style={[pal.text, s.mr5]}>
<Trans>Here is your app password.</Trans>
</Text>
<Trans> <Trans>
<Text type="lg-bold" style={[pal.text]}>
Here is your app password.
</Text>{' '}
Use this to sign into the other app along with your handle. Use this to sign into the other app along with your handle.
</Trans> </Trans>
</Text> </Text>
+3 -4
View File
@@ -132,12 +132,11 @@ export const Component = observer(function Component({
) : ( ) : (
<View> <View>
<Text style={[pal.textLight]}> <Text style={[pal.textLight]}>
<Text type="md-bold" style={[pal.textLight]}> <Text type="md-bold" style={[pal.textLight, s.mr5]}>
<Trans>Not Applicable</Trans> <Trans>Not Applicable.</Trans>
</Text> </Text>
<Trans> <Trans>
. This warning is only available for posts with media This warning is only available for posts with media attached.
attached.
</Trans> </Trans>
</Text> </Text>
</View> </View>
@@ -39,7 +39,7 @@ export const ConfirmLanguagesButton = ({
end={{x: 1, y: 1}} end={{x: 1, y: 1}}
style={[styles.btn]}> style={[styles.btn]}>
<Text style={[s.white, s.bold, s.f18]}> <Text style={[s.white, s.bold, s.f18]}>
<Trans> Done{extraText}</Trans> <Trans>Done{extraText}</Trans>
</Text> </Text>
</LinearGradient> </LinearGradient>
</Pressable> </Pressable>
+2 -2
View File
@@ -234,8 +234,8 @@ export const FeedItem = observer(function FeedItemImpl({
/> />
{authors.length > 1 ? ( {authors.length > 1 ? (
<> <>
<Text style={[pal.text]}> <Text style={[pal.text, s.mr5, s.ml5]}>
<Trans> and </Trans> <Trans>and</Trans>
</Text> </Text>
<Text style={[pal.text, s.bold]}> <Text style={[pal.text, s.bold]}>
{formatCount(authors.length - 1)}{' '} {formatCount(authors.length - 1)}{' '}
+1 -1
View File
@@ -648,7 +648,7 @@ function ExpandedPostDetails({
<Text style={pal.textLight}>{niceDate(post.indexedAt)}</Text> <Text style={pal.textLight}>{niceDate(post.indexedAt)}</Text>
{needsTranslation && ( {needsTranslation && (
<> <>
<Text style={pal.textLight}></Text> <Text style={[pal.textLight, s.ml5, s.mr5]}></Text>
<Link href={translatorUrl} title="Translate"> <Link href={translatorUrl} title="Translate">
<Text style={pal.link}> <Text style={pal.link}>
<Trans>Translate</Trans> <Trans>Translate</Trans>