Issue #2489382 by Bojhan, yoroy: Reduce duplication from label to description in pager options

8.2.x
Nathaniel Catchpole 2016-05-05 14:30:54 +01:00
parent 524dc283d5
commit 0e2962cb2f
2 changed files with 2 additions and 2 deletions

View File

@ -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.')
);
}

View File

@ -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'],
);