diff --git a/includes/libraries/class-libraries.php b/includes/libraries/class-libraries.php
index cd98eee..90f01e8 100644
--- a/includes/libraries/class-libraries.php
+++ b/includes/libraries/class-libraries.php
@@ -64,7 +64,7 @@ public static function init() {
'base' => TRAFFIC_VENDOR_DIR . 'lock/',
'version' => '2.1',
// phpcs:ignore
- 'author' => sprintf( esc_html__( '%s & contributors', 'decalog' ), 'Willem Stuursma-Ruwen' ),
+ 'author' => 'Willem Stuursma-Ruwen',
'url' => 'https://github.com/php-lock/lock',
'license' => 'wtpfl',
'langs' => 'en',
@@ -75,7 +75,7 @@ public static function init() {
'base' => TRAFFIC_VENDOR_DIR . 'feather/',
'version' => '4.24.1',
// phpcs:ignore
- 'author' => sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Cole Bemis' ),
+ 'author' => 'Cole Bemis',
'url' => 'https://feathericons.com',
'license' => 'mit',
'langs' => 'en',
@@ -86,7 +86,7 @@ public static function init() {
'base' => TRAFFIC_VENDOR_DIR . 'markdown/',
'version' => '1.2.1',
// phpcs:ignore
- 'author' => sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Carsten Brandt' ),
+ 'author' => 'Carsten Brandt',
'url' => 'https://github.com/cebe/markdown',
'license' => 'mit',
'langs' => 'en',
@@ -225,7 +225,7 @@ public function sc_get_list( $attributes ) {
$item = [];
$item['name'] = 'Switchery';
$item['version'] = '0.8.2';
- $item['author'] = sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Alexander Petkov' );
+ $item['author'] = 'Alexander Petkov';
$item['url'] = 'https://github.com/abpetkov/switchery';
$item['license'] = $this->license_name( 'mit' );
$item['langs'] = L10n::get_language_markup( [ 'en' ] );
@@ -233,7 +233,7 @@ public function sc_get_list( $attributes ) {
$item = [];
$item['name'] = 'Date Range Picker';
$item['version'] = '3.0.5';
- $item['author'] = sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Dan Grossman' );
+ $item['author'] = 'Dan Grossman';
$item['url'] = 'https://github.com/dangrossman/daterangepicker';
$item['license'] = $this->license_name( 'mit' );
$item['langs'] = L10n::get_language_markup( [ 'en' ] );
@@ -241,28 +241,28 @@ public function sc_get_list( $attributes ) {
$item = [];
$item['name'] = 'Moment';
$item['version'] = '2.29.4';
- $item['author'] = sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Tim Wood' );
+ $item['author'] = 'Tim Wood';
$item['url'] = 'https://github.com/moment/moment';
$item['license'] = $this->license_name( 'mit' );
$item['langs'] = L10n::get_language_markup( [ 'en' ] );
$list[] = $item;
$item['name'] = 'SVG-Loaders';
$item['version'] = '1.0.2';
- $item['author'] = sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Sam Herbert' );
+ $item['author'] = 'Sam Herbert';
$item['url'] = 'https://github.com/SamHerbert/SVG-Loaders';
$item['license'] = $this->license_name( 'mit' );
$item['langs'] = L10n::get_language_markup( [ 'en' ] );
$list[] = $item;
$item['name'] = 'Chartist-JS';
$item['version'] = '0.11.4';
- $item['author'] = sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Gion Kunz' );
+ $item['author'] = 'Gion Kunz';
$item['url'] = 'https://github.com/gionkunz/chartist-js';
$item['license'] = $this->license_name( 'mit' );
$item['langs'] = L10n::get_language_markup( [ 'en' ] );
$list[] = $item;
$item['name'] = 'jVectorMap';
$item['version'] = '2.0.3';
- $item['author'] = sprintf( esc_html__( '%s & contributors', 'traffic' ), 'Kirill Lebedev' );
+ $item['author'] = 'Kirill Lebedev';
$item['url'] = 'https://github.com/bjornd/jvectormap';
$item['license'] = $this->license_name( 'gpl3' );
$item['langs'] = L10n::get_language_markup( [ 'en' ] );
@@ -272,7 +272,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)', 'traffic' ), $library['url'], $library['name'], 'v' . $library['version'], $library['langs'], $library['author'], $library['license'] );
+ $items[] = sprintf( __( '%2$s %3$s%4$s by %5$s & contributors (%6$s)', 'traffic' ), $library['url'], $library['name'], 'v' . $library['version'], $library['langs'], $library['author'], $library['license'] );
}
$result = implode( ', ', $items );
}
diff --git a/includes/plugin/class-initializer.php b/includes/plugin/class-initializer.php
index 2aaca6f..b2a5d1d 100644
--- a/includes/plugin/class-initializer.php
+++ b/includes/plugin/class-initializer.php
@@ -39,10 +39,6 @@ public function initialize() {
\Traffic\System\Sitehealth::init();
\Traffic\Plugin\Feature\Capture::init();
\Traffic\System\APCu::init();
- //if ( 'en_US' !== determine_locale() ) {
- unload_textdomain( TRAFFIC_SLUG );
- load_plugin_textdomain( TRAFFIC_SLUG );
- //}
}
/**