Edit strings, change icon

This commit is contained in:
Angie Ta
2023-05-04 17:33:05 -07:00
parent ff9b86bc32
commit 7b4aa00549
5 changed files with 18 additions and 18 deletions

View File

@@ -144,7 +144,7 @@ const DetailsTab = ( { observation }: Props ): Node => {
{application && (
<View className="flex-row">
<Body4>{t( "Uploaded-via" )}</Body4>
<Body4>{application}</Body4>
<Body4>{` ${application}`}</Body4>
</View>
)}
<Body4>{t( "View in Browser" )}</Body4>

View File

@@ -351,12 +351,12 @@ const ObsDetails = (): Node => {
<PhotoScroll photos={photos} />
{/* TODO: a11y props are not passed down into this 3.party */}
<IconButton
icon="kebab-menu"
icon="pencil"
textColor={colors.white}
className="absolute top-3 right-3"
accessible
accessibilityRole="button"
accessibilityLabel={t( "favorite" )}
accessibilityLabel={t( "edit" )}
/>
<IconButton
icon="star-bold-outline"
@@ -441,21 +441,21 @@ const ObsDetails = (): Node => {
} )}
>
<Button
text={t( "Suggest-an-ID" )}
onPress={navToAddID}
className="mx-3 grow"
testID="ObsDetail.cvSuggestionsButton"
accessibilityRole="link"
accessibilityHint={t( "Navigates-to-suggest-identification" )}
/>
<Button
text={t( "Add-Comment" )}
text={t( "COMMENT" )}
onPress={openCommentBox}
className="mx-3 grow"
testID="ObsDetail.commentButton"
disabled={showCommentBox}
accessibilityHint={t( "Opens-add-comment-modal" )}
/>
<Button
text={t( "SUGGEST-ID" )}
onPress={navToAddID}
className="mx-3 grow"
testID="ObsDetail.cvSuggestionsButton"
accessibilityRole="link"
accessibilityHint={t( "Navigates-to-suggest-identification" )}
/>
</View>
) }
<AddCommentModal

View File

@@ -807,8 +807,8 @@ Quality-Grade-casual = Quality Grade Casual
ADD-EVIDENCE = ADD EVIDENCE
You-can-add-up-to-20-media = You can add up to 20 photos and 20 sounds per observation.
Add-Comment = Add Comment
Suggest-ID = Suggest ID
COMMENT = COMMENT
SUGGEST-ID = SUGGEST ID
# Hint text inside the 'Add a comment' Text Input
Add-a-comment = Add a comment...

View File

@@ -549,8 +549,8 @@
},
"ADD-EVIDENCE": "ADD EVIDENCE",
"You-can-add-up-to-20-media": "You can add up to 20 photos and 20 sounds per observation.",
"Add-Comment": "Add Comment",
"Suggest-ID": "Suggest ID",
"COMMENT": "COMMENT",
"SUGGEST-ID": "SUGGEST ID",
"Add-a-comment": {
"comment": "Hint text inside the 'Add a comment' Text Input",
"val": "Add a comment..."

View File

@@ -807,8 +807,8 @@ Quality-Grade-casual = Quality Grade Casual
ADD-EVIDENCE = ADD EVIDENCE
You-can-add-up-to-20-media = You can add up to 20 photos and 20 sounds per observation.
Add-Comment = Add Comment
Suggest-ID = Suggest ID
COMMENT = COMMENT
SUGGEST-ID = SUGGEST ID
# Hint text inside the 'Add a comment' Text Input
Add-a-comment = Add a comment...