Skip to content

Commit

Permalink
Changes versions formating.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed May 28, 2024
1 parent cb92dc1 commit 09f7035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/libraries/class-libraries.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function sc_get_list( $attributes ) {
$items = [];
foreach ( $list as $library ) {
/* translators: as in the sentence "Product W version X by author Y (license Z)" */
$items[] = sprintf( __( '<a href="%1$s">%2$s %3$s</a>%4$s by %5$s (%6$s)', 'device-detector' ), $library['url'], $library['name'], $library['version'], $library['langs'], $library['author'], $library['license'] );
$items[] = sprintf( __( '<a href="%1$s">%2$s %3$s</a>%4$s by %5$s (%6$s)', 'device-detector' ), $library['url'], $library['name'], 'v' . $library['version'], $library['langs'], $library['author'], $library['license'] );
}
$result = implode( ', ', $items );
}
Expand Down

0 comments on commit 09f7035

Please sign in to comment.