';
}
/**
* @return int
*/
private function get_items_per_page() {
$items_per_page = 10;
if ( $this->screen_options ) {
$items_per_page = $this->screen_options->get_items_per_page();
}
return $items_per_page;
}
/**
* @return string
*/
private function get_help_text() {
/* translators: this is the title of a documentation page used to terminate the sentence "is not possible to ..." */
$translate_base_taxonomy_slug_link_title = esc_html__( 'translate the base taxonomy slugs with WPML',
'sitepress' );
$translate_base_taxonomy_slug_link = ''
. $translate_base_taxonomy_slug_link_title
. '';
/* translators: this is the title of a documentation page used to terminate the sentence "To learn more, please visit our documentation page about..." */
$translate_taxonomies_link_title = esc_html__( 'translating post categories and custom taxonomies',
'sitepress' );
$translate_taxonomies_link = ''
. $translate_taxonomies_link_title
. '';
$help_sentences = array();
$help_sentences[] = esc_html__( "WPML allows you to easily translate your site's taxonomies. Only taxonomies marked as translatable will be available for translation. Select the taxonomy in the dropdown menu and then use the list of taxonomy terms that appears to translate them.",
'sitepress' );
/* translators: the sentence is completed with "translate the base taxonomy slugs with WPML" */
$help_sentences[] = sprintf( esc_html__( 'Please note that currently, you can translate the slugs of taxonomy terms but it is not possible to %s.',
'sitepress' ),
$translate_base_taxonomy_slug_link );
/* translators: the sentence is completed with "translating post categories and custom taxonomies" */
$help_sentences[] = sprintf( esc_html__( 'To learn more, please visit our documentation page about %s.',
'sitepress' ),
$translate_taxonomies_link );
return '