Skip to content

Instantly share code, notes, and snippets.

@etoledom
Last active May 20, 2019 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etoledom/7162a547141490f76c885c0ecd7792ed to your computer and use it in GitHub Desktop.
Save etoledom/7162a547141490f76c885c0ecd7792ed to your computer and use it in GitHub Desktop.
let moveUpButtonTitle = this.props.canMoveUp ? sprintf(
/* translators: accessibility text. %1: current block position (number). %2: next block position (number) */
__( 'Move up from row %1$s to row %2$s' ),
order,
order - 1
) : sprintf(
/* translators: accessibility text. %d: block position (number) */
__( 'Move up from row %d' ),
order
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment