Skip to content

Commit

Permalink
Update tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and jorgefilipecosta committed Aug 29, 2024
1 parent 1400d90 commit f426514
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions packages/dataviews/src/components/dataviews-view-config/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function FieldControl() {
icon={ chevronUp }
label={ sprintf(
/* translators: %s: field label */
__( 'Move field %s up' ),
__( 'Move %s up' ),
field.label
) }
/>
Expand Down Expand Up @@ -362,7 +362,7 @@ function FieldControl() {
icon={ chevronDown }
label={ sprintf(
/* translators: %s: field label */
__( 'Move field %s down' ),
__( 'Move %s down' ),
field.label
) }
/>{ ' ' }
Expand All @@ -386,8 +386,16 @@ function FieldControl() {
icon={ isVisible ? seen : unseen }
label={
isVisible
? __( 'Hide field' )
: __( 'Show field' )
? sprintf(
/* translators: %s: field label */
__( 'Hide %s' ),
field.label
)
: sprintf(
/* translators: %s: field label */
__( 'Show %s' ),
field.label
)
}
/>
</HStack>
Expand Down

0 comments on commit f426514

Please sign in to comment.