consistent sentence case captialisation (#7749)

This commit is contained in:
Samuel Newman
2025-02-21 11:10:33 -08:00
committed by GitHub
parent fff625167f
commit 3b4f1e91e3
+17 -17
View File
@@ -225,10 +225,10 @@ let ProfileMenu = ({
</Menu.Item>
<Menu.Item
testID="profileHeaderDropdownSearchBtn"
label={_(msg`Search Posts`)}
label={_(msg`Search posts`)}
onPress={onPressSearch}>
<Menu.ItemText>
<Trans>Search Posts</Trans>
<Trans>Search posts</Trans>
</Menu.ItemText>
<Menu.ItemIcon icon={SearchIcon} />
</Menu.Item>
@@ -245,8 +245,8 @@ let ProfileMenu = ({
testID="profileHeaderDropdownFollowBtn"
label={
isFollowing
? _(msg`Unfollow Account`)
: _(msg`Follow Account`)
? _(msg`Unfollow account`)
: _(msg`Follow account`)
}
onPress={
isFollowing
@@ -255,9 +255,9 @@ let ProfileMenu = ({
}>
<Menu.ItemText>
{isFollowing ? (
<Trans>Unfollow Account</Trans>
<Trans>Unfollow account</Trans>
) : (
<Trans>Follow Account</Trans>
<Trans>Follow account</Trans>
)}
</Menu.ItemText>
<Menu.ItemIcon icon={isFollowing ? UserMinus : Plus} />
@@ -270,7 +270,7 @@ let ProfileMenu = ({
label={_(msg`Add to Lists`)}
onPress={onPressAddRemoveLists}>
<Menu.ItemText>
<Trans>Add to Lists</Trans>
<Trans>Add to lists</Trans>
</Menu.ItemText>
<Menu.ItemIcon icon={List} />
</Menu.Item>
@@ -282,15 +282,15 @@ let ProfileMenu = ({
testID="profileHeaderDropdownMuteBtn"
label={
profile.viewer?.muted
? _(msg`Unmute Account`)
: _(msg`Mute Account`)
? _(msg`Unmute account`)
: _(msg`Mute account`)
}
onPress={onPressMuteAccount}>
<Menu.ItemText>
{profile.viewer?.muted ? (
<Trans>Unmute Account</Trans>
<Trans>Unmute account</Trans>
) : (
<Trans>Mute Account</Trans>
<Trans>Mute account</Trans>
)}
</Menu.ItemText>
<Menu.ItemIcon
@@ -303,15 +303,15 @@ let ProfileMenu = ({
testID="profileHeaderDropdownBlockBtn"
label={
profile.viewer
? _(msg`Unblock Account`)
: _(msg`Block Account`)
? _(msg`Unblock account`)
: _(msg`Block account`)
}
onPress={() => blockPromptControl.open()}>
<Menu.ItemText>
{profile.viewer?.blocking ? (
<Trans>Unblock Account</Trans>
<Trans>Unblock account</Trans>
) : (
<Trans>Block Account</Trans>
<Trans>Block account</Trans>
)}
</Menu.ItemText>
<Menu.ItemIcon
@@ -323,10 +323,10 @@ let ProfileMenu = ({
)}
<Menu.Item
testID="profileHeaderDropdownReportBtn"
label={_(msg`Report Account`)}
label={_(msg`Report account`)}
onPress={onPressReportAccount}>
<Menu.ItemText>
<Trans>Report Account</Trans>
<Trans>Report account</Trans>
</Menu.ItemText>
<Menu.ItemIcon icon={Flag} />
</Menu.Item>