Skip to content

Commit

Permalink
Translate "dynamic data" string
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Feb 28, 2024
1 parent 58dc4bb commit 142107e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions packages/block-library/src/image/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,7 @@ export function ImageEdit( {
lockUrlControlsMessage: sprintf(
/* translators: %s: Label of the bindings source if exists */
__( 'Connected to %s' ),
blockBindingsSource?.label
? blockBindingsSource.label
: 'dynamic data'
blockBindingsSource?.label || __( 'dynamic data' )
),
};
},
Expand Down
8 changes: 2 additions & 6 deletions packages/block-library/src/image/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,7 @@ export default function Image( {
lockAltControlsMessage: sprintf(
/* translators: %s: Label of the bindings source if exists */
__( 'Connected to %s' ),
altBindingSource?.label
? altBindingSource.label
: 'dynamic data'
altBindingSource?.label || __( 'dynamic data' )
),
lockTitleControls:
!! titleBinding &&
Expand All @@ -470,9 +468,7 @@ export default function Image( {
lockTitleControlsMessage: sprintf(
/* translators: %s: Label of the bindings source if exists */
__( 'Connected to %s' ),
titleBindingSource?.label
? titleBindingSource.label
: 'dynamic data'
titleBindingSource?.label || __( 'dynamic data' )
),
};
},
Expand Down

0 comments on commit 142107e

Please sign in to comment.