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>
<Menu.Item <Menu.Item
testID="profileHeaderDropdownSearchBtn" testID="profileHeaderDropdownSearchBtn"
label={_(msg`Search Posts`)} label={_(msg`Search posts`)}
onPress={onPressSearch}> onPress={onPressSearch}>
<Menu.ItemText> <Menu.ItemText>
<Trans>Search Posts</Trans> <Trans>Search posts</Trans>
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon icon={SearchIcon} /> <Menu.ItemIcon icon={SearchIcon} />
</Menu.Item> </Menu.Item>
@@ -245,8 +245,8 @@ let ProfileMenu = ({
testID="profileHeaderDropdownFollowBtn" testID="profileHeaderDropdownFollowBtn"
label={ label={
isFollowing isFollowing
? _(msg`Unfollow Account`) ? _(msg`Unfollow account`)
: _(msg`Follow Account`) : _(msg`Follow account`)
} }
onPress={ onPress={
isFollowing isFollowing
@@ -255,9 +255,9 @@ let ProfileMenu = ({
}> }>
<Menu.ItemText> <Menu.ItemText>
{isFollowing ? ( {isFollowing ? (
<Trans>Unfollow Account</Trans> <Trans>Unfollow account</Trans>
) : ( ) : (
<Trans>Follow Account</Trans> <Trans>Follow account</Trans>
)} )}
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon icon={isFollowing ? UserMinus : Plus} /> <Menu.ItemIcon icon={isFollowing ? UserMinus : Plus} />
@@ -270,7 +270,7 @@ let ProfileMenu = ({
label={_(msg`Add to Lists`)} label={_(msg`Add to Lists`)}
onPress={onPressAddRemoveLists}> onPress={onPressAddRemoveLists}>
<Menu.ItemText> <Menu.ItemText>
<Trans>Add to Lists</Trans> <Trans>Add to lists</Trans>
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon icon={List} /> <Menu.ItemIcon icon={List} />
</Menu.Item> </Menu.Item>
@@ -282,15 +282,15 @@ let ProfileMenu = ({
testID="profileHeaderDropdownMuteBtn" testID="profileHeaderDropdownMuteBtn"
label={ label={
profile.viewer?.muted profile.viewer?.muted
? _(msg`Unmute Account`) ? _(msg`Unmute account`)
: _(msg`Mute Account`) : _(msg`Mute account`)
} }
onPress={onPressMuteAccount}> onPress={onPressMuteAccount}>
<Menu.ItemText> <Menu.ItemText>
{profile.viewer?.muted ? ( {profile.viewer?.muted ? (
<Trans>Unmute Account</Trans> <Trans>Unmute account</Trans>
) : ( ) : (
<Trans>Mute Account</Trans> <Trans>Mute account</Trans>
)} )}
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon <Menu.ItemIcon
@@ -303,15 +303,15 @@ let ProfileMenu = ({
testID="profileHeaderDropdownBlockBtn" testID="profileHeaderDropdownBlockBtn"
label={ label={
profile.viewer profile.viewer
? _(msg`Unblock Account`) ? _(msg`Unblock account`)
: _(msg`Block Account`) : _(msg`Block account`)
} }
onPress={() => blockPromptControl.open()}> onPress={() => blockPromptControl.open()}>
<Menu.ItemText> <Menu.ItemText>
{profile.viewer?.blocking ? ( {profile.viewer?.blocking ? (
<Trans>Unblock Account</Trans> <Trans>Unblock account</Trans>
) : ( ) : (
<Trans>Block Account</Trans> <Trans>Block account</Trans>
)} )}
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon <Menu.ItemIcon
@@ -323,10 +323,10 @@ let ProfileMenu = ({
)} )}
<Menu.Item <Menu.Item
testID="profileHeaderDropdownReportBtn" testID="profileHeaderDropdownReportBtn"
label={_(msg`Report Account`)} label={_(msg`Report account`)}
onPress={onPressReportAccount}> onPress={onPressReportAccount}>
<Menu.ItemText> <Menu.ItemText>
<Trans>Report Account</Trans> <Trans>Report account</Trans>
</Menu.ItemText> </Menu.ItemText>
<Menu.ItemIcon icon={Flag} /> <Menu.ItemIcon icon={Flag} />
</Menu.Item> </Menu.Item>