From 09f7035f37d8541c8b01443eb1e748cf1e477f5a Mon Sep 17 00:00:00 2001 From: Pierre Lannoy Date: Tue, 28 May 2024 09:58:14 +0200 Subject: [PATCH] Changes versions formating. --- includes/libraries/class-libraries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libraries/class-libraries.php b/includes/libraries/class-libraries.php index 2ea61a9..1293dca 100644 --- a/includes/libraries/class-libraries.php +++ b/includes/libraries/class-libraries.php @@ -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( __( '%2$s %3$s%4$s by %5$s (%6$s)', 'device-detector' ), $library['url'], $library['name'], $library['version'], $library['langs'], $library['author'], $library['license'] ); + $items[] = sprintf( __( '%2$s %3$s%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 ); }