Issue #2489382 by Bojhan, yoroy: Reduce duplication from label to description in pager options
parent
524dc283d5
commit
0e2962cb2f
|
@ -519,7 +519,7 @@ class Page extends PathPluginBase {
|
|||
public function getPagerText() {
|
||||
return array(
|
||||
'items per page title' => $this->t('Items per page'),
|
||||
'items per page description' => $this->t('The number of items to display per page. Enter 0 for no limit.')
|
||||
'items per page description' => $this->t('Enter 0 for no limit.')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ abstract class SqlBase extends PagerPluginBase implements CacheableDependencyInt
|
|||
$form['total_pages'] = array(
|
||||
'#type' => 'number',
|
||||
'#title' => $this->t('Number of pages'),
|
||||
'#description' => $this->t('The total number of pages. Leave empty to show all pages.'),
|
||||
'#description' => $this->t('Leave empty to show all pages.'),
|
||||
'#default_value' => $this->options['total_pages'],
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue