diff --git a/404.php b/404.php index ad57317..ad8a2e8 100644 --- a/404.php +++ b/404.php @@ -1,12 +1,12 @@ -
', esc_html( $this->strings['return'] ), '
'; @@ -931,10 +931,10 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { if ( true === $GLOBALS['wp_filesystem']->move( $from_path, $to_path ) ) { return trailingslashit( $to_path ); } else { - return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'split' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'split' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); + return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'splits' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'splits' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); } } elseif ( empty( $subdir_name ) ) { - return new WP_Error( 'packaged_wrong', esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'split' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'split' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); + return new WP_Error( 'packaged_wrong', esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'splits' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'splits' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); } } @@ -1118,12 +1118,12 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $count = count( $plugin_group ); $linked_plugins = array_map( array( 'TGMPA_Utils', 'wrap_in_em' ), $linked_plugins ); $last_plugin = array_pop( $linked_plugins ); // Pop off last name to prep for readability. - $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'split' ) . ' ' . $last_plugin ); + $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'splits' ) . ' ' . $last_plugin ); $rendered .= sprintf( $line_template, sprintf( - translate_nooped_plural( $this->strings[ $type ], $count, 'split' ), + translate_nooped_plural( $this->strings[ $type ], $count, 'splits' ), $imploded, $count ) @@ -1171,14 +1171,14 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { if ( $install_count > 0 ) { $action_links['install'] = sprintf( $link_template, - translate_nooped_plural( $this->strings['install_link'], $install_count, 'split' ), + translate_nooped_plural( $this->strings['install_link'], $install_count, 'splits' ), esc_url( $this->get_tgmpa_status_url( 'install' ) ) ); } if ( $update_count > 0 ) { $action_links['update'] = sprintf( $link_template, - translate_nooped_plural( $this->strings['update_link'], $update_count, 'split' ), + translate_nooped_plural( $this->strings['update_link'], $update_count, 'splits' ), esc_url( $this->get_tgmpa_status_url( 'update' ) ) ); } @@ -1187,7 +1187,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { if ( current_user_can( 'activate_plugins' ) && $activate_count > 0 ) { $action_links['activate'] = sprintf( $link_template, - translate_nooped_plural( $this->strings['activate_link'], $activate_count, 'split' ), + translate_nooped_plural( $this->strings['activate_link'], $activate_count, 'splits' ), esc_url( $this->get_tgmpa_status_url( 'activate' ) ) ); } @@ -1979,7 +1979,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { esc_html( sprintf( /* translators: %s: version number */ - __( 'TGMPA v%s', 'split' ), + __( 'TGMPA v%s', 'splits' ), self::TGMPA_VERSION ) ), @@ -2270,10 +2270,10 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { */ protected function get_plugin_advise_type_text( $required ) { if ( true === $required ) { - return __( 'Required', 'split' ); + return __( 'Required', 'splits' ); } - return __( 'Recommended', 'split' ); + return __( 'Recommended', 'splits' ); } /** @@ -2289,13 +2289,13 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { switch ( $type ) { case 'repo': - $string = __( 'WordPress Repository', 'split' ); + $string = __( 'WordPress Repository', 'splits' ); break; case 'external': - $string = __( 'External Source', 'split' ); + $string = __( 'External Source', 'splits' ); break; case 'bundled': - $string = __( 'Pre-Packaged', 'split' ); + $string = __( 'Pre-Packaged', 'splits' ); break; } @@ -2312,25 +2312,25 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { */ protected function get_plugin_status_text( $slug ) { if ( ! $this->tgmpa->is_plugin_installed( $slug ) ) { - return __( 'Not Installed', 'split' ); + return __( 'Not Installed', 'splits' ); } if ( ! $this->tgmpa->is_plugin_active( $slug ) ) { - $install_status = __( 'Installed But Not Activated', 'split' ); + $install_status = __( 'Installed But Not Activated', 'splits' ); } else { - $install_status = __( 'Active', 'split' ); + $install_status = __( 'Active', 'splits' ); } $update_status = ''; if ( $this->tgmpa->does_plugin_require_update( $slug ) && false === $this->tgmpa->does_plugin_have_update( $slug ) ) { - $update_status = __( 'Required Update not Available', 'split' ); + $update_status = __( 'Required Update not Available', 'splits' ); } elseif ( $this->tgmpa->does_plugin_require_update( $slug ) ) { - $update_status = __( 'Requires Update', 'split' ); + $update_status = __( 'Requires Update', 'splits' ); } elseif ( false !== $this->tgmpa->does_plugin_have_update( $slug ) ) { - $update_status = __( 'Update recommended', 'split' ); + $update_status = __( 'Update recommended', 'splits' ); } if ( '' === $update_status ) { @@ -2339,7 +2339,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { return sprintf( /* translators: 1: install status, 2: update status */ - _x( '%1$s, %2$s', 'Install/Update Status', 'split' ), + _x( '%1$s, %2$s', 'Install/Update Status', 'splits' ), $install_status, $update_status ); @@ -2385,19 +2385,19 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { switch ( $type ) { case 'all': /* translators: 1: number of plugins. */ - $text = _nx( 'All (%s)', 'All (%s)', $count, 'plugins', 'split' ); + $text = _nx( 'All (%s)', 'All (%s)', $count, 'plugins', 'splits' ); break; case 'install': /* translators: 1: number of plugins. */ - $text = _n( 'To Install (%s)', 'To Install (%s)', $count, 'split' ); + $text = _n( 'To Install (%s)', 'To Install (%s)', $count, 'splits' ); break; case 'update': /* translators: 1: number of plugins. */ - $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count, 'split' ); + $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count, 'splits' ); break; case 'activate': /* translators: 1: number of plugins. */ - $text = _n( 'To Activate (%s)', 'To Activate (%s)', $count, 'split' ); + $text = _n( 'To Activate (%s)', 'To Activate (%s)', $count, 'splits' ); break; default: $text = ''; @@ -2479,7 +2479,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { $output = array(); if ( $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { - $installed = ! empty( $item['installed_version'] ) ? $item['installed_version'] : _x( 'unknown', 'as in: "version nr unknown"', 'split' ); + $installed = ! empty( $item['installed_version'] ) ? $item['installed_version'] : _x( 'unknown', 'as in: "version nr unknown"', 'splits' ); $color = ''; if ( ! empty( $item['minimum_version'] ) && $this->tgmpa->does_plugin_require_update( $item['slug'] ) ) { @@ -2487,7 +2487,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { } $output[] = sprintf( - '%2$s' . __( 'Installed version:', 'split' ) . '
', + '%2$s' . __( 'Installed version:', 'splits' ) . '
', $color, $installed ); @@ -2495,7 +2495,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { if ( ! empty( $item['minimum_version'] ) ) { $output[] = sprintf( - '%1$s' . __( 'Minimum required version:', 'split' ) . '
', + '%1$s' . __( 'Minimum required version:', 'splits' ) . '
', $item['minimum_version'] ); } @@ -2507,7 +2507,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { } $output[] = sprintf( - '%2$s' . __( 'Available version:', 'split' ) . '
', + '%2$s' . __( 'Available version:', 'splits' ) . '
', $color, $item['available_version'] ); @@ -2530,7 +2530,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { * @since 2.2.0 */ public function no_items() { - echo esc_html__( 'No plugins to install, update or activate.', 'split' ) . ' ' . esc_html__( 'Return to the Dashboard', 'split' ) . ''; + echo esc_html__( 'No plugins to install, update or activate.', 'splits' ) . ' ' . esc_html__( 'Return to the Dashboard', 'splits' ) . ''; echo ''; } @@ -2544,14 +2544,14 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { public function get_columns() { $columns = array( 'cb' => '', - 'plugin' => __( 'Plugin', 'split' ), - 'source' => __( 'Source', 'split' ), - 'type' => __( 'Type', 'split' ), + 'plugin' => __( 'Plugin', 'splits' ), + 'source' => __( 'Source', 'splits' ), + 'type' => __( 'Type', 'splits' ), ); if ( 'all' === $this->view_context || 'update' === $this->view_context ) { - $columns['version'] = __( 'Version', 'split' ); - $columns['status'] = __( 'Status', 'split' ); + $columns['version'] = __( 'Version', 'splits' ); + $columns['status'] = __( 'Status', 'splits' ); } return apply_filters( 'tgmpa_table_columns', $columns ); @@ -2600,18 +2600,18 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { // Display the 'Install' action link if the plugin is not yet available. if ( ! $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { /* translators: %2$s: plugin name in screen reader markup */ - $actions['install'] = __( 'Install %2$s', 'split' ); + $actions['install'] = __( 'Install %2$s', 'splits' ); } else { // Display the 'Update' action link if an update is available and WP complies with plugin minimum. if ( false !== $this->tgmpa->does_plugin_have_update( $item['slug'] ) && $this->tgmpa->can_plugin_update( $item['slug'] ) ) { /* translators: %2$s: plugin name in screen reader markup */ - $actions['update'] = __( 'Update %2$s', 'split' ); + $actions['update'] = __( 'Update %2$s', 'splits' ); } // Display the 'Activate' action link, but only if the plugin meets the minimum version. if ( $this->tgmpa->can_plugin_activate( $item['slug'] ) ) { /* translators: %2$s: plugin name in screen reader markup */ - $actions['activate'] = __( 'Activate %2$s', 'split' ); + $actions['activate'] = __( 'Activate %2$s', 'splits' ); } } @@ -2681,7 +2681,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) {', esc_html( $message ), '
', esc_html( $message ), '
', esc_html__( 'No plugins were selected to be activated. No action taken.', 'split' ), '
', esc_html__( 'No plugins were selected to be activated. No action taken.', 'splits' ), '
', esc_html__( 'No plugins are available to be activated at this time.', 'split' ), '
', esc_html__( 'No plugins are available to be activated at this time.', 'splits' ), '
%1$s %2$s.